Jump to content
  • 0

Sometimes character stops updating after skin change


f3cuk

Question

Since updating to 1051 several people have been complaining that sometimes their character seemed to go back in time after they had logged in. Untill today I couldn't pinpoint what was happening but now i think i found it. Sometimes when a player changes skin, his or her character stops updating from that point on. Resulting in progress loss when they logout and log back in, even simply going in and out the lobby will "reset" their character to the state they were in just before they changed clothes.

 

One user even reported that he died » ragequit » after logging back in a few hours later, was alive and had most of his gear back. He asked me if i did a rollback on the database, which we did not. It did not make sense to me but now i'm figuring he had probably just changed skins before and got reset to that.
 

Could anyone confirm this issue? Or did i mess it up all by myself :P

Link to comment
Share on other sites

Recommended Posts

  • 0

Okay after doing some debugging, we found that changing a player skin does not update character_data in the database directly. Only after manually triggering another event that updates the player the character gets updated to the right skin. I do not know if this might create opportunity for this bug to happen or if it is unrelated, but it seems like it might.

Link to comment
Share on other sites

  • 0

Thanks again ebay iv also seen this happen with players some times teleporting , they log off and log back on in a different position, it doesn't happen much but , it never used to happen before the new update thanks again hope that info helps a bit. 

 

if you need any testers for any thing hit me up!

 

 
On 7/15/2014 at 11:09 PM, f3cuk said:

Hmm interesting, could you elaborate on that?

 

Not much to say about that every ones Server is different bandwidth settings should all all be modified to fix your servers needs and some servers that are not dedicated do not even have the options of messing with the settings (basic.cfg and Sql sever)

but ebays post on bandwidth configs , along with MGT's post have helped me alot!

Link to comment
Share on other sites

  • 0

Nice one, I'll update these a.s.a.p. and let you know if it helps.

On 7/17/2014 at 8:35 PM, TNT said:

Not much to say about that every ones Server is different bandwidth settings should all all be modified to fix your servers needs and some servers that are not dedicated do not even have the options of messing with the settings (basic.cfg and Sql sever)

but ebays post on bandwidth configs , along with MGT's post have helped me alot!

Okay thanks, I thought you actually fixed this problem by tuning some of your server settings :P What post of ebaydayz are you referring to? I have read so much about the basic.cfg, but somehow people keep contradicting each other on it, makes it hard to find the truth.

Link to comment
Share on other sites

  • 0
 

Nice one, I'll update these a.s.a.p. and let you know if it helps.


Okay thanks, I thought you actually fixed this problem by tuning some of your server settings  :P What post of ebaydayz are you referring to? I have read so much about the basic.cfg, but somehow people keep contradicting each other on it, makes it hard to find the truth.

 

i guess i lessened the problem a bit , with really bad bandwidth settings the problem is multiplied x100

Link to comment
Share on other sites

  • 0

changed up the file on my chernarus server testing it now   if any one wants to help me test it , every thing running fine so far tested switching skins a few times and logging a few different ways didn't get any loss but could use alot more testing 

 

66.150.188.168:2302

Link to comment
Share on other sites

  • 0

after having it on my server for a bit i got the first report of some one losing all gear from time changed 

not sure if it was a lie or not , i will have to just keep a watch and i will post more updates as need be 

 

this happen after a restart i guess , he logged in to find him self at the point he last changed , 

this was a new player to the server

Link to comment
Share on other sites

  • 0

Although it does not seem to happen as often as before. Today i did have it happen to myself again. I wasn't able to reproduce but come to think of it, i did teleport just before skin change, so that may have something to do with it.

Link to comment
Share on other sites

  • 0

Okay this problem has taken a turn for the worse. Just now after restart about every player reported he got set back in time, looking at the RPT there are LOADS of "ERROR: Cannot sync character XX has no character id"

 

SERVER RPT: http://pastebin.com/Yh4WWtVt

First one started at 18:51:37, just after some WAI mission started. Anyone got an idea what might be happening?

