Jump to content
Yuval

My server is stuck at "Setup complete, please wait".

Recommended Posts

Okey, I've edited the DayZ spawn selection system.

 

After I've edited the display itself (with custom *.paa files) it worked fine.

 

But, after I've added spawn locations, my server is stuck at "Setup complete, please wait" forever, and my console is stuck, (when you connect and the mission start the console gets spammed with "HiveExt (0)" lines right? So mine is stuck after

 

 

19:18:52 HiveExt(0): [information] Method: 201 Params: 928:[312,[-18709.699,91.033]]:[]:[]:[false,false,false,false,false,false,false,12000,[],[0,0],0,[0,0]]:false:false:0:0:18704:9:[,aswmpercmstpsnonwnondnon,100]:0:0:Survivor2_DZ:0:

19:18:52 HiveExt(0): [information] Result: ["PASS"]
19:18:54 HiveExt(0): [information] Method: 307 Params: 
19:18:54 HiveExt(0): [information] Result: ["PASS",[2014,5,10,13,18]]

 

I've only edited the following files:

 

RscDisplaySpawnSelecter.hpp (config file, it might not be the exact name) - To edit the textures. (I also deleted the old textures and added the new one)

--------------

Until this point my server worked fine.

-------------

init.sqf - Added an array with player spawns

server_playerSetup - Edited the code that sets position with this:

if (_randomSpot) then {	private["_counter","_position","_isNear","_isZero"];	if (!isDedicated) then {		endLoadingScreen;	};	_findSpot = true;	_arr_spawnPos = (survivorspawnpoints select dayz_selectedRegion); 	while {_findSpot} do {		_position = _arr_spawnPos select (round(random ((count _arr_spawnPos) - 1)));	};	_worldspace = [0,_position];};

The red array is the spawns array in init.sqf.

Which is scripted like that:

survivorspawnpoints = [            [[X,Y,Z],[X,Y,Z]],            [[X,Y,Z],[X,Y,Z]]        ];

If you get what I did here, can you please tell me what's wrong and why am I stuck on "Setup Complete, please wait"

 

(It happens after I select a position, but before I tested the positions and got into the server - My character was alive and I was still stuck in this "Setup Complete please wait" thing).

 

Thanks for helpers.

 

EDIT: Well, I reverted back the server_playerSetup to the original one and I could spawn. So the problem is in the new setup_playerSetup I put, can anyone tell me what is it? The only thing I've changed is the first code I posted here.

Edited by StanleyWasHappy

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×