| Registered User
Last Online: 09-01-2008 03:21 AM
Join Date: Oct 2006
Age: 19
Posts: 67
Thanks: 38
Thanked 23 Times in 9 Posts
iTrader: 0 / 0%
Points: 1,359.44 Bank: 0.00 Total Points: 1,359.44 | [release] Ranged Dem+tut [ENABLE]
registersymbol(dvtype)
alloc(dv,100)
alloc(uvx,100)
alloc(uvy,100)
alloc(dvtype,4)
label(normalx)
label(normaly)
label(endx)
label(endy)
label(backdv)
label(backuvy)
label(backuvx)
label(dvzero)
label(dvone)
label(uvzero)
label(uvone)
// setting monsters to character coordinates
dv:
mov eax, [00773E7C]
push eax
mov eax, [eax+390]
mov [ebx+398], eax
add [ebx+398], 100 //change with "sub [ebx+398], 100" if
//you wish to face left (That means you're currently attacking fa
//cing to the right [not the hand with the watch!])
cmp [dvtype], 0
je dvzero
cmp [dvtype], 1
je dvone
sub eax, 100
jmp dvzero
dvone:
add eax, 100
dvzero:
mov [ebx+390], eax
pop eax
mov eax, [eax+394]
mov [ebx+394], eax
mov [ebx+39C], eax
jmp backdv
// filtering monsters coordinates
uvx:
push ecx
mov ecx, [00773E7C]
add ecx,390
cmp ebx, ecx
je normalx
mov ecx, [ecx]
cmp [dvtype], 0
je uvzero
cmp [dvtype], 1
je uvone
sub ecx, 100
jmp uvzero
uvone:
add ecx, 100
uvzero:
cmp [ebx],ecx
je endx
normalx:
mov [ebx],eax
endx:
pop ecx
mov edi, [ebp+10]
jmp backuvx
// filtering monsters coordinates
uvy:
push ecx
mov ecx, [00773E7C]
add ecx,394
cmp edi, ecx
je normaly
mov ecx, [ecx]
cmp [edi],ecx
je endy
normaly:
mov [edi],eax
endy:
pop ecx
mov ebx, [ebp+14]
jmp backuvy
00517A49:
jmp dv
nop
backdv:
00669177:
jmp uvx
backuvx:
006691DC:
jmp uvy
backuvy:
[DISABLE]
00517A49:
mov [ebx+39c], eax
00669177:
mov [ebx],eax
mov edi, [ebp+10]
006691DC:
mov [edi],eax
mov ebx, [ebp+14]
dealloc(dv)
dealloc(uvx)
dealloc(uvy)
dealloc(dvtype)
unregistersymbol(dvtype)
add to CT
tick it
add adress manually. name it dvtype
PM me if it worked TY NOTE: REQUIRES CRC BYPASS
ILL PUT MY CT HERE SO U CAN DO IT FASTER AND NO COMLICATIONS
PRESS THANKS =) TY
|