Page 1 of 1

Skills reset to 0

Posted: Sun Nov 04, 2012 10:11 pm
by Regnakhan
Hi Xuri,

It seems I have a new kind of problems with the new 0.99.2 version.

I tried creating several chars, but after a world save (or after a log out, I'm not sure yet why or how), all skills of those chars are reseted to zero.

I haven't much searched about the problem. I've just discovered it. It might be something bad I did during the upgrade.

PS : btw, thx Xuri for testing my shard :)

PPS : confirmed. After a server shutdown & restart, all skills are reseted to zero.

Re: Skills reset to 0

Posted: Mon Nov 05, 2012 1:44 am
by Xuri
What! Even the miner character I created? :( Those hard-earned mining skill-points, straight down the drain. -_-

Is this new to 0.99.2, or did it happen in the previous one as well?

Re: Skills reset to 0

Posted: Mon Nov 05, 2012 2:29 am
by Xuri
Found the error. Sloppy work on my part; when adding support for reading the new "baseweight" stat, at the same time I broke UOX3's ability to read any other worldfile-tags starting with the letter "B" - including but not limited to "baseskills". And beards. :(

Fix was adding the following bit of code at a certain position in the bool CBaseObject::HandleLine() function, which goes to show how large impact small changes can have...

Code: Select all

else
	rvalue = false;
Will try to get this up on the CVS ASAP.

Re: Skills reset to 0

Posted: Mon Nov 05, 2012 3:33 am
by Xuri
Fix is up on the CVS. Will do another UOX3 release shortly.

Re: Skills reset to 0

Posted: Mon Nov 05, 2012 7:42 am
by Regnakhan
Hey Xuri !

Thx for the fix. I'll try the update immediately. :)

I'm not sure about your miner. Hopefully if you did not connect it didn't wipe the skills ^^

Re: Skills reset to 0

Posted: Mon Nov 05, 2012 8:06 am
by Regnakhan
Shard back up with 0.99.2b

My test player char survived a server reboot :)

Woohoo !!

thx again Xuri for the fast update. You rock !