Jump to content

[HowTo] add Chernarus-Spawnselection


jOoPs

Recommended Posts

I got it to work combined with character select & Spawn Select ... The only problem I'm having now is that it still goes random spawn point , when you select a location. 

 

The only way I got that to work is with @Joe_Candy Player_monitor.sqm . What else am I missing that it still goes random?

 

 Thanks in advance 

Link to comment
Share on other sites

Has anyone tried modifying the locations?  Granted I'm trying this first on a normal DayZ Mod server....  It seems like it would be straightforward in adjusting the marker in mission.sqm but it doesn't work that way. 

 

For example:

 

position[]={10909,0,2422};
name="spawn3"; //spawn_elektro
 
If I change it to say...
 
position[]={10909,0,4000};
 
The spawn doesn't change a bit.    I plan to add this to my Epoch server but people are used to inland spawns... So I've been trying to figure out a way to do so.  I haven't determined why this doesn't change unless if it's something in server_Playersetup.sqf.  I apologize if this was the wrong place to ask.
 
Also, It does pick 'sort of' a random spot even using spawn select.  If you take a look at server_Playersetup you can see why.  I noticed a few people were asking about that while skimming this thread.
 
In case anyone might be interested or find this useful
 
Screenshot of spawn select markers:  http://i.imgur.com/TuVpV4W.jpg
 
Link to comment
Share on other sites

hi it worked for two/three times now i'm stuck at the loading screen this is what my RPT file says

 

