i am currently looking for the memory pattern for the current HP of the targeted mob after i pressed TAB inside of the game. I already found the PlayerHP and Coordinates patterns in old sources and got that to work.
Unfortunately i was not able to get the target mob current hp yet because of XTrap. Does anyone by any chance have the pattern somewhere and might post it for me?
You will need to get the index of Current Targetted monster yourself it always changes the address of the current monster if you add to it 0x475C that will be the current health
The current targetted monster addresses are found in the MonsterArray address if you look in memory view you will see a bunch of monster addresses there.. you'll find the first 3 by doing 0xC offset and the rest are seperated by 0x20 offset.
Code:
int GetMonsterIdByIndex(int index)
{
int id = 0;
__try {
int pMonsterArray = *(unsigned int *)MonsterArray;
if (pMonsterArray) {
if(index < 3) {
int firstMob = *(unsigned int*)(pMonsterArray + (index * 4));
if (firstMob) {
id = *(unsigned int *)(firstMob + 0xC);
}
} else {
unsigned int firstMob = *(unsigned int*)(pMonsterArray + (0 * 4));
if (firstMob) {
id = *(unsigned int *)(firstMob + (0x0C) + ((index-3) * 0x20));
}
}
}
}
__except (EXCEPTION_EXECUTE_HANDLER)
{
id = 0;
}
return id;
}
Code:
int GetMonsterMinHP(int byMonsterId)
{
__try {
int newid = FindCharacterInfo(byMonsterId, 0);
if (newid > 0) {
return *(DWORD *)(newid + MonsterMinHPOffset);
}
}
__except (EXCEPTION_EXECUTE_HANDLER)
{
return 0;
}
return 0;
}
int GetMonsterMaxHP(int byMonsterId)
{
__try {
int newid = FindCharacterInfo(byMonsterId, 0);
if (newid > 0) {
return *(DWORD *)(newid + MonsterMaxHPOffset);
}
}
__except (EXCEPTION_EXECUTE_HANDLER)
{
return 0;
}
return 0;
}
int GetMonsterXCoordinate(int byMonsterId)
{
__try {
int newid = FindCharacterInfo(byMonsterId, 0);
if (newid > 0) {
return *(DWORD *)(newid + MonsterXCoordinateOffset);
}
}
__except (EXCEPTION_EXECUTE_HANDLER)
{
return 0;
}
return 0;
}
int GetMonsterYCoordinate(int byMonsterId)
{
__try {
int newid = FindCharacterInfo(byMonsterId, 0);
if (newid > 0) {
return *(DWORD *)(newid + MonsterYCoordinateOffset);
}
}
__except (EXCEPTION_EXECUTE_HANDLER)
{
return 0;
}
return 0;
}
void SetMonsterXYCoordinateMyPlayer(int byMonsterId)
{
__try {
int newid = FindCharacterInfo(byMonsterId, 0);
if (newid > 0) {
*(float *)(newid + ScreenMonsterXCoordinateOffset) = GetPlayerScreenCoordinateX();
*(float *)(newid + ScreenMonsterYCoordinateOffset) = GetPlayerScreenCoordinateY();
*(DWORD *)(newid + MonsterXCoordinateOffset) = GetPlayerCoordinateX();
*(DWORD *)(newid + MonsterYCoordinateOffset) = GetPlayerCoordinateY();
}
} __except (EXCEPTION_EXECUTE_HANDLER) {}
}
[HOW TO] Mob proto.xml Mob Names - Mob Proto.txt Help me 03/25/2015 - Metin2 Private Server - 2 Replies Hi Metin2 Dev
Mob proto.xml How to Mob Names.txt - Mob Proto.txt Converts ?
Help Me :(
How Mob Names.txt - Mob Proto.txt ? help me :(
<Mob vnum="34012" name="¾Æ±â ÆÒ´õ" locale_name="¾Æ±â ÆÒ´õ" type="1" rank="5" battle_type="0" level="1" size="0" gold_min="0" gold_max="0" exp="10" max_hp="120" regen_cycle="3" regen_percent="1" def="4" ai_flag="0" setRaceFlag="0" setImmuneFlag="43" st="0" dx="0" ht="0" iq="0" damage_min="0" damage_max="0" attack_speed="100" move_speed="100"...
WoW Hide My Target - Hide your target! 10/24/2010 - WoW Exploits, Hacks, Tools & Macros - 46 Replies Voerst: Hier geht es um einen kleinen Hack, um euer Target zu verstecken. Andere werden euer aktuelles Target nicht mehr sehen. Dieser kleine Hack ist aus Langeweile entstanden, wenn ihr ihn also unnütz findet, steht es euch frei diesen Thread ohne jeglichen noch sinnloseren Kommentar zu verlassen, danke!
Wie funktioniert der Hack?
Code der verändert wrid in WoW:
00518E07 - 5 Bytes (0x90, 0x90, 0x90, 0x90, 0x90)
00524311 - 5 Bytes (0x90, 0x90, 0x90, 0x90, 0x90)
00528306 - 5 Bytes...
[Help] Invalid Target/Cannot find Target(ZSZC) 05/29/2010 - SRO Private Server - 4 Replies Some write they have Problems with ZSZC SRO-DB,
by mobs for example "Ishade/Penon/Ujigi(lvl50-56)",
in the Textbox right side down a message:
"Invalid Target" or " Cannot Find Target",
All have this Problem, a good message, i have the solution!
You need Use SRO-DB Bot V0.8 and NOT V0.9a!
+++Use this and you will have Fun by Botting+++