#Character rolled back due to syncing issue

71 messages · Page 1 of 1 (latest)

limpid citrus
#

Pirion and I collected at least 800k Enchanting XP worth of scrolls to get me over 80 Enchanting to test the value of Exceptional Enchants.

After finally getting it, I applied two enchants to a diamond ring, equipped it, then went into combat. About 20 or so minutes later, I tried to sell my old silver ring that was in my inventory.

As soon as I did that, the game kicked me off with an Inventory Sync issue error. When I logged back on, I had all my combat XP, but my Enchanting level was back down to 78 from before Pirion gave me the last bit of scrolls. Pirion was not affected so he doesn't have the scrolls, and yet I lost over 300k of Enchanting XP.

https://i.imgur.com/OBNpsE6.png

I'm not sure if this is related, but we never saw a post in #player-milestones for when it happened.

#

*When I hit level 80 enchanting that is.

#

This occured at 9:19 PM EST (21:19 EST military time if that helps)

meager sparrowBOT
#

GG @limpid citrus, you just advanced to level 6!

oak widget
#

also didn't get the notice that he reached 80 in crafting. May be related, or may be a separate bug

merry reef
#

Everything points to that the enchantments didn't actually go through on the server at all. That could happen due to a few reasons:

  1. The server determined that you actually didn't have the required materials for the enchantment
  2. You didn't have the level requirements to do the enchants you tried to but the client let you do them anyway (and was corrected by the server)
  3. Something in the item enchantment logic is off between the client and server where the client thinks you're able to enchant an item, and the server does not. That could be due to a variety of reasons. I'll need to check out the code

Those last scrolls that you used for levels 78-80, where did you get them? Clan vault? Did you have a close or full to close inventory, if you recall?

oak widget
#

I can't answer how full his inventory was but they all came from clan vault

#

they were all rare scrolls in that wave iirc... I sent over 10 or so?

#

also he wasn't enchanting an item, just eating the scroll - i assume same thing applies

limpid citrus
#

If it's an experience sync issue, it might be caused by the weird amount of XP that Reading an enchant gives.

Common Enchants are meant to give 5250 or something like that when applied, and show the same number when not boosted for Reading them. When boosted, I've seen that the number shown (in the pop-up for Reading) includes the 30% boosted value, then the value you get in-game (and shows up in the bottom XP notification) is that already-boosted value, plus another 30% on top, nearly doubling the originally-stated value.

#

If the server only recorded the XP being boosted once and applied that to my character registry, but in-game it shows the double-boosted value, that could be the reason. The game could allow actions based on what is shown in-game, even if the database doesn't match that reality.

merry reef
#

That sounds like it very well could be it. I'll go through the code when I get home from work. Thanks for the very detailed info on this!

limpid citrus
merry reef
#

yeah the ad boost was straight up being added twice client side and there's also some differences how client and server handle modifiers for 0 time tasks. will be fixed for next update. thanks again for the detailed report!

oak widget
#

@limpid citrus I told you to quit cheatin`

#

🤣

merry reef
#

And it isnt just applied to enchanting

oak widget
#

enchants too I guess

#

err

limpid citrus
#

Crafting, yeh

oak widget
#

upgrades

#

I got a dsync before and seemed like a rollback...so makes sense

merry reef
#

This explains the oddly frequent desync messages people have been getting when theyre trying to do a task that they dont really have the reqs for

oak widget
#

hopefully next build will be more stable then

merry reef
#

It shall be! For now, relogs will fix any weirdness

oak widget
#

You've cursed it

limpid citrus
#

How often does your database refresh, or validate the client?

merry reef
#

Client doesnt talk to the database beyond the initial loading of configs. The server is in charge and validates every action performed by the client, but usually doesn't inform the client if the action they tried to perform didn't go through which has made debugging these issues a bit of a pain

#

Client generally assumes that whatever action they try to do they are allowed to do since the client should have a matching state of itself with the server

#

So these desyncs right now can carry on for some time

limpid citrus
#

Ah okay. Was wondering because the leaderboards sometimes have a delay before they update, but will only update upon relogging.

#

Didn't know if you had a separate system for that so that it didn't have to be live.

merry reef
#

Leaderboards are a bit weird in that but the server saves players on log out and every 5 mins automatically

#

Leaderboards iirc are loaded only once per session

limpid citrus
#

Ahh, 5 minute timer. That tracks with my experience. I knew it was something like that though.

merry reef
#

So even a relog wont refresh them

oak widget
#

need to shut down and restart client or search for user

#

lmao

#

been watching it like a hawk

merry reef
#

Yeah i took a bit of a cautious approach with it, its a lot of data to move

limpid citrus
#

This is also similar to the "Party Combat Visual Bug". Pirion, start combat so I can check something.

merry reef
#

Not sure if necessary

oak widget
#

I wonder if it'd be better to just allow reload of top 10 in each skill

#

and allow them to "load more" if they need

#

well, top 10 + their own if they are outside

limpid citrus
#

Push the button, pirion XD

#

Okay, it's back to normal now.

oak widget
#

no, im distracted talking mechanics

#

lol

limpid citrus
#

I was needing to confirm something.

#

Is that 5 minute timer only on the leaderboards?

#

Or is it a refresh on all player data?

oak widget
#

not a refresh, but a save to the database

limpid citrus
#

RIght, that.

oak widget
#

so if you do this, you see the updates

#

nvm, I broke it searched in clan board

limpid citrus
#

That explains why just after a boss fight when we had another player (and I did the Party Combat Visual bug), the bug persisted into our fight with Vamps because we started that fight within 5 minutes.

#

I was linking multiple things together.

merry reef
#

gonna go over those tasks separately. closing this post now as the cause seems clear. thanks once more for being so active with this!

oak widget
#

@merry reef

#

is this fixed? im pretty sure its the same

#

maybe not, looks same

merry reef
#

Most likely just issue in the text

#

Unless xp is different after relog?

oak widget
#

nope that's the before/after relog

merry reef
#

Thought so yeah

oak widget
#

either 23595 isn't the boosted amount

#

or 30673.5 was not the amount I gained i guess

merry reef
#

ad boost exp was being applied to the displayed exp reward twice (just a bug in the popup's text). fixed