spawn

01/01/2010 12:38 steaua22#1
hey found this on forum

mov edx,999 // number boss spawn
mov dword ptr [eax+8c],edx

mov edx,00 // time delay between spawn
mov dword ptr [eax+90],edx

for regular spawn with CE..but I dont know how to add it on the script cans omeone give me the script with this added?..

I tryed to add at end but it says not all codes injectabile plss replay
01/01/2010 12:44 Vaidas B#2
Code:
[ENABLE]
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)

0045C66D:
jmp newmem
nop
returnhere:

newmem:
//DwExploreRange eax
mov [eax+08],00000020//DwSight eax+08
mov [eax+04],00000020//DwPersuitRange eax+04
//DwAvoidRange eax+0C
//mov [eax+10],00000064//DwExploreStandDelay eax+10
//mov [eax+14],00000064//DwExploreMoveDelay eax+14
 mov [eax+18],000001F4//DwStandDelay eax+18
mov [eax+1C],000001F4//DwMoveDelay eax+1C
//DwFollowMyMasterRange eax+20
//DwStopMasterNear eax+24
//DwWarpMyMasterRange eax+28
mov [eax+2C],00000064//DwCallTeamPossibelHP eax+2C
mov [eax+30],00000020//DwCallTeamCount eax+30
mov [eax+34],00000000//DwBlockNFirstAttack eax+34//mov [eax+38],00000020//dwCallTeamCell byte[eax+38]
//dwFollowTarget eax+3C
//dwSpecialAttackStartHP
//dwSpecialMeleeAttackRate
//dwSpecialRangeAttackRate
//DwPowerAttacjStartHP
//dwPowerMeleeAttackProbable
//dwPowerRangeAttackProbable
//mov [eax+40],00000000//DwUnderAttackAggro eax+40
//mov [eax+44],00000000//DwMeleeAttackRangeInAggro eax+44
//mov [eax+48],00000000//DwRangeAttackRangeInAggro eax+48
//DwSightInAggro eax+4C
//DwDefeatAggro eax+50
mov [eax+54],00000000//DwBlockedAggro eax+54
mov [eax+58],00000000//DwSlideAggro eax+58
mov [eax+5C],00000000//DwHealAggro eax+5C
//DwMasterUnderAttackAggro eax+50
//DwMasterDefeatAggro eax+54
//DwMasterBlockingAggro eax+58
//DwMasterSlideAggro eax+5C
//DwCOmplusionUnderAttackAggro eax+60
//dwMaxSummonsMonsterCount eax+64
//dwReSummonsMonsterTick eax+68
//dwMaxSummonsMonsterRange eax+6C
//dwSummonsStartPcCountPatternType eax+70

originalcode:
mov edx,[eax+1c]
mov [ecx+20],edx


mov edx,10 // number spawn
mov [eax+8c],edx

mov edx,64 // time delay spawn
mov [eax+90],edx

mov edx,999 // # follow monster
mov [eax+3C],edx

//mov [ecx+20],edx // # follow my master
exit:
jmp returnhere


[DISABLE]
dealloc(newmem)
0045C66D:
mov edx,[eax+1c]
mov [ecx+20],edx
alloc(newmem,256)
label(orig_00883AC2)

newmem:
push 60
push 00a9f448
call 00889d18
mov edi,00000094
mov eax,edi
call 00886430
mov [ebp-18],esp
mov esi,esp
mov [esi],edi
push esi
call dword ptr [00a2519c]
mov ecx,[esi+10]
mov [00c154a8],ecx
mov eax,[esi+04]
mov [00c154b4],eax
mov edx,[esi+08]
mov [00c154b8],edx
mov esi,[esi+0c]
and esi,00007fff
mov [00c154ac],esi
cmp ecx,02
or esi,00008000
mov [00c154ac],esi

orig_00883AC2:
shl eax,08
add eax,edx
mov [00c154b0],eax
xor esi,esi
push esi
mov edi,[00a251b0]
call edi
cmp word ptr [eax],5a4d
jne 00883afd
mov ecx,[eax+3c]
add ecx,eax
[color="red"]mov edx,999 // number boss spawn
mov dword ptr [eax+8c],edx

