Jump to content

Spawn Nacked after Relog


He-Man

Recommended Posts

Sorry for the delay in getting a working fix. I finally got time to test this on my server and I can confirm that since my latest update, it is working and I will push a public server hotfix soon.

If you want to help confirm this has solved the issue please try the latest a3_epoch_server.pbo and the latest epoch mission pbo from here: https://github.com/EpochModTeam/Epoch/archive/dee85d54e4c88fff41f27550e98ab87dbd2017bb.zip

Thanks Guys/Gals!

Link to comment
Share on other sites

Current Server Build: 0.3.7.0104 for Arma 3 v1.54 released.

[Fixed] Server side only hotfix for issues with players logging in without gear.
[Info] Server owners must update a3_epoch_server.pbo and mission pbo (description.ext, adds new 'init' and 'System' folder) to apply this fix so that it is still compatible with 0.3.7 client files.

https://github.com/EpochModTeam/Epoch/releases/tag/0.3.7.0104

Link to comment
Share on other sites

Ok so i ve test it right now and......IT WORKS !!!! :) Great Work man....

So when i can i want to help u ... means when i found other bugs, how can i tell u this bugs for fixing?

btw i found another little bug. After i updating 0.3.7.0 u cannot lock inside dead bodys gear. Means when u found a dead body with a military suit for example and he had food or something else inside u cannot take it. U can take it when u dress it put it on the ground and than take it but maybe ur a female u cannot take male stuff and other way round. Maybe u can tell me how can i fixed that?

Link to comment
Share on other sites

Just now, He-Man said:

Here in this section, I think ;)

ok thx but i hope he has a little fix for my little other problem :)

btw i found another little bug. After i updating 0.3.7.0 u cannot lock inside dead bodys gear. Means when u found a dead body with a military suit for example and he had food or something else inside u cannot take it. U can take it when u dress it put it on the ground and than take it but maybe ur a female u cannot take male stuff and other way round. Maybe u can tell me how can i fixed that?

Link to comment
Share on other sites

I have not still had your response.So I tried to fix it by myself.

Then I found a bug in Build:0.3.7.0104.

If the player don't have magazines and other items as the magazine,he is going to be naked after relog.

So I suggest that you need to check unit's mass (by command "loadAbs") instead of the magazine count.

My fixed by its way is working perfectly now.

Link to comment
Share on other sites

Line 322 in @epochhive\addons\a3_epoch_server\compile\epoch_player\EPOCH_server_loadPlayer.sqf

【org】 [_plyrNetID, _plyrUID, [_newPlyr, _vars, _currWeap, count(magazines _newPlyr), _plyrGroup, _canBeRevived, _newPlyr call EPOCH_server_setPToken]] call EPOCH_server_pushPlayer;

【fixed】 [_plyrNetID, _plyrUID, [_newPlyr, _vars, _currWeap, loadAbs _newPlyr, _plyrGroup, _canBeRevived, _newPlyr call EPOCH_server_setPToken]] call EPOCH_server_pushPlayer;

in mpmissions\__CUR_MP.Altis(←map name)\system\player_login.fsm (edited by FSM Editor)

Line 7 of Action script in ID16 "Response"

【org】 _magCount = _array deleteAt 0;

【fixed】 _mass = _array deleteAt 0;

Line 1 of Condition script in ID 61 "check new player not null"

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

【fixed】!(isNull _playerObject) && {_playerObject getVariable ["SETUP",false]} && {_mass == (loadAbs _playerObject)}

Link to comment
Share on other sites

8 hours ago, sCorporation said:

ok thx but i hope he has a little fix for my little other problem :)

btw i found another little bug. After i updating 0.3.7.0 u cannot lock inside dead bodys gear. Means when u found a dead body with a military suit for example and he had food or something else inside u cannot take it. U can take it when u dress it put it on the ground and than take it but maybe ur a female u cannot take male stuff and other way round. Maybe u can tell me how can i fixed that?

Hey thx. Have u the same other little Problem as well? 

Link to comment
Share on other sites

norukid, that is a good idea as it should cover the total loadout instead of just magazines so we get same result (waiting for player object to propagate) only more accurate. I will add it for the next build for testing, thanks!

UPDATE: you can test the latest fixes here.

Link to comment
Share on other sites

1 hour ago, vbawol said:

norukid, that is a good idea as it should cover the total loadout instead of just magazines so we get same result (waiting for player object to propagate) only more accurate. I will add it for the next build for testing, thanks!

UPDATE: you can test the latest fixes here.

Theres a bit of an issue around this. Some players may get Loading Character stuck forever, while the player body is created and filled with gear. Death or direct database deletion of the character resolves this. Maybe thats related to how the info was stored in database previously. Otherwise all is working as inteded. 

Link to comment
Share on other sites

On 2/2/2016 at 8:32 AM, sCorporation said:

btw i found another little bug. After i updating 0.3.7.0 u cannot lock inside dead bodys gear. Means when u found a dead body with a military suit for example and he had food or something else inside u cannot take it. U can take it when u dress it put it on the ground and than take it but maybe ur a female u cannot take male stuff and other way round. Maybe u can tell me how can i fixed that?

Yes sCorporation, sound like this one

, lets post feedback about it there.

 

 

