Register for your free account! | Forgot your password?

You last visited: Today at 00:49

  • 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 02/26/2013, 18:52   #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 02/26/2013, 20:56   #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 02/27/2013, 07:57   #4
Frosty the Snowman

 
elite*gold: 55
Join Date: Oct 2009
Posts: 5,469
Received Thanks: 1,471
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 02/27/2013, 19:49   #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



« Welcher Laptop für WOW? | Zuwenig DPS? Warri »

Similar Threads
can anyone give me the quest windows offset and move offset value and base
07/30/2012 - Cabal Main - Discussions / Questions - 2 Replies
i am experimenting on this again its the unli entry procedure i know its patched already but i want to try something
was mach ich falsch ? pointer offset
04/13/2012 - AutoIt - 3 Replies
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 danken. ich versuch einfach nur die values für target HP raus zu ziehen . aber irgendwas mach ich...
fly offset
06/08/2009 - PW Hacks, Bots, Cheats, Exploits - 1 Replies
could someone be kind enough to point me out to a tutorial on finding fly offset :confused: thank you
[WPE] Pet bar offset
02/21/2009 - WoW Ask the Experts - 0 Replies
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 "represent" the pet bar for hunters ? Been searching for some hours and started to try it out myself but...
Re : how to find Hp offset mp offset etc
10/09/2008 - PW Hacks, Bots, Cheats, Exploits - 0 Replies
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 offset part can anybody explain?



All times are GMT +2. The time now is 00:49.


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

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