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
Note: also this only affects mobs not like the last one your character walked stangely like it was about to walk off a ledge.

Update Note:Updated for new small patch


Char Pvac:
Code:
[enable]
alloc(PrevNext,200)
alloc(CharX,4)
label(SaveCharX)
label(Prev)
label(Next)
label(EndPVac)

0099C5D3:
jmp PrevNext
db 90
PrevNext:
mov ecx,[ebx+000001a0]
cmp dword ptr [CharX],00
je SaveCharX
push eax
push edx
mov edx,[CharX]
mov eax,[ecx+24]
cmp eax,edx
jg Next
jnge Prev

EndPVac:
pop edx
pop eax
jmp 0099C5D9

SaveCharX:
push edx
mov edx,[00c68754]
mov edx,[edx+00004680]
mov [CharX],edx
pop edx
jmp 0099C5D9

Next:
mov [ecx+68],00
jmp EndPVac

Prev:
mov [ecx+64],00
jmp EndPVac

[disable]
0099C5D3:
db 8B 8B A0 01 00 00
dealloc(PrevNext)
dealloc(CharX)
Left Pvac(Next)
Code:
[ENABLE]
alloc(Pvac,200)

0099C5D3:
jmp Pvac
nop

Pvac:
mov ecx,[ebx+000001a0]
mov [ecx+68],00
jmp 0099C5D9

[DISABLE]
dealloc(Pvac)
0099C5D3:
mov ecx,[ebx+000001a0]
//Alt: db 8B 8B A0 01 00 00
Right Pvac (Prev)

Code:
[ENABLE]
alloc(Pvac,200)

0099C5D3:
jmp Pvac
nop

Pvac:
mov ecx,[ebx+000001a0]
mov [ecx+64],00
jmp 0099C5D9

[DISABLE]
dealloc(Pvac)

0099C5D3:
mov ecx,[ebx+000001a0]
//Alt: db 8B 8B A0 01 00 00
Credits:Original Pvac Creator(Cam)
Me for locating new Pvac Function and updating registers and addys (obviously) on scripts.


Enjoy[You must be registered and logged in to see this image.]

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