Jump to content
  • 0

Players spawning invisible?


Joshyy

Question

Hello,

Players on my server start to spawn invisible after having around 40-50 on during 45-2 hours into the restart.
This is after waiting for a super long restart.
The server has a very long "Waiting for character to create & Waiting for server to authenticate"
And then at one point you cant even join the server, it basically says "You are too close to a rock mine or ore"
Or either the "Login times out" and says "Try again"
There are several errors in my RPT that could be related

13:37:00 No owner
13:37:00 No owner

----

13:37:13 Server: Object 83:22 not found (message 94)
13:37:13 Server: Object 83:21 not found (message 89)

----

13:36:21 NetServer::SendMsg: cannot find channel #574297134, users.card=35
13:36:21 NetServer: users.get failed when sending to 574297134
13:36:21 Message not sent - error 0, message ID = ffffffff, to 574297134 (Chef )

----

13:35:52   Error position: <_actionSet) then {
s_player_holderPickup>
13:35:52   Error Undefined variable in expression: _actionset
13:35:52 File z\addons\dayz_code\init\object_BackpackAction.sqf, line 13

---- Hiveext Log ----

13:41:21 Database(1): [Error] Error 1062 (Duplicate entry '76561198079329884' for key 'PRIMARY') in MySQLStmtExecute SQL: 'INSERT INTO `Player_DATA` (`PlayerUID`, `PlayerName`) VALUES (?, ?) VALUES("76561198079329884", "Error")'

----

2015-12-28 18:29:27 HiveExt: [Error] Error executing |CHILD:201:18713:[342,[3430.37,6810.19,0.00158691]]:[["ItemMap","ItemToolbox","ItemRadio","ItemGPS","NVGoggles","Binocular_Vector","M9SD","ItemHatchet_DZE","ItemKnife","ItemEtool","ItemCrowbar","ItemCompass","vil_M110sd"],["ItemPainkiller","ItemWaterbottle","FoodPistachio","PartVRotor","PartEngine","20Rnd_762x51_DMR","20Rnd_762x51_DMR","20Rnd_762x51_DMR","ItemBandage","ItemBandage","ItemBandage","15Rnd_9x19_M9SD","15Rnd_9x19_M9SD"]]:["DZ_LargeGunBag_EP1",[["Stinger"],[1]],[["Skin_Survivor2_DZ","MortarBucket","CinderBlocks","20Rnd_762x51_DMR","PartGeneric","ItemWoodLadder","wood_shack_kit","ItemWoodStairs","workbench_kit","ItemVault","ItemSandbagLarge","forest_net_kit","desert_net_kit","deer_stand_kit"],[1,4,1,1,2,4,3,3,1,2,2,3,5,2]]]:[false,false,false,false,false,false,false,12000,[],[0,0],0,[450.279,284.53]]:false:false:0:0:777:0:["vil_M110sd","amovppnemstpsraswrfldnon",42,[]]:0:0::0:1.07615e+006:|

----

2016-01-31 13:42:28 Database: [Error] Error 1062 (Duplicate entry '76561198277654553' for key 'PRIMARY') in MySQLStmtExecute SQL: 'INSERT INTO `Player_DATA` (`PlayerUID`, `PlayerName`) VALUES (?, ?) VALUES("76561198277654553", "Error")

 

Those are mainly all the errors I have

 

Any help would be greatly appreciated!

Link to comment
Share on other sites

10 answers to this question

Recommended Posts

  • 0
20 hours ago, MatthewK said:

Try with a fresh database. Looks corrupted, either that or something in your scripts is preventing the hive functions from doing their job :(

What have you installed, changed recently ? 

 

Thats a fresh database :)

Link to comment
Share on other sites

  • 0

Then I'd say one of your scripts isn't configured properly. I used to get those types of errors when I'd messed up my server monitor sqf file. I know this isn't what you need to hear right now, but remove all the mods, start with a fresh install and test after each mod. One by one. In the long run it will save you time , you could spend a few hours doing that or a few days waiting for an answer on here.

Good luck , hope you get it running :)

Link to comment
Share on other sites

  • 0
On 01/02/2016 at 8:34 PM, MatthewK said:

Then I'd say one of your scripts isn't configured properly. I used to get those types of errors when I'd messed up my server monitor sqf file. I know this isn't what you need to hear right now, but remove all the mods, start with a fresh install and test after each mod. One by one. In the long run it will save you time , you could spend a few hours doing that or a few days waiting for an answer on here.

Good luck , hope you get it running :)

13:41:21 Database(1): [Error] Error 1062 (Duplicate entry '76561198079329884' for key 'PRIMARY') in MySQLStmtExecute SQL: 'INSERT INTO `Player_DATA` (`PlayerUID`, `PlayerName`) VALUES (?, ?) VALUES("76561198079329884", "Error")'

Would you happen to know anything mainly about this error

its the one getting spammed the most

Link to comment
Share on other sites

  • 0

Yes. .  I'm not a mysql pro, so maybe someone else can chime in. 

But that looks like a script is trying to save players to the player_data who are already in that table. So somewhere your scripts are broken and I'm guessing you've not even tried to start with fresh mission and server pbo and a fresh database , or that error would be history. There's no magic answer for you , you will have to start over and install each script one by one , test it, make sure no errors, then the next script and so on, until you find the culprit. 

You could have made a typo or deleted something in number of files. I know you want to hear something else, but the truth is , you're up a creek without a paddle on this one! .

Link to comment
Share on other sites

  • 0
2 hours ago, syco said:

Show me your player_switchModel.sqf

I once made a mistake in my player_switchModel.sqf and that problem happened. No rpt errors so i was stumped for awhile. Fixed it and it went away.

private ["_weapons","_backpackWpn","_backpackMag","_currentWpn","_backpackWpnTypes","_backpackWpnQtys","_countr","_class","_position","_dir","_currentAnim","_tagSetting","_playerUID","_countMags","_magazines","_primweapon","_secweapon","_newBackpackType","_muzzles","_oldUnit","_group","_newUnit","_playerObjName","_wpnType","_ismelee"];

_class = _this;
_position = getPosATL player;
_dir = getDir player;
_currentAnim = animationState player;
_tagSetting = player getVariable["DZE_display_name",false];
_playerUID = getPlayerUID player;
_weapons = weapons player;
_countMags = call player_countMagazines; 
_magazines = _countMags select 0;
_cashMoney = player getVariable["cashMoney",0];
_bankMoney = player getVariable["bankMoney",0];

if ((_playerUID == dayz_playerUID) && (count _magazines == 0) && (count (magazines player) > 0 )) exitWith {cutText [(localize "str_epoch_player_17"), "PLAIN DOWN"]};

_primweapon = primaryWeapon player;
_secweapon    = secondaryWeapon player;

if(!(_primweapon in _weapons) && _primweapon != "") then {
    _weapons = _weapons + [_primweapon];
};

if(!(_secweapon in _weapons) && _secweapon != "") then {
    _weapons = _weapons + [_secweapon];
};

dayz_myBackpack = unitBackpack player;

_newBackpackType = (typeOf dayz_myBackpack);

if(_newBackpackType != "") then {
    _backpackWpn = getWeaponCargo unitBackpack player;
    _backpackMag = _countMags select 1;
};

_currentWpn = currentWeapon player;
_muzzles = getArray(configFile >> "cfgWeapons" >> _currentWpn >> "muzzles");

if (count _muzzles > 1) then {
    _currentWpn = currentMuzzle player;
};

player setPosATL dayz_spawnPos;

_oldUnit = player;
_oldGroup = group player;
_group = createGroup west;
_newUnit = _group createUnit [_class,dayz_spawnPos,[],0,"NONE"];
_newUnit setPosATL _position;
_newUnit setDir _dir;
_newUnit setVariable ["cashMoney",_cashMoney,true];
_newUnit setVariable ["bankMoney",_bankMoney];

{_newUnit removeMagazine _x;} count  magazines _newUnit;

removeAllWeapons _newUnit;    

{
    if (typeName _x == "ARRAY") then {if ((count _x) > 0) then {_newUnit addMagazine [(_x select 0), (_x select 1)]; }; } else { _newUnit addMagazine _x; };
} count _magazines;

{
    _newUnit addWeapon _x;
} count _weapons;

if(str(_weapons) != str(weapons _newUnit)) then {

    {
        _weapons = _weapons - [_x];
    } count (weapons _newUnit);
    
    {
        _newUnit addWeapon _x;
    } count _weapons;
};

if(_primweapon !=  (primaryWeapon _newUnit)) then {
    _newUnit addWeapon _primweapon;        
};

