Search the Community
Showing results for tags 'save'.
Found 2 results
Save and Load GUI Settings Tutorial by Worthy In this tutorial We will be using java.util Propteries class to save and load settings from your GUI (or anything else that is applicable) ________ Adding the proper variables for preparation. In your Main class add the location to save the GUI settings In your GUI class we must create the Save and Load settings methods Implementing the methods On the "Start" button, we will call saveSettings(); On the script initiation we will call the loadSettings(); (after the GUI has been loaded) -->Alternatively you can just create seperate save and load buttons on the GUI. Tying everything together: The first thing the script will do is declare the File Path, and initiate the Preferences file. When the GUI loads, the script will then call loadSettings(), loading the settings (if any). If no settings are saved, it well then create a new file in the path. Right before the GUI is disposed it will save all the settings the user has applied in TRiBot's storage directory. (You can print out the location if you don't know where that is for your OS). _________ Complete Example script: GUISettings.java (Main class) GUIExample.java (GUI class) Regards, Worthy
Hello guys, I personally believe that the Auto Responder screams "HI I'M A BOT!", thats why I decided to turn it off. It's easy enough to turn it off, but I want to KEEP it off, as it turns back on every client restart if you do it the obvious way. I found this to be a bit confusing, having to turn it off in different places, so I decided to create a simple tutorial for some of you TRiBot noobs like me. 1. Go to the Script drop down menu on the top, and make sure "Use Auto Responder" is off. 2. Go to the File drop down menu, and go to Settings. 3. The fourth option from the bottom is "Use Auto Responder". Uncheck it, if it isn't already. 4. Close the settings window. When the prompt pops up asking if you want to save, make sure to click "Yes". And, thats all! Now your auto responder is off for good. You can restart your client and not have to keep turning off the responder over and over again.