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 


Some random questions

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
LastExceed
Expert Cheater
Reputation: 1

Joined: 05 Nov 2014
Posts: 130

PostPosted: Mon Feb 15, 2016 9:01 am    Post subject: Some random questions Reply with quote

1: How do I get the process name as a string after attaching via PID?
My trainer deals with multiple processes so I'd like to have a label that shows the current process.

2: Is it possible to change the title of a window (other than the CE window itself)? If yes, how?

3: How do I make sure that a string only contains numbers?
After the user enters a into the trainer I want to make sure it's a valid integer before setting it as value for the address because otherwise it leads to errors.

4: When creating something (eg a button) with the form designer there are countless options and settings in the object inspector i don't understand (to many to list them in here).
Where can I find an explanation for what they do?
example: form.trackbar.frequency (default is 1)

5: I'd like to use a login system for my trainer: You first go to a website and register an account and then use it to login to enable the trainer.
I am still an amateur in lua and I know absolutely NOTHING about anything else.
I heard you need html php mysql and alot of other stuff for this. Where do I start? (Maybe some links would be very helpful)

6: There are many unwritten pages on the CE wiki, can everyone contribute to it (write some articles)? If yes, how?
Back to top
View user's profile Send private message
LastExceed
Expert Cheater
Reputation: 1

Joined: 05 Nov 2014
Posts: 130

PostPosted: Wed Feb 17, 2016 1:55 pm    Post subject: Reply with quote

bumb
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25840
Location: The netherlands

PostPosted: Wed Feb 17, 2016 3:53 pm    Post subject: Reply with quote

1 : The lua variable "process" contains the name after opening a process
2: getFormCount() and getForm() to find the form and then change the caption.
Or if you mean general windows not belonging to CE, then no. Although you could theoretically add that ability using an auto assembler script that functions on ce itself (using SetWindowText)

3:
tonumber(string) returns nil if it's no number at all
math.floor(number) will return an integer if it's a number with decimal seperator (or the same value if it was already an integer)

4: check out the lazarus gui component help docs on the internet
Or just experiment.
In the case of frequency it's the number of times a vertical line marker is shown on the line ( http://lazarus-ccr.sourceforge.net/docs/lcl/comctrls/ttrackbar.html )

5: I don't have any url's but just look up some examples about php and mysql and play with them
I recommend playing around with sql queries on a database you've setup yourself

6: everyone can edit it yes. Just create an account and start editing

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
LastExceed
Expert Cheater
Reputation: 1

Joined: 05 Nov 2014
Posts: 130

PostPosted: Wed Feb 17, 2016 4:03 pm    Post subject: Reply with quote

Dark Byte wrote:
1 : The lua variable "process" contains the name after opening a process
2: getFormCount() and getForm() to find the form and then change the caption.
Or if you mean general windows not belonging to CE, then no. Although you could theoretically add that ability using an auto assembler script that functions on ce itself (using SetWindowText)

3:
tonumber(string) returns nil if it's no number at all
math.floor(number) will return an integer if it's a number with decimal seperator (or the same value if it was already an integer)

4: check out the lazarus gui component help docs on the internet
Or just experiment.
In the case of frequency it's the number of times a vertical line marker is shown on the line ( http://lazarus-ccr.sourceforge.net/docs/lcl/comctrls/ttrackbar.html )

5: I don't have any url's but just look up some examples about php and mysql and play with them
I recommend playing around with sql queries on a database you've setup yourself

6: everyone can edit it yes. Just create an account and start editing


Thanks alot!
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 Lua Scripting 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