biokemisten 0 Report post Posted May 25, 2013 Hi, i need some help with few things. (2) First of all, im getting SR #231 and i have no idea which line i need to flag/edit _entity_array = (position _ai) nearEntities [_trac" 23.05.2013 21:31:17: [Friendly]biokemisten (MY_IP_IS_HIDDEN) MY_GUID_IS_HIDDEN_KAY - #231 "le new ammo";}; }; if(fuel _vehicle < 0.2) then { _vehicle setFuel 1; I searched for ''_entity_array''.. well.. the whole line in scripts.txt but nothing found. So if anyone know what do edit, please tell me. Issue no 2 BEC autorestart/warning message, i cant really figure out how to do. I have read the survivalservers forum regarding BEC but nada.. Even youtube/google. I have set my server to GMT-8. <?xml version="1.0" encoding="UTF-8" standalone="yes" ?> <?xml-stylesheet href="acs.xsl" type="text/xsl" ?> 05:50:00 000000 1,2,3,4,5,6,7 0 say -1 Server will Auto restart in 10 min 0 05:55:00 000000 1,2,3,4,5,6,7 0 say -1 Server will Auto restart in 5 min 0 06:00:00 000000 1,2,3,4,5,6,7 0 #shutdown 0 001000 000010 1,2,3,4,5,6,7 1 say -1 Annoying text that will repeate itself each 10 min 0 000300 000000 1,2,3,4,5,6,7 0 say -1 Bec has been now running for 3 min 0 030000 000000 1,2,3,4,5,6,7 1 C:\ServerTools\Bec\Config\test.bat 1 Thank you! -B Quote Share this post Link to post Share on other sites More sharing options...
pilpest 0 Report post Posted May 25, 2013 Go to your scripts text and give me line #233 and paste it in code format. Your time for restarts is this format... Change delay to this format, remove ":" from your delay. HHMMSS = The format of delay Restarts every six hours - Examples 050000 = Restart in 1 hour 055900 = Restart in 1 minute 060000 = Restarting Quote Share this post Link to post Share on other sites More sharing options...
biokemisten 0 Report post Posted May 25, 2013 5 "hint format [\"A %1 has been added\", gun]" -here you go. Quote Share this post Link to post Share on other sites More sharing options...
pilpest 0 Report post Posted May 25, 2013 What are you doing to cause the SR or have that started causing it? Is this the auto refuel? Quote Share this post Link to post Share on other sites More sharing options...
biokemisten 0 Report post Posted May 25, 2013 antihack from blur Quote Share this post Link to post Share on other sites More sharing options...
pilpest 0 Report post Posted May 25, 2013 5 "hint format [\"A %1 has been added\", gun]" !"if(fuel _vehicle < 0.2) then { _vehicle setFuel 1;" Try this. Quote Share this post Link to post Share on other sites More sharing options...
biokemisten 0 Report post Posted May 25, 2013 ill try that, thanks Quote Share this post Link to post Share on other sites More sharing options...
pilpest 0 Report post Posted May 25, 2013 Also what are you trying to do with their antihack tool? Quote Share this post Link to post Share on other sites More sharing options...
biokemisten 0 Report post Posted May 25, 2013 that didnt work, scan for bad content etc Quote Share this post Link to post Share on other sites More sharing options...
pilpest 0 Report post Posted May 25, 2013 Scan for bad content? Quote Share this post Link to post Share on other sites More sharing options...
biokemisten 0 Report post Posted May 25, 2013 Yes, like SS antihack Quote Share this post Link to post Share on other sites More sharing options...
pilpest 0 Report post Posted May 25, 2013 Show my the log in scripts log. Quote Share this post Link to post Share on other sites More sharing options...
biokemisten 0 Report post Posted May 25, 2013 Same as before if (isSe" 25.05.2013 02:10:05: [Friendly]biokemisten (xxxxxxxxxxxxxxxxx) xxxxxxxxxxxxxxxxxx - #44 "le new ammo";}; }; if(fuel _vehicle < 0.2) then { _vehicle setFuel 1; if (SAR_EXTREME_DEBUG) then {diag_log "SAR_EXTREME_DEBUG:" 25.05.2013 02:10:05: [Friendly]biokemisten (xxxxxxxxxxxxxxxxx) xxxxxxxxxxxxxxxxxx- #80 "hicle ammo (_veh_weapons select 0) < 11) then { _vehicle setVehicleAmmo 1; if (SAR_EXTREME_DEBUG) then {diag_log "SAR EXTREME DE" 25.05.2013 02:10:05: [Friendly]biokemisten (xxxxxxxxxxxxxxxxx) xxxxxxxxxxxxxxxxxxxxxxxx - #138 "time = SAR_DETECT_INTERVAL/2; while {alive _ai} do { if !(isServer) then { _entity_array = (position _ai) nearEntities [_trac" 25.05.2013 02:10:05: [Friendly]biokemisten (xxxxxxxxxxxxx) xxxxxxxxxxxxx - #231 "le new ammo";}; }; if(fuel _vehicle < 0.2) then { _vehicle setFuel 1; if (SAR_EXTREME_DEBUG) then {diag_log "SAR_EXTREME_DEBUG:" Quote Share this post Link to post Share on other sites More sharing options...
pilpest 0 Report post Posted May 25, 2013 Add at the end ! "le new ammo";" Sorry it's 5am and I am tired so I barely read. Quote Share this post Link to post Share on other sites More sharing options...
biokemisten 0 Report post Posted May 25, 2013 You're ok Quote Share this post Link to post Share on other sites More sharing options...
pilpest 0 Report post Posted May 25, 2013 Tell me if it works... If not we always have a plan C... Should work if added right... Quote Share this post Link to post Share on other sites More sharing options...
biokemisten 0 Report post Posted May 25, 2013 To plan C, didnt work Quote Share this post Link to post Share on other sites More sharing options...
pilpest 0 Report post Posted May 25, 2013 Change the 5 to a 1... Shutdown and start back up. Quote Share this post Link to post Share on other sites More sharing options...
biokemisten 0 Report post Posted May 25, 2013 Nothing. i changed these lines to 1 "le new ammo";" 1 "hint format [\"A %1 has been added\", gun]" !"if(fuel _vehicle < 0.2) then { _vehicle setFuel 1;" wondering what can cause this. Quote Share this post Link to post Share on other sites More sharing options...
pilpest 0 Report post Posted May 25, 2013 Also if you are running SARGE AI... Give me lines #82 And #46 Do you have to press a button or anything to get this to happen btw? Line has to look like 1 "hint format [\"A %1 has been added\", gun]" !"if(fuel _vehicle < 0.2) then { _vehicle setFuel 1;" !"le new ammo";" Your next option is to do what the owner of blurgaming antihack said. BlurGaming- also remove the script restrictions 220-243 i think. should stop the restrictions without compromising the server. http://blurgaming.com/antihack/m/995773 ... strictions Quote Share this post Link to post Share on other sites More sharing options...
biokemisten 0 Report post Posted May 25, 2013 Sure i do 1 setVehicleAmmo !"\"setVehicleAmmo\"," 1 setFuel !"\"setFuel\"," !"z\addons\dayz_code\compile\local_setFuel.sqf" !"\"dayzSetFuel\"" !"dayzSetFuel_code" !"dayzSetFuel = _val;" Quote Share this post Link to post Share on other sites More sharing options...
biokemisten 0 Report post Posted May 25, 2013 AND i only have lines 1 to 245 i did this as well Hi, I removed everything after zombie shield - now working! -Blurgaming Quote Share this post Link to post Share on other sites More sharing options...
pilpest 0 Report post Posted May 25, 2013 It says 220-243... Could just comment those lines out with a // and try that... Quote Share this post Link to post Share on other sites More sharing options...
biokemisten 0 Report post Posted May 25, 2013 Nope nothing, weird Quote Share this post Link to post Share on other sites More sharing options...
biokemisten 0 Report post Posted May 25, 2013 its still _entity_array = (position _ai) nearEntities [_trac" 25.05.2013 02:10:05: [Friendly]biokemisten (xxx) xxx - #231 "le new ammo";}; }; if(fuel _vehicle < 0.2) then { _vehicle setFuel 1; if (SAR_EXTREME_DEBUG) then {diag_log "SAR_EXTREME_DEBUG:" Quote Share this post Link to post Share on other sites More sharing options...
pilpest 0 Report post Posted May 25, 2013 5 setVehicleAmmo !"\"setVehicleAmmo\"," !"_vehicle setVehicleAmmo 1;\nif (SAR_EXTREME_DEBUG) then {diag_log "SAR EXTREME DEBUG: Vehicle new ammo";};" 1 setFuel !"\"setFuel\"," !"z\addons\dayz_code\compile\local_setFuel.sqf" !"\"dayzSetFuel\"" !"if (_fuel >= 1.0) then { _fuel = 1.0; };\n\n_target setFuel _fuel;" !"_vehicle setFuel 1;\nif (SAR_EXTREME_DEBUG) then {diag_log "SAR_EXTREME_DEBUG: Vehicle refueled";};" Try this, I believe its SARGE AI... not the Anti-Hack. Quote Share this post Link to post Share on other sites More sharing options...
biokemisten 0 Report post Posted May 28, 2013 Got it working, thanks! Quote Share this post Link to post Share on other sites More sharing options...
pilpest 0 Report post Posted May 28, 2013 No problem mate! Quote Share this post Link to post Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.