| View previous topic :: View next topic |
| Author |
Message |
kitesan Expert Cheater
Reputation: 0
Joined: 01 May 2014 Posts: 124
|
Posted: Tue May 27, 2014 9:06 am Post subject: scripting tutorial..? |
|
|
can somebody explaing me each string of this table?
and tell me where to find a tutorial that teach you how to make stuff like this?
// Health and Mana
_GodMode:
push eax
cmp dword ptr [iEnableGM],0
je _ExitGM // Jump if feature is disabled
mov eax,[esi+44] // Get pointer to base+0190
or eax,eax // Null?
je _ExitGM // Jump if true
lea eax,[eax-0190] // Point to unit structure
mov [pHero],eax // Save it for debugging
cmp dword ptr [eax+34],#14 // Player´s unit?
jne _ExitGM // Jump if false
fst dword ptr [fValue]
mov eax,[fValue] // Get next value
cmp eax,[esi+5c] // Greater than current value?
jge _ExitGM // Jump if true
fstp st(0) // Discard value
fld dword ptr [esi+5c] // Get current value
_ExitGM:
pop eax
fstp dword ptr [esi+5c] // Original code
mov esi,[esi+44] // Original code
jmp _BackGM // Back to main code
PS: i know asm and basics. I need advanced tutorials
thanks in advance
|
|
| Back to top |
|
 |
Geri Moderator
Reputation: 111
Joined: 05 Feb 2010 Posts: 5627
|
|
| Back to top |
|
 |
kitesan Expert Cheater
Reputation: 0
Joined: 01 May 2014 Posts: 124
|
Posted: Tue May 27, 2014 10:18 am Post subject: Thanks |
|
|
| Just perfect. Thanks alot.
|
|
| Back to top |
|
 |
|