Jump to content
  • 0

RPT Log +300mb error spam


Novuhz

Question

Guys I noticed my rpt file was becoming very big, so I went to check it and wow the error spam...

 

This is what I'm getting non-stop:

 

16:23:14 Server: Object 2:8761 not found (message 70)
16:23:14 Server: Object 2:8762 not found (message 70)
16:23:14 Server: Object 2:8763 not found (message 70)
16:23:14 Server: Object 2:8764 not found (message 70)
16:23:14 Server: Object 2:8765 not found (message 70)
16:23:14 Server: Object 2:8766 not found (message 70)
16:23:14 Server: Object 2:8767 not found (message 70)
16:23:14 Server: Object 2:8768 not found (message 70)
16:23:14 Server: Object 2:8769 not found (message 70)
16:23:14 Server: Object 2:8770 not found (message 70)
16:23:14 Server: Object 2:8771 not found (message 70)
16:23:14 Server: Object 2:8772 not found (message 70)
16:23:14 Server: Object 2:8773 not found (message 70)
16:23:14 Server: Object 2:8774 not found (message 70)
16:23:14 Server: Object 2:8775 not found (message 70)
16:23:14 Server: Object 2:8776 not found (message 70)
16:23:14 Server: Object 2:8777 not found (message 70)
16:23:14 Server: Object 2:8778 not found (message 70)
16:23:14 Server: Object 2:8779 not found (message 70)
16:23:14 Server: Object 2:8780 not found (message 70)
16:23:14 Server: Object 2:8799 not found (message 105)
16:23:14 Server: Object 2:8800 not found (message 203)
16:23:14 Server: Object 2:8801 not found (message 70)
16:23:14 Server: Object 2:8802 not found (message 70)
16:23:14 Server: Object 2:8804 not found (message 70)
16:23:14 Server: Object 2:8809 not found (message 70)
16:23:14 Server: Object 2:8810 not found (message 70)
16:23:14 Server: Object 2:8840 not found (message 105)
16:23:14 Server: Object 2:8841 not found (message 203)
16:23:14 Server: Object 2:8842 not found (message 203)

 

What is causing this?

 

EDIT: This started happening after I added overwatch to my epoch server.

 

Also have this error:
 

 

21:02:34 Error in expression <;
deleteVehicle _loot_box;
deleteMarker _event_marker;
if (_debug) then {
delete>
21:02:34   Error position: <_event_marker;
if (_debug) then {
delete>
21:02:34   Error Undefined variable in expression: _event_marker
21:02:34 File z\addons\dayz_server\modules\Construction.sqf, line 134

 

This is how it looks -

 

Lines:

 

131: // Clean up
132: EPOCH_EVENT_RUNNING = false;
133: deleteVehicle _loot_box;
134: deleteMarker _event_marker;   
135: if (_debug) then {
136: deleteMarker _debug_marker;
137: };

 

Also there is this error spam:

 

_vehicle = _random select 0;
_velimit = _random sel>
 3:34:17   Error position: <_random select 0;
_velimit = _random sel>
 3:34:17   Error Undefined variable in expression: _random
 3:34:17 File z\addons\dayz_server\init\server_functions.sqf, line 250
 3:34:17 "DEBUG: unable to find suitable vehicle to spawn"
 3:34:17 Error in expression <VehiclesList select _index;
Link to comment
Share on other sites

4 answers to this question

Recommended Posts

  • 0

 

 

_vehicle = _random select 0;

_velimit = _random sel>

 3:34:17   Error position: <_random select 0;

_velimit = _random sel>

 3:34:17   Error Undefined variable in expression: _random

 3:34:17 File z\addons\dayz_server\init\server_functions.sqf, line 250

 3:34:17 "DEBUG: unable to find suitable vehicle to spawn"

 3:34:17 Error in expression <VehiclesList select _index;

 

If I remember right, this si to do with dynamic vehicle spawns in the mission folder in your server pbo.

 

Its telling you that you dont have enough vehicles left to spawn in to meet your vehicle cap.

 

Easy fix, go into dynamic vehicles and increase the vehicle limits.

["datsun1_civil_1_open",10],
["datsun1_civil_2_covered",10],
["datsun1_civil_3_open",10],
["GAZ_Vodnik_DZE",10],
["GAZ_Vodnik_MedEvac",10],

10 is the max vehicle limit I have set on most vehicles.

Link to comment
Share on other sites

  • 0

If I remember right, this si to do with dynamic vehicle spawns in the mission folder in your server pbo.

 

Its telling you that you dont have enough vehicles left to spawn in to meet your vehicle cap.

 

Easy fix, go into dynamic vehicles and increase the vehicle limits.

["datsun1_civil_1_open",10],
["datsun1_civil_2_covered",10],
["datsun1_civil_3_open",10],
["GAZ_Vodnik_DZE",10],
["GAZ_Vodnik_MedEvac",10],

10 is the max vehicle limit I have set on most vehicles.

 

Thank you! :)

 

EDIT: It didn't fix :( still spamming it non stop. Maybe I need to increase other vehicle limits further?

 

2nd Edit: Looks like decreasing vehicle cap in init.sqf down to 450 from 550 fixed it.

 

The line 254 is what spams non stop, like 150.000 lines of that error in just 2 minutes after server starts.

 

13:30:12 Error in expression <esList set [_index, AllowedVehiclesList select _lastIndex];

};

