PDA

View Full Version : lvl 42 spearman


Super-Freaky
18th September 2006, 19:50
where train with WALL vac..
don't have dupex X=

at0mz
18th September 2006, 21:27
Dupex Adress: 6005F2

Scripts:

Monsters Stay

alloc(FindCharacterAddress, 1024)
alloc(ListOffset, 4)
alloc(ESIList, 1024)
alloc(DupeXVac, 1024)
alloc(EDIValue, 4)
label(EndSearch)
label(CompareOffset)
label(StoreESI)
label(DoNormal)
label(LeaveMe)

FindCharacterAddress:
mov [esi+114],edi
push eax
push ebx
push ecx
push edx
mov eax,0
mov ebx,ListOffset
mov ecx,ESIList
mov edx,EDIValue

CompareOffset:
cmp eax,[ebx]
je StoreESI
cmp esi,[ecx+eax*4]
je EndSearch
inc eax
jmp CompareOffset

StoreESI:
mov [ecx+eax*4],esi
inc eax
mov [ebx],eax
mov [edx],edi

EndSearch:
pop edx
jmp LeaveMe

DupeXVac:
push eax
push ebx
push ecx
mov ebx,[ListOffset]
dec ebx
mov ecx,ESIList
mov eax,[ecx+ebx*4]
cmp esi,eax
je DoNormal
mov edi,[EDIValue]

DoNormal:
mov [esi+114],edi

LeaveMe:
pop eax
pop ebx
pop ecx
jmp 6005F8


Monsters Follow you

alloc(FindCharacterAddress, 1024)
alloc(ListOffset, 4)
alloc(ESIList, 1024)
alloc(DupeXVac, 1024)
alloc(EDIValue, 4)
label(EndSearch)
label(CompareOffset)
label(StoreESI)
label(DoNormal)
label(LeaveMe)

FindCharacterAddress:
mov [esi+114],edi
push eax
push ebx
push ecx
push edx
mov eax,0
mov ebx,ListOffset
mov ecx,ESIList
mov edx,EDIValue

CompareOffset:
cmp eax,[ebx]
je StoreESI
cmp esi,[ecx+eax*4]
je EndSearch
inc eax
jmp CompareOffset

StoreESI:
mov [ecx+eax*4],esi
inc eax
mov [ebx],eax
mov [edx],edi

EndSearch:
pop edx
jmp LeaveMe

DupeXVac:
push eax
push ebx
push ecx
mov ebx,[ListOffset]
dec ebx
mov ecx,ESIList
mov eax,[ecx+ebx*4]
cmp esi,eax
je DoNormal
mov edi,[eax+114]

DoNormal:
mov [esi+114],edi

LeaveMe:
pop eax
pop ebx
pop ecx
jmp 6005F8

But if u still want to wallvac, try to find maps right for ur level with a plain surface... Ex.
Burnt Land I
Monkey Forest
Garden of Red/Blue,Yellow

ThaPal
19th September 2006, 00:28
Dupex Adress: 6005F2

Scripts:

Monsters Stay

alloc(FindCharacterAddress, 1024)
alloc(ListOffset, 4)
alloc(ESIList, 1024)
alloc(DupeXVac, 1024)
alloc(EDIValue, 4)
label(EndSearch)
label(CompareOffset)
label(StoreESI)
label(DoNormal)
label(LeaveMe)

FindCharacterAddress:
mov [esi+114],edi
push eax
push ebx
push ecx
push edx
mov eax,0
mov ebx,ListOffset
mov ecx,ESIList
mov edx,EDIValue

CompareOffset:
cmp eax,[ebx]
je StoreESI
cmp esi,[ecx+eax*4]
je EndSearch
inc eax
jmp CompareOffset

StoreESI:
mov [ecx+eax*4],esi
inc eax
mov [ebx],eax
mov [edx],edi

EndSearch:
pop edx
jmp LeaveMe

DupeXVac:
push eax
push ebx
push ecx
mov ebx,[ListOffset]
dec ebx
mov ecx,ESIList
mov eax,[ecx+ebx*4]
cmp esi,eax
je DoNormal
mov edi,[EDIValue]

DoNormal:
mov [esi+114],edi

LeaveMe:
pop eax
pop ebx
pop ecx
jmp 6005F8


Monsters Follow you

alloc(FindCharacterAddress, 1024)
alloc(ListOffset, 4)
alloc(ESIList, 1024)
alloc(DupeXVac, 1024)
alloc(EDIValue, 4)
label(EndSearch)
label(CompareOffset)
label(StoreESI)
label(DoNormal)
label(LeaveMe)

FindCharacterAddress:
mov [esi+114],edi
push eax
push ebx
push ecx
push edx
mov eax,0
mov ebx,ListOffset
mov ecx,ESIList
mov edx,EDIValue

CompareOffset:
cmp eax,[ebx]
je StoreESI
cmp esi,[ecx+eax*4]
je EndSearch
inc eax
jmp CompareOffset

StoreESI:
mov [ecx+eax*4],esi
inc eax
mov [ebx],eax
mov [edx],edi

EndSearch:
pop edx
jmp LeaveMe

DupeXVac:
push eax
push ebx
push ecx
mov ebx,[ListOffset]
dec ebx
mov ecx,ESIList
mov eax,[ecx+ebx*4]
cmp esi,eax
je DoNormal
mov edi,[eax+114]

DoNormal:
mov [esi+114],edi

LeaveMe:
pop eax
pop ebx
pop ecx
jmp 6005F8

But if u still want to wallvac, try to find maps right for ur level with a plain surface... Ex.
Burnt Land I
Monkey Forest
Garden of Red/Blue,Yellow
Thanks alot, i needed the monsters stay in 1 place one.. how come that they dont got it in the .12 adresses? And can you highlight the difference between the 2 codes? They seem the same to me :paranoid:

BlueF0X
19th September 2006, 03:45
thanks a lot for the code it was helpful for me to :)

Yo0Sup
19th September 2006, 04:02
where train with WALL vac..
don't have dupex X=


its up to your decision. posting these kinds of topics is not allowed in MPC.

reported.:dead:

wapak2
19th September 2006, 04:07
kthx.

Closed.