Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > World of Warcraft > WoW Bots
You last visited: Today at 15:55

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

Advertisement



[AutoIt] PlayerBase / Storage Problem

Discussion on [AutoIt] PlayerBase / Storage Problem within the WoW Bots forum part of the World of Warcraft category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2005
Posts: 92
Received Thanks: 0
[AutoIt] PlayerBase / Storage Problem

Hej, ich hoffe mal ich bin hier richtig .. :">
Also - aus einem Tutorial hab ich mal versucht schlau zu werden wie denn das mit dem Speicherauslesen funktioniert.. hier mal die Funktion:
Code:
Func _RefreshProcessData()
$WoWWindow = WinList("World of Warcraft")
$WoWProcess = _BMOpenProcess(WinGetProcess("World of Warcraft"))
$WoW_PlayerBase = _BMReadMemory($WoWProcess,
_BMReadMemory($WoWProcess, _BMReadMemory($WoWProcess, $PlayerBase, 'ptr') +
$PlayerBaseOffset1, 'ptr') + $PlayerBaseOffset2, 'ptr')
$WoW_PlayerStorage = BMReadMemory($WoWProcess, $WoW_PlayerBase +
0x8, 'ptr')
EndFunc
Dabei ist die $WoW_PlayerBase bei mir immer 0x00000000 - folglich dann auch der Storage.. Kann es vielleicht daran liegen das ich die falschen Adressen hab? - Aus einem Forum hab ich mir das rausgesucht:
Code:
0x00A32738

offset 1: 0x38
offset 2: 0x24
diese hab ich jetzt als einzelne Variablen innerhalb des Skripts stehen - kanns vielleicht auch daran liegen?

Ich hätt einfach nur gern eine Möglichkeit mir (falls vorhanden) den Bergbau bzw. Kräuterskill auszulesen, das Level des Spielers und perfekt wären natürlich auch seine aktuellen koordinaten.. nur hab ich absolut keinen Schimmer was ich dazu tun muss.. :/

b) Der Verfasser des Tutorials schreibt:
Quote:
Wie man an den
PlayerStorage kommt ist selbsterklärend.
ja.. halbwegs.. nur - was macht dieses +0x8 dort?

Wär echt super sollte sich jemand finden der mir das erklären könnte.. :">
fliege is offline  
Old 11/10/2011, 06:14   #2
 
Endecs's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 2,256
Received Thanks: 2,342
Du musst zu deinem Offset "wow.exe" also den Prozess selbst dazu zählen.
Früher war es immer "400000" nun ändert es sich immer, hab das jetzt nicht mehr im Kopf wie das hieß, aber auf jeden Fall steht die Antwort oben, gab hier mal ein Thread von Bl@ze in dem auch ein AutoIt script vorhanden war, also wie es Funktioniert.

Such einfach nach allen Themen von Bl@ze
Endecs is offline  
Old 11/10/2011, 07:33   #3
 
Bodog6's Avatar
 
elite*gold: 74
The Black Market: 102/0/0
Join Date: Apr 2009
Posts: 2,891
Received Thanks: 1,201
Code:
$pid = WinGetProcess("World of Warcraft") ; hier besorge ich die PID
$hProcess = _MemoryOpen($pid)  ; ich öffne den Wert  mit dem oben herausbekommenen PID
$wowbase = _MemoryGetBaseAddress($hProcess, 1)
Zur wowBase addierst du dann den playerbase pointer und anschließend die zwei Offsets.
Das 0x8 könnte ein altes Offset für die playerbase gewesen sein, ansonsten scheint es mir komisch dadrin.
Bodog6 is offline  
Reply


Similar Threads Similar Threads
Lagerhaus/Storage Problem
08/06/2011 - Rappelz - 3 Replies
Huhu, ich hab das Problem das wenn ich über 2kkk ins Lagerhaus lege das der Server crasht... Jetzt wollt ich fragen ob das nur bei mir so ist und ob man das fixen kann ? Wenn ja wo ? Welche Datenbank oder welche .lua ? MfG 91ervans
WoW PlayerBase - AutoIt
10/22/2010 - AutoIt - 0 Replies
Hi, kann mir wer die PlayerBase-Address von 4.0.1 geben? ich finde die nirgends... sollte diese nicht mehr existieren dann bitte einen Weg wie ich sie errechnen kann CurMgr.. oder so ^^ Naja am besten einfach hier verbauen: #include <ButtonConstants.au3> ;Includes halt #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> #include <NomadMemory.au3>
Ecsro storage bug/problem
12/24/2009 - SRO Private Server - 3 Replies
Hello. First of all im sorry for my average english skills..TO the point...(Play on fembia)I have a problem or to say a bug when i try to place something into storage i get dc. But works when i take out of it.. I dont knwo hwat is the problem because another account works fine... If anyone have any suggestions please reply. Thank you
Agbot storage problem
07/08/2008 - Silkroad Online - 1 Replies
Hi. I am having a problem with agbot. When i arive at the storage it opens the storage window but then just stands there frozen. If i put an item in the first slot of my inventory then it will store that item but it will not store any other items in my inventory and it will not move from the storage npc. I thought it might have been that i had an item in my storage that was not storeable but iv removed any scrolls etc that can not be stored and im still getting the same problem. Iv had a search...
AgBot Bot Storage problem
06/17/2008 - Silkroad Online - 2 Replies
When walk script go to donwhang storage its give error "Script Error" what the problem ??



All times are GMT +2. The time now is 15:55.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.