if (_primweapon == "MeleeCrowbar") then {
    _newUnit addMagazine 'crowbar_swing';
};

if (_primweapon == "MeleeSledge") then {
    _newUnit addMagazine 'sledge_swing';
};

if (_primweapon == "MeleeHatchet_DZE") then {
    _newUnit addMagazine 'Hatchet_Swing';
};

if (_primweapon == "MeleeMachete") then {
    _newUnit addMagazine 'Machete_swing';
};

if (_primweapon == "MeleeFishingPole") then {
    _newUnit addMagazine 'Fishing_Swing';
};

if(_secweapon != (secondaryWeapon _newUnit) && _secweapon != "") then {
    _newUnit addWeapon _secweapon;        
};

_switchUnit = {
    addSwitchableUnit _newUnit;
    setPlayable _newUnit;
    selectPlayer _newUnit;
    if ((count units _oldGroup > 1) && {!isNil "PVDZE_plr_LoginRecord"}) then {
    [_newUnit] join _oldGroup;
    if (count units _group < 1) then {deleteGroup _group;};
};
    removeAllWeapons _oldUnit;
    {_oldUnit removeMagazine _x;} count  magazines _oldUnit;
    deleteVehicle _oldUnit;
    if(_currentWpn != "") then {_newUnit selectWeapon _currentWpn;};
};

if (!isNil "_newBackpackType") then {
    if (_newBackpackType != "") then {
        _newUnit addBackpack _newBackpackType;
        dayz_myBackpack = unitBackpack _newUnit;
        _backpackWpnTypes = [];
        _backpackWpnQtys = [];
        if (count _backpackWpn > 0) then {
            _backpackWpnTypes = _backpackWpn select 0;
            _backpackWpnQtys = _backpackWpn select 1;
        };
        [] call _switchUnit;
        if (gear_done) then {sleep 0.001;};
        ["1"] call gearDialog_create;
        _countr = 0;
        {
            if (!(isClass(configFile >> "CfgWeapons" >> _x))) then {
                _countr = _countr + 1;
                if ((typeName _x) != "STRING") then {
                    (unitBackpack player) addMagazineCargoGlobal [(_x select 0), 1];
                    _idc = 4999 + _countr;
                    _idc setIDCAmmoCount (_x select 1);
                } else {
                    (unitBackpack player) addMagazineCargoGlobal [_x, 1];
                };
            };
        } count _backpackMag;
        (findDisplay 106) closeDisplay 0;
        _countr = 0;
        {
            (unitBackpack player) addWeaponCargoGlobal [_x,(_backpackWpnQtys select _countr)];
            _countr = _countr + 1;
        } count _backpackWpnTypes;
    } else { [] call _switchUnit; };
} else { [] call _switchUnit; };

[objNull, player, rSwitchMove,_currentAnim] call RE;

player disableConversation true;

if (_tagSetting) then {
    DZE_ForceNameTags = true;
};

_playerUID = getPlayerUID player;
_playerObjName = format["PVDZE_player%1",_playerUID];

call compile format["%1 = player;",_playerObjName];

publicVariableServer _playerObjName;

_wpnType = primaryWeapon player;
_ismelee = (gettext (configFile >> "CfgWeapons" >> _wpnType >> "melee"));

if (_ismelee == "true") then {
    call dayz_meleeMagazineCheck; 
};

{player reveal _x} count (nearestObjects [getPosATL player, dayz_reveal, 50]);
_savedGroup = profileNamespace getVariable["savedGroup",[]];
player setVariable ["savedGroup",_savedGroup,true];
player setVariable ["purgeGroup",0,true];

Link to comment
Share on other sites

  • 0
2 hours ago, syco said:

 

Im also starting to get this spammed in my rpt

