Jump to content
UBot Underground

Save Entered Ui Text In A Compiled Bot


Recommended Posts

Noob here.  Halfway though tutorials.  Made a few working bots and compiled them to exe.  Awesome!

 

Each time I open the bot all UI text boxes are empty.  Is there a way to save user entered data?  Will future customers be able to save their own unique entered data?

 

Thanks!

Link to post
Share on other sites

Yes there are ways to do it. Generally you want to use a file of some sort and then save that file to a location the user will likely not delete. So I like to save my files like that in the application folder using the special folder function.

 

As for what kind of file, you can use INI, which there are some plugins like Heopas Plugin and Aymen has a plugin here too but you may not be able to download it anymore.

 

Otherwise, you can use CSV file, XML file, text file and so on.

 

When you want to load the data you can use the On Load command this will run the commands in the on load command when the bot starts up. So you can load that file first into a table or read it - depending on the file you save - and then set the variables to the users settings.

 

If you need a code example let me know.

  • Like 1
Link to post
Share on other sites
  • 5 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...