Jump to content
RimBlock

[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

Share this post


Link to post
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..)

Share this post


Link to post
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.

Share this post


Link to post
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)

Share this post


Link to post
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.

Share this post


Link to post
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.

Share this post


Link to post
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

Share this post


Link to post
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 ^^

Share this post


Link to post
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.

Share this post


Link to post
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

 

Share this post


Link to post
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";

Share this post


Link to post
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

Share this post


Link to post
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!

Share this post


Link to post
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.

Share this post


Link to post
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?

Share this post


Link to post
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!

Share this post


Link to post
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?

Share this post


Link to post
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.

Share this post


Link to post
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.  

Share this post


Link to post
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.

Share this post


Link to post
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];

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Similar Content

    • By vbawol
      Open world survival mod set just two years after the mass extinction of billions of people. Those that remain are left with remnants of a once technological society. Try to survive, build, or explore your way through the harsh dynamic environment.
      Features
      Powerful persistence framework for Arma 3 with native Windows and Linux dedicated server support. Fully configurable script based security checks. Base Building re-envisioned for Arma 3 PhysX. Persistent secure and insecure storage devices. Upgradeable locking doors. Barter based economy and trading systems backed a single currency ¤ called "Krypto". Hostile Environment with several different types of antagonists, Air and Water temperature extremes, and Earthquakes. Hunting, Fishing, Tame Dogs, Explore & Loot: Wrecked ships, Abandoned vehicles and buildings, Perform task based missions and more! Open source APL-SA Epoch Survival MP gamemode. Open source APL-SA Modders resource configs and Class List. Assets can be used as a mod dependency on Steam workshop.
    • By McLovin
      NOTICE: Duplicate of another question posted in the wrong section.
       
      So I've been playing this server that has a number of mods installed. I've been playing it for quite a while with the only errors I've been getting are regarding a 45 round RPK mag being missing, but other than that I've had no errors or any issues loading. Upon trying to place a plot pole, nothing happens; absolutely nothing, like no preview shows up, no prompt saying "starting construction" or anything like that, just blankness. When I try to do it again it says "building already in progress" and I can't do anything, not even lock my vehicle. Is there anything that can be done, or that can explain this phenomenon? To further the understanding of how this came to be, I bought a plot pole from the trader in Trader City Stary and tried placing it near Stary, but not too near it (near a thicket of bushes in the distance). Upon right clicking and hitting the build option, that's when I face my issue.
    • By xtrmsnpr
      Hello to all.

      So, the old company from {grof communty} is back,this time away from that clan.We are operating by ourselves and we have opened a new dayz mod epoch server!
      https://steamcommunity.com/groups/kirterpos

      And we want you to join us and have fun!
      It runs 24/7

      Server IP:
      144.76.99.158:2600

      Name:
      Kir Terpos Playground Epoch|DAY/NIGHT|Startkit|Custom events

      Map: Chernarus

      Slots:
      30

      Location:
      Germany


      --------

      In order to join the server, you need to download through DZlauncher these files:

      dayz Epoch 1.0.6.2

      and of course ARMA 2OA beta patch (obsolete) through STEAM.
      and arma2oa beta version from steam options!

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

      Server will restart every 6hours (no notification yet).
      Server will backup database every 8hours.

      Server has custom random events.
      Server has day/night circle (UTC+6)
      You start with custom gear,ready for PVP with a shiny m9SD and some surprises as well.

      @Sandbird is an extra feature to this server
      ---
      Discord for you:
      https://discord.gg/684KQH

      Welcome all,and we hope you like it.

      kir terpos aka kir menios aka xtrmsnpr
    • By victorks
      my first work in editin :) https://uploaddeimagens.com.br/imagens/20180307202515_1-jpg https://uploaddeimagens.com.br/imagens/20180307202245_1-jpg DOWNLOAD: https://www.dropbox.com/s/oq97j7x59362kqe/CASTLEai.sqf?dl=0 AI M2 NEED WAI: https://pastebin.com/GJMnPvZP ON THE MAP: https://pastebin.com/cyqH9rNV  
       
      https://www.dropbox.com/s/oq97j7x59362kqe/CASTLEai.sqf?dl=0
       
       
       
       
       
       
       
       
       
    • By UGRexie
      Dayz epoch server 
      Name: Dayz Epoch Tavi -missions-Hardcore-unitedgamers   Connection Info: 193.111.186.225:2302 Map  - Taviana
      List of mods in sever , 
      -Single Coin Currency
      Plot For Life
      Plot Management
      Group Management
      Lift & Tow
      Service points
      Custom start gear
      No weight limit
      Slow zombies
      1 Step build
      Andre Convoys
      Para Spawn
      DZAI 
      Wai Missions
      DZMS Missions
       
      -Our Server is Hardcore ,
      -if you has a idea for a mod ask a admin , 
       
       
      -Server Restart every 4 hours 
      -Admin Teamspeak support, 
        ts- ts3.unitedgamers.eu
      Server Admin - Ask in ts for them if needed,
       [UG]Chieff,[UG]Rexie
  • Advertisement
  • Supporters
  • Discord

×
×
  • Create New...