strange rpt erros

R0lling

New Member
Hello opendayz com.



I looked today into my .rpt and saw some erros.

the first one got spammed 1000 time i think..

13:16:05 File ca\modules\functions\misc\fn_findSafePos.sqf, line 90
13:16:05 Error in expression < "_newY", "_testPos"];
_newX = _posX + (_maxDist - (random (_maxDist * 2)));
_ne>
13:16:05 Error position: <_maxDist - (random (_maxDist * 2)));
_ne>
13:16:05 Error Undefined variable in expression: _maxdist
13:16:05 File ca\modules\functions\misc\fn_findSafePos.sqf, line 90
#don´t know where to find the file.



2nd Problem is that this show up on User connect.



Quote
14:54:18 NetServer::SendMsg: cannot find channel #1315656485, users.card=1
14:54:18 NetServer: users.get failed when sending to 1315656485
14:54:18 Message not sent - error 0, message ID = ffffffff, to 1315656485 (Oscar)
14:54:18 NetServer::SendMsg: cannot find channel #1315656485, users.card=1
14:54:18 NetServer: users.get failed when sending to 1315656485
14:54:18 Message not sent - error 0, message ID = ffffffff, to 1315656485 (Oscar)
14:54:18 NetServer::SendMsg: cannot find channel #1315656485, users.card=1
14:54:18 NetServer: users.get failed when sending to 1315656485
14:54:18 Message not sent - error 0, message ID = ffffffff, to 1315656485 (Oscar)
14:54:18 NetServer::SendMsg: cannot find channel #1315656485, users.card=1
14:54:18 NetServer: users.get failed when sending to 1315656485
14:54:18 Message not sent - error 0, message ID = ffffffff, to 1315656485 (Oscar)
14:54:18 NetServer::SendMsg: cannot find channel #1315656485, users.card=1
14:54:18 NetServer: users.get failed when sending to 1315656485
14:54:18 Message not sent - error 0, message ID = ffffffff, to 1315656485 (Oscar)
14:54:18 NetServer::SendMsg: cannot find channel #1315656485, users.card=1
14:54:18 NetServer: users.get failed when sending to 1315656485
14:54:18 Message not sent - error 0, message ID = ffffffff, to 1315656485 (Oscar)
14:54:18 NetServer::SendMsg: cannot find channel #1315656485, users.card=1
14:54:18 NetServer: users.get failed when sending to 1315656485
14:54:18 Message not sent - error 0, message ID = ffffffff, to 1315656485 (Oscar)
14:54:18 NetServer::SendMsg: cannot find channel #1315656485, users.card=1
14:54:18 NetServer: users.get failed when sending to 1315656485
14:54:18 Message not sent - error 0, message ID = ffffffff, to 1315656485 (Oscar)




Last but not least there is this problem



13:10:09 "ERROR: Cannot Sync Character [Name] as no characterID"
in my player_login are some entrys with CharacterID:0





so these are the error i get.



Hope you can help me with these.





Regards
 
You can used notepac++ to search all your scripts for "_maxdist". Look up how to do it.

The 2nd part on your errors is normal. Don't worry about it.
 
thanks delpi for the reply!


In my mission folder these are the entries about _MaxDist.

Elevator Script
private ["_obj","_maxElevatorId","_maxDistance","_id","_eid","_idTemp","_idStr"];
_maxDistance = 500;
} forEach ((getPos _obj) nearObjects [ELE_PlatformClass, _maxDistance]);

ServicePoint
private ["_folder","_servicePointClasses","_maxDistance","_actionTitleFormat","_actionCostsFormat","_costsFree","_message","_messageShown","_refuel_enable","_refuel_costs","_refuel_updateInterval","_refuel_amount","_repair_enable","_repair_costs","_repair_repairTime","_rearm_enable","_rearm_costs","_rearm_magazineCount","_lastVehicle","_lastRole","_fnc_removeActions","_fnc_getCosts","_fnc_actionTitle","_fnc_isArmed","_fnc_getWeapons"];
_maxDistance = 20; // maximum distance from a service point for the options to be shown
_servicePoints = (nearestObjects [_pos, _servicePointClasses, _maxDistance]) - [_vehicle];

and last but not least infistar AH.sqf

private ['_maxdist','_lastVeh','_curVeh','_lastPos','_curPos','_worldspace','_spawnPos'];
_maxdist = 120;
_maxdist = 100;
if(_speed <= 0.1)then{_maxdist = 3;};
if(_curVeh isKindOf 'Air')then{_maxdist = 750;};
if(_curVeh isKindOf 'LandVehicle')then{_maxdist = 400;};
if(_curVeh isKindOf 'Ship')then{_maxdist = 400;};
if(_distance1 > _maxdist)then
 
Ok, that isn't it.

Search for where you are calling 'fn_findSafePos'.

Btw, what have you added to the server? This should only exist if you have added custom scripts.
 
I'm swamped at the moment at work. Not sure if I'll get a chance to look through them.

What I would look for is the inputs to that call. One of them is bad and is sending a null object or distance.
 
can you contact me if you are @ home ?
Then i can give you (when you got the time) the mission&server.pbo and you can take a look :)
 
i usethe pack from sheep but disabled something from him. no other mods or something. And running a Overpoch Server

but i search to fn_findSafePos

these are the files with findSafePos

mission
http://www.directupload.net/file/d/4203/ykjpems9_png.htm
server pbo 1
http://www.directupload.net/file/d/4203/6q4ngyqd_png.htm
server pbo 2
http://www.directupload.net/file/d/4203/kmnhoqdg_png.htm

the problem is the file is partr of the actual arma and or the epoch files not the repack

POSSIBLE DIRTY FIX

add

Code:
_maxDist = 750;

to MPMissions\DayZ_Epoch_11.Chernarus\fixes\variables.sqf
 
Last edited:
Okay i try this when i am home. I also got the error that new players when they logged in the player_login database says character id 0you got any fix for this?
 
Okay i try this when i am home. I also got the error that new players when they logged in the player_login database says character id 0you got any fix for this?
that can usally be ignored, it happens sometimes mainly on new players only it dosnt seem to effect anything thou
 
Back
Top