Link to comment
Share on other sites

  • 0

Not much, count is a bit faster so it's often preferred. 1.5 replaced a lot of foreach loops with count loops, they did however overlook a problem which is that count does not let you have another count inside it. Most of these have been fixed for 1052.

To clarify

Fails

{

 DO STUFF // WORKS
 
 {

   DO STUFF // DOESNT WORK

 } count _arrayname2;


} count _arrayname1;
Works, optimal performance

{

 DO STUFF // WORKS
 
 {

   DO STUFF //WORKS

 } count _arrayname2;


} foreach _arrayname1;
Works, less performance

{

 DO STUFF // WORKS
 
 {

   DO STUFF // WORKS

 } foreach _arrayname2;


} foreach _arrayname1;
Link to comment
Share on other sites

  • 0

Thanks for those fixes on Github ebay. Done all of them on our live server, will keep this thread updated on found results.

 

Hmm still happening. Got these errors in my log for a full hour, then the player died and got send to the debug zone, in which he came back to life and could walk around untill radiation got him. After relog he went back in time to the point where the errors first started. Which was when he was changing his clothes inside a safe zone. Since we got AGN safezone installed it might be related to that.

1:01:34 "ERROR: Cannot Sync Character Warrior Of The Future as no characterID"
 1:01:34 "ERROR: Cannot Sync Character Warrior Of The Future as no characterID"
 1:01:35 "ERROR: Cannot Sync Character Warrior Of The Future as no characterID"
 1:01:40 Client: Object 24:147 (type Type_70) not found.
 1:01:40 Client: Object 24:146 (type Type_70) not found.
 1:01:45 "ERROR: Cannot Sync Character Warrior Of The Future as no characterID"
 1:01:56 "ERROR: Cannot Sync Character Warrior Of The Future as no characterID"
 1:02:00 "CLEANUP: Deleted 3 Loot Piles out of 183"
 1:02:11 "EPOCH SERVERTRADE: Player: Warrior Of The Future (76561198148317974) sold a M240_DZ in/at trader city Stary for 5x ItemGoldBar"
 1:02:21 "EPOCH SERVERTRADE: Player: Warrior Of The Future (76561198148317974) sold a 100Rnd_762x51_M240 in/at trader city Stary for 1x ItemGoldBar"
 1:02:26 "ERROR: Cannot Sync Character Warrior Of The Future as no characterID"
 1:02:26 "ERROR: Cannot Sync Character Warrior Of The Future as no characterID"
 1:02:27 "ERROR: Cannot Sync Character Warrior Of The Future as no characterID"
 1:02:30 "SAFE UNLOCKED: ID:8982 UID:0 BY zX3R0(76561198061024922)"
 1:02:38 "SAFE LOCKED: ID:9100 UID:0 BY Ghettovich(76561198015992245)"
 1:02:41 "EPOCH SERVERTRADE: Player: Warrior Of The Future (76561198148317974) sold a UZI_EP1 in/at trader city Stary for 2x ItemGoldBar"
 1:02:50 "ERROR: Cannot Sync Character Warrior Of The Future as no characterID"
 1:02:50 "ERROR: Cannot Sync Character Warrior Of The Future as no characterID"
 1:02:52 "CLEANUP: Deleted 1 Animals out of 15"
 1:02:52 "DEBUG FPS : 49.6894 OBJECTS: 4240 : PLAYERS: 15"
 1:02:52 "TIME SYNC: Local Time set to [2013,8,3,19,2]"
 1:02:56 "ERROR: Cannot Sync Character Warrior Of The Future as no characterID"
 1:02:57 "ERROR: Cannot Sync Character Warrior Of The Future as no characterID"
 1:03:00 "CLEANUP: Deleted 16 Loot Piles out of 182"
 1:03:08 "ERROR: Cannot Sync Character Warrior Of The Future as no characterID"
 1:03:19 "ERROR: Cannot Sync Character Warrior Of The Future as no characterID"
 1:03:30 "ERROR: Cannot Sync Character Warrior Of The Future as no characterID"
 1:03:44 "ERROR: Cannot Sync Character Warrior Of The Future as no characterID"
 1:03:46 "ERROR: Cannot Sync Character Warrior Of The Future as no characterID"
 1:03:57 "ERROR: Cannot Sync Character Warrior Of The Future as no characterID"
 1:04:07 "ERROR: Cannot Sync Character Warrior Of The Future as no characterID"
 1:04:18 "ERROR: Cannot Sync Character Warrior Of The Future as no characterID"
 1:04:29 "ERROR: Cannot Sync Character Warrior Of The Future as no characterID"
 1:04:38 "EPOCH SERVERTRADE: Player: Warrior Of The Future (76561198148317974) sold a 17Rnd_9x19_glock17 in/at trader city Stary for 5x ItemSilverBar"
 1:04:39 "ERROR: Cannot Sync Character Warrior Of The Future as no characterID"
 1:04:50 "ERROR: Cannot Sync Character Warrior Of The Future as no characterID"
 1:05:00 "ERROR: Cannot Sync Character Warrior Of The Future as no characterID"
 1:05:01 "ERROR: Cannot Sync Character Warrior Of The Future as no characterID"
 1:05:12 "ERROR: Cannot Sync Character Warrior Of The Future as no characterID"
 1:05:15 "EPOCH SERVERTRADE: Player: Warrior Of The Future (76561198148317974) sold a MakarovSD in/at trader city Stary for 1x ItemGoldBar"
 1:05:33 "EPOCH SERVERTRADE: Player: Warrior Of The Future (76561198148317974) bought a UZI_SD_EP1 in/at trader city Stary for 1x ItemGoldBar10oz"
