Jump to content

[Release] - A Plot for life v2.5. Keep your buildables on death. Take plot ownership


Recommended Posts

Every time your character dies you re spawn as a new character 2 high has a new characterid. The playerUID is the I'd of you and not your game characters so if you die it stays the same.

Ok just managed to test it. I added it like playerUID and I wasn't able to remove anything again so I've reverted it till I figure this out

Link to comment
Share on other sites

i get this error repetitively spamming RPT:


if(isnil "dayz_MapA>
 4:29:10   Error Undefined variable in expression: spawn_mineveins
 4:29:10 File z\addons\dayz_server\system\server_monitor.sqf, line 369
 4:29:10 Error in expression <x" from 1 to MaxMineVeins do {
[] spawn spawn_mineveins;
};

if(isnil "dayz_MapA>
 4:29:10   Error position: <spawn_mineveins;
};

if(isnil "dayz_MapA>
 4:29:10   Error Undefined variable in expression: spawn_mineveins
 4:29:10 File z\addons\dayz_server\system\server_monitor.sqf, line 369
 4:29:10 Error in expression <x" from 1 to MaxMineVeins do {
[] spawn spawn_mineveins;
};

if(isnil "dayz_MapA>
 4:29:10   Error position: <spawn_mineveins;
};

if(isnil "dayz_MapA>
 4:29:10   Error Undefined variable in expression: spawn_mineveins
 4:29:10 File z\addons\dayz_server\system\server_monitor.sqf, line 369
 4:29:10 Error in expression <x" from 1 to MaxMineVeins do {
[] spawn spawn_mineveins;
};

if(isnil "dayz_MapA>
 4:29:10   Error position: <spawn_mineveins;
};

if(isnil "dayz_MapA>
 4:29:10   Error Undefined variable in expression: spawn_mineveins
 4:29:10 File z\addons\dayz_server\system\server_monitor.sqf, line 369
 4:29:10 Error in expression <x" from 1 to MaxMineVeins do {
[] spawn spawn_mineveins;
};

if(isnil "dayz_MapA>
 4:29:10   Error position: <spawn_mineveins;
};

if(isnil "dayz_MapA>
 4:29:10   Error Undefined variable in expression: spawn_mineveins
 4:29:10 File z\addons\dayz_server\system\server_monitor.sqf, line 369
 4:29:10 Error in expression <x" from 1 to MaxMineVeins do {
[] spawn spawn_mineveins;
};

if(isnil "dayz_MapA>
 4:29:10   Error position: <spawn_mineveins;
};

if(isnil "dayz_MapA>
 4:29:10   Error Undefined variable in expression: spawn_mineveins
 4:29:10 File z\addons\dayz_server\system\server_monitor.sqf, line 369
 4:29:10 Error in expression <x" from 1 to MaxMineVeins do {
[] spawn spawn_mineveins;
};

if(isnil "dayz_MapA>
 4:29:10   Error position: <spawn_mineveins;
};

if(isnil "dayz_MapA>
 4:29:10   Error Undefined variable in expression: spawn_mineveins
 4:29:10 File z\addons\dayz_server\system\server_monitor.sqf, line 369
 4:29:10 Error in expression <x" from 1 to MaxMineVeins do {
[] spawn spawn_mineveins;
};



Also these:

4:29:09 Error in expression < select 1)) != "SCALAR")})) then {
if ((_hiveResponse select 1) == "Instance alr>
 4:29:09   Error position: <_hiveResponse select 1) == "Instance alr>
 4:29:09   Error Undefined variable in expression: _hiveresponse
 4:29:09 File z\addons\dayz_server\system\server_monitor.sqf, line 57
 4:29:09 Error in expression <yZ_instance];
