PDA

View Full Version : |Source| Custom Golden Monster ( original glow effect )



Goten
29/05/2020, 10:53 AM
Esta é uma maneira simples de fazer monsterglow em 1.04D (alguém tem tempo livre, por favor me ajude a verificar 1.04E, ajudarei mais tarde)

[Only registered and activated users can see links]


void __declspec(naked) GoldenMonster()
{
DWORD dwItem;
static DWORD MonsterID;
static DWORD Address1 = 0x005704EE;
static DWORD Address2 = 0x0056FCF7;

_asm
{
Mov edx, [EBP + 0x8]
Movsx eax, word ptr[edx + 0x84]
Mov MonsterID, eax
}

if (MonsterID == 38
|| MonsterID == 43
|| MonsterID == 44
|| MonsterID == 52
|| MonsterID == 59
|| MonsterID == 67
|| MonsterID >= 78 && MonsterID <= 83
|| MonsterID >= 493 && MonsterID <= 502
|| MonsterID == 620
|| MonsterID == 644
|| MonsterID == 275
|| MonsterID == 459
|| MonsterID == 561) { // add more your monster you want here
_asm
{
JMP Address2
}
}
else
{
_asm
{
JMP Address1
}
}

}

void __declspec(naked) GoldenMonster2()
{
static DWORD MonsterID;
static DWORD Address1 = 0x005703A1;
static DWORD Address2 = 0x0056FD73;

_asm
{
Mov edx, [EBP + 0x8]
Movsx eax, word ptr[edx + 0x84]
Mov MonsterID, eax
}


if (MonsterID == 43 || MonsterID == 44
|| MonsterID >= 78 && MonsterID<=83
|| MonsterID >= 493 && MonsterID <= 502
|| MonsterID == 620
|| MonsterID == 644
|| MonsterID == 275
|| MonsterID == 459
|| MonsterID == 561) { // add more your monster you want here
_asm
{
JMP Address2
}
}
else
{
_asm
{
JMP Address1
}
}

}


SetRange((PVOID)0x0056FC5E, 10, ASM::NOP);
SetOp((PVOID)0x0056FC5E, (LPVOID)GoldenMonster, ASM::JMP); // enable golden monster 7
SetRange((PVOID)0x0056FD1A, 10, ASM::NOP);
SetOp((PVOID)0x0056FD1A, (LPVOID)GoldenMonster2, ASM::JMP); // more bright 9

créditos: trkgncmg

gallighanmaker
29/05/2020, 01:39 PM
Que massa, daria pra criar várias opções com esse glow nos mobs. Mto bom!