Reklam
evet hocam 2383 version2383 Exe mi kullanıyorsunuz hocam ?
Hocam selam.Acs'deki gerekli bölüme taşların adreslerini tanımlamanız lazım hocam
if (Engine->HasItem(479061000) && !StoneOfMage) // Infinity Stone Of Mage
{
for (auto& s : stoneSpells)
{
if (s->dwNeedItem == 379061000)
{
s->dwNeedItem = 479061000;
auto itcrc = Engine->skillcrc.find(s->dwID + 2031);
if (itcrc != Engine->skillcrc.end())
{
SpellCRC crc(crc32((uint8*)(DWORD)s, 0xA8, -1), crc32((uint8*)((DWORD)s + 0xB4), 0x2C, -1));
itcrc->second = crc;
}
*(DWORD*)(0x0067FEBE + 1) = 479061000;
*(DWORD*)(0x00682E97 + 1) = 479061000;
*(DWORD*)(0x00953027 + 1) = 479061000;
*(DWORD*)(0x0095306A + 1) = 479061000;
*(DWORD*)(0x009531A2 + 1) = 479061000;
*(DWORD*)(0x009551E3 + 1) = 479061000;
*(DWORD*)(0x00955221 + 1) = 479061000;
*(DWORD*)(0x00955284 + 1) = 479061000;
}
}
StoneOfMage = true;
}
else if (!StoneOfMage)
{
for (auto& s : stoneSpells)
{
if (s->dwNeedItem == 479061000)
{
s->dwNeedItem = 379061000;
auto itcrc = Engine->skillcrc.find(s->dwID + 2031);
if (itcrc != Engine->skillcrc.end())
{
SpellCRC crc(crc32((uint8*)(DWORD)s, 0xA8, -1), crc32((uint8*)((DWORD)s + 0xB4), 0x2C, -1));
itcrc->second = crc;
}
*(DWORD*)(0x0067FEBE + 1) = 379061000;
*(DWORD*)(0x00682E97 + 1) = 379061000;
*(DWORD*)(0x00953027 + 1) = 379061000;
*(DWORD*)(0x0095306A + 1) = 379061000;
*(DWORD*)(0x009531A2 + 1) = 379061000;
*(DWORD*)(0x009551E3 + 1) = 379061000;
*(DWORD*)(0x00955221 + 1) = 379061000;
*(DWORD*)(0x00955284 + 1) = 379061000;
}
}
}