Hux Posted July 3, 2020 Report Share Posted July 3, 2020 I have AI recruit installed on my server but when players try to use Backspace key to command AI, they get a white screen and get kicked. I'm not running Infistar. I'm running Epoch admin tools but not using antihack. What could be causing this? As admin, I Don't have the problem. Thank you. Link to comment Share on other sites More sharing options...
SadBoy1981 Posted July 3, 2020 Report Share Posted July 3, 2020 13 hours ago, Hux said: I have AI recruit installed on my server but when players try to use Backspace key to command AI, they get a white screen and get kicked. I'm not running Infistar. I'm running Epoch admin tools but not using antihack. What could be causing this? As admin, I Don't have the problem. Thank you. If u are not using antihack at all, just delete all BE filters, it can help. Was same problem with kicks, after i delete BE filters as i dont need it, problem vas fixed! Dont forget to save BE filters before delete. Hope it helps. Link to comment Share on other sites More sharing options...
Hux Posted July 3, 2020 Author Report Share Posted July 3, 2020 6 hours ago, SadBoy1981 said: If u are not using antihack at all, just delete all BE filters, it can help. Was same problem with kicks, after i delete BE filters as i dont need it, problem vas fixed! Dont forget to save BE filters before delete. Hope it helps. I don't see any battleye filters in my battleye folder. I had a player try Backspace and he got kicked so I looked for his name in my server rpt. This is what I found: "TK_AC_KICK - alex(76561198076017704) CommandingMenu RscTeam" I found TK_AC_KICK in my Epoch admin tools antihack file: if (_reason != "none") exitWith { PVDZ_sec_atp = format["TK_AC_KICK - %1(%2) %3",_name,_uid,_reason]; publicVariableServer "PVDZ_sec_atp"; //Log to server RPT uiSleep 1; // Wait for PV to send call compile format["TK_AC_KICK%1'%2(%3) %4'","=",_name,_uid,_reason]; //Recommend adding "TK_AC_KICK=" to scripts.txt and BEC ScriptBan uiSleep 1; // Wait for scripts.txt trigger TK_AC_KICK = ";"; publicVariableServer "TK_AC_KICK"; // Trigger PV kick uiSleep 1; {(findDisplay _x) closeDisplay 2;} count [0,8,12,18,46,70]; // Last resort if no BE }; I have anthack disabled so I don't know what is up. I see it says "//Recommend adding "TK_AC_KICK=" to scripts.txt and BEC ScriptBan". How would I add this? I see no scripts file in BEC or regular BE folder. Thanks for the help. Link to comment Share on other sites More sharing options...
Airwaves Man Posted July 3, 2020 Report Share Posted July 3, 2020 Add DIK_BACK to the list of the blocked keys inside the keyboard.sqf. This should fix your problem. https://github.com/EpochModTeam/DayZ-Epoch/blob/master/SQF/dayz_code/compile/keyboard.sqf#L340 Link to comment Share on other sites More sharing options...
Hux Posted July 4, 2020 Author Report Share Posted July 4, 2020 (edited) 3 hours ago, A Man said: Add DIK_BACK to the list of the blocked keys inside the keyboard.sqf. This should fix your problem. https://github.com/EpochModTeam/DayZ-Epoch/blob/master/SQF/dayz_code/compile/keyboard.sqf#L340 Won't that just block the key? The key works for me. It kicks players if they use it. I want everyone to be able to use it for commanding AI. Thanks for the reply. Edited July 4, 2020 by Hux I tested adding DIK_BACK and it just blocked the key. Just the opposite of what I want. :) Link to comment Share on other sites More sharing options...
Airwaves Man Posted July 4, 2020 Report Share Posted July 4, 2020 Commet out in your anticheat.sqf the Command Menu lines. https://github.com/worldwidesorrow/Epoch-Admin-Tools/blob/TestBranch/AdminTools/AntiCheat/antiCheat.sqf#L79 JasonTM 1 Link to comment Share on other sites More sharing options...
JasonTM Posted July 4, 2020 Report Share Posted July 4, 2020 I just changed the file so you can whitelist commanding menus. Download the new antiCheat.sqf and add your commanding menu to the array here: https://github.com/worldwidesorrow/Epoch-Admin-Tools/blob/TestBranch/AdminTools/AntiCheat/antiCheat.sqf#L3 So your line should look like this: #define MENUS ["","RscTeam"] Link to comment Share on other sites More sharing options...
Hux Posted July 4, 2020 Author Report Share Posted July 4, 2020 4 hours ago, JasonTM said: I just changed the file so you can whitelist commanding menus. Download the new antiCheat.sqf and add your commanding menu to the array here: https://github.com/worldwidesorrow/Epoch-Admin-Tools/blob/TestBranch/AdminTools/AntiCheat/antiCheat.sqf#L3 So your line should look like this: #define MENUS ["","RscTeam"] That did the trick. Where did you get RscTeam? What does this mean? Thanks for the help. Link to comment Share on other sites More sharing options...
Hux Posted July 6, 2020 Author Report Share Posted July 6, 2020 My players are still getting kicked when using Tilde ~ or Backspace keys. I installed new file and added: #define MENUS ["","RscTeam"] The reason I thought it was working before was that I had antiCheat disabled (commented out in init) to test but once I enabled it my players got kicks again. Any ideas? Thanks. Link to comment Share on other sites More sharing options...
JasonTM Posted July 7, 2020 Report Share Posted July 7, 2020 59 minutes ago, Hux said: My players are still getting kicked when using Tilde ~ or Backspace keys. I installed new file and added: #define MENUS ["","RscTeam"] The reason I thought it was working before was that I had antiCheat disabled (commented out in init) to test but once I enabled it my players got kicks again. Any ideas? Thanks. What does the server rpt say? Link to comment Share on other sites More sharing options...
Hux Posted July 7, 2020 Author Report Share Posted July 7, 2020 1 hour ago, JasonTM said: What does the server rpt say? This: "TK_AC_KICK - TSanMan(76561198042770477) CommandingMenu RscMainMenu" "TK_AC_KICK - Zombiekiller123(76561198845828384) CommandingMenu RscGroupRootMenu" Link to comment Share on other sites More sharing options...
Hux Posted July 7, 2020 Author Report Share Posted July 7, 2020 On 7/4/2020 at 2:54 AM, A Man said: Commet out in your anticheat.sqf the Command Menu lines. https://github.com/worldwidesorrow/Epoch-Admin-Tools/blob/TestBranch/AdminTools/AntiCheat/antiCheat.sqf#L79 Ok, I tried A Man's advice and commented out: //_reason = format["CommandingMenu %1",commandingMenu]; That works. Thanks A Man Link to comment Share on other sites More sharing options...
JasonTM Posted July 7, 2020 Report Share Posted July 7, 2020 If you comment out the line then you are disabling that feature of the anticheat. I put that in there on purpose because Epoch Admin Tools is based on commanding menus. You need to read what the kicks say. The kicks are for additional commanding menus on that mod. Add them to the array like the other one. Like this: #define MENUS ["","RscTeam","RscMainMenu","RscGroupRootMenu"] Look through the files for that mod and see if there are any other commanding menus to white list. Testing should not be done on a live server if possible. Link to comment Share on other sites More sharing options...
Hux Posted July 7, 2020 Author Report Share Posted July 7, 2020 3 hours ago, JasonTM said: If you comment out the line then you are disabling that feature of the anticheat. I put that in there on purpose because Epoch Admin Tools is based on commanding menus. You need to read what the kicks say. The kicks are for additional commanding menus on that mod. Add them to the array like the other one. Like this: #define MENUS ["","RscTeam","RscMainMenu","RscGroupRootMenu"] Look through the files for that mod and see if there are any other commanding menus to white list. Testing should not be done on a live server if possible. Ok, I see what you mean. Thanks for the explanation. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now