AllowedVehiclesLi>

13:30:12   Error position: <select _lastIndex];

};

AllowedVehiclesLi>

13:30:12   Error Zero divisor

13:30:12 File z\addons\dayz_server\init\server_functions.sqf, line 263

13:30:12 Error in expression <ect _lastIndex];

};

AllowedVehiclesList resize _lastIndex;

};

if (count Allowed>

13:30:12   Error position: <resize _lastIndex;

};

if (count Allowed>

13:30:12   Error Zero divisor

13:30:12 File z\addons\dayz_server\init\server_functions.sqf, line 265

13:30:12 Error in expression <imit = _random select 1;

_qty = {_x == _vehicle} count serverVehicleCounter;

>

13:30:12   Error position: <_vehicle} count serverVehicleCounter;

>

13:30:12   Error Undefined variable in expression: _vehicle

13:30:12 File z\addons\dayz_server\init\server_functions.sqf, line 254

13:30:12 Error in expression <imit = _random select 1;

_qty = {_x == _vehicle} count serverVehicleCounter;

>

13:30:12   Error position: <_vehicle} count serverVehicleCounter;

>

13:30:12   Error Undefined variable in expression: _vehicle

13:30:12 File z\addons\dayz_server\init\server_functions.sqf, line 254

13:30:12 Error in expression <VehiclesList select _index;

_vehicle = _random select 0;

_velimit = _random sel>

13:30:12   Error position: <_random select 0;

_velimit = _random sel>

13:30:12   Error Undefined variable in expression: _random

13:30:12 File z\addons\dayz_server\init\server_functions.sqf, line 251

 

This is how my spawn_vehicle looks like in server_functions.sqf

 

 

