Look At That Script

02/25/2010 19:56 imp0o0o0o#1
Some one gave me that script and say thats fast mass for CE
Code:
[ENABLE]
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)

0045C16D:
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,999 // number spawn
mov [eax+8c],edx

mov edx,00 // 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)
0045C16D:
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
What do u like guys ?
02/25/2010 20:13 ejamious#2
Have you tested it out?
02/25/2010 20:17 bottomy#3
That's not mass spawn lol, just a normal vac script though coded HORRIBLY :p. Reason I say that is cause when you disable it, it is going to allocate new memory but the newly added code doesn't even get run. Plus code that it does assemble in the disable section looks like the initialization of the main function but maybe modified a few bits. So it looks like they were changing the script to something or changing that script into vac.

So not really coded horribly at all lol, they just didn't finish what they were doing or forgot to remove that.
02/26/2010 01:09 playboyx#4
if your looking for fast mass spawn you need to find that animation and change it to 0 like in CVS. this scrip is just a normal scrip that spawn 1 mob per second. hopefully one day people will post the animation in CE scrip =)
02/26/2010 01:49 Syberboy#5
also if i recall correctly
Quote:
mov edx,00 // time delay spawn
mov [eax+90],edx
Does not work anymore, it has to be
Quote:
mov edx,64 // time delay spawn
mov [eax+90],edx