Jump to content
  • 0

Player not saving next respawn


JakeQue

Question

Hi, me again.

 

For some reason when i spawn in and collect coins or loadout the next time i disconnect and come back it puts me back into spawn and money is all disappeared. 


There's no hive errors.

The only error in the Server RPT is :

Spoiler

_globalCoins = _character getVar>
23:21:01   Error position: <];


_globalCoins = _character getVar>
23:21:01   Error Missing ]
23:21:01 File z\addons\dayz_server\compile\server_playerSync.sqf, line 38
23:21:01 Error in expression <[];
_medical =        [];
_distanceFoot =    [0,0];

And I have 2 errors in my client RPT. Looks like they relate to zsc but I have reinstalled it from scratch and still the same.

Spoiler

Error in expression <,0];
_globalCoins = player getVariable [Z_globalVariable,0];
};


_model call pl>
  Error position: <Z_globalVariable,0];
};


_model call pl>
  Error Undefined variable in expression: z_globalvariable
File mpmissions\__CUR_MP.Chernarus\dayz_code\compile\player_humanityMorph.sqf, line 36
Error in expression <e,_bankCoins,true];
player setVariable [Z_globalVariable,_globalCoins,true];
};
>
  Error position: <Z_globalVariable,_globalCoins,true];
};
>
  Error Undefined variable in expression: z_globalvariable
File mpmissions\__CUR_MP.Chernarus\dayz_code\compile\player_humanityMorph.sqf, line 102
"keyboard_keys reset"
"WARNING illegal RE rhideObjectcode with args:[any,O 1-1-E:1 REMOTE,true]"

and 

Spoiler

Error in expression <oneyVariable,0] call BIS_fnc_numberText,CurrencyName]];
ctrlSetText [23002,forma>
  Error position: <CurrencyName]];
ctrlSetText [23002,forma>
  Error Undefined variable in expression: currencyname
File mpmissions\__CUR_MP.Chernarus\dayz_code\external\zsc\zscInit.sqf, line 122
Error in expression <at['Gave %1 %2 %3!',_this select 0,_num,CurrencyName];
_sl = format['%1 %2 %4 to>
  Error position: <CurrencyName];
_sl = format['%1 %2 %4 to>
  Error Undefined variable in expression: currencyname
Error in expression <oneyVariable,0] call BIS_fnc_numberText,CurrencyName]];
ctrlSetText [23002,forma>
  Error position: <CurrencyName]];
ctrlSetText [23002,forma>
  Error Undefined variable in expression: currencyname
File mpmissions\__CUR_MP.Chernarus\dayz_code\external\zsc\zscInit.sqf, line 122
Error in expression <T_OK",[_amount] call BIS_fnc_numberText,CurrencyName] call dayz_rollingMessages;>
  Error position: <CurrencyName] call dayz_rollingMessages;>
  Error Undefined variable in expression: currencyname
File mpmissions\__CUR_MP.Chernarus\dayz_code\external\zsc\zscInit.sqf, line 156

 

Sorry to be such a noob with this one!!

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Ok, now i've got hive errors appearing out of nowhere. 

Spoiler

2018-05-08 21:48:00 HiveExt: [Error] Error executing |CHILD:201:44:[200,[6301.77,7815.79,0.00143433]]:[["Binocular_Vector","NVGoggles_DZE","UZI_SD_EP1","ItemMap","ItemCompass","ItemHatchet","ItemKnife","ItemMatchbox","ItemEtool","ItemGPS","CDF_dogtags","ItemRadio","ItemCrowbar","DMR_DZ"],<null>,<null>]:["DZ_Backpack_EP1",[[],[]],[[],[]]]:[false,false,false,false,false,false,false,12000,[],[0,0],0,"O",true,[0.488571,0.205556,0],false]:false:false:0:0:0:0:[["UZI_SD_EP1","amovpsitmstpsnonwpstdnon_ground",37],[]]:0:0::0:490430:|
2018-05-09 20:53:02 HiveExt: [Error] Error executing |CHILD:205:11:<null>:4.14505e+006:|

 

