Register for your free account! | Forgot your password?

You last visited: Today at 20:00

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


Need some coding help.

Old   #1
elite*gold: 0
Join Date: Oct 2009
Posts: 19
Received Thanks: 1
Need some coding help.

I need some help with these aion pointers and offsets.

I can get the base address of the game.dll module but I cannot for the life of me get any information from the target such as level.

Coding in autoit3.

This function is what I use to get the game.dll base address as teh nomad version won't work for me for what ever reason.

PHP Code:
Func _ProcessGetModuleBase($ivPID$svModuleName)
$ivPID ProcessExists($ivPID)
Not $ivPID Then Return(SetError(100)); Process does not exist

Const $TH32CS_SNAPMODULE 0x00000008
Const $sMODULEENTRY32Struct "dword Size;" _
"dword 32ModuleID;" _
"dword 32ProcessID;" _
"dword GlblcntUsage;" _
"dword ProccntUsage;" _
"ptr modBaseAddr;" _; <---- hmm ?
"dword modBaseSize;" _
"hwnd hModule;" _
"char Module[255];" _
"char ExePath[260]"

Local $hvSnapShot DllCall("Kernel32.dll""hwnd""CreateToolhelp32Snapshot""dword"$TH32CS_SNAPMODULE"dword"$ivPID)
Not $hvSnapShot[0Then Return(SetError(200)); Could not create snapshot?

Local $stMODULEENTRY32 DllStructCreate($sMODULEENTRY32Struct)

Local $ivState DllCall("Kernel32.dll""int""Module32First""hwnd"$hvSnapShot[0], "long_ptr"DllStructGetPtr($stMODULEENTRY32))
Not $ivState[0Then Return(SetError(3_WinAPI_CloseHandle($hvSnapShot[0]), 0)); Could not enumerate first module in list?
Local $ivRet 0
    Local $svModule

$ivRet DllStructGetData($stMODULEENTRY32"modBaseAddr")
$svModule DllStructGetData($stMODULEENTRY32"Module")
$svModule $svModuleName Then ExitLoop
DllCall("Kernel32.dll""int""Module32Next""hwnd"$hvSnapShot[0], "long_ptr"DllStructGetPtr($stMODULEENTRY32))
Until Not $ivState[0]



This is the code i'm actually calling and nothing is being returned from it, its always 0.

PHP Code:
Func getTargetLevel()
$StaticOffset Dec("4F68FC"); this hex value is the entrypoint
Global $CUROffset[1]
$CUROffset[0] = 0
$finalAddr "0x" Hex($baseADDR2 $StaticOffset)
$out Read_Memory($PID$finalAddr)
$out Read_Memory($PID$out 0x1C4)
$out Read_Memory($PID$out 0x0032)

Any help or examples would be great.

Hunter_1 is offline  

« Previous Thread | Next Thread »

Similar Threads
*NEW CODING ART!!!..........:::::~WhiteLight D3D~:::::..........*NEW CODING ART!!! Download: - upload your files to multiple file hosting sites! VirusScan: VirusTotal -...
25 Replies - WarRock Hacks, Bots, Cheats & Exploits
Uce Coding+ winhex coding
i was just wondering is it true if u do coding with winhex is it less dc?? tats all cuz uce coding dcs me alot
8 Replies - Dekaron

All times are GMT +1. The time now is 20:00.

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.