Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


[HELP] Let user put own value using AA Script?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
johnkittz
Advanced Cheater
Reputation: 0

Joined: 17 May 2016
Posts: 95
Location: orderandhacks

PostPosted: Sat Nov 26, 2016 9:41 pm    Post subject: [HELP] Let user put own value using AA Script? Reply with quote

im wanting to let users put there own value inside a editbox, but im using AA Scripts

is there ANY way to do this?

i use trainer generator the majority of the time (if that matters)

_________________
Another Day, Another Hack.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Sat Nov 26, 2016 10:22 pm    Post subject: Reply with quote

Several ways.
Code:
[ENABLE]
alloc(myvar,4)
myvar:
{$lua}
local value = inputQuery("Value Prompt", "Enter a value", "100")
value = tonumber(value) or 100
return "dd #" .. value
{$asm}
registersymbol(myvar)

[DISABLE]
unregistersymbol(myvar)
dealloc(myvar)

Or after it's registered...
Code:
local value = inputQuery("Value Prompt", "Enter a value", "100")
value = tonumber(value) or 100
writeInteger("myvar", value)
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites