Excellzone

Forum and disscussions since 2010


You are not connected. Please login or register

View previous topic View next topic Go down Message [Page 1 of 1]

#1
Excell

avatar
Head Administer
Head Administer
Credits to who ever made it.

Portal Master:
Description: Think of it as a manual map rusher you press right arrow or left arrow key to teleport to next and previous portals
Code:
[ltr][Enable]
Alloc(Hook,256)
Alloc(GetPortal,256)
Alloc(FakePortal,128)
Alloc(Portal,128)
Alloc(BlockSend,16)
Label(UsePortal)
Label(NextPortal)
Label(Return)
Label(Ending)
Label(Next)
Label(Exit)


RegisterSymbol(MapPortal)
Alloc(MapPortal,16)
Alloc(OnKey,16)
Label(Increase)
Label(Decrease)


MapPortal:
dd 01


GetPortal:
xor eax,eax
xor edi,edi
mov ecx,[01E2B6A0]
mov ecx,[ecx+04]
jmp NextPortal


NextPortal:
cmp [ecx-04],eax
jbe Exit
mov esi,[ecx+eax*8+04]
cmp [esi+1C],#999999999
je Next
inc edi
cmp edi,[MapPortal]
jb Next
mov eax,esi
ret


Next:
inc eax
jmp NextPortal


Exit:
xor eax,eax
ret


Hook:
mov eax,[esp+08]
pushad
mov [OnKey],eax
mov eax,[01E2B6A0]
mov eax,[eax+1C]
cmp [OnKey],014D0000
je Increase
cmp [OnKey],014B0000
je Decrease
jmp Ending


Increase:
inc [MapPortal]
cmp [MapPortal],eax
jbe UsePortal
mov [MapPortal],01
jmp UsePortal


Decrease:
dec [MapPortal]
cmp [MapPortal],01
jae UsePortal
mov [MapPortal],eax
jmp UsePortal


UsePortal:
call GetPortal
test eax,eax
je Ending
mov edi,eax
mov ebx,[edi+0C]
mov [Portal+0C],ebx
mov ebx,[edi+10]
mov [Portal+10],ebx
mov eax,[edi+24]
mov ebx,[edi+04]
push 00
push 00
push eax
push ebx
push 00
push 00
mov ecx,[01E26B14]
call 014DAD70
jmp Ending


Ending:
popad
mov eax,[01E34B8C]
jmp Return


FakePortal:
lea edi,[Portal]
jmp 014DB1E9


0163A8F0:
jmp Hook
Return:


014DB1D3:
jmp FakePortal
nop


BlockSend:
ret 0004


014DB313:
call BlockSend


014DB01C:
db 90 90 90 90 90 90


[Disable]
DeAlloc(Hook)
DeAlloc(GetPortal)
DeAlloc(FakePortal)
DeAlloc(Portal)
DeAlloc(BlockSend)
DeAlloc(MapPortal)
DeAlloc(OnKey)


0163A8F0: // CWndMan__OnKey
mov eax,[01E34B8C]


014DB1D3:
mov ecx,[01E2B6A0]


014DB313:
call 00614340


014DB01C:
jg 01473875[/ltr]

Portal Mouse:
Description: Teleports your character via mouse movement
Code:
[ltr][Enable]
Alloc(Hook,256)
Alloc(GetPortal,256)
Alloc(FakePortal,128)
Alloc(Portal,128)
Alloc(BlockSend,16)
Label(NextPortal)
Label(Return)
Label(Ending)
Label(Next)
Label(Exit)


GetPortal:
xor eax,eax
xor edi,edi
mov ecx,[01DA6A84]
mov ecx,[ecx+04]
jmp NextPortal


NextPortal:
cmp [ecx-04],eax
jbe Exit
mov esi,[ecx+eax*8+04]
cmp [esi+1C],#999999999
je Next
inc edi
cmp edi,00
jb Next
mov eax,esi
ret


Next:
inc eax
jmp NextPortal


Exit:
xor eax,eax
ret


Hook:
sub esp,0C
push ebx
push esi
pushad
mov ebx,[01D99CA0]
cmp dword ptr [ebx+A38],0C
jne Ending
mov ebx,[ebx+978]
mov eax,[ebx+8C]
mov ebx,[ebx+90]
mov [Portal+0C],ebx
mov [Portal+10],eax
call GetPortal
test eax,eax
je Ending
mov edi,eax
mov eax,[edi+24]
mov ebx,[edi+04]
push 00
push 00
push eax
push ebx
push 00
push 00
mov ecx,[01D99C94]
call 014724D0
jmp Ending


