Welcome to Epoch Mod Community

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more!

This message will be removed once you have signed in.

tux-box1

Member
  • Content count

    44
  • Joined

  • Last visited

About tux-box1

  • Rank
    Survivor
  • Birthday

Profile Information

  • Gender
    Not Telling
  1. I just setup a fresh install of epoch on the latest version of the arma 3 branch(because jetsDLC) and any one who logs in gets kicked for script restriction #49 Reverent script.txt lines. Line 49-51 #49 - > 7 addEventHandler !"displayAddEventHandler" !"ctrlAddEventHandler" !="player addeventhandler [\"PostReset\",{BIS_EnginePPReset = true;} ];" !="player addEventHandler [_x,([\"CfgEpochClient\", _x, \"\"] call EPOCH_fnc_returnConfigEntryV2)];" !="\"CBA_fnc_addEventHandler\"" !="\\fnc_addEventHandler" !="\"addEventHandler" !="_eventFunc = _eventFunc + \"(_this select 0) addEventHandler ['Respawn', \" + str _eventFunc + \"];\";" !="_unit addEventHandler [\"hitpart\"," !="CBA_fnc_addEventHandler" !="_unit addEventHandler [_x, format ['call cba_xeh_fnc_%1', _x]];" !="_ship addEventHandler [\"AttributesChanged3DEN\"" !="addEventHandler [\"HandleDamage\",bis_fnc_reviveOnPlayerHandleDamage];" !="_unit addEventHandler [\"FiredNear\"" !="_smokeEH = _plyr addEventHandler [\"FiredNear\", \"airDropHandle setFSMVariable" !="_onContactEH = _currentTarget addEventHandler[\"EpeContactStart"" !="_object addeventhandler [\"local\",{[[_this select 0],\"bis_fnc_objectVar\"" #50 - > 7 displayAddEventHandler !="(findDisplay 46) displayAddEventHandler [\"KeyDown\",\"true\"];" !="displayAddEventHandler [_x,([\"CfgEpochClient\", _x, \"\"] call EPOCH_fnc_returnConfigEntryV2)];" !="_display displayaddeventhandler\n[\n\"mousemoving\"," !="_display displayaddeventhandler [\"unload\",\"uinamespace setvariable ['BIS_fnc_guiMess" !="findDisplay -1337 displayAddEventHandler ['Unload'" !="_display displayaddeventhandler [\"keydown\",\"with uinamespace do {['keyDown'" !="_display displayaddeventhandler [_x,_fnc_animate];" !="Development\") then\n{\n_display displayaddeventhandler [\n\"keydown\"" !="CBA_fnc_addDisplayHandler" !="_display displayAddEventHandler [\"MouseMoving" !="private _handler = _display displayAddEventHandler [_key, _code];" !="_display displayAddEventHandler [\"KeyDown\", \"_this call cba_keybinding_fnc_onKeyDown\"" #51 -> 7 ctrlAddEventHandler !="_control = _display displayctrl 37305; \n_control ctrladdeventhandler" !="_ctrlMap = _display displayctrl 101;\n_ctrlMap ctrladdeventhandler" !="_display displayctrl 21995;\n_assetsButton ctrladdeventhandler [\"buttonclick\"," !="_display displayctrl 2406; \n_control ctrladdeventhandler [\"buttonclick\"," !="_display displayctrl 2400;\n_control ctrladdeventhandler [\"buttonclick\"," !="_ctrlTags ctrladdeventhandler [\"lbselchanged\"," !="_ButtonGeneral ctrladdeventhandler [\"buttonclick\"," !="_ctrlExecuteLocal ctrladdeventhandler [\"buttonclick\"," !="_bg ctrlAddEventHandler [\"MouseEnter\"," !="_container ctrlAddEventHandler [\"LBDblClick\",\"_this call EPOCH_itemInteractClick\"];" !="(uiNamespace getVariable 'ESP_map') ctrlAddEventHandler['Draw', '_esp_targets = EPOCH_ESPMAP_TARGETS;" !="ctrlAddEventHandler ['MouseButtonDown'" !="(_display displayctrl _idc) ctrlAddEventHandler [\"LBSelChanged\"," !="_ctrl ctrlSetEventHandler [\"mouseEnter\", (format [\"_c = _this select 0;" !="_ctrl ctrlSetEventHandler [\"mouseExit\", (format [\"_c = _this select 0;" !="_ctrl ctrlSetEventHandler [\"mouseButtonDown\", (format [\"call %1;\",(_buttonSettings select _e select 2)])];" !="_prevButton ctrlAddEventHandler [\"MouseButtonUp\", {_this call cba_diagnostic_fnc_debug" !="BIS_RscRespawnControlsMap_ctrlHeaderRespawnButton ctrlAddEventhandler [\"ButtonDown\"" !="_control = _display displayctrl 105;\n_control ctrladdeventhandler [\"MouseButtonUp\"" !="_ctrlAddonList ctrlAddEventHandler [\"LBSelChanged\", cba_settings_fnc_gui_addonChanged];" Scripts.log output Date Time: user (Ipaddress) Guid - #49 "wnControlsMap_ctrlHeaderRespawnButton", controlNull]) ctrlAddEventhandler ["ButtonDown",{ ["[RESPAWN] Main respawn button used" Any thoughts?
  2. Quick question to the coding masters.. originally we had code like this // Epoch Admin Tools if ( !((getPlayerUID player) in AdminList) && !((getPlayerUID player) in ModList)) then { [] execVM "admintools\antihack\antihack.sqf"; // Epoch Antihack with bypass }; Couldn't we modify that and apply it again? I'm not a EPOCH code expert so the following is more presudo code than actual code that might work. Something like: // Epoch Admin Tools if ( !((getPlayerUID player) in AdminList) || !((getPlayerUID player) in ModList)) then { //If player not in adminlist or player not in mod list then. dayz_antihack = 0; // DayZ Antihack / 1 = enabled // 0 = disabled dayz_REsec = 0; // DayZ RE Security / 1 = enabled // 0 = disabled }; else {//Player is not in adminlist or player is not in mod list. dayz_antihack = 1; // DayZ Antihack / 1 = enabled // 0 = disabled dayz_REsec = 1; // DayZ RE Security / 1 = enabled // 0 = disabled [] execVM "admintools\antihack\antihack.sqf"; // Epoch Antihack with bypass [] execVM "\z\addons\dayz_code\system\antihack.sqf"; } I also noticed that in the original code && is used, doesn't this mean "AND". If I'm correct, why use AND "&&" instead of OR "||". If I'm correct in my assumption, You're stating that If the ID is in both list rather than one or the other, won't having an ID in both lists brake the code??
  3. I had actually changed everything to 1. I can post you the results of the logs, let me know. Thank you for your work.
  4. Nox, Thanks for the feedback. I started over again, following your updated directions. I get the menu now. Now to figure out the battleye filters. Just replacing the battleye files with yours doesn't currently work. Let me know how I can help.
  5. Sure did, like I was saying. I did have your previous code working with epoch 1.0.5.1. Did a complete wipe and start from fresh test branch on my server. Here is a snippet of the config, the part that matters. <code> /************** Epoch Admin Tools Variables **************/ //Replace 111111111 with your ID. EAT_superAdminList = [ "7removed because of paranoia9", // <removed because of paranoia> "7removed because of paranoia9" // <removed because of paranoia> ]; EAT_adminList = [ "7removed because of paranoia3", // <removed because of paranoia> "7removed because of paranoia3" // <removed because of paranoia> ]; EAT_modList = [ "999999999", // <player name> "999999999" // <player name> ]; </code> I checked my MPmission init.sqf for sanity sakes and it's setup according to your directions at https://github.com/noxsicarius/Epoch-Admin-Tools/tree/TestBranch Also I noticed that "call compile preprocessfilelinenumbers" is used almost exclusivly, could we possibly use <code> call compile preprocessfilelinenumbers "admintools\Activate.sqf"; </code> instead of <code> [] execVM "admintools\Activate.sqf"; </code> If I may make a request. I plan to run your wicked AI, is it possible for me to add a "activate mission X" to the admin menu?
  6. Hey NoxSicarius.. I was able to get your last version working in 1.0.5, but I'm unable to get you test branch working on 1.06. I don't get a menu, has it changed? Correct me if I'm wrong it was part of the scroll wheel menu. Anyway I'd like to help. I have a test server. Let me know if you would like access.. PM me. Thanks
  7. Setup new 3.9 server and get kicked for battleye Script restriction #1 Context of scripts.log: 06.08.2016 20:23:37: tux-box1 (IP:port) ID- #1 ""BIS_fnc_paramReviveBleedOutDuration","BIS_fnc_paramReviveForceRespawnDuration","BIS_fnc_paramTimeAcceleration","BIS_fnc_ORBATOp" I've been trying to go in and add != to lines but the more != I put in the more errors I get. Can some one post a working scripts.txt for me to test. Thank you.
  8. If someone who actually got this working can check my post and write back and let me know if I'm doing this right. I would be very thankful. I have done the following: unPBOed the mission file Altis. Opened up mpmissions\epoch.Altis\epoch_config\Configs\CfgPricing.hpp using notepad ++ Added class B_Plane_CAS_01_F {price = 10000;}; on line 999 I saved the file, rePBOed the epoch.Altis folder. Loaded up the server and checked all spawn menus. Result: no change.
  9. I tried the same thing. Here is the exact entry in "mpmissions\epoch.Altis\epoch_config\Configs\CfgPricing.hpp" I added on line 999 "class B_Plane_CAS_01_F {price = 10000;};" When I check the admin menu under V: Air nothing new is there. Can you tell me if you did the same? FWIW, I rePBO'ed the file.
  10. Wow, I must have been at this too long. Silly mistake on me, ctrlAddEventHandlers != ctrlAddEventHandler For those who need to solve this. Replace line 53 with 7 ctrlAddEventHandler !=";BIS_RscRespawnControlsMap_ctrlHeaderRespawnButton ctrlAddEventhandler ["ButtonDown",{uiNamespace setVariable ["BIS_RscRes" !"rCfg >> "refreshDelay");" !" [\n"draw"," !" ["buttonclick"," !="(uiNamespace getVariable 'ESP_map') ctrlAddEventHandler['Draw', '_esp_targets = EPOCH_ESPMAP_TARGETS;" !="ctrlAddEventHandler ['MouseButtonDown'" !="(_display displayctrl _idc) ctrlAddEventHandler ["LBSelChanged"," !="_ctrl ctrlSetEventHandler ["mouseEnter", (format ["_c = _this select 0;" !="_ctrl ctrlSetEventHandler ["mouseExit", (format ["_c = _this select 0;" !="_ctrl ctrlSetEventHandler ["mouseButtonDown", (format ["call %1;",(_buttonSettings select _e select 2)])];" !="_prevButton ctrlAddEventHandler ["MouseButtonUp", {_this call cba_diagnostic_fnc_debug" Replacing the whole line got me up and going. Mark this as solved, at least for me.
  11. I have replaced the whole scripts.txt file with the contents of what is posted, minus the line numbers of course
  12. I'm unable to find "ctrlAddEventHandlers". In fact, looking at the from scratch raw data on git located at https://github.com/EpochModTeam/Epoch/blob/release/Server_Install_Pack/sc/BattlEye/scripts.txt I can't find it there ether. I did add the whole line 7 ctrlAddEventHandler !=";BIS_RscRespawnControlsMap_ctrlHeaderRespawnButton ctrlAddEventhandler ["ButtonDown",{uiNamespace setVariable ["BIS_RscRes" !"rCfg >> "refreshDelay");" !" [\n"draw"," !" ["buttonclick"," !="(uiNamespace getVariable 'ESP_map') ctrlAddEventHandler['Draw', '_esp_targets = EPOCH_ESPMAP_TARGETS;" !="ctrlAddEventHandler ['MouseButtonDown'" !="(_display displayctrl _idc) ctrlAddEventHandler ["LBSelChanged"," !="_ctrl ctrlSetEventHandler ["mouseEnter", (format ["_c = _this select 0;" !="_ctrl ctrlSetEventHandler ["mouseExit", (format ["_c = _this select 0;" !="_ctrl ctrlSetEventHandler ["mouseButtonDown", (format ["call %1;",(_buttonSettings select _e select 2)])];" !="_prevButton ctrlAddEventHandler ["MouseButtonUp", {_this call cba_diagnostic_fnc_debug" but that didn't make any difference. Thank you for your help. Any other thoughts?
  13. Well, like I said I'm not an expert. Making the change had no effect.
  14. Just noticed that on line 57 of scripts.txt the line looks incomplete, like some syntax is missing. 7 ctrlRemoveAllEventHandlers !="(uiNamespace getVariable 'ESP_map') ctrlRemoveAllEventHandlers 'Draw';" !="ctrlAddEventHandler ['MouseButtonDown'" I'm not any expert, but basic programing syntax suggests that something is missing here, possibly an ending "]"? I'm making the change and testing now.