ch4rlys Posted January 3, 2015 Report Share Posted January 3, 2015 Hi I try to add the mag repack to the my epoch server. http://www.armaholic.com/page.php?id=19692 I have a problem i have this restriction i can't fix : I already fix 2-3 restriction error but i lock on that one! #52 "ntil {!(isNull (findDisplay 46))}; (findDisplay 46) displayAddEventHandler ["KeyDown", "_this call outlw_MR_keyDown;"]; system" Please anyone could help me for that ? Link to comment Share on other sites More sharing options...
0 RC_Robio Posted June 18, 2015 Report Share Posted June 18, 2015 Download and unzip to your mission folder. http://www.mediafire.com/download/dp38a5zdp4307m3/outlw_magRepack.zip In your mission init.sqf: [] execVM "outlw_magRepack\MagRepack_init_sv.sqf"; In description.ext at the top: #include "outlw_magRepack\MagRepack_config.hpp" Add to security_checks.h in @epochhive\addons\a3_epoch_server_settings\configs\security_checks.h {"{""onLoad"",_this,""RscDisplayConfigure"",'GUI'} call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf""; _this call compile preprocessfilelinenumbers ""MagRepack_init_sv.sqf"""} Should look like this: checkDisplays[] = { {"RscDisplayMainMap", {}, {}}, {"RscDisplayGetReady", {}, {}}, {"RscDisplayInventory", {}, {}}, {"RscDisplayLoadMission", {}, {}}, {"RscDisplayInterrupt", {}, {}}, {"RscDisplayOptionsVideo", {}, {}}, {"RscDisplayOptions", {}, {}}, {"RscDisplayAVTerminal", {}, {}}, {"RscDisplayConfigure", {"{""onLoad"",_this,""RscDisplayConfigure"",'GUI'} call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf""; _this call compile preprocessfilelinenumbers ""\x\cba\addons\keybinding\gui\initDisplay.sqf"""}, {"{""onLoad"",_this,""RscDisplayConfigure"",'GUI'} call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf""; _this call compile preprocessfilelinenumbers ""MagRepack_init_sv.sqf"""}}, {"RscDisplayConfigureAction", {}, {}}, {"RscDisplayConfigureControllers", {}, {}}, {"RscDisplayControlSchemes", {}, {}}, {"RscDisplayCustomizeController", {}, {}}, {"RscDisplayDebriefing", {}, {}}, {"RscDisplayDiary", {}, {}}, {"RscDisplayGameOptions", {}, {}}, {"RscDisplayJoystickSchemes", {}, {}}, {"RscDisplayLoading", {}, {}}, {"RscDisplayMicSensitivityOptions", {}, {}}, {"RscDisplayOptionsAudio", {}, {}}, {"RscDisplayOptionsLayout", {}, {}}, {"RscDisplayStart", {}, {}}, {"RscDisplayVehicleMsgBox", {}, {}}, {"RscDisplayInsertMarker", {}, {}} }; }; Oops! Also need to add at line 55 in security_checks.h keyDown = "_this call EPOCH_KeyDown; _this call outlw_MR_keyDown;"; Battleye scripts.text 7 createDialog !"createDialog "outlw_MR_keybindingMenuActive = false";" !"createDialog \"outlw_MR_canCreateDialog\";" !"createDialog \"MagRepack_Dialog_Keybindings\";" 7 displaySetEventHandler !" {!(isNull (findDisplay 46))}; (findDisplay 46) displayAddEventHandler ["KeyDown", "_this call outlw_MR_keyDown;"]; systemChat" !"}; }; [_display] call _fnc_animate; { _display displayaddeventhandler [_x,_fnc_animate]; } foreach ["mousemoving","mouseholdin" 7 addEventHandler !"}; }; [_display] call _fnc_animate; { _display displayaddeventhandler [_x,_fnc_animate]; } foreach ["mousemoving","mouseholdin" !"ntil {!(isNull (findDisplay 46))}; (findDisplay 46) displayAddEventHandler ["KeyDown", "_this call outlw_MR_keyDown;"]; system" 7 displayAddEventHandler !"ntil {!(isNull (findDisplay 46))}; (findDisplay 46) displayAddEventHandler ["KeyDown", "_this call outlw_MR_keyDown;"]; system" 7 addMagazine !="player addMagazine [((_magInfo select 0) select _n), ((_magInfo select 1) sel" Not the prettiest of Be filters. But it works. mgm 1 Link to comment Share on other sites More sharing options...
0 Simych Posted June 21, 2015 Report Share Posted June 21, 2015 Download and unzip to your mission folder. http://www.mediafire.com/download/dp38a5zdp4307m3/outlw_magRepack.zip In your mission init.sqf: [] execVM "outlw_magRepack\MagRepack_init_sv.sqf"; In description.ext at the top: #include "outlw_magRepack\MagRepack_config.hpp" Add to security_checks.h in @epochhive\addons\a3_epoch_server_settings\configs\security_checks.h {"{""onLoad"",_this,""RscDisplayConfigure"",'GUI'} call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf""; _this call compile preprocessfilelinenumbers ""MagRepack_init_sv.sqf"""} Should look like this: checkDisplays[] = { {"RscDisplayMainMap", {}, {}}, {"RscDisplayGetReady", {}, {}}, {"RscDisplayInventory", {}, {}}, {"RscDisplayLoadMission", {}, {}}, {"RscDisplayInterrupt", {}, {}}, {"RscDisplayOptionsVideo", {}, {}}, {"RscDisplayOptions", {}, {}}, {"RscDisplayAVTerminal", {}, {}}, {"RscDisplayConfigure", {"{""onLoad"",_this,""RscDisplayConfigure"",'GUI'} call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf""; _this call compile preprocessfilelinenumbers ""\x\cba\addons\keybinding\gui\initDisplay.sqf"""}, {"{""onLoad"",_this,""RscDisplayConfigure"",'GUI'} call compile preprocessfilelinenumbers ""A3\ui_f\scripts\initDisplay.sqf""; _this call compile preprocessfilelinenumbers ""MagRepack_init_sv.sqf"""}}, {"RscDisplayConfigureAction", {}, {}}, {"RscDisplayConfigureControllers", {}, {}}, {"RscDisplayControlSchemes", {}, {}}, {"RscDisplayCustomizeController", {}, {}}, {"RscDisplayDebriefing", {}, {}}, {"RscDisplayDiary", {}, {}}, {"RscDisplayGameOptions", {}, {}}, {"RscDisplayJoystickSchemes", {}, {}}, {"RscDisplayLoading", {}, {}}, {"RscDisplayMicSensitivityOptions", {}, {}}, {"RscDisplayOptionsAudio", {}, {}}, {"RscDisplayOptionsLayout", {}, {}}, {"RscDisplayStart", {}, {}}, {"RscDisplayVehicleMsgBox", {}, {}}, {"RscDisplayInsertMarker", {}, {}} }; }; Oops! Also need to add at line 55 in security_checks.h keyDown = "_this call EPOCH_KeyDown; _this call outlw_MR_keyDown;"; Battleye scripts.text 7 createDialog !"createDialog "outlw_MR_keybindingMenuActive = false";" !"createDialog \"outlw_MR_canCreateDialog\";" !"createDialog \"MagRepack_Dialog_Keybindings\";" 7 displaySetEventHandler !" {!(isNull (findDisplay 46))}; (findDisplay 46) displayAddEventHandler ["KeyDown", "_this call outlw_MR_keyDown;"]; systemChat" !"}; }; [_display] call _fnc_animate; { _display displayaddeventhandler [_x,_fnc_animate]; } foreach ["mousemoving","mouseholdin" 7 addEventHandler !"}; }; [_display] call _fnc_animate; { _display displayaddeventhandler [_x,_fnc_animate]; } foreach ["mousemoving","mouseholdin" !"ntil {!(isNull (findDisplay 46))}; (findDisplay 46) displayAddEventHandler ["KeyDown", "_this call outlw_MR_keyDown;"]; system" 7 displayAddEventHandler !"ntil {!(isNull (findDisplay 46))}; (findDisplay 46) displayAddEventHandler ["KeyDown", "_this call outlw_MR_keyDown;"]; system" Not the prettiest of Be filters. But it works. not work :( [] execVM "outlw_magRepack\MagRepack_init_sv.sqf";" 05:18:26 : Script Log: #0 Simych (99dd3dd91f97f74bab600fdef3611235) - #22 "#line 1 "mpmissions\__CUR_MP.Altis\init.sqf" [] execVM "outlw_magRepack\MagRepack_init_sv.sqf";" 05:18:26 : Player #0 Simych (99dd3dd91f97f74bab600fdef3611235) has been kicked by BattlEye: Script Restriction #22 my scripts.txt your fix :( - #25 "agInfo select 1) select _n) != _ammoCount}) then { player addMagazine [((_magInfo select 0) select _n), ((_magInfo select 1) sel" Link to comment Share on other sites More sharing options...
0 viper179 Posted June 22, 2015 Report Share Posted June 22, 2015 yeh its working pretty cool add on Link to comment Share on other sites More sharing options...
0 RC_Robio Posted June 22, 2015 Report Share Posted June 22, 2015 not work :( my scripts.txt your fix :( add to scripts.txt 7 addMagazine !="player addMagazine [((_magInfo select 0) select _n), ((_magInfo select 1) sel" mgm 1 Link to comment Share on other sites More sharing options...
0 Simych Posted June 28, 2015 Report Share Posted June 28, 2015 add to scripts.txt 7 addMagazine !="player addMagazine [((_magInfo select 0) select _n), ((_magInfo select 1) sel" thank you Link to comment Share on other sites More sharing options...
0 kk4pi Posted July 21, 2015 Report Share Posted July 21, 2015 hi, since v1.48 arma and modify epoch 3.0.4b2 repack work for you? Link to comment Share on other sites More sharing options...
0 viper179 Posted July 21, 2015 Report Share Posted July 21, 2015 Nope same here the drag and drop in the gui is broken you will see like 5 or 6 lines in your rpt but it's the in game gui drag and drop feature that is making it not work Link to comment Share on other sites More sharing options...
0 DirtySanchez Posted July 21, 2015 Report Share Posted July 21, 2015 I suggest using the scarCODE Sar simple ammo Repack. it's recent, it's light and if it has any issues IT07 is around. But my tests showed it still worked fine with 0304b2 Caveman1, ZENITHOVMAN and RC_Robio 3 Link to comment Share on other sites More sharing options...
0 kk4pi Posted July 22, 2015 Report Share Posted July 22, 2015 http://feedback.arma3.com/view.php?id=24736 Link to comment Share on other sites More sharing options...
0 RC_Robio Posted July 23, 2015 Report Share Posted July 23, 2015 I suggest using the scarCODE Sar simple ammo Repack. it's recent, it's light and if it has any issues IT07 is around. But my tests showed it still worked fine with 0304b2 Agreed. I took the originals authors mod from armoholic and made it work with Epoch. IT07 just made it easier. But my main thing was to teach how to incorporate using Epoch mod antihack, I know most use infistar, And I don't. I've learned more running Epoch AH. But to to show that most of the setting to allow dialogs, keypress, and everything else is just as configurable in the Epoch antihack as it is in Infistars. Most don't even look. If you want to pay for infistar then so be it. You won't learn anything. So easy to just adjust a toggle true or false in infistar. Damn that, learn how it works for yourself to make you a better admin. DirtySanchez 1 Link to comment Share on other sites More sharing options...
0 DirtySanchez Posted July 24, 2015 Report Share Posted July 24, 2015 Btw Robio it's more than just true and false toggles, there are many fill in the blanks on infistar Link to comment Share on other sites More sharing options...
0 RC_Robio Posted July 24, 2015 Report Share Posted July 24, 2015 I'm sure your right. I have only looked at it once very briefly. Link to comment Share on other sites More sharing options...
0 Caveman1 Posted August 2, 2015 Report Share Posted August 2, 2015 I suggest using the scarCODE Sar simple ammo Repack. it's recent, it's light and if it has any issues IT07 is around. But my tests showed it still worked fine with 0304b2 +1 for scarcode.works great. Link to comment Share on other sites More sharing options...
0 kk4pi Posted August 20, 2015 Report Share Posted August 20, 2015 hi, the new version work fine : http://www.armaholic.com/page.php?id=19692 Link to comment Share on other sites More sharing options...
0 JerryAtricks Posted September 23, 2015 Report Share Posted September 23, 2015 The first time I installed this my server wouldn't start. That's a pretty good indicator that something is being called in the script that it cannot find. So after some looking around I found that there's an error with the code posted on the armaholic page. Change this line[] execVM "outlw_magRepack\MagRepack_init.sqf";to this[] execVM "outlw_magRepack\MagRepack_init_sv.sqf"; and change this line#include "outlw_magRepack\MagRepack_config.cpp"to this#include "outlw_magRepack\MagRepack_Config.hpp"It turns out the file names were different than the in the script. :PI don't have CBA installed so I couldn't test this to see if it actually worked but I logged in to my server with no errors so that has to be a good thing, yeah? :) Link to comment Share on other sites More sharing options...
0 JerryAtricks Posted September 23, 2015 Report Share Posted September 23, 2015 Download and unzip to your mission folder. http://www.mediafire.com/download/dp38a5zdp4307m3/outlw_magRepack.zipThis link is dead. Link to comment Share on other sites More sharing options...
0 Chainsaw Squirrel Posted September 23, 2015 Report Share Posted September 23, 2015 Try scarCODE's version JerryAtricks 1 Link to comment Share on other sites More sharing options...
Question
ch4rlys
Hi
I try to add the mag repack to the my epoch server.
http://www.armaholic.com/page.php?id=19692
I have a problem i have this restriction i can't fix :
I already fix 2-3 restriction error but i lock on that one!
Please anyone could help me for that ?
Link to comment
Share on other sites
Top Posters For This Question
10
9
9
8
Popular Days
Jan 4
7
Feb 5
7
Feb 8
7
Jan 8
7
Top Posters For This Question
Highlander 10 posts
DirtySanchez 9 posts
_LR_KevsNoTrev 9 posts
Tricks 8 posts
Popular Days
Jan 4 2015
7 posts
Feb 5 2015
7 posts
Feb 8 2015
7 posts
Jan 8 2015
7 posts
Popular Posts
DirtySanchez
I suggest using the scarCODE Sar simple ammo Repack. it's recent, it's light and if it has any issues IT07 is around. But my tests showed it still worked fine with 0304b2
_LR_KevsNoTrev
CBA is the only way outlaw could get it to run at preinit/post init (can't recall which) and start up at mission start as a mod. Zed, that is true for mod version, but when you download mod it al
_LR_KevsNoTrev
in the download there is a folder called outlw_magrepack , put this in the epoch.altis extracted mission folder in your description.ext put the in the init.sqf put in if you don't have
117 answers to this question
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now