Link to comment
Share on other sites

  • 0
8 hours ago, JakeQue said:

Hi, me again.

 

For some reason when i spawn in and collect coins or loadout the next time i disconnect and come back it puts me back into spawn and money is all disappeared. 


There's no hive errors.

The only error in the Server RPT is :

  Hide contents

_globalCoins = _character getVar>
23:21:01   Error position: <];


_globalCoins = _character getVar>
23:21:01   Error Missing ]
23:21:01 File z\addons\dayz_server\compile\server_playerSync.sqf, line 38
23:21:01 Error in expression <[];
_medical =        [];
_distanceFoot =    [0,0];

And I have 2 errors in my client RPT. Looks like they relate to zsc but I have reinstalled it from scratch and still the same.

  Hide contents

Error in expression <,0];
_globalCoins = player getVariable [Z_globalVariable,0];
};


_model call pl>
  Error position: <Z_globalVariable,0];
};


_model call pl>
  Error Undefined variable in expression: z_globalvariable
File mpmissions\__CUR_MP.Chernarus\dayz_code\compile\player_humanityMorph.sqf, line 36
Error in expression <e,_bankCoins,true];
player setVariable [Z_globalVariable,_globalCoins,true];
};
>
  Error position: <Z_globalVariable,_globalCoins,true];
};
>
  Error Undefined variable in expression: z_globalvariable
File mpmissions\__CUR_MP.Chernarus\dayz_code\compile\player_humanityMorph.sqf, line 102
"keyboard_keys reset"
"WARNING illegal RE rhideObjectcode with args:[any,O 1-1-E:1 REMOTE,true]"

and 

  Hide contents

Error in expression <oneyVariable,0] call BIS_fnc_numberText,CurrencyName]];
ctrlSetText [23002,forma>
  Error position: <CurrencyName]];
ctrlSetText [23002,forma>
  Error Undefined variable in expression: currencyname
File mpmissions\__CUR_MP.Chernarus\dayz_code\external\zsc\zscInit.sqf, line 122
Error in expression <at['Gave %1 %2 %3!',_this select 0,_num,CurrencyName];
_sl = format['%1 %2 %4 to>
  Error position: <CurrencyName];
_sl = format['%1 %2 %4 to>
  Error Undefined variable in expression: currencyname
Error in expression <oneyVariable,0] call BIS_fnc_numberText,CurrencyName]];
ctrlSetText [23002,forma>
  Error position: <CurrencyName]];
ctrlSetText [23002,forma>
  Error Undefined variable in expression: currencyname
File mpmissions\__CUR_MP.Chernarus\dayz_code\external\zsc\zscInit.sqf, line 122
Error in expression <T_OK",[_amount] call BIS_fnc_numberText,CurrencyName] call dayz_rollingMessages;>
  Error position: <CurrencyName] call dayz_rollingMessages;>
  Error Undefined variable in expression: currencyname
File mpmissions\__CUR_MP.Chernarus\dayz_code\external\zsc\zscInit.sqf, line 156

 

Sorry to be such a noob with this one!!

If you are getting these errors then you are not running the correct configVariables.sqf: https://github.com/EpochModTeam/DayZ-Epoch/blob/master/SQF/dayz_code/configVariables.sqf#L74-L77

https://github.com/EpochModTeam/DayZ-Epoch/blob/master/Server Files/MPMissions/DayZ_Epoch_11.Chernarus/init.sqf#L47

 

PLEASE DO NOT OVERWRITE THIS FILE, IF YOU DO, KEEP THE ORIGINAL LINE IN YOUR INIT.SQF AND PUT YOUR OVERWRITTEN configVariables.sqf AFTER THE ORIGINAL.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Discord

×
×
  • Create New...