mov edx,01 // time delay between spawn
mov dword ptr [eax+90],edx[/color]
And i told you, ask in one thread. :facepalm:
01/01/2010 12:57 skabed#3
Didn't know this existed. Probably the script for mass spawn is premium only, like all good things, but oh well this is fine.
01/01/2010 13:53 imp0o0o0o#4
@waidas123 can u post the Array For that one plz
01/01/2010 13:53 Vaidas B#5
Its the normal vac array, but ok
Code:
8B 50 1C 89 51 20
01/01/2010 13:59 imp0o0o0o#6
Code:
mov edx,999 // number boss spawn
mov dword ptr [eax+8c],edx

mov edx,01 // time delay between spawn
mov dword ptr [eax+90],edx
thats fast mass and mex number of spawn or we can make it
Code:
mov edx,9999 // number boss spawn
mov dword ptr [eax+8c],edx

mov edx,001 // time delay between spawn
mov dword ptr [eax+90],edx
or somthing like this ?
01/01/2010 13:59 skabed#7
So, we can actually substitute our normal vac for this?
01/01/2010 14:11 Vaidas B#8
Look, its a Vac+Spawn hack, but its ALOT slower then editing. And yes u can substitute.
01/01/2010 16:37 imp0o0o0o#9
Quote:
Originally Posted by waidas123 View Post
Code:
[ENABLE]
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)

0045C66D:
jmp newmem
nop
returnhere:

newmem:
//DwExploreRange eax
mov [eax+08],00000020//DwSight eax+08
mov [eax+04],00000020//DwPersuitRange eax+04
//DwAvoidRange eax+0C
//mov [eax+10],00000064//DwExploreStandDelay eax+10
//mov [eax+14],00000064//DwExploreMoveDelay eax+14
 mov [eax+18],000001F4//DwStandDelay eax+18
mov [eax+1C],000001F4//DwMoveDelay eax+1C
//DwFollowMyMasterRange eax+20
//DwStopMasterNear eax+24
//DwWarpMyMasterRange eax+28
mov [eax+2C],00000064//DwCallTeamPossibelHP eax+2C
mov [eax+30],00000020//DwCallTeamCount eax+30
mov [eax+34],00000000//DwBlockNFirstAttack eax+34//mov [eax+38],00000020//dwCallTeamCell byte[eax+38]
//dwFollowTarget eax+3C
//dwSpecialAttackStartHP
//dwSpecialMeleeAttackRate
//dwSpecialRangeAttackRate
//DwPowerAttacjStartHP
//dwPowerMeleeAttackProbable
//dwPowerRangeAttackProbable
//mov [eax+40],00000000//DwUnderAttackAggro eax+40
//mov [eax+44],00000000//DwMeleeAttackRangeInAggro eax+44
//mov [eax+48],00000000//DwRangeAttackRangeInAggro eax+48
//DwSightInAggro eax+4C
//DwDefeatAggro eax+50
mov [eax+54],00000000//DwBlockedAggro eax+54
mov [eax+58],00000000//DwSlideAggro eax+58
mov [eax+5C],00000000//DwHealAggro eax+5C
//DwMasterUnderAttackAggro eax+50
//DwMasterDefeatAggro eax+54
//DwMasterBlockingAggro eax+58
//DwMasterSlideAggro eax+5C
//DwCOmplusionUnderAttackAggro eax+60
//dwMaxSummonsMonsterCount eax+64
//dwReSummonsMonsterTick eax+68
//dwMaxSummonsMonsterRange eax+6C
//dwSummonsStartPcCountPatternType eax+70

originalcode:
mov edx,[eax+1c]
mov [ecx+20],edx


[COLOR="Red"]mov edx,10 // number spawn
mov [eax+8c],edx

mov edx,64 // time delay spawn
mov [eax+90],edx[/COLOR]

mov edx,999 // # follow monster
mov [eax+3C],edx

//mov [ecx+20],edx // # follow my master
exit:
jmp returnhere


[DISABLE]
dealloc(newmem)
0045C66D:
mov edx,[eax+1c]
mov [ecx+20],edx
alloc(newmem,256)
label(orig_00883AC2)

