{Request} Non Aggro / Vac Hack

10/03/2010 04:17 animejo#1
I've looked through the forums going through countless posts but I cannot find a definite answer. I am using the cheat engine vac hack released by Draegon71. I want to be able to edit the values of the non aggro and vac hack so:

a. The monsters are closer to me.
b. Ranged monsters do not attack.

I have tried rewriting and adding things to the script but it wont work.

Here are the scripts I am using:

Non Aggro

Code:
[ENABLE]
alloc(newmem,1024)
label(returnhere)
label(originalcode)
label(exit)

00528900: // <-------thus address for ext server
jmp newmem
nop
nop
returnhere:

newmem:

originalcode:
movzx eax,word ptr [esi+00000154]

//mov eax,01
//mov word ptr [esi+00000156],ax
mov [esi+00000070],40400000 // speed mob
mov [esi+00000094], 1 // AI
//40c00000 = 6 lv 1
//41400000 = 12 lv 2
//41c00000 = 24 lv 3
mov byte ptr [esi+00000174],00 // malee attack range = 0
mov byte ptr [esi+00000244],00 // magic attack range = 0
mov [esi+00000240],0000000 //other attack range = 0
mov [esi+0000023c],0000000 //other attack range = 0
mov [esi+00000238],0000000 //other attack range = 0
mov eax,03
mov word ptr [esi+00000154],ax

exit:
jmp returnhere


[DISABLE]
dealloc(newmem)

00528900:
movzx eax,word ptr [esi+00000154]

Vac

Code:
[ENABLE]
alloc(MonsterProperties,2048)
label(ReturnMonsterProperties)
label(PropertyBace)
registersymbol(PropertyBace)

00450CAE: //8B 80 98 00 00 00 89 81 9C 00
jmp MonsterProperties
nop
ReturnMonsterProperties:

MonsterProperties:
push eax
mov eax,[eax+00000098] //Original Code
mov [ecx+0000009C],eax //Original Code
pop eax
mov [PropertyBace],ecx

//mov [ecx+00],00000000 //DwInfoIndex
mov [ecx+04],000003E8 //DwExploreRange
mov [ecx+08],000003E8 //DwSight
mov [ecx+0C],000003E8 //DwPersuitRange
//mov [ecx+10],00000000 //DwAvoidRange
mov [ecx+14],00000001 //DwExploreStandDelay
//mov [ecx+18],00000003 //DwExploreMoveDelay
//mov [ecx+1C],00000001 //DwStandDelay
mov [ecx+20],00000001 //DwMoveDelay
//mov [ecx+24],00000000 //DwFollowMyMasterRange
//mov [ecx+28],00000000 //DwStopMasterNear
//mov [ecx+2C],00000000 //DwWarpMyMasterRange
//mov [ecx+30],00000000 //DwCallTeamPossibelHP
//mov [ecx+34],00000000 //DwCallTeamCount
//mov [ecx+38],00000000 //DwBlockNFirstAttack
//mov [ecx+3C],00000000 //dwCallTeamCell
mov [ecx+40],FFFFFFFF //dwFollowTarget
//mov [ecx+44],00000000 //dwSpecialAttackStartHP
//mov [ecx+48],00000000 //dwSpecialMeleeAttackRate
//mov [ecx+4C],00000000 //dwSpecialRangeAttackRate
//mov [ecx+50],00000000 //DwPowerAttacjStartHP
//mov [ecx+54],00000000 //dwPowerMeleeAttackProbable
//mov [ecx+58],00000000 //dwPowerRangeAttackProbable
//mov [ecx+5C],00000000 //DwUnderAttackAggro
mov [ecx+60],00000000 //DwMeleeAttackRangeInAggro
mov [ecx+64],00000000 //DwRangeAttackRangeInAggro
mov [ecx+68],000003E8 //DwSightInAggro
//mov [ecx+6C],00000000 //DwDefeatAggro
//mov [ecx+70],00000000 //DwBlockedAggro
//mov [ecx+74],00000000 //DwSlideAggro
//mov [ecx+78],00000000 //DwHealAggro
//mov [ecx+7C],00000000 //DwMasterUnderAttackAggro
//mov [ecx+80],00000000 //DwMasterDefeatAggro
//mov [ecx+84],00000000 //DwMasterBlockingAggro
//mov [ecx+88],00000000 //DwMasterSlideAggro
//mov [ecx+8C],00000000 //DwCOmplusionUnderAttackAggro
//mov [ecx+90],00000064 //dwMaxSummonsMonsterCount
//mov [ecx+94],00000000 //dwReSummonsMonsterTick
//mov [ecx+98],00000000 //dwMaxSummonsMonsterRange
//mov [ecx+9C],00000000 //dwSummonsStartPcCount
//mov [eax+A0],00000000 //PatternType

mov eax,[ecx+0000009C] //Original Code
jmp ReturnMonsterProperties
PropertyBace:
db 00 00 00 00

[DISABLE]
dealloc(MonsterProperties)
unregistersymbol(PropertyBace)
00459A9E:
mov eax,[eax+00000098]
Any help would be greatly appreciated :]