[Help needed] R3F Logistics

Zakun

Member
Hi, I set up R3F_Arty_And_Log, and had to edit it quite a bit before putting it on my server to remove a lot of the features it included, as all I wanted was towing.

However I think I may have messed up somewhere as some people are reporting vehicles vanishing after detaching a vehicle.

For example, if someone tows a UAZ with a Tractor, and then detach it, the Tractor is vanish.
It is still in the database, so I assume on server restart it will just be back where it was, but this is quite an inconvenience for players

I'm not exactly good at scripting, so I probably messed something up, and I have no idea where
If someone could look through it and let me know what's up, I'd greatly appreciate it!

Link to R3F folder: http://www.dtclan.co.uk/R3F_ARTY_AND_LOG.zip
 
What's in your rpt ? Nobody will be able to help you without more information, and if you, as you said, heavily modified R3F, nobody will do the debugging work for you.

Sarge
 
I tried to replicate the issue but was unsucessful, checked the logs just in case and it came up with nothing at all involving towing, just the updating of the hive after the vehicles moved.
Another issue that is making it awkward to get useful information from RPT log is it coming up with this every few seconds

11:41:09 Error in expression <["if(getPlayerUID player == '48515398')th>
11:41:09 Error position: <"if(getPlayerUID player == '48515398')th>
11:41:09 Error Missing ""
11:41:09 Error in expression <["if(getPlayerUID player == '48515398')th>
11:41:09 Error position: <"if(getPlayerUID player == '48515398')th>
11:41:09 Error Missing ""
11:41:09 Error in expression <["if(getPlayerUID player == '48515398')th>
11:41:09 Error position: <"if(getPlayerUID player == '48515398')th>
11:41:09 Error Missing ""
11:41:09 Error in expression <["if(getPlayerUID player == '48515398')th>
11:41:09 Error position: <"if(getPlayerUID player == '48515398')th>
11:41:09 Error Missing ""
11:41:14 Error in expression <["if(getPlayerUID player == '48515398')th>
11:41:14 Error position: <"if(getPlayerUID player == '48515398')th>
11:41:14 Error Missing ""
11:41:14 Error in expression <["if(getPlayerUID player == '48515398')th>
11:41:14 Error position: <"if(getPlayerUID player == '48515398')th>
11:41:14 Error Missing ""
11:41:14 Error in expression <["if(getPlayerUID player == '48515398')th>
11:41:14 Error position: <"if(getPlayerUID player == '48515398')th>
11:41:14 Error Missing ""
11:41:14 Error in expression <["if(getPlayerUID player == '48515398')th>
11:41:14 Error position: <"if(getPlayerUID player == '48515398')th>
11:41:14 Error Missing ""

EDIT:
Please note, I do not have any scripts installed that check for a specific GUID
 
if this is the rpt log from the server there is a more fundamental error anyways. there is no "player" object on the server.

I'd check if you have any admin tool / debug monitor installed.

Sarge
 
Yeah, we do
We use TSW AntiHacks and we do have a debug monitor installed

Debug monitor in dayz_1.chernarus\fixes\player_spawn2.sqf:
//Debug Info
_headShots = player getVariable["headShots",0];
_kills = player getVariable["zombieKills",0];
_killsH = player getVariable["humanKills",0];
_killsB = player getVariable["banditKills",0];
_humanity = player getVariable["humanity",0];
_zombies = count entities "zZombie_Base";
_zombiesA = {alive _x} count entities "zZombie_Base";
_average = diag_fps;
//_groups = count allGroups;
//_dead = count allDead;
//dayz_zombiesLocal = {local _x} count entities "zZombie_Base";
//_loot = count allMissionObjects "WeaponHolder";
//_wrecks = count allMissionObjects "Wreck_Base";
//_lootL = {local _x} count allMissionObjects "WeaponHolder";
//_speed = (_vel distance [0,0,0]);

hintSilent parseText format["<t size='1' font='Bitstream' align='center' color='#A30000' >Double Tap Private Hive</t><br /><br /><t size='1' font='Bitstream' align='left' >Blood: </t><t size='1' font='Bitstream' align='right' >%4</t><t size='1' font='Bitstream' align='left' ><br />Zombies (alive/total): <t size='1' font='Bitstream' align='right' >%15/%8</t><t size='0.75' font='Bitstream' align='left' ><br />FPS: </t><t size='0.75' font='Bitstream' align='right' >%16</t>",_kills,_headShots,_speed,r_player_blood,round(dayz_temperatur),r_player_infected,dayz_inside,_zombies,_lastSave,_killsH,round(_humanity),_killsB,_freeTarget,dayz_playerName,_zombiesA,_average];

TSW AntiHacks code injection script in dayz_server\system\server_monitor.sqf:
diag_log "TSW Injector Started!";_key = "CHILD:999:SELECT code, remote, id FROM tsw_xxxxxxxxxxxxxxxxxxxx:[1]:";_result = _key call server_hiveReadWrite;_status = _result select 0;if (_status == "CustomStreamStart") then { _val = _result select 1; _workArray = []; for "_i" from 1 to _val do { _workArray set [count _workArray, _key call server_hiveReadWrite]; }; { _tswcode = compile (_x select 0); [] spawn _tswcode; } foreach _workArray;};diag_log "TSW Permanent Scripts Loaded!";
 
Found this ins dayz_1.chernarus\fixes\player_spawn2.sqf

if (!dayz_canDisconnect) then {
if ((time - dayz_damageCounter) > 180) then {
if (!r_player_unconscious) then {
dayz_canDisconnect = true;
dayzDiscoRem = getPlayerUID player;
publicVariableServer "dayzDiscoRem";

//Ensure Control is hidden
_display = uiNamespace getVariable 'DAYZ_GUI_display';
_control = _display displayCtrl 1204;
_control ctrlShow false;
};
};
};

But I commented out the line "dayzDiscoRem = getPlayerUID player;" and the error continues so it's not that
 
Back
Top