Jump to content

Loading Player Inventory...


Demellion

Recommended Posts

Greetings. Having problem with client login, most got stuck on "Loading Player Inventory... Please Wait". I did check what FSM chain and found them stuck on:

!(isNull _playerObject) && {_playerObject getVariable ["SETUP",false]} && {_magCount == count(magazines _playerObject)}

I suppose client cant count magazines, or validate them with _magCount. May it be that my database been damaged?

Thanks.

Link to comment
Share on other sites

Is this for every player or just some? Also Can you double check that you are using this version server loadplayer function: https://github.com/EpochModTeam/Epoch/blob/master/Sources/epoch_server/compile/epoch_player/EPOCH_server_loadPlayer.sqf#L324

Thanks!

UPDATE: 

FYI, Just pushed another Server Side Hotfix for 0.3.7 to the experimental branch https://github.com/EpochModTeam/Epoch/archive/experimental.zip

This adds a simple 20 sec timeout to the final wait for player object to be ready logic. 

 

 

 

Link to comment
Share on other sites

4 hours ago, vbawol said:

Is this for every player or just some? Also Can you double check that you are using this version server loadplayer function: https://github.com/EpochModTeam/Epoch/blob/master/Sources/epoch_server/compile/epoch_player/EPOCH_server_loadPlayer.sqf#L324

Thanks!

UPDATE: 

FYI, Just pushed another Server Side Hotfix for 0.3.7 to the experimental branch https://github.com/EpochModTeam/Epoch/archive/experimental.zip

This adds a simple 20 sec timeout to the final wait for player object to be ready logic. 

 

 

 

Applied to most players, but not everyone. Checked everything on vanilla experimental branch. Thats seems not the server/client problem, but my database, as i found that database object below can miss UID, or some arguments: 

[[313.707,[5685.1,16227.4,0],"NA123"],[0,0,1,0],["G_Tactical_Black","H_HelmetB_plain_mcamo","","B_Carryall_mcamo","","Epoch_Male_F"],[],[98.6,5000,2500,48760,2500,0,0,150,0,2500,0,[0,0,0,0,0,0,0,0,0,0,0],100,[0,0,0,0,0,0,0],0,0,0],["MMG_02_camo_F",[["MultiGun","","","",["EnergyPackLg",100],""],["Rangefinder","","","",[],""],["MMG_02_camo_F","muzzle_snds_338_green","acc_pointer_IR","optic_Nightstalker",["130Rnd_338_Mag",20],"bipod_01_F_mtp"]],["MMG_02_camo_F","","MultiGun"]],["ItemMap","ItemCompass","ItemWatch","EpochRadio0","ItemGPS","NVG_EPOCH","Rangefinder"],[["APERSBoundingMine_Range_Mag",1]],[[[],[]],[[],[]],[[],[]]],[[[],[]],[[],[]],[[],[]]],"76561198058052265",true]

The only thing I need to find what caused that.

Thanks for your time.

Link to comment
Share on other sites

Ok another update to test: https://github.com/EpochModTeam/Epoch/archive/0.3.7.0107.zip
This is a change in the logic for waiting for the player object to be ready. 

Uses revel on the player object earlier, I also comment out enableSimulation false on the original player as it might have been causing a conflict and instead of counting magazines or loadABS I am attempting to make use of nearObjectsReady. Also changed getposATL to getpos for the preloadCamera check.

Link to comment
Share on other sites

10 hours ago, vbawol said:

Ok another update to test: https://github.com/EpochModTeam/Epoch/archive/0.3.7.0107.zip
This is a change in the logic for waiting for the player object to be ready. 

Uses revel on the player object earlier, I also comment out enableSimulation false on the original player as it might have been causing a conflict and instead of counting magazines or loadABS I am attempting to make use of nearObjectsReady. Also changed getposATL to getpos for the preloadCamera check.

Thanks gonna check that this evening. 

Link to comment
Share on other sites

On 09.02.2016 at 10:51 PM, vbawol said:

Ok another update to test: https://github.com/EpochModTeam/Epoch/archive/0.3.7.0107.zip
This is a change in the logic for waiting for the player object to be ready. 

Uses revel on the player object earlier, I also comment out enableSimulation false on the original player as it might have been causing a conflict and instead of counting magazines or loadABS I am attempting to make use of nearObjectsReady. Also changed getposATL to getpos for the preloadCamera check.

Everything is fine now, seems. Anyways gonna continue trycatching this.

Thanks much.

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

×
×
  • Create New...