Follow along with the video below to see how to install our site as a web app on your home screen.
Note: this_feature_currently_requires_accessing_site_using_safari
For boolean if i recall correctly you need to find a function calling that boolean and then change the ldc.i4 to 0 or 1 for false or thrue
void... not a clue![]()
You usually never edit void (I can't think of a time I ever have). It's probably the wrong function if it says void next to it.
No, you always edit get_ functions. Never set_. Try editing get_coins with ldc.r4 and test it.
Well .. for Boolean you return either true or false for example
IsCanAttack ( boolean )
if u want to return True
ldc.i4.1
ret
if u want to return False
ldc.i4.0
ret
ــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ
when it comes to Void for example
SetHP (int32) ( Void ) << don't bother with the ( int32 ) for now
let's say the actual function was like this :
ldarg.0
ldarg.1 << this value will be stored inside _sethp
stfld _sethp << storing the value of HP
ret
ــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ
you would mod this like this :
ldarg.0
ldarg.1 <<<< change this to any high int32 value
stfld _sethp
ret
ــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ
so final function would look like this :
ldarg.0
ldc.i4 999999
stfld _sethp
ret
ــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ
i hope all of this make sense there are more complex void functions but you are more than welcome to ask here
Cheers and good luck .. happy modding
While set_ functions could work, I highly recommend trying the get_'s first. Plus, I don't think it should be a string function.
yup i agree .. i was just giving an example of Void functionsWhile set_ functions could work, I highly recommend trying the get_'s first. Plus, I don't think it should be a string function.
yup depends on the what you have ( single , int , boolean )i Change The Idarg.1 To ( ldc.r4 Single 999999 ) ?
Which game you are trying to mod if ya don't mind
I Miss The WordI Already Edit The Get_ All Entries & All Of Them Are Failed But I Din't Touch The Void & The Boolean So I Really Want to Know How Edit Void & Boolean In Set_
Which game you are trying to mod if ya don't mind
so just delete the other ?yup i agree .. i was just giving an example of Void functions
yup depends on the what you have ( single , int , boolean )
same principle works on other Voids .. like this
for example : ChangeHp (int32) ( Void ) << there is no get or set for this
inside you could see a lot of codes don't freak out just go line by line and see what are they
....
this is from a game i am working on it atm
void ChangeHp (int32 _HP) << argument .. ldarg.1
[0] int32 num) << variable
0 - ldarg.0
1 - call System.Int32 ActorInfo::GetHp() << the value of this will be stored into the variable int32 which is stloc.0
6 - stloc.0 << as we said above storing the value of GetHP inside the local variable
7 - ldloc.0 << it will load the value of the local variable
8 - ldarg.1 << the value of the argument
9 - sub << subtract the value of ldarg.1 from ldloc.0 << which basically will subtract the value of ldarg.1 from Get_HP
10 - stloc.0 << store the result into the local variable which is int32
11 - ldarg.0
12 - ldloc.0 << loads the value again from the local variable
13 - call System.Void ActorInfo::SetCurHp(System.Int32) << this will store the value above into the SetCurHP ( when you see this SetCurHp(System.Int32) << you need to store an int32 so it will be like this
so to mod this do like following :
ldarg.0
ldc.i4 999 << this will be stored inside the the SetCurHp
SetCurHp(System.Int32)
ret
Of course you can mod it in many ways but this is just an example
i hope this helps .. and sorry if i made any mistakes there ... good luck
thanks for sharing, broso just delete the other ?
and keep subway surfers these ?
ldarg.0
ldc.i4 999 << this will be stored inside the the SetCurHp
SetCurHp(System.Int32)
ret