[FIXED] Skills reset to 0

Here we stuff all the bugs we've managed to squash/squish/squelch.
Locked
Regnakhan
UOX3 Newbie
Posts: 17
Joined: Tue Oct 30, 2012 9:39 am
Has thanked: 0
Been thanked: 0

Skills reset to 0

Post 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.
Diamont Shard
http://www.diamont.be
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post 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?
-= Ho Eyo He Hum =-
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post 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.
-= Ho Eyo He Hum =-
User avatar
Xuri
Site Admin
Posts: 3704
Joined: Mon Jun 02, 2003 9:11 am
Location: Norway
Has thanked: 48 times
Been thanked: 8 times
Contact:

Post by Xuri »

Fix is up on the CVS. Will do another UOX3 release shortly.
-= Ho Eyo He Hum =-
Regnakhan
UOX3 Newbie
Posts: 17
Joined: Tue Oct 30, 2012 9:39 am
Has thanked: 0
Been thanked: 0

Post 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 ^^
Diamont Shard
http://www.diamont.be
Regnakhan
UOX3 Newbie
Posts: 17
Joined: Tue Oct 30, 2012 9:39 am
Has thanked: 0
Been thanked: 0

Post 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 !
Diamont Shard
http://www.diamont.be
Locked