16:11:43 Error in expression <nd _findSpot} do {
 
if (_spawnSelection == 9) then {
 
if (dayz_spawnselection ==>
16:11:43   Error position: <== 9) then {
 
if (dayz_spawnselection ==>
16:11:43   Error Generic error in expression
16:11:43 File z\addons\dayz_server\compile\server_playerSetup.sqf, line 201
16:11:43 Error in expression <nd _findSpot} do {
 
if (_spawnSelection == 9) then {
 
if (dayz_spawnselection ==>
16:11:43   Error position: <== 9) then {
 
if (dayz_spawnselection ==>
16:11:43   Error Generic error in expression
16:11:43 File z\addons\dayz_server\compile\server_playerSetup.sqf, line 201
 
do i need to reinstall the server bec or be client?
 
when it work i also think that it spawned me randomly 
 
edit 
reinstalled BE still stuck on the waiting character screen 
Link to comment
Share on other sites

Really really good work jOoPs !!!

For me its working ! I love this style of spawn selection and now iam happy to get this working ;)

 

But a little question i still have:

What about the next update of Epoch to 1.0.5 ?

I mean the player_monitor.fsm file.

Can u try to explain what we have to change simplify ?

Or can we use this version for 1.0.5 too ?

 

cheers

Link to comment
Share on other sites

black screen again :( i have no ideas...

players cant connect even after restart

22:21:14 Error in expression <nd _findSpot} do {

if (_spawnSelection == 9) then {

if (dayz_spawnselection ==>

22:21:14 Error position: <== 9) then {

if (dayz_spawnselection ==>

22:21:14 Error Generic error in expression

22:21:14 File z\addons\dayz_server\compile\server_playerSetup.sqf, line 201

22:21:14 Error in expression <nd _findSpot} do {

if (_spawnSelection == 9) then {

if (dayz_spawnselection ==>

22:21:14 Error position: <== 9) then {

if (dayz_spawnselection ==>

22:21:14 Error Generic error in expression

22:21:14 File z\addons\dayz_server\compile\server_playerSetup.sqf, line 201

Link to comment
Share on other sites

how do i merge?

use the FSM editor form BI, but you have to know what is changed in both files maybe, or you can use a diff tool for some parts but its not that easy sadly..

 

But a little question i still have:

What about the next update of Epoch to 1.0.5 ?

I mean the player_monitor.fsm file.

Can u try to explain what we have to change simplify ?

Or can we use this version for 1.0.5 too ?

well that depends if the file changes with the next Epoch update, best case is you have to only update the version number because that is saved in the file (for every epoch pbo e.g. 1.0.4.2 search the file for that and you see)

Link to comment
Share on other sites

Worked fine, but now I have this error:

 

if (_spawnSelection == 9) then {
 
if (dayz_spawnselection ==>
16:40:44   Error position: <== 9) then {
 
if (dayz_spawnselection ==>
16:40:44   Error Generic error in expression
16:40:44 File z\addons\dayz_server\compile\server_playerSetup.sqf, line 201
16:40:44 Error in expression <nd _findSpot} do {
 
if (_spawnSelection == 9) then {
 
if (dayz_spawnselection ==>
16:40:44   Error position: <== 9) then {
Link to comment
Share on other sites

  • 4 weeks later...

Hey! got this working more or less on my server, except the selection of pawnpoint is still completely random regardless of selection...I read on page 4 it has something to do with the server_playersetup.sqf or something...but I just don't understand what to do with it?

 

the directions ont he front page mention the file int he list of modded files you need, but doesn't say anything about what to do with it as far as I can tell, anyone be able to lend me a hand with this?

 

EDIT: Nevermind~ I seemed to have got it working. the Initial post wasn't extremely clear in wording about what to do in the server.pbo, but after a few reads I finally figured it out!

Link to comment
Share on other sites

hey guys!
 
i was glad to see that someone has done the work to get the graphical respawn selection working on epoch.
but i'm having problems with it.
 
arma2server.rpt

 

2:54:35 "infiSTAR.de PlayerConnected: _uid: 123456789 _name: Playername"

2:54:38 Error in expression <nd _findSpot} do {

if (_spawnSelection == 9) then {

if (dayz_spawnselection ==>
2:54:38 Error position: <== 9) then {

if (dayz_spawnselection ==>
2:54:38 Error Generic error in expression
2:54:38 File z\addons\dayz_server\compile\server_playerSetup.sqf, line 201
2:54:38 Error in expression <nd _findSpot} do {

if (_spawnSelection == 9) then {

if (dayz_spawnselection ==>
2:54:38 Error position: <== 9) then {

if (dayz_spawnselection ==>
2:54:38 Error Generic error in expression

2:54:38 File z\addons\dayz_server\compile\server_playerSetup.sqf, line 201

 

hive.log

 

2014-04-22 02:54:37 HiveExt: [information] Method: 101 Params: 123456789:11:PlayerUID:


2014-04-22 02:54:37 HiveExt: [information] Result: ["PASS",false,"12297",[322,[500.985,0.001]],[["ItemFlashlight","M9SD"],["ItemBandage","ItemBandage","ItemAntibiotic","ItemMorphine","ItemBloodbag","ItemSodaPepsi","FoodCanBakedBeans","ItemPainkiller","PartGeneric","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD"]],["DZ_Patrol_Pack_EP1",[[],[]],[[],[]]],[294,303,303],"Survivor2_DZ",0.96]
2014-04-22 02:54:38 HiveExt: [information] Method: 102 Params: 12297:
2014-04-22 02:54:38 HiveExt: [information] Result: ["PASS",[false,false,false,false,false,false,false,12000,[],[0,0],0,[0,0]],[0,0,0,0],["M9SD","aidlpercmstpsraswpstdnon_player_idlesteady01",36,[]],[322,[500.985,0.001]],-24488,11]

 

I am using the playermonitor from the thread in here, but yea - ive also noticed this problem by my own, but cant duplicate it to check.
 
Sometimes player spawn outside the map in a debug box. after reconnecting they stuck in loading char data. After checking the database - it looks like the data was'nt syncronized - because i get an empty database entry.
 
So i will switch back to the text based respawn selection which worked fine the last months. Sad to see, its not working :/

Link to comment
Share on other sites

hey guys!

 

i was glad to see that someone has done the work to get the graphical respawn selection working on epoch.

but i'm having problems with it.

 

arma2server.rpt

 

2:54:35 "infiSTAR.de PlayerConnected: _uid: 123456789 _name: Playername"

2:54:38 Error in expression <nd _findSpot} do {

if (_spawnSelection == 9) then {

if (dayz_spawnselection ==>

2:54:38 Error position: <== 9) then {

if (dayz_spawnselection ==>

2:54:38 Error Generic error in expression

2:54:38 File z\addons\dayz_server\compile\server_playerSetup.sqf, line 201

2:54:38 Error in expression <nd _findSpot} do {

if (_spawnSelection == 9) then {

if (dayz_spawnselection ==>

2:54:38 Error position: <== 9) then {

if (dayz_spawnselection ==>

2:54:38 Error Generic error in expression

2:54:38 File z\addons\dayz_server\compile\server_playerSetup.sqf, line 201

 

hive.log

 

2014-04-22 02:54:37 HiveExt: [information] Method: 101 Params: 123456789:11:PlayerUID:

2014-04-22 02:54:37 HiveExt: [information] Result: ["PASS",false,"12297",[322,[500.985,0.001]],[["ItemFlashlight","M9SD"],["ItemBandage","ItemBandage","ItemAntibiotic","ItemMorphine","ItemBloodbag","ItemSodaPepsi","FoodCanBakedBeans","ItemPainkiller","PartGeneric","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD"]],["DZ_Patrol_Pack_EP1",[[],[]],[[],[]]],[294,303,303],"Survivor2_DZ",0.96]

2014-04-22 02:54:38 HiveExt: [information] Method: 102 Params: 12297:

2014-04-22 02:54:38 HiveExt: [information] Result: ["PASS",[false,false,false,false,false,false,false,12000,[],[0,0],0,[0,0]],[0,0,0,0],["M9SD","aidlpercmstpsraswpstdnon_player_idlesteady01",36,[]],[322,[500.985,0.001]],-24488,11]

 

I am using the playermonitor from the thread in here, but yea - ive also noticed this problem by my own, but cant duplicate it to check.

 

Sometimes player spawn outside the map in a debug box. after reconnecting they stuck in loading char data. After checking the database - it looks like the data was'nt syncronized - because i get an empty database entry.

 

So i will switch back to the text based respawn selection which worked fine the last months. Sad to see, its not working :/

 

I had the exact same issue as well. Empty worldspace coords in the database.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×
×
  • Create New...