Infinite speed from boots of speed

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Leffe
Wayist
Posts: 20
Joined: Wed Oct 06, 2010 3:42 pm

Infinite speed from boots of speed

#1 Post by Leffe »

Removing boots of speed grants infinite movement speed.

It appears the player's movement_speed is left at 0 after removing the boots, and the following code doesn't like that:

Code: Select all

class/interface/Combat.lua:

function _M:combatMovementSpeed()
    return self.movement_speed or 1
end

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: Infinite speed from boots of speed

#2 Post by darkgod »

Oh my ...
Ok fixed
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Fela
Wyrmic
Posts: 279
Joined: Sun Aug 29, 2010 5:23 pm
Location: Hessen, Germany

Re: Infinite speed from boots of speed

#3 Post by Fela »

Any workaround for that or quick code line to fix?

My little hobbit SB just switched to frost treads and is now affected.

It's very annoying and btw. also disables autorun.

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: Infinite speed from boots of speed

#4 Post by darkgod »

Well you can replace the return in the function mentionned by just "return 1", this will disable the effect of the boots
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Fela
Wyrmic
Posts: 279
Joined: Sun Aug 29, 2010 5:23 pm
Location: Hessen, Germany

Re: Infinite speed from boots of speed

#5 Post by Fela »

darkgod wrote:Well you can replace the return in the function mentionned by just "return 1", this will disable the effect of the boots
Isn't the bug in the boots setting speed to 0 when removing them, and not in synchronizing combat movement and self movement? When putting the boots back on, self.movement_speed seems to be fixed again - or at least so it seems.

PowerWyrm
Sher'Tul
Posts: 1106
Joined: Thu Nov 21, 2002 9:53 pm

Re: Infinite speed from boots of speed

#6 Post by PowerWyrm »

Here's the workaround for the boots of speed to work (until DG fixes the movement_speed = 1 instead of 0 when removing the boots):

Code: Select all

--- Computes movement speed
function _M:combatMovementSpeed()
	if self.movement_speed then
		return self.movement_speed
	end
	return 1
end
No boots, movement_speed = 1 (uses 100 energy to move)
Boots on, movement_speed = 0,8 (uses 80 energy to move)
Boots off, movement_speed = 0 (uses 100 energy to move)

Fela
Wyrmic
Posts: 279
Joined: Sun Aug 29, 2010 5:23 pm
Location: Hessen, Germany

Re: Infinite speed from boots of speed

#7 Post by Fela »

Wearing the boots should be movement_speed = 0.8*movement_speed, btw.

Right now it's hardcoded to 0.8, so it doesn't combine with other speed enhancing effects, sometimes in effect might even partially negate them. Not sure with essence of speed though, since that seems to work completely different - from the boots and from its own description :).

Final Master
Sher'Tul
Posts: 1022
Joined: Fri May 21, 2010 8:16 pm
Location: Inside the minds of all
Contact:

Re: Infinite speed from boots of speed

#8 Post by Final Master »

Glad I found this before I removed my boots of speed for the artifact boots. I changed it and saved before removing them. Going to see if it lets my game function properly now.

Edit: Seems it broke the save. I'll try to edit the code back to how it was and see if it lets me open it.

Edit: :( Damn it...
Final Master's Character Guides
Final Master's Guide to the Arena
Edge: Final Master... official Tome 4 (thread) necromancer.
Zonk: I'd rather be sick than on fire! :D

Grompus
Cornac
Posts: 42
Joined: Tue Jun 29, 2004 3:30 am

Re: Infinite speed from boots of speed

#9 Post by Grompus »

heh I was wondering what the hell was happening, giving my berserker a waaay unfair advantage (but I am having a hellova lot of fun I gotta say!)

STKAS
Low Yeek
Posts: 8
Joined: Sat Aug 13, 2005 8:54 pm
Location: santa cruz

Re: Infinite speed from boots of speed

#10 Post by STKAS »

Wow, I'm realizing the benefits of infinite speed on my berserker as well.
I guess I have to wear the boots of speed for the rest of the game.

Hakko
Cornac
Posts: 36
Joined: Wed Oct 27, 2010 12:41 am

Re: Infinite speed from boots of speed

#11 Post by Hakko »

Arrgh, just got this bug after picking up Frost Treads. Oddly enough, I also don't seem to get any experience for kills made under this condition.

Post Reply