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 


NEED HELP WITH SCRIPTS THAT I DONT KNOW HOW TO MAKE?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions
View previous topic :: View next topic  
Author Message
Gereksizz
Newbie cheater
Reputation: 0

Joined: 04 Jan 2018
Posts: 16
Location: Anime Heaven

PostPosted: Sun Apr 28, 2019 2:15 pm    Post subject: NEED HELP WITH SCRIPTS THAT I DONT KNOW HOW TO MAKE? Reply with quote

Hi Im Making A Trainer On CE And what i want to do is make a list of hotkeys and when a user chooses a hotkey from the list it will make the cheat hotkey the hotkey that the user has chosen. Anyone Know How To Do That?
And also i have a login script what i want to do is make a pastebin thing with a list of usernames for the ceedits that i have and if the user enters that Specific text for the username and password from the pastebin link.
Anyone know how i could do theese?
Sorry For My Bad English

_________________
Im A No Life
Back to top
View user's profile Send private message AIM Address
Corroder
Grandmaster Cheater Supreme
Reputation: 75

Joined: 10 Apr 2015
Posts: 1667

PostPosted: Mon Apr 29, 2019 2:05 am    Post subject: Reply with quote

for hotkeys:

https://forum.cheatengine.org/viewtopic.php?t=602091
https://forum.cheatengine.org/viewtopic.php?p=5706638#5706638

For user database login form:

1. Store your user database as a text file on pastebin, with this following format (user name, password) example:

Code:
john, 123456
jono, 132435
joni, 434333XYZ

and so on


Say your user database text file name as myUserData.
Next, what you need are:

2. Load your file from pastebin and using this script:

Code:
local url = [your url here]  ---example :'https://pastebin.com/raw/1jDXDFcn'
local int = getInternet()
local text = int.getURL(url)
int.destroy()
load(text)()
--- test file loaded or not
print(text)


3. Make a table or stringlist on your script (Lua), example:

Code:
userTable = {}  -- or
  local list = createStringlist()
  -- add data to your stringlist from loaded text file from the URL
  -- search how to do this part
 


4. When appending user data to stringlist complete then lookup if user data exist or not.
if the user exists to do something else do something others. When finish, destroy the stringlist.


I just give a concept, not including the full script.
You need to search for how to write the scripts properly.

_________________
Stealing Code From Stolen Code...
And Admit It.. Hmmm....Typically LOL
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Discussions 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