Sphereserver / Source-X

Ultima Online server emulator
Apache License 2.0
60 stars 47 forks source link

Regen value not saved #595

Closed alexdan2 closed 3 years ago

alexdan2 commented 3 years ago

I see regen value not saved when server close and restart. (regenstam, regenhits, ecc), but seems regenval* corect save.

How Replicate:

Also i see regenstam value not exist in char save block, exist only regenvalstam:

Save Block:

[WORLDCHAR c_man]
CREATE=1685
SERIAL=0307
NAME=B
COLOR=083ea
CURFOLLOWER=1
MAXFOLLOWER=5
TAG.ATTACKING=617
EVENTS=Class_Undeclared
ACCOUNT=a
DEATHS=1
SPEECHCOLOR=690
P=1614,1427
DIR=4
OSKIN=083ea
FLAGS=0a0000001
DAM=1,3
ACT=040000275
ACTP=1632,1476,10
EXP=380
HOME=0,0
OKARMA=2160
OFAME=48
OFOOD=0
FOOD=0
OSTR=160
OINT=10
ODEX=35
HITS=160
STAM=35
MANA=10
REGENVALSTAM=10  <----- REGENVALSTAM is here (not see any trace of REGENSTAM
Lumberjacking=1

Additional info:

alexdan2 commented 3 years ago

I make some test and sems work good.

Thx for fix it!