![]() |
|
Portal |
Downloads |
Arcade |
Register |
FAQ |
|
|
|
#16 |
|
Master Neru
Bronze Hero
Join Date: 21st Apr 2007
Location: The Netherlands
Posts: 1,411
|
|
|
|
|
|
|
#17 |
|
Dark God
|
i updated it to v55, after that i didnt
__________________
Working on NazBotPro - 75% - http://nl.tinypic.com/view.php?pic=ogy1u&s=6 everything works it just needs a bypass, CC, CS not, further all hacks maybe add one later |
|
|
|
|
|
#18 |
|
Master Neru
Bronze Hero
Join Date: 21st Apr 2007
Location: The Netherlands
Posts: 1,411
|
My script failed at changing map. :O. I entered portal screen turned black(As usual with map switching)Then i didnt came out of the black screen and crashed.
Code:
[ENABLE]
/*
Updated by MagicSteely the Pointer is char and
offset is map ID.
Aob for normal address = 83 7E 18 00 89 45 E4 74 10 8B
*/
alloc(Ngr, 384)
label(rtnNgr)
label(matchAny)
label(ptlDone)
label(goHome)
label(mapFind)
label(mapNxt)
label(dirnOk)
label(mapFindDone)
label(cPtlNxt)
label(cPtlNFnd)
label(cPtlDone)
label(fndExtPtl)
label(prevMapId)
label(rushDir)
alloc(paths,2048)
Ngr: //6A7CF6
mov [ebp-1c], eax
pushad
mov esi, 99F4F8 //a1 ? ? ? ? 3b c7 74 08 8d 48 08 8b 01 53 ff 10
lea edi, [esi+4]
mov esi, [esi]
mov esi, [esi+65C] //esi=curr Map
mov edi, [edi]
mov edi, [edi+4] //edi=portal base
call mapFind //find map in path
test eax,eax
jz matchAny //if curr. map not in path, do matchAny
push eax //find portal to nxtMap
mov edx, [edi-4]
call cPtlNxt
test eax,eax //found portal to NxtMap?
jnz ptlDone
matchAny:
push eax //find ANY external portal
mov edx, [edi-4]
call cPtlNxt
ptlDone:
test eax,eax //found any useful portals?
jz goHome
push [eax+c] //Portal X
pop dword ptr[ebp-20] //Spawn X
push [eax+10] //Portal Y
pop dword ptr[ebp-1C] //Spawn Y
goHome:
mov [prevMapId], esi
popad
cmp dword ptr [esi+10], 0
jmp 007C1522 //83 7E 10 00 89 45 ? 74 ?? 8B ? ?
cPtlNxt:
dec edx
test edx,edx //checked all portals?
js cPtlNFnd
mov eax, [edi+8*edx+4] //portal
mov ecx, [eax+14] //dest. map
cmp ecx,esi //skip internal portals
je cPtlNxt
cmp ecx,[prevMapId] //skip ptl to prevMap
je cPtlNxt
cmp [eax+8],7 //accept type7 (fm)
je fndExtPtl
cmp ecx,C944060 //skip portal 99999999
je cPtlNxt
fndExtPtl:
cmp [esp+4],0 //matchAny mode?
jz cPtlDone
cmp [esp+4],ecx //found map?
jz cPtlDone
jmp cPtlNxt
cPtlNFnd:
xor eax,eax
cPtlDone:
ret 4
mapFind:
xor edx,edx
mapNxt:
inc edx
mov eax, [paths+edx*4]
test eax,eax //end of paths?
jz mapFindDone
cmp eax, esi //found map in path?
jnz mapNxt
//update rushDir
mov eax, [rushDir]
lea eax, [paths+eax*4]
mov eax, [eax+edx*4]
cmp eax, [prevMapId]
jne dirnOk
neg [rushDir]
dirnOk:
add edx, [rushDir]
mov eax, [paths+edx*4]
mapFindDone:
ret
prevMapId:
dd 0
rushDir:
dd 1
paths:
dd 0
dd 623A7C0
//Deleted all maps.
dd 0
007C1522:
jmp Ngr
db 90 90
rtnNgr:
db eb
[DISABLE]
007C1522: //83 7E 18 00 89 45 E4 74 10 8B
db 83 7E 10 00 89 45 E4 74
dealloc(NGR, 384)
dealloc(paths,2048)
Last edited by Neru; 14th November 2009 at 11:31.. |
|
|
|
|
|
#19 | |
|
Saphira
Dark God
Join Date: 15th Oct 2007
Posts: 2,891
|
Quote:
We dont care if you no longer have addiction to ms, or do you think its cool to say you quit something? Im sure i saw this script updated at somewhere on dafo or so. |
|
|
|
|
|
|
#20 |
|
Master Neru
Bronze Hero
Join Date: 21st Apr 2007
Location: The Netherlands
Posts: 1,411
|
|
|
|
|
|
|
#21 |
|
1337
Apprentice Knight
Join Date: 20th Jan 2008
Posts: 81
|
Try updating the pointer aob and the address aob. And check if that works.
@MagicSteely Try using 5D8 and not 65C Last edited by kevintjuh93; 14th November 2009 at 14:13.. Reason: Automerged Doublepost |
|
|
|
|
|
#22 |
|
Black Power Ranger
Evil Emperor
|
Fix the offsets :/
|
|
|
|
|
|
#23 | |
|
Silent Killer
Join Date: 5th Jul 2006
Location: Belgium
Posts: 405
|
Quote:
Code:
mov esi,99F4F8 lea edi,[esi+4] Code:
cmp dword ptr [esi+10], 0 And so on ... I really hope you succeed in updating it, though I got stuck with the Portal Pointer, it's not just 4 bytes below the map ID anymore, and I don't know what values to search for >.> P.s.: Anyone know if PedraSimon is still active somewhere? |
|
|
|
|
|
|
#24 | |
|
Master Neru
Bronze Hero
Join Date: 21st Apr 2007
Location: The Netherlands
Posts: 1,411
|
Quote:
. |
|
|
|
|
|
|
#25 |
|
Angel of Darkness
Join Date: 2nd Jan 2007
Posts: 275
|
Check 0099f4f0
__________________
Call me ice |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|
![]() |
![]() |