* Open Player.class.asasm
* try to find :
Code:
getproperty QName(PackageNamespace(""), "props_")
getproperty QName(PackageNamespace(""), "speed_")
You should have below an "initproperty"..
For me (4.3 build) its
Code:
getproperty QName(PackageNamespace(""), "props_")
getproperty QName(PackageNamespace(""), "speed_")
initproperty QName(ProtectedNamespace("_-2e"), "_-oe")
You should find it two times in the same method..
* Insert this code just before the returnvoid at the end of the method
Code:
;----------------------------
; Sprite World Speed Hack
;----------------------------
getlex QName(PackageNamespace(""), "map_")
getproperty QName(PackageNamespace(""), "name_")
pushstring "Sprite World"
ifne NORMAL
getlocal0
pushdouble 1.5 ; speed factor : change to a value above 1
setproperty QName(ProtectedNamespace("_-2e"), "_-oe") ; Value inited using the props.speed ..
NORMAL:
;-----------------------------------------------------
you should have something like that
Code:
L107:
getlocal0
getlocal1
getproperty QName(PackageNamespace(""), "props_")
getproperty QName(PackageNamespace(""), "speed_")
initproperty QName(ProtectedNamespace("_-2e"), "_-oe")
L112:
;----------------------------
; Sprite World Speed Hack
;----------------------------
getlex QName(PackageNamespace(""), "map_")
getproperty QName(PackageNamespace(""), "name_")
pushstring "Sprite World"
ifne NORMAL
getlocal0
pushdouble 1.5 ; speed factor : change to a value above 1
setproperty QName(ProtectedNamespace("_-2e"), "_-oe")
NORMAL:
;-----------------------------------------------------
returnvoid
end ; code
end ; body
end ; method
end ; trait
PLEASE READ: This has been tested using a fresh character with no boost at all. I wasnt d/c
I dont know what happens if you use it with maxed spd or if you put the speed factor above 2..
---------- Post added at 11:08 AM ---------- Previous post was at 10:58 AM ----------
Well, with maxed spd and 2.0 as speed factor, it goes too fast already , but you still dont d/c
---------- Post added at 11:15 AM ---------- Previous post was at 11:08 AM ----------
Now if you need more explanations :
Square.props.speed_ hold the speed factor of the Square (where you walk).
When you walk on a square the game use this value with your spd stat to know your "current spd".
Normal tile value is 1 (no boost no slowing). Road boosts you spd its like 1.2, tiles like quicksand or water slow you their speed factor is below 1..