r6840 | Walk speed bugged

This place is for Closed bug reports only. NOT for asking help!

Moderators: Moderators, Developers

Technology
Super Moderators
Super Moderators
Posts: 801
Joined: 06 May 2008, 12:47
Noob?: No

r6840 | Walk speed bugged

#1 Post by Technology »

Hey guys, i think that walk speed is bugged since i'm getting value's like: 1.5e-013

Confirmation?
One ST0 to rule them all? One PE viewer to find them!
One ST_kRO to bring them all and in the darkness bind them...

Mount Doom awaits us, fellowship of OpenKore!
Technology
Super Moderators
Super Moderators
Posts: 801
Joined: 06 May 2008, 12:47
Noob?: No

Re: r6840 | Walk speed bugged

#2 Post by Technology »

Oh lol,

Code: Select all

if ($args->{switch} eq "0086") {
	# Message 0086 contains less information about the actor than other similar
	# messages. So we use the existing actor information.
	$args = Actor::get($args->{ID})->deepCopy();
	$args->{switch} = "0086";
}
combined with:

Code: Select all

$actor->{walk_speed} = $args->{walk_speed} / 1000 if (exists $args->{walk_speed});
Now I wonder how long this bug has been in kore. :D
One ST0 to rule them all? One PE viewer to find them!
One ST_kRO to bring them all and in the darkness bind them...

Mount Doom awaits us, fellowship of OpenKore!