Jump to content

CorruptHawkeyez

Member
  • Posts

    72
  • Joined

  • Last visited

Posts posted by CorruptHawkeyez

  1. So in other words remove "keydown" and "MouseButtonDblClick" from here?:

     

     

    /*  Revert Map EH        */ _RMEH = ['MouseButtonDblClick','MouseButtonClick','MouseButtonDown','MouseButtonUp','Draw','MouseZChanged','MouseHolding','KeyDown','KeyUp'];

  2. OK, I've installed this mod in the server. It does create a log for when an admin/moderator places a marker on the map. When a normal player creates a marker it does not log the information. Is there something I need to fix in this script to make it work on Epoch? Any help would be greatly appreciated.

     

    Find it here:  http://play.withsix.com/Arma-3/Mods/cDK1jco_dEWr7ereHOnuVw/Zeu-MarkerLogging

    All credits go to Terox for making this script.

     

     

    if ! (IsServer)exitwith{};

    _init='
    if (HasInterface) then {
        ZEU_MkLog_fcollectMrkInfo = {
            [
                _this,
                getText  (configFile >> "CfgMarkers" >> (markertype _this) >> "name"),
                markerColor _this,
                markerText _this,
                mapGridPosition markerPos _this
            ];
        };


            "ZEU_MkLog_MrkOpPV" addPublicVariableEventHandler
            {
                if !(HASINTERFACE)exitwith{};
                _p = ((_this select 1)select 0);
                if(Player == _p)exitwith{};
                _n = name _p;
                _pUID     = ((_this select 1)select 1);
                _pSide     = ((_this select 1)select 2);
                _did     = ((_this select 1)select 3);
                _type     = ((_this select 1)select 4)select 1;
                _colour = ((_this select 1)select 4)select 2;
                if(_colour == "Default")then{_colour = "Black"};
                _txt     = "";
                if((((_this select 1)select 4)select 3)== "")then{_txt = ""}else{_txt = format [" with text: << %1 >>",((_this select 1)select 4)select 3]};
                _grid     = (((_this select 1)select 4)select 4);

                if(playerside== _pSide)then
                  {
                    systemchat format ["<< MARKER LOG >> %1 %2 a %3 %4 at Grid %5 %6",_n, _did, _colour, _type, _grid, _txt ];
                  }
                  else
                  {
                    systemchat format ["<< MARKER LOG >> %1 %2 a %3 %4  %5",_n, _did, _colour, _type, _txt ];
                  };
            };


        ZEU_MkLog_fsetMrkEHs = {
            scopeName "func";
            waitUntil {
                if (
                    _this == 53 && getClientState == "BRIEFING READ"
                ) then {
                    breakOut "func";
                };
                !isNull findDisplay _this
            };
            findDisplay _this displayAddEventHandler [
                "KeyDown",
                {
                    if (_this select 1 == 211) then {
                        _mrknames = allMapMarkers;
                        _mrkdetails = [];
                        {
                            _mrkdetails pushBack (
                                _x call ZEU_MkLog_fcollectMrkInfo
                            );
                        } forEach _mrknames;
                        0 = [_mrknames, _mrkdetails] spawn {
                            _mrknames = _this select 0;
                            _mrkdetails = _this select 1;
                            ZEU_MkLog_MrkOpPV =
                            [
                                player,
                                getplayerUID player,
                                playerside,
                                "DELETED"
                            ];
                            {
                                _i = _mrknames find _x;
                                if (_i > -1) then {
                                    ZEU_MkLog_MrkOpPV pushBack (_mrkdetails select _i);
                                };
                            } forEach (_mrknames - allMapMarkers);
                            if (count ZEU_MkLog_MrkOpPV > 4) then {
                                publicVariableServer "ZEU_MkLog_MrkOpPV";
                            };
                        };
                        false
                    };
                }
            ];
            findDisplay _this displayAddEventHandler [
                "ChildDestroyed",
                {
                    if (
                        ctrlIdd (_this select 1) == 54 && _this select 2 == 1
                    ) then {
                        0 = all_mrkrs spawn {
                            ZEU_MkLog_MrkOpPV =
                            [
                                player,
                                getplayerUID player,
                                playerside,
                                "PLACED"
                            ];
                            {
                                ZEU_MkLog_MrkOpPV pushBack (
                                    _x call ZEU_MkLog_fcollectMrkInfo
                                );
                            } forEach (allMapMarkers - _this);
                            if (count ZEU_MkLog_MrkOpPV > 4) then {
                                publicVariableServer "ZEU_MkLog_MrkOpPV";
                            };
                        };
                    };
                }
            ];
            findDisplay _this displayCtrl 51 ctrlAddEventHandler [
                "MouseButtonDblClick",
                {
                    0 = 0 spawn {
                        if (!isNull findDisplay 54) then {
                            findDisplay 54 displayCtrl 1
                                buttonSetAction "all_mrkrs = allMapMarkers";
                        };
                    };
                }
            ];
        };
        0 = 12 spawn ZEU_MkLog_fsetMrkEHs;
        0 = 53 spawn ZEU_MkLog_fsetMrkEHs;
    };
    ';
        0 = 0 spawn {
            "ZEU_MkLog_MrkOpPV" addPublicVariableEventHandler
            {
                _p = ((_this select 1)select 0);
                _n = name _p;
                _did     = ((_this select 1)select 3);
                _type     = ((_this select 1)select 4)select 1;
                _colour = ((_this select 1)select 4)select 2;
                if(_colour == "Default")then{_colour = "Black"};
                _txt     = "";
                if((((_this select 1)select 4)select 3)== "")then{_txt = ""}else{_txt = format [" with text: << %1 >>",((_this select 1)select 4)select 3]};
                _grid     = (((_this select 1)select 4)select 4);

                _h = floor(Time / 3600);
                _m = floor((Time - (_h*3600)) / 60);
                _s = floor(Time mod 60);
                _mTime = format ["@ Time %1h:%2m:%3s",_h,_m,_s ];
                diag_log format ["<< MARKER LOG >> %1 %2 a %3 %4 at Grid %5 %6 at %7",_n, _did, _colour, _type, _grid, _txt, _mTime ];
                // If players are still in briefing, report the marker operation to the players
                  if(Time < 1)then
                  {
                      ZEU_MkLog_MrkOpPV = (_this select 1);
                      publicVariable "ZEU_MkLog_MrkOpPV";
                      if(HASINTERFACE)then{systemchat format ["<< MARKER LOG >> %1 %2 a %3 %4 at Grid %5 %6 at %7",_n, _did, _colour, _type, _grid, _txt, _mTime ];}
                  };
            };
        };
    "Logic" createUnit [[1,1,1], (createGroup sideLogic), _init, 0.5, "corporal"];

  3. Did you install this through Steam, or did you manually download and install. If through Steam, try manually downloading the files through the HTTP link in the clients download section here at epoch, then delete the @ Epoch folder in your Arma 3 folder. Unzip the file you downloaded and place the file into your Arma 3 folder.

  4. We haven't really been having too big of an issue with map markers but I would really like to know who is placing them on the map. Is there a battleye filter that can be set to where I can log who is placing the map markers no matter if it's in global or any channel?

  5. The below section is what I use to make manual backups of the database. I also forget how i did it but I have an automated backup that runs as a service and backs up the redis every hour. I believe it has to do with running this particular file at a certain time frame. You can google how to setup a service and figure it out from there. Copy and paste the section below into notepad, edit what needs editing and save it as yourfilenamehere.cmd inside of your database folder.

    :::::::::::::: CONFIG ::::::::::::::::::
     
    :::: Set your Arma3 Server base installation directory below.
    set arma3srvpath=Your full Arma 3 server path goes here, don't forget the / at the end.
     
    :::: Set your Redis Password and IP below (found inside Redis.conf)
    set Redispass=yourpassgoeshere
    set RedisIP=127.0.0.1
     
    ::::::::::: ADVANCED CONFIG ::::::::::::
    :: Don't touch anything below this point unless you know what your doing.
    ::::::::::::::::::::::::::::::::::::::::
    :: Set Time and Date
    SET _CUR_DATE=%DATE%
    SET _CUR_TIME=%TIME%
    ::Setting date
    FOR /F "tokens=1-4 delims=/.- " %%a IN ("%_CUR_DATE%") DO SET MONTH=%%b
    FOR /F "tokens=1-4 delims=/.- " %%a IN ("%_CUR_DATE%") DO SET DAY=%%c
    FOR /F "tokens=1-4 delims=/.- " %%a IN ("%_CUR_DATE%") DO SET YEAR=%%a
    :: Setting Time
    FOR /F "tokens=1-4 delims=:." %%a IN ("%_CUR_TIME%") DO SET HOUR=%%a
    FOR /F "tokens=1-4 delims=:." %%a IN ("%_CUR_TIME%") DO SET MINUTE=%%b
    SET FOLDER_NAME=%YEAR%-%MONTH%
    SET BACKUP_FILE=Epoch-%YEAR%%MONTH%%DAY%_%HOUR%%MINUTE%.rdb
     
    :: Forcesave Redis Database
    redis-cli -h %RedisIP% -a %Redispass% save
     
    ::create folders
    if exist "%arma3srvpath%\Database\DBbackups" goto createYDfolder
    mkdir "%arma3srvpath%\Database\DBbackups"
    :createYDfolder
    if exist "%arma3srvpath%\Database\DBbackups\%FOLDER_NAME%" goto startbackup
    mkdir "%arma3srvpath%\Database\DBbackups\%FOLDER_NAME%"
     
    :startbackup
    copy "%arma3srvpath%\Database\dump.rdb" "%arma3srvpath%\Database\DBbackups\%FOLDER_NAME%\%BACKUP_FILE%"
    :: Done
     
    exit
    
  6. Hopefully BI will get vacation off their minds and get their heads back in the game and get this FPS issue fixed. 

     

    On another note, I just had to post this due to the message this players script would send...its the message at the end............maybe someone should turn this over to the feds and let them see how funny it is......

     

    24-07-2015 05:51:12 infiSTAR.de | 1h 33min | Arkhyum Deram(XXXXXXXXXXXXXXXX) BANNED | BadVar#3 in missionNamespace: MainMenu - {

                removeAllActions player;

                MM_150 = player addAction ["<t size="1.2"" font=""Bold"" color=""#00EBFF"">InsanityMenu</t>","[] spawn  InsanityClosed];

                player addAction ["<t color=#FFFFFF'>> User <t color='#FFFF00'>Menu</t>", "[]spawn UserIns];

                player addAction ["<t color=#FFFFFF'>> Spawn <t color='#FFFF00'>Menu</t>", "[]spawn SpawnIns];

                player addAction ["<t color=#FFFFFF'>> Troll <t color='#FFFF00'>Menu</t>", "[]spawn TrollIns];

                player addAction ["<t color=#FFFFFF'>> Altis <t color='#FFFF00'>Menu</t>", "[]spawn AltisIns];

                player addAction ["<t color=#FFFFFF'>> Target <t color='#FFFF00'>Menu</t>", "[]spawn TargetIns];          

                player addAction ["<t color=#FFFFFF'>> Cursor <t color='#FFFF00'>Menu</t>", "[]spawn TargetIns2];

                player addAction ["<t color=#FFFFFF'>> Drum <t color='#FFFF00'>Menu</t>", "[]spawn DrumMen];          

                player addAction ["<t color=#FFFFFF'>> Color <t color='#FFFF00'>Menu</t>", "[]spawn ColorIns];

                player addAction ["<t color=#00FF7C'>> Other <t color='#FFFF00'>Menu</t>", "[]spawn OtherIns];                      

                player addAction ["<t color=#00EBFF'>~ Refresh ~</t>", "execVM 'NewScroll.sqf'];

                player addAction ["<t color=#00A6FF'>~ Exit ~</t>", "removeallActions player];

                player addAction ["<t color='#FF5656'>> Shut the ServerDown</t>", {autokick = format["if(1 == 1) then {failMission'LOSER';};", autokick];[autokick] call RemExe;hint "All Players has been kicked by ISIS"; },"",0];

     

    if I can't post this then please feel free to remove it Epoch guys.
     

  7. I know this is completely a noob question most likely, but I sort of understand the concept. OK, what I am looking for is the possibility to completely stop the Sappers. I understand the percentages in the .hpp file but, that does not stop them from still spawning in. So I would like to add a script of my own to get rid of these after they have spawned in. I was wondering if this would work, or are the sappers under a completely different object? I would first add the variable _NAS =  true, then add this into another file that I know gets its variables from the first file.

     

     


     

    if(_NAS)then{ _A3AHstring = _A3AHstring + "      {deleteVehicle _x;} forEach allUnitsSapper;     ";}; _A3AHstring = _A3AHstring + "     ";

     

  8. I got banned for glitching in to my own base, When i left the group by mistake and could not unlock the door, Thankfully my friends was able to get me unbanned as they didnt have a website or teamspeak to get hold of the admin. so if i was playing that server on my own i'd still be banned now LOL

    We've had some of our members doing this, as an admin we can see the PID and the name of the person that put the jammer down.....IF they are in the server at that time. If they aren't in the server, all we see is the PID. So if a person that is NOT the group leader is inside a base running around "looking" like they just got there and checking all the shelves; I will ask them to show me that they can open any of the doors. If they can't open the door, and there is no walls blown up, then I will teleport them back outside of the base and politely inform them of the no glitching rule in effect on our server. I also let them know, the next time I catch them glitching into a base they will be banned.

  9. Yeah, we've had some regulars test us in our server on the glitching into someone else's base. I give a warning first to let them know that we don't allow that on the server. If i catch them again after the warning, they get no warning that a ban is incoming. Usually even after banning a regular, I don't believe we've ever had any of them come to our teamspeak and ask for the reason why they got banned. I love hearing the excuses as to why they are glitching, giving all sorts of excuses, such as the modders should fix the issue all the way back to the developers of Arma 3 needing to fix it. In my opinion, it's all about integrity, and if I can't trust you then why would I even want you playing on my server...

  10. We have had quite a few glitchers that just think it is cool to glitch into someone else's base when they believe an admin is not around. Even after warning them that it is not allowed in our server. They won't do it when they see an admins regular name in the server, but if we leave and return a little while later under another nickname, they start their glitching into bases. Should we as admins have a place to post these names/PID's so other admins can know about players, or should we just let it go; and let the other admins have fun finding out on their own? If we did have a place to post for glitchers, shouldn't we then also have a post for hackers along with their PID's?  Maybe have a running list of players that have been caught red handed.

  11. Can't get ASM working on our dedicated server, but I did find something to watch the traffic and it is showing a spike every so often. We are running on an intel platform with HT enabled. I know our settings are most likely high, but we've tried the lower settings and we just keep getting lower and lower FPS. The server is on a 1Gb/s network. Our settings are:

     

    maxmsgsend = 2048

     

    MaxSizeGuaranteed = 1024

     

    MaxSizeNonguaranteed = 1024

     

    MinErrorToSend = 0.001

     

    MinErrorToSendNear = 0.01

     

    With these settings we hardly see any kind of stuttering, but we do see the "steam check failed" and after the server hits about 40-50 people and 2 1/2 hours the frames will drop down sometimes below 10. I believe the lowest I've seen is 6 server FPS with around 50 players in the server after 3 1/2 hours of game time. We now do restarts after every 3 hours. The graph below is from NetBalancer. It shows the past 60 seconds.

     

    15i47c2.jpg

  12. I disagree, it is necessary, just needs tailoring. Which it will get. From testing we were responding to people unsure of some of the new lootables. I see it staying, just being toned down to a new player hint. Am sure, in the long term, that hardcore type servers will have the option to remove, we all like discovering things, even hundreds of hours into a game if something new is discovered it's always a good feeling.

     

    We all have opinions on whether it is necessary or not, but give us the players the option to turn it on or off. I have had that damn icon hint flash on and off at me while looking directly at an object. Why does it flicker so much? Anybody else having this issue? And as for the interaction with other players, most everybody in our server already knows how to trade with other players. How can a icon hint help out when trying to battle in a PVP server. I don't want to trade with the enemy if I've got my gun out.

  13. Verthosting is OK, but not great. Sometimes it has taken 24 hours just to get some kind of response on a ticket from the owner. And most of the time you get no response, just your ticket being put 'on hold'. It will get answered but definitely not in a timely manner.

×
×
  • Create New...