dirtysnipe 2 Posted March 15, 2013 I currently have the halo jump spawn installed but seem to be having an issue with it resetting the player and respawning them in halo jump every time they log out and back in.Does anyone know how to fix this and can you help with the code?Thanks. Share this post Link to post Share on other sites
Steak and Potatoes 13480 Posted March 15, 2013 Do you want all spawns on the server to come in halo jumping or just fresh? If so do you have a my SQL via your server? Share this post Link to post Share on other sites
starthealmighty 597 Posted March 15, 2013 Try adding it in so it only can activate from above 100m. Example from Openforums:if (_inVehicle and (getPos player select 2 > 100)) then { if (s_player_halojump < 0) then { s_player_halojump = player addAction ["Halo Jump", "fixes\jump.sqf",[], 0, false, true, "",""]; }; } else { player removeAction s_player_halojump; s_player_halojump = -1; };even though im sure you would have look at it check out the posthttp://opendayz.net/index.php?threads/halo-jumps-for-dayz.7439/ Share this post Link to post Share on other sites
dirtysnipe 2 Posted March 18, 2013 Thats the post Ive been running from. Other people are having issues aswell from it resetting characters. I have seen one server running it with no problems but the admin will not disclose the fix. I will double check that code you put.Yes i have access to mysql on the server and I only want it to halo spawn for new spawns. Share this post Link to post Share on other sites
dirtysnipe 2 Posted March 18, 2013 This is what i currently have in the init.sqf file//HALO SPAWN SCRIPTbis_fnc_halo = compile preprocessFileLineNumbers "fixes\fn_HALO.sqf";if (!isDedicated) then { [] spawn { waitUntil { !isNil ("dayz_Totalzedscheck") and !(player getVariable ["humanity",0] > 5000 and typeOf player == "Survivor2_DZ") and !(player getVariable ["humanity",0] < -2000 and (typeOf player == "Survivor2_DZ" or typeOf player == "SurvivorW2_DZ") ) and !(player getVariable ["humanity",0] > 0 and (typeOf player == "Bandit1_DZ" or typeOf player == "BanditW1_DZ") ) }; if (dayzPlayerLogin2 select 2) then { _pos = position player; "respawn_west" setMarkerPos [_pos select 0, _pos select 1]; [player, 1000] spawn bis_fnc_halo; }; };}; Share this post Link to post Share on other sites
zombieshack 0 Posted March 22, 2013 could you post a full how to when you get this working please? Share this post Link to post Share on other sites