Posted: Mon Feb 15, 2016 9:01 am Post subject: Some random questions
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?
Joined: 09 May 2003 Posts: 25840 Location: The netherlands
Posted: Wed Feb 17, 2016 3:53 pm Post subject:
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)
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
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)
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
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