21 hours ago, Demellion said:

Theres a bit of an issue around this. Some players may get Loading Character stuck forever, while the player body is created and filled with gear. Death or direct database deletion of the character resolves this. Maybe thats related to how the info was stored in database previously. Otherwise all is working as inteded. 

There is a timeout at this stage in the FSM so it should not get stuck forever so if this is happening we should look further into it.
Link to comment
Share on other sites

7 hours ago, vbawol said:

Yes sCorporation, sound like this one

, lets post feedback about it there.

 

 

There is a timeout at this stage in the FSM so it should not get stuck forever so if this is happening we should look further into it.

I described it a bit wrong: you cant get in-game anymore until you wil get wiped/killed. This reminds me of a good friend "can't count magazines" from A2

Link to comment
Share on other sites

.

2 hours ago, Tarabas said:

I updated to 0.3.7.096 i had no naked spawns at all.

Now i updated to 0.3.7.0107 to prevent BE kicks on looting underwater Shipwreck containers and after restart i spawned naked for the first time.

You should be fine after that initial spawn after updating

Link to comment
Share on other sites

Some people here also spawn nacked, also with the last patch.

Not sure, when this happened..

Here two Inventorys from the db, BEFORE the Restart from players, where the stuff has gone after Restart:

[[215.542,[[28301,25779,10],[0.867188,0.607422,0.00673485]],"NA123"],[0,0,1,0],["G_Balaclava_combat","H_92_EPOCH","V_35_EPOCH","B_TacticalPack_mcamo","U_O_CombatUniform_ocamo","Epoch_Male_F"],[],[98.6,3455.05,1205.05,7685,107.098,42,0,2,0,210,0,[0,0,0,0,0,0,0,0,0,0,0],100,[0,0,0,0,0,0,0],0,0,0],["Rangefinder",[["Rangefinder","","","",[],""],["m107Tan_EPOCH","","acc_pointer_IR","optic_KHS_old",["5Rnd_127x108_APDS_Mag",4],""],["hgun_P07_F","","","",["16Rnd_9x21_Mag",14],""]],["m107Tan_EPOCH","","hgun_P07_F"]],["ItemMap","ItemCompass","ItemWatch","EpochRadio0","ItemGPS","NVG_EPOCH","Rangefinder"],[["5Rnd_127x108_Mag",1]],[[[],[]],[[],[]],[[],[]]],[[[],[]],[[],[]],[[],[]]],"765611980569xxxxx",true]

 

[[259.26,[[4691,21377,0],[0.39209,0.263672,0.624817]],"NA123"],[0,0,1,0.00393701],["","H_27_EPOCH","","B_Carryall_oucamo","U_OG_leader","Epoch_Male_F"],[""],[98.6,4528,1838.05,35957,2443,81,28,50.8997,0,381.332,0,[0.0227375,0.0253877,0.0253877,0.103126,0.0926521,0.0557007,0.0359142,0.103126,0.0337648,0.0359356,0.103126],100,[0,0,0,0,0,0,0],0,0,0],["srifle_EBR_F",[["srifle_EBR_F","muzzle_snds_B","acc_flashlight","optic_DMS",["20Rnd_762x51_Mag",4],"bipod_03_F_oli"],["hgun_Rook40_F","muzzle_snds_L","","",["16Rnd_9x21_Mag",12],""],["Binocular","","","",[],""]],["srifle_EBR_F","","hgun_Rook40_F"]],["ItemMap","ItemCompass","NVG_EPOCH","Binocular"],[["HeatPack",1],["HandGrenade",1],["7Rnd_408_Mag",1],["FAK",1],["ItemSodaBurst",1],["sweetcorn_epoch",1],["meatballs_epoch",1],["honey_epoch",1],["FoodSnooter",1]],[[[],[]],[[],[]],[["NVG_EPOCH","V_22_EPOCH"],[1,1]]],[[[],[]],[[],[]],[[],[]]],"765611979648xxxxx",true]

 

If the devs want some logs, I can add them to the playerload file or where they are needed and post the logs here.

It will also be no problem to add logs to the player files and get them.

Then please let me know, if some special logs are needed!

Link to comment
Share on other sites

Wierd, noticed mine doesn't show the steamid.

[[189.776,[[13623,9285,0],[0.0283203,0.571289,0.00135231]],"NA123"],[0,0,1,0.314961],["","H_68_EPOCH","V_3_EPOCH","","U_Test1_uniform","Epoch_Male_F"],[""],[98.6,3106.78,1176.08,3427,365,0,0,0,0,0,0,[0.314961,0.314961,0.314961,0.314961,0.314961,0.314961,0.314961,0.314961,0.314961,0.314961,0.314961],100,[0,0,0,0,0,0,0],0,0,0],["hgun_Pistol_heavy_01_F",[["hgun_Pistol_heavy_01_F","","","",["11Rnd_45ACP_Mag",7],""],["Binocular","","","",[],""]],["","","hgun_Pistol_heavy_01_F"]],["ItemMap","ItemCompass","ItemWatch","EpochRadio4","Binocular"],[],[[[],[]],[[],[]],[[],[]]],[[[],[]],[[],[]],[[],[]]],"",true]

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
×
×
  • Create New...