Register for your free account! | Forgot your password?

You last visited: Today at 21:59

  • Please register to post and access all features, it's quick, easy and FREE!

 

Offset - GetMinimapZoneText, falsch?

Reply
 
Old   #1
 
elite*gold: 28
Join Date: Sep 2011
Posts: 4,219
Received Thanks: 1,225
Offset - GetMinimapZoneText, falsch?

Hallo,

ich habe mich mal nen bischen mit IDA Pro beschäftigt und irgendwie kommt da nix gescheites bei raus..

mein Code sieht jetzt so aus:
Code:
wow.OpenProcessAndThread(SProcess.GetProcessFromWindowTitle("World of Warcraft"));
IntPtr baseWoW = wow.MainModule.BaseAddress;


string minimaptext = wow.ReadASCIIString((uint)baseWoW + 0x10C9EE8, 30);
ida pseudo c sieht aus:
Code:
signed int __cdecl sub_990360(int a1)
{
  char *v1; // [email protected]

  v1 = (char *)dword_10C9EE8;
  if ( !dword_10C9EE8 )
    v1 = &byte_D2594F;
  sub_519700(a1, v1);
  return 1;
}



tykila is offline  
Old   #2
 
elite*gold: 0
Join Date: Jun 2008
Posts: 203
Received Thanks: 7
Du musst von 0x10C9EE8 - 0x400000 abziehen, da die BaseAddresse von IDA.

und den String zuerst als Pointer lesen:

Code:
string minimaptext = wow.ReadASCIIString(wow.ReadUInt((uint)baseWoW + 0x10C9EE8, 30));
So sollte es funktionieren.

LG


Kilinat is offline  
Thanks
2 Users
Old   #3
 
elite*gold: 28
Join Date: Sep 2011
Posts: 4,219
Received Thanks: 1,225
Quote:
Originally Posted by Kilinat View Post
Du musst von 0x10C9EE8 - 0x400000 abziehen, da die BaseAddresse von IDA.

und den String zuerst als Pointer lesen:

Code:
string minimaptext = wow.ReadASCIIString(wow.ReadUInt((uint)baseWoW + 0x10C9EE8, 30));
So sollte es funktionieren.

LG
Also muss ich alles "rebasen" (heißt das so?)
tykila is offline  
Old   #4
Frosty the Snowman

 
elite*gold: 55
Join Date: Oct 2009
Posts: 5,348
Received Thanks: 1,447
Quote:
Originally Posted by tykila View Post
Also muss ich alles "rebasen" (heißt das so?)
Ganz genau.

Alle Strings sind immer in einem eigenen Bereich gespeichert und deshalb immer als IntPtr hinterlegt.



Quote:
Originally Posted by Kilinat View Post
Du musst von 0x10C9EE8 - 0x400000 abziehen, da die BaseAddresse von IDA.

und den String zuerst als Pointer lesen:

Code:
string minimaptext = wow.ReadASCIIString(wow.ReadUInt((uint)baseWoW + 0x10C9EE8, 30));
So sollte es funktionieren.

LG
Das kenn ich doch irgendwo her


Frosttall is offline  
Thanks
2 Users
Old   #5
 
elite*gold: 28
Join Date: Sep 2011
Posts: 4,219
Received Thanks: 1,225
Code:
string minimaptext = wow.ReadASCIIString(wow.ReadUInt((uint)baseWoW + 0xCC9EE8, false), 30);
geht danke euch :*


tykila is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
can anyone give me the quest windows offset and move offset value and base
i am experimenting on this again its the unli entry procedure i know its patched already but i want to try something
2 Replies - Cabal Main - Discussions / Questions
was mach ich falsch ? pointer offset
ich weis eigentlich garnix über di everwendung von pointern und offsets wer mir da bisschen weiterhelfen möchte dem würd ich jetz schon sehr...
3 Replies - AutoIt
fly offset
could someone be kind enough to point me out to a tutorial on finding fly offset :confused: thank you
1 Replies - PW Hacks, Bots, Cheats, Exploits
[WPE] Pet bar offset
Evning, I'm not so good at this stuff, looked on google and ********* and this forum but can't find anything. What I'm wondering is what offset...
0 Replies - WoW Ask the Experts
Re : how to find Hp offset mp offset etc
how to find : HP_OffSet= MaxHP_OffSet= MP_OffSet= MaxMP_OffSet= with CE? coz i only know how to find base, we have tutorial, but not the...
0 Replies - PW Hacks, Bots, Cheats, Exploits



All times are GMT +1. The time now is 21:59.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2017 elitepvpers All Rights Reserved.