Jump to content
  • 0

RPT Log error (Server_functions)


(TLS)

Question

I get this alot ! in my rpt log and its seems to be doing alot of damage to my server causing crashes , Does anyone know what this means? ill post my actual server_functions.sqf when i can, but this is what im getting .

 

Thank you!!

 

12:32:32 Server: Object 20:96 not found (message 132)
12:32:32 Server: Object 13:257 not found (message 132)
12:32:32 Error in expression <x getVariable ["permaLoot",false];
if (!_keep) then {
_created = _x getVariable >
12:32:32   Error position: <_keep) then {
_created = _x getVariable >
12:32:32   Error Undefined variable in expression: _keep
12:32:32 File z\addons\dayz_server\init\server_functions.sqf, line 837
 
 
This is the server_fuctions.sqf 
 
_missionObjs =  allMissionObjects "ReammoBox";
_delQty = 0;
_dateNow = (DateToNumber date);
{                                                                                    THIS IS LINE (837)    o.O
_keep = _x getVariable ["permaLoot",false];
if (!_keep) then {
_created = _x getVariable ["created",-0.1];
if (_created == -0.1) then {
_x setVariable ["created",_dateNow,false];
_created = _dateNow;
 
 
 
 
 
Also i get this when a player commits suicide, sometimes killing them, sometimes giving them an infinit timer, even with ammo.
 
 
diag_log _loc_message;
 
if(DZE_DeathMsgGlobal) then {
[nil, nil, rs>
19:20:42   Error position: <DZE_DeathMsgGlobal) then {
[nil, nil, rs>
19:20:42   Error Undefined variable in expression: dze_deathmsgglobal
19:20:42 File z\addons\dayz_server\compile\server_playerDied.sqf, line 36
19:20:42 "PDEATH: Player Died 238965734"
19:20:42 WARNING: Function 'name' - AngryIrishGamer is dead

 

And this is the server_playerdied.sqf

 

else 
{
_message = format["%1 was killed by %2 with weapon %3 from %4m",_victimName, _killerName, _weapon, _distance];
_loc_message = format["PKILL: %1 was killed by %2 with weapon %3 from %4m", _victimName, _killerName, _weapon, _distance];
};
 
diag_log _loc_message;
 
if(DZE_DeathMsgGlobal) then {                                                                                                               <----- LINE 36
[nil, nil, rspawn, [_killer, _message], { (_this select 0) globalChat (_this select 1) }] call RE;
};
/* needs customRemoteMessage 
if(DZE_DeathMsgGlobal) then {
customRemoteMessage = ['globalChat', _message, _killer];
publicVariable "customRemoteMessage";

 

 

Any help would be great!!! 

Link to comment
Share on other sites

Recommended Posts

  • 0

Find this line in teh fn_bases.sqf:

if ((0 == count (nearestObjects [_basePos, [], _lootMaxRadius])) AND {(0 == { ((_x select 0) distance _basePos) < _placeMinDistance } count _campList)}) then {
_campList set [count _campList, [_basePos,_amount,_radius]];
diag_log(format["%1 found a nice spot at %2 (%3)", __FILE__, _basePos call fa_coor2str,_x select 1]);

And comment out line 148 so it looks like this:

if ((0 == count (nearestObjects [_basePos, [], _lootMaxRadius])) AND {(0 == { ((_x select 0) distance _basePos) < _placeMinDistance } count _campList)}) then {
_campList set [count _campList, [_basePos,_amount,_radius]];
//diag_log(format["%1 found a nice spot at %2 (%3)", __FILE__, _basePos call fa_coor2str,_x select 1]);

That should not break anything except the reporting the position to the log...

It's not cured but I've had enough for the night.  IT will just have to wait for another day. Thank you very much for helping.

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
  • Advertisement
  • Discord

×
×
  • Create New...