_hiveResponse = _key call server_hiveReadWrite;  
if ((((isnil "_h>
 4:29:09   Error position: <server_hiveReadWrite;  
if ((((isnil "_h>
 4:29:09   Error Undefined variable in expression: server_hivereadwrite
 4:29:09 File z\addons\dayz_server\system\server_monitor.sqf, line 55
 4:29:09 "HIVE: trying to get objects"
 4:29:09 Error in expression < select 1)) != "SCALAR")})) then {
if ((_hiveResponse select 1) == "Instance alr>
 4:29:09   Error position: <_hiveResponse select 1) == "Instance alr>
 4:29:09   Error Undefined variable in expression: _hiveresponse
 4:29:09 File z\addons\dayz_server\system\server_monitor.sqf, line 57
 4:29:09 Error in expression <yZ_instance];
_hiveResponse = _key call server_hiveReadWrite;  
if ((((isnil "_h>
 4:29:09   Error position: <server_hiveReadWrite;  
if ((((isnil "_h>
 4:29:09   Error Undefined variable in expression: server_hivereadwrite
 4:29:09 File z\addons\dayz_server\system\server_monitor.sqf, line 55
 4:29:09 "HIVE: trying to get objects"
 4:29:09 Error in expression < select 1)) != "SCALAR")})) then {
if ((_hiveResponse select 1) == "Instance alr>
 4:29:09   Error position: <_hiveResponse select 1) == "Instance alr>
 4:29:09   Error Undefined variable in expression: _hiveresponse
 4:29:09 File z\addons\dayz_server\system\server_monitor.sqf, line 57
 4:29:09 Error in expression <yZ_instance];
_hiveResponse = _key call server_hiveReadWrite;  
if ((((isnil "_h>
 4:29:09   Error position: <server_hiveReadWrite;  
if ((((isnil "_h>
 4:29:09   Error Undefined variable in expression: server_hivereadwrite
 4:29:09 File z\addons\dayz_server\system\server_monitor.sqf, line 55
 4:29:09 "HIVE: trying to get objects"
 4:29:09 Error in expression < select 1)) != "SCALAR")})) then {
if ((_hiveResponse select 1) == "Instance alr>
 4:29:09   Error position: <_hiveResponse select 1) == "Instance alr>
 4:29:09   Error Undefined variable in expression: _hiveresponse
 4:29:09 File z\addons\dayz_server\system\server_monitor.sqf, line 57
 4:29:09 Error in expression <yZ_instance];
_hiveResponse = _key call server_hiveReadWrite;  
if ((((isnil "_h>
 4:29:09   Error position: <server_hiveReadWrite;  
if ((((isnil "_h>
 4:29:09   Error Undefined variable in expression: server_hivereadwrite
 4:29:09 File z\addons\dayz_server\system\server_monitor.sqf, line 55
 4:29:09 "HIVE: trying to get objects"
 4:29:09 Error in expression < select 1)) != "SCALAR")})) then {
if ((_hiveResponse select 1) == "Instance alr>
 4:29:09   Error position: <_hiveResponse select 1) == "Instance alr>
 4:29:09   Error Undefined variable in expression: _hiveresponse
 4:29:09 File z\addons\dayz_server\system\server_monitor.sqf, line 57
 4:29:09 Error in expression <yZ_instance];
_hiveResponse = _key call server_hiveReadWrite;  
if ((((isnil "_h>
 4:29:09   Error position: <server_hiveReadWrite;  
if ((((isnil "_h>
 4:29:09   Error Undefined variable in expression: server_hivereadwrite
 4:29:09 File z\addons\dayz_server\system\server_monitor.sqf, line 55
 4:29:09 "HIVE: Spawning # of Debris: 50"
 4:29:09 Error in expression <rom 1 to MaxDynamicDebris do {
[] spawn spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error position: <spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error Undefined variable in expression: spawn_roadblocks
 4:29:09 File z\addons\dayz_server\system\server_monitor.sqf, line 359
 4:29:09 Error in expression <rom 1 to MaxDynamicDebris do {
[] spawn spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error position: <spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error Undefined variable in expression: spawn_roadblocks
 4:29:09 File z\addons\dayz_server\system\server_monitor.sqf, line 359
 4:29:09 Error in expression <rom 1 to MaxDynamicDebris do {
[] spawn spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error position: <spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error Undefined variable in expression: spawn_roadblocks
 4:29:09 File z\addons\dayz_server\system\server_monitor.sqf, line 359
 4:29:09 Error in expression <rom 1 to MaxDynamicDebris do {
[] spawn spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error position: <spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error Undefined variable in expression: spawn_roadblocks
 4:29:09 File z\addons\dayz_server\system\server_monitor.sqf, line 359
 4:29:09 Error in expression <rom 1 to MaxDynamicDebris do {
[] spawn spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error position: <spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error Undefined variable in expression: spawn_roadblocks
 4:29:09 File z\addons\dayz_server\system\server_monitor.sqf, line 359
 4:29:09 Error in expression <rom 1 to MaxDynamicDebris do {
[] spawn spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error position: <spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error Undefined variable in expression: spawn_roadblocks
 4:29:09 File z\addons\dayz_server\system\server_monitor.sqf, line 359
 4:29:09 Error in expression <rom 1 to MaxDynamicDebris do {
[] spawn spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error position: <spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error Undefined variable in expression: spawn_roadblocks
 4:29:09 File z\addons\dayz_server\system\server_monitor.sqf, line 359
 4:29:09 Error in expression <rom 1 to MaxDynamicDebris do {
[] spawn spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error position: <spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error Undefined variable in expression: spawn_roadblocks
 4:29:09 File z\addons\dayz_server\system\server_monitor.sqf, line 359
 4:29:09 Error in expression <rom 1 to MaxDynamicDebris do {
[] spawn spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error position: <spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error Undefined variable in expression: spawn_roadblocks
 4:29:09 File z\addons\dayz_server\system\server_monitor.sqf, line 359
 4:29:09 Error in expression <rom 1 to MaxDynamicDebris do {
[] spawn spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error position: <spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error Undefined variable in expression: spawn_roadblocks
 4:29:09 File z\addons\dayz_server\system\server_monitor.sqf, line 359
 4:29:09 Error in expression <rom 1 to MaxDynamicDebris do {
[] spawn spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error position: <spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error Undefined variable in expression: spawn_roadblocks
 4:29:09 File z\addons\dayz_server\system\server_monitor.sqf, line 359
 4:29:09 Error in expression <rom 1 to MaxDynamicDebris do {
[] spawn spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error position: <spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error Undefined variable in expression: spawn_roadblocks
 4:29:09 File z\addons\dayz_server\system\server_monitor.sqf, line 359
 4:29:09 Error in expression <rom 1 to MaxDynamicDebris do {
[] spawn spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error position: <spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error Undefined variable in expression: spawn_roadblocks
 4:29:09 File z\addons\dayz_server\system\server_monitor.sqf, line 359
 4:29:09 Error in expression <rom 1 to MaxDynamicDebris do {
[] spawn spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error position: <spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error Undefined variable in expression: spawn_roadblocks
 4:29:09 File z\addons\dayz_server\system\server_monitor.sqf, line 359
 4:29:09 Error in expression <rom 1 to MaxDynamicDebris do {
[] spawn spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error position: <spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error Undefined variable in expression: spawn_roadblocks
 4:29:09 File z\addons\dayz_server\system\server_monitor.sqf, line 359
 4:29:09 Error in expression <rom 1 to MaxDynamicDebris do {
[] spawn spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error position: <spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error Undefined variable in expression: spawn_roadblocks
 4:29:09 File z\addons\dayz_server\system\server_monitor.sqf, line 359
 4:29:09 Error in expression <rom 1 to MaxDynamicDebris do {
[] spawn spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error position: <spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error Undefined variable in expression: spawn_roadblocks
 4:29:09 File z\addons\dayz_server\system\server_monitor.sqf, line 359
 4:29:09 Error in expression <rom 1 to MaxDynamicDebris do {
[] spawn spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error position: <spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error Undefined variable in expression: spawn_roadblocks
 4:29:09 File z\addons\dayz_server\system\server_monitor.sqf, line 359
 4:29:09 Error in expression <rom 1 to MaxDynamicDebris do {
[] spawn spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error position: <spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error Undefined variable in expression: spawn_roadblocks
 4:29:09 File z\addons\dayz_server\system\server_monitor.sqf, line 359
 4:29:09 Error in expression <rom 1 to MaxDynamicDebris do {
[] spawn spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error position: <spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error Undefined variable in expression: spawn_roadblocks
 4:29:09 File z\addons\dayz_server\system\server_monitor.sqf, line 359
 4:29:09 Error in expression <rom 1 to MaxDynamicDebris do {
[] spawn spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error position: <spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error Undefined variable in expression: spawn_roadblocks
 4:29:09 File z\addons\dayz_server\system\server_monitor.sqf, line 359
 4:29:09 Error in expression <rom 1 to MaxDynamicDebris do {
[] spawn spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error position: <spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error Undefined variable in expression: spawn_roadblocks
 4:29:09 File z\addons\dayz_server\system\server_monitor.sqf, line 359
 4:29:09 Error in expression <rom 1 to MaxDynamicDebris do {
[] spawn spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error position: <spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error Undefined variable in expression: spawn_roadblocks
 4:29:09 File z\addons\dayz_server\system\server_monitor.sqf, line 359
 4:29:09 Error in expression <rom 1 to MaxDynamicDebris do {
[] spawn spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error position: <spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error Undefined variable in expression: spawn_roadblocks
 4:29:09 File z\addons\dayz_server\system\server_monitor.sqf, line 359
 4:29:09 Error in expression <rom 1 to MaxDynamicDebris do {
[] spawn spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error position: <spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error Undefined variable in expression: spawn_roadblocks
 4:29:09 File z\addons\dayz_server\system\server_monitor.sqf, line 359
 4:29:09 Error in expression <rom 1 to MaxDynamicDebris do {
[] spawn spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error position: <spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error Undefined variable in expression: spawn_roadblocks
 4:29:09 File z\addons\dayz_server\system\server_monitor.sqf, line 359
 4:29:09 Error in expression <rom 1 to MaxDynamicDebris do {
[] spawn spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error position: <spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error Undefined variable in expression: spawn_roadblocks
 4:29:09 File z\addons\dayz_server\system\server_monitor.sqf, line 359
 4:29:09 Error in expression <rom 1 to MaxDynamicDebris do {
[] spawn spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error position: <spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error Undefined variable in expression: spawn_roadblocks
 4:29:09 File z\addons\dayz_server\system\server_monitor.sqf, line 359
 4:29:09 Error in expression <rom 1 to MaxDynamicDebris do {
[] spawn spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error position: <spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error Undefined variable in expression: spawn_roadblocks
 4:29:09 File z\addons\dayz_server\system\server_monitor.sqf, line 359
 4:29:09 Error in expression <rom 1 to MaxDynamicDebris do {
[] spawn spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error position: <spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error Undefined variable in expression: spawn_roadblocks
 4:29:09 File z\addons\dayz_server\system\server_monitor.sqf, line 359
 4:29:09 Error in expression <rom 1 to MaxDynamicDebris do {
[] spawn spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error position: <spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error Undefined variable in expression: spawn_roadblocks
 4:29:09 File z\addons\dayz_server\system\server_monitor.sqf, line 359
 4:29:09 Error in expression <rom 1 to MaxDynamicDebris do {
[] spawn spawn_roadblocks;
};

diag_log ("HIVE: S>
 4:29:09   Error position: <spawn_roadblocks;
};

Makes player stuck on Requesting character data or something like that (Its french in my game so..)

Link to comment
Share on other sites

Well it looks like spawn_mineveins is not defined ;) .

 

This will be a variable that holds the code to spawn the mine veins so I would have a look for where it should be defined as you probably have a bug in that file.

 

A fairly easy way to find out where it is defined / called is to jump on to the Epoch Github and just do a search for spawn_mineveins.  It comes up with two files containing that word.  Server_monitor (which we know about) and server_functions where it is defined.  Check out server_functions.sqf for any bugs.

Link to comment
Share on other sites

Well it looks like spawn_mineveins is not defined ;) .

 

This will be a variable that holds the code to spawn the mine veins so I would have a look for where it should be defined as you probably have a bug in that file.

 

A fairly easy way to find out where it is defined / called is to jump on to the Epoch Github and just do a search for spawn_mineveins.  It comes up with two files containing that word.  Server_monitor (which we know about) and server_functions where it is defined.  Check out server_functions.sqf for any bugs.

Well I just installed default files from you and modified them to fit ZSC 3.0...

Any way that its regarding that? Cus the whole system_monitor seems f*ed up (as my secnd spoiler shows)

Link to comment
Share on other sites

Ok just managed to test it. I added it like playerUID and I wasn't able to remove anything again so I've reverted it till I figure this out

 

Do the items you are trying to remove have your SteamID in the Worldspace field ?.

 

Also before this line

 if(_isModular && (dayz_characterID == _ownerID)) then {

you could add

diag_log format ["[FN_SELFACTIONS] PlayerUID = %1, dayz_characterID = %2, OwnerID = %3",  _PlayerUID, dayz_characterID, _OwnerID];
 

It wont fix the issue but will let you know what is being passed to the if statement so you will have a better idea of what is going wrong.  Note it may will produce a lot of text in your RPT file as it will run every 3 seconds (IIRC).  Just do it for a test.

Link to comment
Share on other sites

Well I just installed default files from you and modified them to fit ZSC 3.0...

Any way that its regarding that? Cus the whole system_monitor seems f*ed up (as my secnd spoiler shows)

 

Then it would seem your modifications are incorrect.

 

Not sure what spoilers you are talking about.

Link to comment
Share on other sites

Well it looks like spawn_mineveins is not defined ;) .

 

This will be a variable that holds the code to spawn the mine veins so I would have a look for where it should be defined as you probably have a bug in that file.

 

A fairly easy way to find out where it is defined / called is to jump on to the Epoch Github and just do a search for spawn_mineveins.  It comes up with two files containing that word.  Server_monitor (which we know about) and server_functions where it is defined.  Check out server_functions.sqf for any bugs.

server_Functions.sqf:   http://pastebin.com/fv94PBDp

server_monitor.sqf:    http://pastebin.com/Y4pBHdd4

Link to comment
Share on other sites

one request give it only the finish folders or give it code too i have selfmade server files compare i cant

i work on this one week become no help can me one help this script insert in my files or have code for me ?`

 

thanks so much sry for my bad english im german guy and not so good in english ^^

Link to comment
Share on other sites

I will not be supplying a step by step guide to all the changes in the 42 files.

 

I will be putting this up for inclusion in the core Epoch files (again) so they should be included with Epoch 1.0.5.2 (1.0.6) when it finally arrives.  Some people are actively working on testing the latest RC so there is still hope.

Link to comment
Share on other sites

Ok .. Im an idiot or something  ??  :huh: 
 

Trying to install the 2.5 I had Snap Build already loaded and working ..  Ive followed the instructions step my step 
the part that is messing with my head is the server folder .. ok below looks simple , make a folder called custom and place the 3 folders inside that compile, init, and system, the init in the mission.pbo has been modified just as instructions list .. But when I do all this ,, server starts.. but you cant log in .. says wait for host .. prior to this worked fine with snap build pro..
No errors in RPT, 

 

The only thing installed besides this is dzai, wai, dzms.. which shouldnt have any thing to do with pl4life 

Included is the init from the mission pbo http://pastebin.com/ujH3P075

pl4life1.jpg

 

Link to comment
Share on other sites

Update: I get stuck on *Loading character data*.

RPT file:  http://pastebin.com/KYfdw0LY


I have no clue what is causing this... checked local RPT file (client) and it said its missing server monitor, while its actually in there...

 

RPT bit:
 

Warning Message: Script z\addons\dayz_server\system\server_monitor.sqf not found

The file:

http://prntscr.com/61g6qj



init.sqf bit including the call for the file:  

 

if (isServer) then {
	call compile preprocessFileLineNumbers "\z\addons\dayz_server\missions\DayZ_Epoch_11.Chernarus\dynamic_vehicle.sqf";
	//Compile vehicle configs
	// Add trader citys
	_nil = [] execVM "\z\addons\dayz_server\missions\DayZ_Epoch_11.Chernarus\mission.sqf";
	_serverMonitor = 	[] execVM "\z\addons\dayz_server\system\server_monitor.sqf";

};
if (!isDedicated) then {
    "PlayerCheckDupe" addPublicVariableEventHandler {
        (_this select 1) call {[_this select 0,_this select 1,_this select 2] call Dupe_Check;}
    };
	//Conduct map operations
	0 fadeSound 0;
	waitUntil {!isNil "dayz_loadScreenMsg"};
	dayz_loadScreenMsg = (localize "STR_AUTHENTICATING");
	
	//Run the player monitor
	_id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
	_serverMonitor = [] execVM "\z\addons\dayz_server\system\server_monitor.sqf";
Link to comment
Share on other sites

Do the items you are trying to remove have your SteamID in the Worldspace field ?.

 

Also before this line

 if(_isModular && (dayz_characterID == _ownerID)) then {

you could add

diag_log format ["[FN_SELFACTIONS] PlayerUID = %1, dayz_characterID = %2, OwnerID = %3",  _PlayerUID, dayz_characterID, _OwnerID];
 

It wont fix the issue but will let you know what is being passed to the if statement so you will have a better idea of what is going wrong.  Note it may will produce a lot of text in your RPT file as it will run every 3 seconds (IIRC).  Just do it for a test.

["4.0625916","[4655.106934,9940.0712891,0.00143433]","76561198075694517",[[0.071,0.997,0],[0,0,1]]]

Looks to be saving fine...

 

Found this in the client. Not sure what to make of them though

"[FN_SELFACTIONS] PlayerUID = 76561198075694517, dayz_characterID = 25, OwnerID = 0"
"[FN_SELFACTIONS] PlayerUID = 76561198075694517, dayz_characterID = 25, OwnerID = 0"
"[FN_SELFACTIONS] PlayerUID = 76561198075694517, dayz_characterID = 25, OwnerID = 0"
"[FN_SELFACTIONS] PlayerUID = 76561198075694517, dayz_characterID = 25, OwnerID = 25"
"[FN_SELFACTIONS] PlayerUID = 76561198075694517, dayz_characterID = 25, OwnerID = 25"
"[FN_SELFACTIONS] PlayerUID = 76561198075694517, dayz_characterID = 25, OwnerID = 25"

I kill myself

"[FN_SELFACTIONS] PlayerUID = 76561198075694517, dayz_characterID = 26, OwnerID = 25"
"[FN_SELFACTIONS] PlayerUID = 76561198075694517, dayz_characterID = 26, OwnerID = 25"
"[FN_SELFACTIONS] PlayerUID = 76561198075694517, dayz_characterID = 26, OwnerID = 0"

This is with things I just placed too

Link to comment
Share on other sites

 

Update: I get stuck on *Loading character data*.

RPT file:  http://pastebin.com/KYfdw0LY

I have no clue what is causing this... checked local RPT file (client) and it said its missing server monitor, while its actually in there...

 

For starters, add : 

 

mbg_killhouses

mbg_buildings_3

 

to your mission.sqm, that's just sloppy. 

 

Next, if you HAVE installed Plot 4 Life as suggested, you should have a "custom" file in the root directory. That would make this call :

_serverMonitor = 	[] execVM "\z\addons\dayz_server\system\server_monitor.sqf";

in your if (isServer) obsolete, as it should NOW be : 

_serverMonitor = [] execVM "custom\system\server_monitor.sqf";

Then, in your if (!isDedicated) then { section, you have : 

//Run the player monitor
_id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
_serverMonitor = [] execVM "\z\addons\dayz_server\system\server_monitor.sqf";

Which should ACTUALLY be : 

//Run the player monitor
_id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
_playerMonitor = 	[] execVM "\z\addons\dayz_code\system\player_monitor.sqf";

You are calling server_monitor.sqf WRONG, TWICE!

Link to comment
Share on other sites

For starters, add : 

 

mbg_killhouses

mbg_buildings_3

 

to your mission.sqm, that's just sloppy. 

 

Next, if you HAVE installed Plot 4 Life as suggested, you should have a "custom" file in the root directory. That would make this call :

_serverMonitor = 	[] execVM "\z\addons\dayz_server\system\server_monitor.sqf";

in your if (isServer) obsolete, as it should NOW be : 

_serverMonitor = [] execVM "custom\system\server_monitor.sqf";

Then, in your if (!isDedicated) then { section, you have : 

//Run the player monitor
_id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
_serverMonitor = [] execVM "\z\addons\dayz_server\system\server_monitor.sqf";

Which should ACTUALLY be : 

//Run the player monitor
_id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
_playerMonitor = 	[] execVM "\z\addons\dayz_code\system\player_monitor.sqf";

You are calling server_monitor.sqf WRONG, TWICE!

Actually I edited the linking so it fits this one file (in the actual dayz server.pbo, therefore it is not wrong)

Its what was said in the installation instructions (that you can edit for linking it to custom).

I also just tested with default installation (the custom folder in server root) with Door management and ZSC 3.0, still the same thing.

Link to comment
Share on other sites

So, you're saying this : 

//Run the player monitor
_id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
_serverMonitor = [] execVM "\z\addons\dayz_server\system\server_monitor.sqf";

is correct?

Yes I swaped my original monitor file with the one provided, which I edited to fit my other mods as well.

Like I also said, I tried this time reinstalling the whole thing with my working pbo again so I can see if I can fix it using the custom folder etc.

Which led to this:

 

	// Add trader citys
	_nil = [] execVM "\z\addons\dayz_server\missions\DayZ_Epoch_11.Chernarus\mission.sqf";
	_serverMonitor = [] execVM "custom\system\server_monitor.sqf"; 

....    

_id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
     //Removed, dumb error.

And still no luck!

 

 

Cant seem to find the error. Checked RPT nothing is related to any of these files!

Link to comment
Share on other sites

Ok, let's try this again ..... 

 

This : 

//Run the player monitor
_id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
_serverMonitor = [] execVM "\z\addons\dayz_server\system\server_monitor.sqf";

is meant to be :

//Run the player monitor
_id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
_playerMonitor = 	[] execVM "\z\addons\dayz_code\system\player_monitor.sqf";

Notice how yours is incorrectly calling server_monitor.sqf when it should be calling player_monitor.sqf?

Link to comment
Share on other sites

Ok, let's try this again ..... 

 

This : 

//Run the player monitor
_id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
_serverMonitor = [] execVM "\z\addons\dayz_server\system\server_monitor.sqf";

is meant to be :

//Run the player monitor
_id = player addEventHandler ["Respawn", {_id = [] spawn player_death;}];
_playerMonitor = 	[] execVM "\z\addons\dayz_code\system\player_monitor.sqf";

Notice how yours is incorrectly calling server_monitor.sqf when it should be calling player_monitor.sqf?

oh I see, well seems like this guy had it installed wrong x) He tried doing it for me (plot 4 life)

 

I had that fixed, but I used his file as a show of the init.sqf, wrong folder on my computer

Still no luck.

Link to comment
Share on other sites

Might I suggest then, and no disrespect to yourself, but if THIS is true : 

 

script_zpsff346f86.jpg

 

You might want to start doing things for yourself instead of letting others that clearly have no idea inside your server files. I have only been mucking around with Arma code for 4 months, and I spotted that straight away.  

Link to comment
Share on other sites

Might I suggest then, and no disrespect to yourself, but if THIS is true : 

 

script_zpsff346f86.jpg

 

You might want to start doing things for yourself instead of letting others that clearly have no idea inside your server files. I have only been mucking around with Arma code for 4 months, and I spotted that straight away.  

Meh, I just wanted to get someone else's point of view on it, guess he didint do well but I had fixed that like in the last hours already.

Like I said (but you obviously did not take the time to read) that I tested it STILL with another build and it did not work either. No errors in RPT or anything.

Link to comment
Share on other sites

["4.0625916","[4655.106934,9940.0712891,0.00143433]","76561198075694517",[[0.071,0.997,0],[0,0,1]]]

Looks to be saving fine...

 

Found this in the client. Not sure what to make of them though

"[FN_SELFACTIONS] PlayerUID = 76561198075694517, dayz_characterID = 25, OwnerID = 0"
"[FN_SELFACTIONS] PlayerUID = 76561198075694517, dayz_characterID = 25, OwnerID = 0"
"[FN_SELFACTIONS] PlayerUID = 76561198075694517, dayz_characterID = 25, OwnerID = 0"
"[FN_SELFACTIONS] PlayerUID = 76561198075694517, dayz_characterID = 25, OwnerID = 25"
"[FN_SELFACTIONS] PlayerUID = 76561198075694517, dayz_characterID = 25, OwnerID = 25"
"[FN_SELFACTIONS] PlayerUID = 76561198075694517, dayz_characterID = 25, OwnerID = 25"

I kill myself

"[FN_SELFACTIONS] PlayerUID = 76561198075694517, dayz_characterID = 26, OwnerID = 25"
"[FN_SELFACTIONS] PlayerUID = 76561198075694517, dayz_characterID = 26, OwnerID = 25"
"[FN_SELFACTIONS] PlayerUID = 76561198075694517, dayz_characterID = 26, OwnerID = 0"

This is with things I just placed too

 

 

Ok so from that it seems the ownerID is being populated with the characterID of the player who built the object and not the SteamID.  As the object in the DB seems to have the SteamID it seems the information is saving correctly.

 

I would therefore suspect either the server_monitor is not populating the ownerUID variable on the object correctly or the fn_selfactions.sqf file is not getting the objectUID varaible from the object and populating the _objectID correctly.

 

Have a look in the fn_selfactions.sqf file and try to find the line which should be something like

_ownerID =

You can also make sure the following lines appear in the server_monitor.sqf file

_ownerPUID = _worldspace select 2;

and down a bit more in the same file.

_object setVariable ["OwnerPUID", _ownerPUID, true];
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
×
×
  • Create New...