fireplace Posted March 6, 2014 Report Share Posted March 6, 2014 I use to use sarge ai a couple of versions back before I switched to DZAI, tried to switch back today but was getting loads of errors and couldn't get on server. Can someone please share their server_functions.sqf with sarge setup? or just this bit server_cleanupGroups = { if (DZE_DYN_AntiStuck3rd > 3) then { DZE_DYN_GroupCleanup = nil; DZE_DYN_AntiStuck3rd = 0; }; if(!isNil "DZE_DYN_GroupCleanup") exitWith { DZE_DYN_AntiStuck3rd = DZE_DYN_AntiStuck3rd + 1;}; DZE_DYN_GroupCleanup = true; { if (count units _x == 0) then { deleteGroup _x; }; sleep 0.001; } forEach allGroups; DZE_DYN_GroupCleanup = nil; }; server_checkHackers = { if (DZE_DYN_AntiStuck2nd > 3) then { DZE_DYN_HackerCheck = nil; DZE_DYN_AntiStuck2nd = 0; }; if(!isNil "DZE_DYN_HackerCheck") exitWith { DZE_DYN_AntiStuck2nd = DZE_DYN_AntiStuck2nd + 1;}; DZE_DYN_HackerCheck = true; { //if(vehicle _x != _x && !(vehicle _x in PVDZE_serverObjectMonitor) && (isPlayer _x) && !((typeOf vehicle _x) in DZE_safeVehicle)) then { if(vehicle _x != _x && !(vehicle _x in PVDZE_serverObjectMonitor) && (isPlayer _x) && !((typeOf vehicle _x) in DZE_safeVehicle) && (vehicle _x getVariable ["Sarge",0] !=1)) then { diag_log ("CLEANUP: KILLING A HACKER " + (name _x) + " " + str(_x) + " IN " + (typeOf vehicle _x)); (vehicle _x) setDamage 1; _x setDamage 1; sleep 0.25; }; sleep 0.001; } forEach allUnits; DZE_DYN_HackerCheck = nil; }; It was the groupcleanup bit I was having all the error's with. I've since switched back to my backup so can't post the error. Link to comment Share on other sites More sharing options...
0 MassAsster Posted March 6, 2014 Report Share Posted March 6, 2014 http://es-gamers.com/1042bserverfiles.zip Take it apart and locate what you need fireplace 1 Link to comment Share on other sites More sharing options...
0 fireplace Posted March 6, 2014 Author Report Share Posted March 6, 2014 Thank you kindly, downloading now! Link to comment Share on other sites More sharing options...
0 fireplace Posted March 6, 2014 Author Report Share Posted March 6, 2014 Seems cause your using the DZMS and WAI you don't need to do the fixes I'm looking for. I'm just wanting to run plain Sarge AI. Thanks for the files through, as I'm gonna pinch your dynamic_vehicle lol Link to comment Share on other sites More sharing options...
0 MassAsster Posted March 6, 2014 Report Share Posted March 6, 2014 Sarge is indeed running - I'm not running any special cleanup changes referring to sarge because none have been needed - but then again, I don't use all of sarge.. But, I seem to remember someone saying that in 1.0.4.2 you no longer need to worry about the sarge clean up thing Link to comment Share on other sites More sharing options...
0 fireplace Posted March 7, 2014 Author Report Share Posted March 7, 2014 I'll go give that a try now... Link to comment Share on other sites More sharing options...
0 fireplace Posted March 7, 2014 Author Report Share Posted March 7, 2014 It does seem to be working ok! I put admin tools on, then teleported away, an the AI was getting cleaned up after awhile. Link to comment Share on other sites More sharing options...
0 Laviski Posted March 26, 2014 Report Share Posted March 26, 2014 http://es-gamers.com/1042bserverfiles.zip Take it apart and locate what you need when i just use your files as is, i get an error: 2014/03/26, 20:16:51 Warning Message: Script z\addons\dayz_server\system\server_monitor.sqf not found as a result its not connecting to the database. any ideas why would be the case? Link to comment Share on other sites More sharing options...
0 MassAsster Posted March 27, 2014 Report Share Posted March 27, 2014 you may have to make a Z folder, then an Addons folder, and place the map inside the addons folder. Depends how and what your using to PBO the files (assuming your PBO'ing) example : C:\Z\Addons\Dayz_Epoch_24.Napf Link to comment Share on other sites More sharing options...
Question
fireplace
I use to use sarge ai a couple of versions back before I switched to DZAI, tried to switch back today but was getting loads of errors and couldn't get on server. Can someone please share their server_functions.sqf with sarge setup? or just this bit
It was the groupcleanup bit I was having all the error's with. I've since switched back to my backup so can't post the error.
Link to comment
Share on other sites
8 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now