If you start the Server + Client with -showScriptErrors , it will be easier to find out what is going wrong.
Sometimes there is only a missing "]",")" or ";" that make you trouble :)
take a look in your serverlog (arma2oaserver.rpt)
/Leo
Hi :)
you need to loop the addaction request coz the scripts in 'init.sqf' are called before any player is in the game
try out this code in you playercustomactions.sqf:
_test_action_id = -1;
while {true} do {
if (_test_action_id < 0) then {
_test_action_id = player addAction...
im using the persistant spawn und have no issues with that
i think the temp spawns can have issues like no damage handler/self repairing, i wasnt testing this much
spawning a useable Veh is easy but its only temporary and has no eventhandlers, spawning a usable Veh that is handled by hive (update damage, position, gear in database) and is using all eventhandlers (killed, damaged, getin/out) is a bit harder
to add a veh spawn player action use something...
hi :)
there is no official dayz server that respawn veh's without server restart (far as I know)
to fix the part DB update, try this :
worked for me
fix the auto repair is a bit harder, seems the veh is losing there event handlers when repaired 100% but i couldnt find the reason yet
hey there :)
try to add
vehicle_handleDamage = compile preprocessFileLineNumbers "\z\addons\dayz_code\compile\vehicle_handleDamage.sqf";
to your dayz.[mapname]\init.sqf
best place is befor
progressLoadingScreen 1.0;
this fixed the rep bug on my server
/Leo
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.