Link to comment
Share on other sites

  • 0

Okay this problem has taken a turn for the worse. Just now after restart about every player reported he got set back in time, looking at the RPT there are LOADS of "ERROR: Cannot sync character XX has no character id"

 

SERVER RPT: http://pastebin.com/Yh4WWtVt

First one started at 18:51:37, just after some WAI mission started. Anyone got an idea what might be happening?

Can you post your hive log files?

We can see there if the 201 calls fail or succeed with all the data that is transferred.

Link to comment
Share on other sites

  • 0

Do i need to switch the login back to trace? I had that before, but when i compared the datastamps on the errors to the events in the hiveext log with the same datestamp nothing seemed wrong. Even recreated the queries and done them manually to check if they were proper.

--

I may have pinpointed the issue a bit further, this needs testing but it seems like it happens when a player changes skin inside a safe zone, having his backpack on and having stuff in that backpack. After the skinchange players with messed up CHARID's will not have anything in their backpack. Getting more and more sure this must have something to do with AGN and godmode not allowing the character to get killed or something. I'll look into it some more today after I've finished other work.

--

Edit: Did find an error in the hiveext.log. Seems unrelated, but troublesome. Looks like mysql thingie is having trouble parsing long queries.

2014-08-08 13:29:25 HiveExt: [Error] Error executing |CHILD:303:6885:[[["ItemMatchbox_DZE","ItemCompass","ItemToolbox","ItemCrowbar","ItemHatchet_DZE","glock17_EP1","AKS_74_kobra","LeeEnfield","M24","M4A1","SVD_des_EP1","Winchester1866","UZI_SD_EP1","Makarov"],[1,1,1,1,1,3,1,2,1,1,1,2,1,1]],[["ItemSandbagExLarge5x","ItemBriefcase100oz","ItemComboLock","ItemMorphine","ItemBloodbag","ItemCanvas","ItemEpinephrine","ItemTankTrap","forest_large_net_kit","cinder_garage_kit","ItemTentDomed","ItemTrashToiletpaper","ItemSandbag","FlareGreen_M203","ItemBriefcase20oz","ItemPlotDeed","Skin_Bandit1_DZ","Skin_INS_Soldier_CO_DZ","Skin_Soldier1_DZ","ItemBriefcaseS100oz","ItemBriefcaseS60oz","ItemBriefcaseEmpty","Skin_Survivor2_DZ","FoodMRE","ItemORP","ItemTNK","ItemLRK","Skin_Drake_Light_DZ","Skin_Graves_Light_DZ","Skin_FR_OHara_DZ","HandRoadFlare","Skin_BanditW1_DZ","ItemAntibiotic","PartPlywoodPack","PartFueltank","PartWheel","Skin_TK_INS_Warlord_EP1_DZ","Skin_INS_Worker2_DZ","ItemSodaPepsiEmpty","ItemSodaEmpty","ItemSilverBar","ItemBriefcaseS30oz","FoodCanBakedBeans","ItemBriefcaseS50oz","ItemFuelBarrelEmpty","ItemJerrycanEmpty","ItemTrashRazor","TrashJackDaniels","1Rnd_Smoke_M203","TrashTinCan","ItemTinBar","ItemBriefcase60oz","ItemSodaCokeEmpty","ItemWoodFloor","ItemWoodLadder","ItemSodaCoke","ItemBriefcaseS90oz","ItemWoodWallLg","ItemGoldBar10oz","ItemGoldBar2oz","ItemSilverBar2oz","ItemSilverBar3oz","ItemSilverBar4oz","ItemGoldBar5oz","ItemSilverBar6oz","ItemGoldBar7oz","ItemSilverBar7oz","ItemSilverBar8oz","ItemGoldBar9oz","ItemAluminumBar","10x_303","ItemVault","ItemSodaPepsi","100Rnd_127x99_M2","ItemGoldBar","ItemWaterbottle","Skin_TK_INS_Soldier_EP1_DZ","ItemPainkiller","30Rnd_9x19_UZI_SD","8Rnd_9x18_Makarov","100Rnd_762x54_PK","5Rnd_86x70_L115A1","5Rnd_762x51_M24","8Rnd_B_Beneli_Pellets","8Rnd_B_Beneli_74Slug","20Rnd_B_765x17_Ball","ItemDocument","15Rnd_9x19_M9SD","ItemBandage","PartGlass"],[5,4,1,16,7,2,4,4,3,2,2,3,2,1,3,1,1,1,4,1,2,1,6,2,1,1,1,2,3,3,1,1,2,1,2,1,1,1,1,6,1,1,2,1,1,4,1,1,1,2,1,1,1,5,1,3,1,2,1,1,1,1,1,2,2,1,1,1,1,2,3,1,3,2,1,1,1,2,2,2,1,1,1,1,1,1,1,1,4,1|
Link to comment
Share on other sites

  • 0

Thanks for clearing that up Ebay :) I don't think (at least in this case) it has anything to do with lag. This error indeed also shows harmless (whilst player is in debug, possibly after dead, after just disconnecting or on changing clothes). In that case it's not really an error and imho it shoudnt show as one.

In any other case, where the player != in debug the error should show and be taken seriously cause the player has lost characterID.
 
---
 
Think i finally managed to reproduce.

It's definately related to AGN.

1.) Go to a safezone
2.) Try to change clothes by going into gear by pressing G -> This won't work, it doesn't do anything apart from updating the clothes in your gear with the one you currently have on.
3.) Try to change clothes WHILST inside a loot pile or vehicle gear (easiest way to do this is just drop something on the ground and go into that) -> This will change your clothes, but probably create an error somewhere in your switchmodel.sqf cause your backpack wont get updated with your gear and the error starts after that.

Possible "fixes"
 
1.) Make people unable to change clothes in safezones (crap)
2.) Make people unable to change clothes whilst inside gear of vehicle or loot pile (better)
3.) Fix this bug altogether (best)

 

--

 

EDIT: Does not happen whilst inside the gear of a car inside the safezone -> Weirdly it works as expected when inside the gear of a vehicle.

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