Vlek / RuinsAndRiches

Ruins & Riches Ultima Online Server Files
6 stars 0 forks source link

Serialization/Deserialization borked #161

Open Vlek opened 10 months ago

Vlek commented 10 months ago

After the last big push, it appears that the server saves are messed up.

I have gone through several files line by line through both serialization and deserialization to see what I could find that would give me an idea of what could have gone wrong:

Instead, what I think I am going to do now is revert back half the project, so the entire System folder, and see if that fixes it. If not, I am going to revert back Scripts. That should help me narrow it down by half hopefully and then I can continue narrowing down from there.

First things first, I am going to make sure I have a good test bed by reverting the code back and ensuring that that works with a backup save.

Just for my own notes, I lost probably about 20k worth of gold and a level 6 gold golem book in my last playtime.

Vlek commented 10 months ago

Double-checked and it's not the exe it seems? Or maybe it too is broken?

Vlek commented 10 months ago

I believe this may be due to the formatting.

Going to go through and redo the past five closed tickets one by one.

Vlek commented 10 months ago

I also need to create a testing workflow to ensure things are working correctly:

Vlek commented 2 weeks ago

This may be made easier with the switch to modernuo, but I don't think it'll fix it if I mess up the serialization later.