-
Member
CastSpell [3.3.5]
Im begging for your help, why this function wouldnt work ??
Code:
char __cdecl CastSpell(int spellID, int itemAddr, unsigned long long guid, char isTrade)
{
return ((char(__cdecl*)(int spellID, int itemAddr, unsigned long long guid, char isTrade))0x0080DA40)(spellID, itemAddr, guid, isTrade);
}
simply nothing happens when i call it, no crash, no anything (i inject and read memory using pointers)
Code:
CastSpell(48113, 0, 0, 0); // prayer of mending
the function address should be correct.. its WoW 3.3.5a build 12340
could it be possible that the server blocks it somehow? Im not sure how to test it (WoWCircle)
-
Member
Still no success
If no one is willing to share at least tell me please if the problem is on my side or not
Last edited by maexane; 11-15-2019 at 12:22 PM.
-
Member
In fact, everything is simple, you do not call this function there
You must call this function from the main thread
PS[Eng]: You should be careful, because Warden on WoWCircle bans for injecting libraries
PS[Rus]: Стоит быть осторожным, т.к. Warden на цокле банит за инжект библиотек
-
Post Thanks / Like - 1 Thanks
maexane (1 members gave Thanks to NightlyBlooD for this useful post)
-
Member
Originally Posted by
NightlyBlooD
In fact, everything is simple, you do not call this function there
You must call this function from the main thread
PS[Eng]: You should be careful, because Warden on WoWCircle bans for injecting libraries
PS[Rus]: Стоит быть осторожным, т.к. Warden на цокле банит за инжект библиотек
Ye after searching more i realized that...... Now its working ... Weird because it wasnt mentioned anywhere where i looked initially, or maybe i overlooked
Last edited by maexane; 11-21-2019 at 04:25 AM.