17:10:10 Client: Object 104:13 (type Type_70) not found.
17:10:10 Client: Object 73:19 (type Type_70) not found.
17:10:10 "CHILD:201:55553:[47,[10218.1,12652.5,0]]:[]:[]:[false,false,false,false,false,false,true,12000,[],[0,0],0,[358.683,199.905]]:false:false:0:0:0:0:["","",100,[]]:0:0::0:0:"
17:10:10 Client: Object 73:19 (type Type_70) not found.
17:10:10 Client: Object 104:13 (type Type_70) not found.
17:10:10 Client: Object 11:64 (type Type_70) not found.
17:10:10 Client: Object 11:64 (type Type_69) not found.
17:10:11 Client: Object 104:13 (type Type_70) not found.
17:10:11 Client: Object 73:19 (type Type_70) not found.
17:10:11 "CHILD:201:55571:[195,[4480.57,9496.44,0.00134277]]:[]:[]:[false,false,false,false,false,false,true,11418.5,[],[0,0],0,[186.429,208.812]]:false:false:0:0:67:0:["vil_M110sd","amovpercmrunslowwrfldf_amovppnemstpsraswrfldnon",41,[]]:0:0::0:0:"
17:10:11 Client: Object 73:19 (type Type_70) not found.
17:10:11 Client: Object 104:13 (type Type_70) not found.
17:10:11 Client: Object 104:13 (type Type_70) not found.
17:10:11 Client: Object 73:19 (type Type_70) not found.
17:10:11 "CHILD:201:54221:[117,[7626.62,9614.98,0]]:[]:[]:[false,false,false,false,false,false,false,12000,[],[0,0],0,[10.27,418.416]]:false:false:0:0:0:0:["","",42,[]]:0:0::0:0:"
17:10:11 Client: Object 73:19 (type Type_70) not found.
17:10:11 Client: Object 104:13 (type Type_70) not found.
17:10:12 Client: Object 73:19 (type Type_70) not found.
17:10:12 Client: Object 104:13 (type Type_70) not found.
17:10:12 Client: Object 73:19 (type Type_70) not found.
17:10:12 Client: Object 104:13 (type Type_70) not found.
17:10:12 Client: Object 73:19 (type Type_70) not found.
17:10:12 Client: Object 104:13 (type Type_70) not found.
17:10:12 Server: Object 77:39 not found (message 89)
17:10:12 Client: Object 73:19 (type Type_70) not found.
17:10:12 Client: Object 104:13 (type Type_70) not found.
17:10:13 "RUNNING EVENT: Military on [2016,2,8,14,10]"
17:10:13 Client: Object 73:19 (type Type_70) not found.
17:10:13 Client: Object 104:13 (type Type_70) not found.
17:10:13 Server: Object 65:275 not found (message 94)
17:10:13 Server: Object 65:274 not found (message 89)
17:10:13 Client: Object 104:13 (type Type_70) not found.
17:10:13 Client: Object 73:19 (type Type_70) not found.
17:10:13 Server: Object info 77:5 not found during Changing Owner
17:10:13 Server: Object info 77:35 not found during Changing Owner
17:10:13 Unit 65:257 not found, cannot update
17:10:13 Client: Object 73:19 (type Type_70) not found.
17:10:13 Client: Object 104:13 (type Type_70) not found.
17:10:13 Client: Object 73:19 (type Type_70) not found.
17:10:13 Client: Object 104:13 (type Type_70) not found.
17:10:14 "CHILD:201:55539:[344,[4356.02,7048.31,0.000915527]]:[]:[]:[false,false,false,false,false,false,false,12000,[],[0,0],0,[1119.07,754.607]]:false:false:0:0:92:0:["SCAR_H_LNG_Sniper_SD","amovpercmrunsraswrfldbl",42,[]]:0:0::0:0:"
17:10:14 Client: Object 73:19 (type Type_70) not found.
17:10:14 Client: Object 104:13 (type Type_70) not found.
17:10:14 Client: Object 104:13 (type Type_70) not found.
17:10:14 Client: Object 73:19 (type Type_70) not found.
17:10:14 Client: Object 73:19 (type Type_70) not found.
17:10:14 Client: Object 104:13 (type Type_70) not found.
17:10:14 Client: Object 73:19 (type Type_70) not found.
17:10:14 Client: Object 104:13 (type Type_70) not found.

Link to comment
Share on other sites

  • 0

@Joshyy - Did you/anybody else ever find a solution to this bug?

Experiencing it on our server too and it's really affecting player gameplay.

Would be appreciated if anybody could get back to this thread with an answer.

 

Shown Logs:

18:48:25 Client: Remote object 64:217 not found
18:48:25 Unit 64:217 not found, cannot update
18:48:26 Warning: Cleanup player - person 64:216 not found 

 

Any help would be great, better CPU clock speed being a singular-core gameserver? Less scripts? Rectification with the stored data within MySQL? Anything?

 

Thanks in advanced!

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

×
×
  • Create New...