PHP Code:
BYTE DefEffectTable[21] = { 0x0, 0x01, 0x01, 0x01, 0x01, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02, 0x02 };
WriteValue<BYTE>(0x00B72374, MAX_UPGRADE);
WriteValue<BYTE>(0x004C66E5, MAX_UPGRADE);
WriteValue<BYTE>(0x004D8AD4, MAX_UPGRADE);
WriteValue<BYTE>(0x004B7DAE, MAX_UPGRADE);
WriteValue<BYTE>(0x008BEB47, MAX_UPGRADE);
WriteValue<BYTE>(0x004FE7D0, MAX_UPGRADE);
WriteValue<DWORD>(0x004FE7DA, (DWORD)DefEffectTable);
int __stdcall TotalCore(int ItemLevel)
{
return (ItemLevel > 0xE) ? 5 : ItemLevel / 3 + 1;
}
int UpgradeCore::MaxUpgrade()
{
return MAX_UPGRADE;
}
HookJMP (TotalCore, 0x0040AA10);
HookJMP (MaxUpgrade, 0x00432C40);
don't use any dll posted for this. edit your cabalmain using ollydbg or make your own dll.