DoV (1096) Water issues
Posted: Thu Jul 26, 2012 4:30 am
I was able to identify an unknown element in the char sheet for how long the player can hold their breath underwater so now chars won't drown after 1 sec, updated the struct and have it as a hardcoded value (30 sec, but might be good to make this a rule).
The other water issue was using /speed you would stop moving as soon as you would start swimming and essentially be stuck, this has also been fixed, the problem was speed sent a WS_SetControlGhost and never set any of the unknowns, setting unknown to .5408 (from a 1096 log) it works. This unknown might be used to multiply the speed value when in water, but that is just a guess at this point.
As usual all fixes have been commited to dev svn.
The other water issue was using /speed you would stop moving as soon as you would start swimming and essentially be stuck, this has also been fixed, the problem was speed sent a WS_SetControlGhost and never set any of the unknowns, setting unknown to .5408 (from a 1096 log) it works. This unknown might be used to multiply the speed value when in water, but that is just a guess at this point.
As usual all fixes have been commited to dev svn.