Ending:
popad
jmp Return


FakePortal:
lea edi,[Portal]
jmp 01472952


015CF260:
jmp Hook
Return:


0147293C:
jmp FakePortal
nop


BlockSend:
ret 0004


01472A81:
call BlockSend


01472788:
db 90 90 90 90 90 90


01472515:
db 74


[Disable]
DeAlloc(Hook)
DeAlloc(GetPortal)
DeAlloc(FakePortal)
DeAlloc(Portal)
DeAlloc(BlockSend)


015CF260:
sub esp,0C
push ebx
push esi


0147293C:
mov ecx,[01DA6A84]


01472A81:
call 005FEA10


01472788:
jg 01473875


01472515:
db 75[/ltr]

Portal Kami:
Description: Teleports your character to Monsters.
Code:
[ltr][Enable]
Alloc(Hook,256)
Alloc(GetPortal,256)
Alloc(FakePortal,128)
Alloc(Portal,128)
Alloc(BlockSend,16)
Label(NextPortal)
Label(Return)
Label(Ending)
Label(Next)
Label(Exit)


Alloc(GetMobXY,512)
Label(GetMobXYFalse)
Label(GetMobXYTrue)
Label(NextMob)


GetPortal:
xor eax,eax
xor edi,edi
mov ecx,[01E2B6A0]
mov ecx,[ecx+04]
jmp NextPortal


NextPortal:
cmp [ecx-04],eax
jbe Exit
mov esi,[ecx+eax*8+04]
cmp [esi+1C],#999999999
je Next
inc edi
cmp edi,00
jb Next
mov eax,esi
ret


Next:
inc eax
jmp NextPortal


Exit:
xor eax,eax
ret


GetMobXY:
mov esi,[01E2B1E4]
test esi,esi
je GetMobXYFalse
mov edx,[esi+10]
test edx,edx
je GetMobXYFalse
mov esi,[esi+28]
test esi,esi
je GetMobXYFalse
mov edx,[esi+04]
test edx,edx
je GetMobXYFalse
mov edx,[edx+01CC]
test edx,edx
je GetMobXYFalse
mov edx,[edx+24]
test edx,edx
je GetMobXYFalse
mov ebx,[edx+60]
or ebx,[edx+64]
test ebx,ebx
jne GetMobXYTrue
mov esi,[esi-0C]
test esi,esi
je GetMobXYFalse
jmp NextMob


NextMob:
mov edx,[esi+14]
test edx,edx
je GetMobXYFalse
mov edx,[edx+01CC]
test edx,edx
je GetMobXYFalse
mov edx,[edx+24]
test edx,edx
je GetMobXYFalse
mov ebx,[edx+60]
or ebx,[edx+64]
test ebx,ebx
jne GetMobXYTrue
mov esi,[esi+04]
test esi,esi
je GetMobXYFalse
jmp NextMob


GetMobXYFalse:
xor eax,eax
ret


GetMobXYTrue:
lea eax,[edx+58]
ret


Hook:
sub esp,0C
push ebx
push esi
pushad
call GetMobXY
test eax,eax
je Ending
mov ebx,[eax]
add ebx,#-100
mov [Portal+0C],ebx
mov ebx,[eax+04]
mov [Portal+10],ebx
call GetPortal
test eax,eax
je Ending
mov edi,eax
mov eax,[edi+24]
mov ebx,[edi+04]
push 00
push 00
push eax
push ebx
push 00
push 00
mov ecx,[01E26B14]
call 014DAD70
jmp Ending


Ending:
popad
jmp Return


FakePortal:
lea edi,[Portal]
jmp 014DB1E9


0163C8C0:
jmp Hook
Return:


014DB1D3:
jmp FakePortal
nop


BlockSend:
ret 0004


014DB313:
call BlockSend


014DB01C:
db 90 90 90 90 90 90


014DADB5:
db 74


[Disable]
DeAlloc(Hook)
DeAlloc(GetPortal)
DeAlloc(FakePortal)
DeAlloc(Portal)
DeAlloc(BlockSend)


0163C8C0:
sub esp,0C
push ebx
push esi


014DB1D3:
mov ecx,[01E2B6A0]


014DB313:
call 00614340


014DB01C:
jg 01473875


014DADB5:
db 75[/ltr]

View user profile http://excellzone.mrforum.net

View previous topic View next topic Back to top Message [Page 1 of 1]


Permissions in this forum:
You cannot reply to topics in this forum