| View previous topic :: View next topic |
| Author |
Message |
mildblue How do I cheat?
Reputation: 0
Joined: 22 May 2009 Posts: 9
|
Posted: Fri Sep 25, 2009 3:35 pm Post subject: .dll-File as a Basepointer? Please help, i'm freaking out... |
|
|
Hello I'm trying to script a little bot for Aion. Unfortunatly some of Aions Basepointers look like this: Game.dll+3X4MPL3
ww w2.pic-upload.d e/25.09.09/x7i3iun3jky.jpg (remove the spaces)
I really dont know how to handle with this. Here is is my Code:
| Code: | #include <NomadMemory.au3>
Global $PlayerMaxHPOut
Func AionMemoryRead()
SetPrivilege("SeDebugPrivilege", 1)
$ID=_MemoryOpen(ProcessExists("AION.bin"))
;STATIC POINTER Max HP
$PlayerMaxHPPointer = 0x3195DDC4 ;<- This is where Game.dll+Bla should be used
$PlayerMaxHP = _MemoryRead($PlayerMaxHPPointer, $ID)
$PlayerMaxHPOut = $PlayerMaxHP
_MemoryClose($ID)
EndFunc
AionMemoryRead()
MsgBox(0,"Test",$PlayerMaxHpOut) |
Please help me!
|
|
| Back to top |
|
 |
Guy Expert Cheater
Reputation: 0
Joined: 30 May 2009 Posts: 187
|
|
| Back to top |
|
 |
mildblue How do I cheat?
Reputation: 0
Joined: 22 May 2009 Posts: 9
|
Posted: Fri Sep 25, 2009 3:50 pm Post subject: |
|
|
| I really dont want to be unfriendly, but i still dont understand this. Is it possible, that you could include your answer in my code-example, so that i could understand it a little better? Would be very nice. Thank you!
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 473
Joined: 09 May 2003 Posts: 25918 Location: The netherlands
|
Posted: Fri Sep 25, 2009 4:04 pm Post subject: |
|
|
my guess: $PlayerMaxHPPointer=GetModuleHandle ("game.dll")+0x3X4MPL3
_________________
Tools give you results. Knowledge gives you control.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
mildblue How do I cheat?
Reputation: 0
Joined: 22 May 2009 Posts: 9
|
Posted: Fri Sep 25, 2009 4:12 pm Post subject: |
|
|
I tried this:
| Code: | #include <NomadMemory.au3>
#Include <WinAPI.au3>
Global $PlayerMaxHPOut
Func AionMemoryRead()
SetPrivilege("SeDebugPrivilege", 1)
$ID=_MemoryOpen(ProcessExists("AION.bin"))
;STATIC POINTER Max HP
$PlayerMaxHPPointer=_WinAPI_GetModuleHandle("Game.dll")+0x8EDDC4
$PlayerMaxHP = _MemoryRead($PlayerMaxHPPointer, $ID)
$PlayerMaxHPOut = $PlayerMaxHP
_MemoryClose($ID)
EndFunc
AionMemoryRead()
MsgBox(0,"Test",$PlayerMaxHpOut) |
But it still does not work. "The Module was not found". I have the Game runng and CE can still read from it.
|
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 473
Joined: 09 May 2003 Posts: 25918 Location: The netherlands
|
Posted: Fri Sep 25, 2009 5:02 pm Post subject: |
|
|
oh, it's not injected
in that case you have to use toolhelp32snapshot and module32first/module32next to find it
no idea how to give an example in the language you're coding in
_________________
Tools give you results. Knowledge gives you control.
Like my help? Join me on Patreon so i can keep helping |
|
| Back to top |
|
 |
phillydub Newbie cheater
Reputation: 0
Joined: 11 Aug 2007 Posts: 10
|
Posted: Fri Sep 25, 2009 10:44 pm Post subject: |
|
|
edit: nvm, figured out how to get the game.dll base address. very simple in .NET
|
|
| Back to top |
|
 |
morxxxel How do I cheat?
Reputation: 0
Joined: 27 Sep 2009 Posts: 2
|
Posted: Sun Sep 27, 2009 12:33 am Post subject: how |
|
|
| phill can you please tell me how you did it? =)
|
|
| Back to top |
|
 |
phillydub Newbie cheater
Reputation: 0
Joined: 11 Aug 2007 Posts: 10
|
Posted: Sun Sep 27, 2009 5:56 am Post subject: Re: how |
|
|
| morxxxel wrote: | | phill can you please tell me how you did it? =) |
its almost 7am but heres some C# psuedo code:
AionProcess = Process.GetProcessesByName("AION.bin")[0]
for each Module m in AionProcess.Modules
if m.ModuleName.Equals("Game.dll")
IntPtr baseAddr = m.BaseAddress
I suggest you check out aionhackers.net
|
|
| Back to top |
|
 |
morxxxel How do I cheat?
Reputation: 0
Joined: 27 Sep 2009 Posts: 2
|
Posted: Mon Sep 28, 2009 1:15 am Post subject: Thanks |
|
|
Thanks for the info =) i ended up with
| Code: | Private Function GameDLLMainAddress() As Integer
Dim HandleP As Process() = Process.GetProcessesByName("Aion.bin")
For Each [Module] As ProcessModule In HandleP(0).Modules
If "Game.dll" = [Module].ModuleName Then
Return [Module].BaseAddress.ToInt32()
End If
Next
Return 0
End Function |
|
|
| Back to top |
|
 |
|