Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Thank you for responding! No antihack not installed. And infistar disabled. Sorry for my English))Some other script running on your server is killing you. Your blood jumps from 12000 to 5000 right at the spawn selection screen. Not sure what it might be, maybe some custom antihack? That doesn't happen with the default epoch files or infistar.
In regards to the server side variables would it be better to do it the way you posted or this way?@gr8_boi52 - Yes of course. I'm surprised people grabbing pbos and making a new server with them is still a problem. I'm not going to use publicVariable for UID lists in the release because it is worse for performance to needlessly broadcast them over the network as priority message and sync to JIP. People can still get the lists either way just by running diag_log format["%1",UIDvarHERE]; when they are on the selection screens. Although I guess most people looking to grab your pbos and steal your community from you are too dumb to do that.
Anyway, if you want to do it:
6. In dayz_server\init\server_functions.sqf find this:
Add right below:Code:dayz_recordLogin = { private["_key"]; _key = format["CHILD:103:%1:%2:%3:",_this select 0,_this select 1,_this select 2]; _key call server_hiveWrite; };
#include "ESSconfig.sqf"
Now create ESSconfig.sqf in the dayz_server\init\ folder.
Inside your ESSconfig.sqf should look something like this:
Code:customLoadout = [ "76561198014219874", // ebay "0", "0" ]; classLevel1 = ["0","0","0"]; classLevel2 = ["0","0","0"]; classLevel3 = ["0","0","0"]; customBase = [ "76561198014219874", // ebay "0", "0" ]; spawnLevel1 = ["0","0","0"]; spawnLevel2 = ["0","0","0"]; spawnLevel3 = ["0","0","0"]; publicVariable "customLoadout"; publicVariable "classLevel1"; publicVariable "classLevel2"; publicVariable "classLevel3"; publicVariable "customBase"; publicVariable "spawnLevel1"; publicVariable "spawnLevel2"; publicVariable "spawnLevel3";
Then in the mission\spawn\classConfig.sqf you would do this:
Same deal in spawnConfig.sqf with the spawnLevelX and customBase lists.Code:_customLoadout = customLoadout; _classLevel1 = classLevel1; _classLevel2 = classLevel2; _classLevel3 = classLevel3; customLoadout=nil;classLevel1=nil;classLevel2=nil;classLevel3=nil; // can nil these now that we have copies
if(isnil "mypublicvariable") then {
_level1 = ["0","0"];
_level2 = ["0","0"];
_level3 = ["0","0"];
mypublicvariable = [_level1,_level2,_level3];
publicVariable "mypublicvariable";
};
15:29:12 Error in expression <iable "spawnChoice") < 1} do {
AT_SPAWN
if (!dialog) then {cutText ["","BLACK OU>
15:29:12 Error position: <if (!dialog) then {cutText ["","BLACK OU>
15:29:12 Error Missing ;
15:29:12 File mpmissions\__cur_mp.tavi\spawn\spawn.sqf, line 119
15:29:12 Error in expression <iable "spawnChoice") < 1} do {
AT_SPAWN
if (!dialog) then {cutText ["","BLACK OU>
15:29:12 Error position: <if (!dialog) then {cutText ["","BLACK OU>
15:29:12 Error Missing ;
15:29:12 File mpmissions\__cur_mp.tavi\spawn\spawn.sqf, line 119
@higgibaby - Your configs look fine. Did you modify the spawn.sqf file? If not there must be another error further up in the RPT. Can you post the whole client RPT file?
That explains it. The unedited infistar breaks the lbSetPicture command which is needed to add the lock icons. When the script attempts to use it you will get an "error missing ;" message. The script may still work correctly, but I wouldn't count on it. Sometimes an error in the file will break things further down in the script.
14:20:16 Error position: <nearEntities ["Man",100]);
_ret
};
#lin>
14:20:16 Error 0 elements provided, 3 expected
14:20:16 File mpmissions\DayZ_Epoch_13.Tavi\custom\spawn\start.sqf, line 42
14:20:17 Bad conversion: array
14:20:17 Error in expression <ret set [count _ret,_x];} count (player nearEntities ["Man",100]);
_ret
};
There must be another error further up in the file. Can you post the whole RPT?