View Issue Details

IDProjectCategoryLast Update
0005246Valley 1Bug - AVWW MultiplayerDec 3, 2011 4:48 pm
Reporterleb0fh Assigned Tokeith.lamothe  
Severitymajor 
Status resolvedResolutionfixed 
Product Version0.545 
Fixed in Version0.546 
Summary0005246: Skills lost When Server restarted
DescriptionPlaying on Toll's server on and off today, but when I logged in this evening I no longer had my "Creeping Death" spell, and the gem it was crafted from had also gone - I didn't craft it at any point near to when the server was rebooted, but not sure how often a server saves the player data.
TagsNo tags attached.
Internal WeightFix ASAP

Activities

keith.lamothe

Dec 3, 2011 2:18 pm

administrator   ~0017644

That's very odd, we've seen things that look suspciously like that's what was happening but were never able to confirm it for sure.

Thanks for letting us know.

Toll

Dec 3, 2011 3:03 pm

reporter   ~0017645

Not sure I did anything specific when I restarted the server. Just x'd the window and restarted (from the command-prompt the second time).

keith.lamothe

Dec 3, 2011 3:12 pm

administrator   ~0017646

Whenever the server is shut down it first does a save-everything-to-disk operation unless the process was killed directly. And if you guys were doing much of anything it would have provoked save-world-metadata-to-disk operations fairly frequently (that includes all player data).

Also, crafting operations happen first on the server, so the craft had failed on the server it would have failed on the client and you wouldn't have gotten the spellgem to begin with. But I'm thinking that the server is getting out-of-sync with local inventory in some other ways, and thus what gets saved to disk is not what you see on your screen. Pretty strange, but hopefully shouldn't be too hard to find.

keith.lamothe

Dec 3, 2011 3:36 pm

administrator   ~0017648

Just checking: leb0fh, did you do any swapping of inventory slots, or drop any items? Trying to narrow down what could have caused the server to disagree.

leb0fh

Dec 3, 2011 3:47 pm

reporter   ~0017649

I had moved Creeping Death and other skills yes before the initial disconnect. CD was the only skill missing though

keith.lamothe

Dec 3, 2011 4:48 pm

administrator   ~0017651

* Fixed several multiplayer-safety issues with item-swapping and item-dropping.
** Note: the new implementation is pretty paranoid and will just not execute a swap or drop operation where the server doesn't see the same item and quantity in the target slot(s) as the client told it to expect, so if you run into a situation where a disagreement like that happens it may prevent you from using swap or drop until you disconnect or reconnect. Please let us know if this happens, and we can try to find the root cause behind that.

We'll see if this prevents future such problems. Thanks :)

Issue History

Date Modified Username Field Change
Dec 3, 2011 2:10 pm leb0fh New Issue
Dec 3, 2011 2:18 pm keith.lamothe Note Added: 0017644
Dec 3, 2011 2:18 pm keith.lamothe Assigned To => keith.lamothe
Dec 3, 2011 2:18 pm keith.lamothe Status new => assigned
Dec 3, 2011 2:18 pm keith.lamothe Internal Weight => Fix ASAP
Dec 3, 2011 3:03 pm Toll Note Added: 0017645
Dec 3, 2011 3:12 pm keith.lamothe Note Added: 0017646
Dec 3, 2011 3:36 pm keith.lamothe Note Added: 0017648
Dec 3, 2011 3:47 pm leb0fh Note Added: 0017649
Dec 3, 2011 4:48 pm keith.lamothe Note Added: 0017651
Dec 3, 2011 4:48 pm keith.lamothe Status assigned => resolved
Dec 3, 2011 4:48 pm keith.lamothe Fixed in Version => 0.546
Dec 3, 2011 4:48 pm keith.lamothe Resolution open => fixed