Register for your free account! | Forgot your password?

You last visited: Today at 00:12

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

Advertisement



need help with autoit

Discussion on need help with autoit within the PW Hacks, Bots, Cheats, Exploits forum part of the Perfect World category.

Closed Thread
 
Old   #1
 
Smurfin's Avatar
 
elite*gold: 0
Join Date: Oct 2008
Posts: 1,243
Received Thanks: 670
need help with autoit

Can anyone please help me with this script, I want to try AutoIT to make JumpHack, so far so good, got the memory address that show the value of the jump, 0 when on stand position, 1 when jump once, 2 when jump twice. I need to freeze the value to 'one' so unlimited jump can happen.

How do I write '1' to this memory address ? the line in bold below is showing where the line for writing it if I get it right, but that line gave me an error. Please help.

* If you're going to trying it on other than PW Indo, don't forget to change the base address to your version.

Code:
#include <NomadMemory.au3>
#include <Memory.au3>
#include <GUIConstants.au3>
#include <Array.au3>

$APP_TITLE="Element Client"
$APP_BASE_ADDRESS=9607148
;$OFFSET_JUMP=2836
Global $OFFSET_HP[3]
Global $OFFSET_JUMP[3]
$OFFSET_HP[1]=32
$OFFSET_HP[2]=1104
$OFFSET_JUMP[1]=32
$OFFSET_JUMP[2]=2836

Global $PROCESS_ID = WinGetProcess($APP_TITLE)
Global $PROCESS_INFORMATION = _MemoryOpen($PROCESS_ID)
Global $HP = "0"

GuiCreate("JUMP HACK", 250, 100)
$msg=0
GuiSetState()
$LABEL_HP_STATUS = GUICtrlCreateLabel("HP: 0/0 (0%)", 5, 5, 150, 20)
$LABEL_JUMP_STATUS = GUICtrlCreateLabel("JUMP", 5, 25, 150, 20)

While $msg <> $GUI_EVENT_CLOSE
	  $msg = GuiGetMsg()
	  $HP = _MemoryPointerRead($APP_BASE_ADDRESS, $PROCESS_INFORMATION, $OFFSET_HP)
	  $JUMP = _MemoryPointerRead($APP_BASE_ADDRESS, $PROCESS_INFORMATION, $OFFSET_JUMP)
	  [b]_MemoryPointerWrite(($APP_BASE_ADDRESS, $PROCESS_INFORMATION, $OFFSET_JUMP,1)[/b]
	  GUICtrlSetData($LABEL_HP_STATUS, "HP: " & $HP[1])
	  GUICtrlSetData($LABEL_JUMP_STATUS, "JUMP " & $JUMP[1])
WEnd
Smurfin is offline  
Old 12/02/2008, 22:44   #2
 
Smurfin's Avatar
 
elite*gold: 0
Join Date: Oct 2008
Posts: 1,243
Received Thanks: 670
lol nevermind, found it already! Look like I mistype that part of line by using double round brackets at opening. Deleted one round bracket and it works yay.

thread closed, sorry ^^)
Smurfin is offline  

Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.