spawn_vehicles = {

    private ["_random","_lastIndex","_weights","_index","_vehicle","_velimit","_qty","_isAir","_isShip","_position","_dir","_istoomany","_veh","_objPosition","_marker","_iClass","_itemTypes","_cntWeights","_itemType","_num","_allCfgLoots"];

    

    if (!isDedicated) exitWith { }; //Be sure the run this

    while {count AllowedVehiclesList > 0} do {

        // BIS_fnc_selectRandom replaced because the index may be needed to remove the element

        _index = floor random count AllowedVehiclesList;

        _random = AllowedVehiclesList select _index;

        _vehicle = _random select 0;

        _velimit = _random select 1;

        _qty = {_x == _vehicle} count serverVehicleCounter;

        // If under limit allow to proceed

        if (_qty <= _velimit) exitWith {};

        // vehicle limit reached, remove vehicle from list

        // since elements cannot be removed from an array, overwrite it with the last element and cut the last element of (as long as order is not important)

        _lastIndex = (count AllowedVehiclesList) - 1;

        if (_lastIndex != _index) then {

            AllowedVehiclesList set [_index, AllowedVehiclesList select _lastIndex];

        };

        AllowedVehiclesList resize _lastIndex;

    };

    if (count AllowedVehiclesList == 0) then {

        diag_log("DEBUG: unable to find suitable vehicle to spawn");

    } else {

        // add vehicle to counter for next pass

        serverVehicleCounter set [count serverVehicleCounter,_vehicle];

    

        // Find Vehicle Type to better control spawns

        _isAir = _vehicle isKindOf "Air";

        _isShip = _vehicle isKindOf "Ship";

    

        if(_isShip || _isAir) then {

            if(_isShip) then {

                // Spawn anywhere on coast on water

                waitUntil{!isNil "BIS_fnc_findSafePos"};

                _position = [MarkerPosition,0,DynamicVehicleArea,10,1,2000,1] call BIS_fnc_findSafePos;

                //diag_log("DEBUG: spawning boat near coast " + str(_position));

            } else {

                // Spawn air anywhere that is flat

                waitUntil{!isNil "BIS_fnc_findSafePos"};

                _position = [MarkerPosition,0,DynamicVehicleArea,10,0,2000,0] call BIS_fnc_findSafePos;

                //diag_log("DEBUG: spawning air anywhere flat " + str(_position));

            };

        

        

        } else {

            // Spawn around buildings and 50% near roads

            if((random 1) > 0.5) then {

            

                waitUntil{!isNil "BIS_fnc_selectRandom"};

                _position = RoadList call BIS_fnc_selectRandom;

            

                _position = _position modelToWorld [0,0,0];

            

                waitUntil{!isNil "BIS_fnc_findSafePos"};

                _position = [_position,0,10,10,0,2000,0] call BIS_fnc_findSafePos;

            

                //diag_log("DEBUG: spawning near road " + str(_position));

            

            } else {

            

                waitUntil{!isNil "BIS_fnc_selectRandom"};

                _position = BuildingList call BIS_fnc_selectRandom;

            

                _position = _position modelToWorld [0,0,0];

            

                waitUntil{!isNil "BIS_fnc_findSafePos"};

                _position = [_position,0,40,5,0,2000,0] call BIS_fnc_findSafePos;

            

                //diag_log("DEBUG: spawning around buildings " + str(_position));

        

            };

        };

        // only proceed if two params otherwise BIS_fnc_findSafePos failed and may spawn in air

        if ((count _position) == 2) then {

    

            _dir = round(random 180);

        

            _istoomany = _position nearObjects ["AllVehicles",50];

            if((count _istoomany) > 0) exitWith { diag_log("DEBUG: Too many vehicles at " + str(_position)); };

        

            //place vehicle

            _veh = createVehicle [_vehicle, _position, [], 0, "CAN_COLLIDE"];

            _veh setdir _dir;

            _veh setpos _position;        

            

            if(DZEdebug) then {

                _marker = createMarker [str(_position) , _position];

                _marker setMarkerShape "ICON";

                _marker setMarkerType "DOT";

                _marker setMarkerText _vehicle;

            };    

        

            // Get position with ground

            _objPosition = getPosATL _veh;

        

            clearWeaponCargoGlobal  _veh;

            clearMagazineCargoGlobal  _veh;

            // _veh setVehicleAmmo DZE_vehicleAmmo;

            // Add 0-3 loots to vehicle using random cfgloots

            _num = floor(random 4);

            _allCfgLoots = ["trash","civilian","food","generic","medical","military","policeman","hunter","worker","clothes","militaryclothes","specialclothes","trash"];

            

            for "_x" from 1 to _num do {

                _iClass = _allCfgLoots call BIS_fnc_selectRandom;

                _itemTypes = [];

                if (DZE_MissionLootTable) then {

                    _itemTypes = ((getArray (missionConfigFile >> "cfgLoot" >> _iClass)) select 0);

                } else {

                    _itemTypes = ((getArray (configFile >> "cfgLoot" >> _iClass)) select 0);

                };

                _index = dayz_CLBase find _iClass;

                _weights = dayz_CLChances select _index;

                _cntWeights = count _weights;

                

                _index = floor(random _cntWeights);

                _index = _weights select _index;

                _itemType = _itemTypes select _index;

                _veh addMagazineCargoGlobal [_itemType,1];

                //diag_log("DEBUG: spawed loot inside vehicle " + str(_itemType));

            };

            [_veh,[_dir,_objPosition],_vehicle,true,"0"] call server_publishVeh;

        };

    };

};

Link to comment
Share on other sites

  • 0

Any addons?

 

Yeah but never had any issues with them before that I know of.

 

For the first error spam I think it started after I added overwatch to my server.

 

The second one might be after I added overwatch as well and maybe Take Clothes?

 

Anyways this is the list of addons I'm using on my server

 

Epoch 1.0.4.2

Overwatch 0.2.5

Take Clothes

SelfBB

WAI

Service Point - Refuel/Rearm/Repair

AGN - SafeZone Commander

AdminTools

Snap Build

Map additions to chernarus like new city, improvements to old cities, some military outposts, improved airports.

More type of EpochEvents like construction drops, military drops, treasure easteregg drops.

 

I think that's it.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
  • Discord

×
×
  • Create New...