newmem:
push 60
push 00a9f448
call 00889d18
mov edi,00000094
mov eax,edi
call 00886430
mov [ebp-18],esp
mov esi,esp
mov [esi],edi
push esi
call dword ptr [00a2519c]
mov ecx,[esi+10]
mov [00c154a8],ecx
mov eax,[esi+04]
mov [00c154b4],eax
mov edx,[esi+08]
mov [00c154b8],edx
mov esi,[esi+0c]
and esi,00007fff
mov [00c154ac],esi
cmp ecx,02
or esi,00008000
mov [00c154ac],esi

orig_00883AC2:
shl eax,08
add eax,edx
mov [00c154b0],eax
xor esi,esi
push esi
mov edi,[00a251b0]
call edi
cmp word ptr [eax],5a4d
jne 00883afd
mov ecx,[eax+3c]
add ecx,eax
[color="red"]mov edx,999 // number boss spawn
mov dword ptr [eax+8c],edx

mov edx,01 // time delay between spawn
mov dword ptr [eax+90],edx[/color]
And i told you, ask in one thread. :facepalm:
isnt the mass oready on the old script ?
look to the red
01/01/2010 16:41 Vaidas B#10
Quote:
Originally Posted by imp0o0o0o View Post
isnt the mass oready on the old script ?
look to the red
the script (ur red part)
Code:
mov edx,10 // number spawn
mov [eax+8c],edx

mov edx,64 // time delay spawn
mov [eax+90],edx
And what's added (my red)
Code:
mov edx,999 // number boss spawn
mov dword ptr [eax+8c],edx

mov edx,01 // time delay between spawn
mov dword ptr [eax+90],edx
They'r differet, but im not sure lol
01/01/2010 16:43 imp0o0o0o#11
i think thay are the same i'll try like that and like that and see ;)
or u can make both
Code:
mov edx,999 // number spawn
mov [eax+8c],edx

mov edx,01 // time delay spawn
mov [eax+90],edx
and
Code:
mov edx,999 // number boss spawn
mov dword ptr [eax+8c],edx

mov edx,01 // time delay between spawn
mov dword ptr [eax+90],edx
lol look good :p
01/01/2010 17:33 bottomy#12
Quote:
Originally Posted by imp0o0o0o View Post
Code:
mov edx,999 // number boss spawn
mov dword ptr [eax+8c],edx

mov edx,01 // time delay between spawn
mov dword ptr [eax+90],edx
thats fast mass and mex number of spawn or we can make it
Code:
mov edx,9999 // number boss spawn
mov dword ptr [eax+8c],edx

mov edx,001 // time delay between spawn
mov dword ptr [eax+90],edx
or somthing like this ?

that won't make it any faster, since the value is still 1.



Quote:
Originally Posted by waidas123 View Post
the script (ur red part)
Code:
mov edx,10 // number spawn
mov [eax+8c],edx

mov edx,64 // time delay spawn
mov [eax+90],edx
And what's added (my red)
Code:
mov edx,999 // number boss spawn
mov dword ptr [eax+8c],edx

mov edx,01 // time delay between spawn
mov dword ptr [eax+90],edx
They'r differet, but im not sure lol

Your added code is added in the [DISABLE] section, even though whoever made that script added another allocate in the [DISABLE] section they didn't add any code for it to be run. So it's just wasted memory, and so your added code won't be run.



Quote:
Originally Posted by imp0o0o0o View Post
i think thay are the same i'll try like that and like that and see ;)
or u can make both
Code:
mov edx,999 // number spawn
mov [eax+8c],edx

mov edx,01 // time delay spawn
mov [eax+90],edx
and
Code:
mov edx,999 // number boss spawn
mov dword ptr [eax+8c],edx

mov edx,01 // time delay between spawn
mov dword ptr [eax+90],edx
lol look good :p

Both those snippets do exactly the same thing, all that is changed is the comments and the commands are written out longer.
01/01/2010 21:22 imp0o0o0o#13
@waidas123

Quote:
Originally Posted by waidas123 View Post
Code:
[ENABLE]
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)

0045C66D:
jmp newmem
nop
returnhere:

