| View previous topic :: View next topic |
| Author |
Message |
Unknovvn How do I cheat?
Reputation: 0
Joined: 30 Aug 2013 Posts: 2
|
Posted: Fri Aug 30, 2013 6:05 am Post subject: AutoPot without Keypress |
|
|
Hello, As you all can see i am new here. I have been looking for something for a few days but i cant seem to find it or may be i am not typing the right thing when i am searching for it.
First off ..
I am newish to cheat engine, autoit .. but i am very interested to learn how to make a simple autopot which might seem easy for you guys so i am here for guidance. I dont want to be spoonfed i would rather be pointed to the right direction so i can learn how to do it.
OK..
So i have managed to make a autoit script with a hotkey to spam a key where my pot is. In this case i press 1 to spam the key 2 where i put my health pot.
| Code: | Global $UnPaused
HotKeySet("1", "TogglePause")
HotKeySet("{ESC}", "Terminate")
While 1
Sleep(100)
ToolTip("Script is Paused",0,0)
WEnd
Func TogglePause()
$UnPaused = NOT $UnPaused
While $UnPaused
ToolTip("Sending...",0,0)
Send("{2}")
WEnd
EndFunc
Func Terminate()
Exit 0
EndFunc |
What i want to achieve is to be able to use the healing item which i can find the address to using cheat engine.. And then get it to spam it until i tell it to stop without using any hotkey. So if i want to type in game i dont have to stop the script/bot.
I hope you guys understand. I dont know if its possible or not but i thought i would ask.
|
|
| Back to top |
|
 |
661089799107 Expert Cheater
Reputation: 3
Joined: 25 Jan 2009 Posts: 186
|
Posted: Fri Aug 30, 2013 9:32 am Post subject: |
|
|
You could search for the boolean value that has the state of the chat box (open or closed). Then your script could check the state, and not send a keypress if it's open.
Would this work for you?
|
|
| Back to top |
|
 |
Unknovvn How do I cheat?
Reputation: 0
Joined: 30 Aug 2013 Posts: 2
|
Posted: Fri Aug 30, 2013 3:10 pm Post subject: |
|
|
Could you please say more about the boolean value its the first time i heard of it.
Is it within cheat engine? or something else?
|
|
| Back to top |
|
 |
661089799107 Expert Cheater
Reputation: 3
Joined: 25 Jan 2009 Posts: 186
|
Posted: Mon Sep 02, 2013 11:47 pm Post subject: |
|
|
A boolean is a 1 byte value that is either true (1) or false (0).
So try searching for a value of 1 when the chat box is open.
|
|
| Back to top |
|
 |
|