Register for your free account! | Forgot your password?

Go Back   elitepvpers > World of Warcraft > WoW Bots
You last visited: Today at 14:46

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

 

[C#] Falscher Rückgabewert

Reply
 
Old   #16
 
elite*gold: 0
Join Date: Dec 2007
Posts: 438
Received Thanks: 190
mir fällt grade auf das die Playerbase = 0 ist, nur frage mich wieso sie manchmal auf 0 ist und manchmal geht...



-CrimeTime- is offline  
Old   #17
 
elite*gold: 0
Join Date: Apr 2008
Posts: 60
Received Thanks: 7
was verwendest du den für offsets für den objectmanger und für die playerbase?


mickol is offline  
Old   #18
 
elite*gold: 0
Join Date: Dec 2007
Posts: 438
Received Thanks: 190
hier schonmal die für den ObjectManager:
Code:
                PlayerGUID = 0xC8,
                GUID = 0x30,
                Type = 0x14,
                FirstObject = 0xB4,
                NextObject = 0x3C,
                CurrMgr = 0x008A5C20,
                CurrMgrEx = 0x4618;
woran erkenne ich die für die Playerbase? sind das all die mit POWER1,2,3,4... etc?
-CrimeTime- is offline  
Old   #19
 
elite*gold: 0
Join Date: Apr 2008
Posts: 60
Received Thanks: 7
die werte sind alle richtig, zip mal den ganzen code und schick ihn mir per pm vielleicht seh ich ja dann was nicht stimmt


mickol is offline  
Old   #20
 
elite*gold: 0
Join Date: Apr 2008
Posts: 60
Received Thanks: 7
hab den fehler gefunden hier der code kopier das mal rein dann sollte es passen

Code:
LocalPlayer1.BaseAddress = GetObjectBaseByGuid(LocalPlayer1.Guid);
LocalPlayer1.XPos = Memory.Read<float>(LocalPlayer1.BaseAddress + 0x880);
LocalPlayer1.YPos = Memory.Read<float>(LocalPlayer1.BaseAddress + 0x884);
LocalPlayer1.ZPos = Memory.Read<float>(LocalPlayer1.BaseAddress + 0x888);
LocalPlayer1.Rotation = Memory.Read<float>(LocalPlayer1.BaseAddress + 0x890);
[B]LocalPlayer1.UnitFieldsAddress = Memory.Read<UInt32>(LocalPlayer1.BaseAddress + 0x8);
[/B]LocalPlayer1.CurrentHealth = Memory.Read<UInt32>(LocalPlayer1.UnitFieldsAddress + (0x8 +0x12)*4);
LocalPlayer1.MaxHealth = Memory.Read<UInt32>(LocalPlayer1.UnitFieldsAddress + (0x8 +0x1E)*4);
LocalPlayer1.CurrentEnergy = Memory.Read<UInt32>(LocalPlayer1.UnitFieldsAddress + (0x8 +0x16)*4);
LocalPlayer1.MaxEnergy = Memory.Read<UInt32>(LocalPlayer1.UnitFieldsAddress + (0x8 + 0x22) * 4);
LocalPlayer1.Level = Memory.Read<UInt32>(LocalPlayer1.UnitFieldsAddress + (0x8 + 0x40) * 4);
LocalTarget.Guid = Memory.Read<UInt64>(0x9816B0);
LocalPlayer1.Name = PlayerNameFromGuid(LocalPlayer1.Guid);
mickol is offline  
Thanks
1 User
Old   #21
 
elite*gold: 0
Join Date: Dec 2007
Posts: 438
Received Thanks: 190
Super vielen Dank.
-CrimeTime- is offline  
Old   #22
 
elite*gold: 0
Join Date: Apr 2008
Posts: 60
Received Thanks: 7
hier nochmal ein update zu deinem code, was nicht korrekt war:

Code:
LocalTarget.Guid = Memory.Read<UInt64>(Memory.BaseAddress + 0x9816B0);
Code:
LocalTarget.Type = (short)Memory.Read<UInt32>(LocalTarget.BaseAddress + (0x5) * 4);
LocalTarget.Rotation = Memory.Read<float>(LocalTarget.BaseAddress + 0x890);
LocalTarget.UnitFieldsAddress = Memory.Read<UInt32>(LocalTarget.BaseAddress + 0x8);
LocalTarget.CurrentHealth = Memory.Read<UInt32>(LocalTarget.UnitFieldsAddress + (0x8 + 0x12)*4);
LocalTarget.MaxHealth = Memory.Read<UInt32>(LocalTarget.UnitFieldsAddress + (0x8 +0x1E) *4);
LocalTarget.CurrentEnergy = Memory.Read<UInt32>(LocalTarget.UnitFieldsAddress + (0x8 +0x16)*4);
LocalTarget.MaxEnergy = Memory.Read<UInt32>(LocalTarget.UnitFieldsAddress + (0x8 +0x22)*4);
LocalTarget.Level = Memory.Read<UInt32>(LocalTarget.UnitFieldsAddress + (0x8 +0x40) *4);
LocalTarget.SummonedBy = Memory.Read<UInt64>(LocalTarget.UnitFieldsAddress + (0x8 + 0x8)*4);
mickol is offline  
Thanks
2 Users
Old   #23
 
elite*gold: 0
Join Date: Dec 2007
Posts: 438
Received Thanks: 190
Wow echt vielen Dank, hast was gut bei mir )


-CrimeTime- is offline  
Reply



« Previous Thread | Next Thread »

Similar Threads
Falscher Videomodus pls help
hi habe ein problem kp ob ich das auch hier schreiben kann hoffe um hilfe xD fange mal an mein pc hat sehr viele laggs wenn ich spiele starte, ich...
5 Replies - Technical Support
GUICtrlCreateCheckbox Rückgabewert?
Hallo, ich hab mal wieder eine Frage, ist sehr leicht zu beantworten. $Fischkiller = GUICtrlCreateCheckbox ( "Fischkiller an?", 240, 200 ) Func...
9 Replies - AutoIt
sry falscher post
sry wegen doppelpost
0 Replies - Metin2 Trading
Falscher Wert
#include <GUIConstantsEx.au3> #include <StaticConstants.au3> #include <WindowsConstants.au3> #include <nomadmemory.au3> #Region ### START Koda...
1 Replies - AutoIt



All times are GMT +1. The time now is 14:46.


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.