newmem:
//DwExploreRange eax
mov [eax+08],00000020//DwSight eax+08
mov [eax+04],00000020//DwPersuitRange eax+04
//DwAvoidRange eax+0C
//mov [eax+10],00000064//DwExploreStandDelay eax+10
//mov [eax+14],00000064//DwExploreMoveDelay eax+14
 mov [eax+18],000001F4//DwStandDelay eax+18
mov [eax+1C],000001F4//DwMoveDelay eax+1C
//DwFollowMyMasterRange eax+20
//DwStopMasterNear eax+24
//DwWarpMyMasterRange eax+28
mov [eax+2C],00000064//DwCallTeamPossibelHP eax+2C
mov [eax+30],00000020//DwCallTeamCount eax+30
mov [eax+34],00000000//DwBlockNFirstAttack eax+34//mov [eax+38],00000020//dwCallTeamCell byte[eax+38]
//dwFollowTarget eax+3C
//dwSpecialAttackStartHP
//dwSpecialMeleeAttackRate
//dwSpecialRangeAttackRate
//DwPowerAttacjStartHP
//dwPowerMeleeAttackProbable
//dwPowerRangeAttackProbable
//mov [eax+40],00000000//DwUnderAttackAggro eax+40
//mov [eax+44],00000000//DwMeleeAttackRangeInAggro eax+44
//mov [eax+48],00000000//DwRangeAttackRangeInAggro eax+48
//DwSightInAggro eax+4C
//DwDefeatAggro eax+50
mov [eax+54],00000000//DwBlockedAggro eax+54
mov [eax+58],00000000//DwSlideAggro eax+58
mov [eax+5C],00000000//DwHealAggro eax+5C
//DwMasterUnderAttackAggro eax+50
//DwMasterDefeatAggro eax+54
//DwMasterBlockingAggro eax+58
//DwMasterSlideAggro eax+5C
//DwCOmplusionUnderAttackAggro eax+60
//dwMaxSummonsMonsterCount eax+64
//dwReSummonsMonsterTick eax+68
//dwMaxSummonsMonsterRange eax+6C
//dwSummonsStartPcCountPatternType eax+70

originalcode:
mov edx,[eax+1c]
mov [ecx+20],edx


mov edx,10 // number spawn
mov [eax+8c],edx

mov edx,64 // time delay spawn
mov [eax+90],edx

mov edx,999 // # follow monster
mov [eax+3C],edx

//mov [ecx+20],edx // # follow my master
exit:
jmp returnhere


[DISABLE]
dealloc(newmem)
0045C66D:
mov edx,[eax+1c]
mov [ecx+20],edx
alloc(newmem,256)
label(orig_00883AC2)

newmem:
push 60
push 00a9f448
call 00889d18
mov edi,00000094
mov eax,edi
call 00886430
mov [ebp-18],esp
mov esi,esp
mov [esi],edi
push esi
call dword ptr [00a2519c]
mov ecx,[esi+10]
mov [00c154a8],ecx
mov eax,[esi+04]
mov [00c154b4],eax
mov edx,[esi+08]
mov [00c154b8],edx
mov esi,[esi+0c]
and esi,00007fff
mov [00c154ac],esi
cmp ecx,02
or esi,00008000
mov [00c154ac],esi

orig_00883AC2:
shl eax,08
add eax,edx
mov [00c154b0],eax
xor esi,esi
push esi
mov edi,[00a251b0]
call edi
cmp word ptr [eax],5a4d
jne 00883afd
mov ecx,[eax+3c]
add ecx,eax
[color="red"]mov edx,999 // number boss spawn
mov dword ptr [eax+8c],edx

mov edx,01 // time delay between spawn
mov dword ptr [eax+90],edx[/color]
And i told you, ask in one thread. :facepalm:
gave DC
01/02/2010 17:42 steaua22#14
I`m asking that coz I am making MASS SPAWN wit CSV + CE..and if I dont have normal spawn MY mass spawn its not working..so can u give me THE SCRIPT with the fastest SPAWN plss..coz u said waidas`s script makes DC
01/02/2010 18:02 skabed#15
Try normal vac with mass spawn edit.