Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Search the Community

Showing results for tags 'java'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • TRiBot
    • News and Announcements
    • Old School Scripts
    • Help and Guidance
    • Development
    • Bugs and Errors
    • Tutorials
  • Scripters' Forums
    • Scripter Application
  • RuneScape®
    • General
    • Guides/Tutorials
    • Achievements
  • General
    • General
    • Questions
    • Discussions & Debates
    • Introductions
    • Suggestions
    • Feedback
  • The Black Market
    • Disputes
    • Repository Credits
    • Gold Exchange
    • Item Exchange
    • Membership Sales
    • Services
    • Other
    • Middleman Services

Blogs

  • Getting Started With TRiBot

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Location


Bio

Found 56 results

  1. Fluffee's Server Setup 3.0 As some of you may know, I released an automated server setup script a little over a year ago. Albeit that script worked well, I was never fully satisfied with it, as I found it to be kind of messy to use. As a result, I rewrote the script, and restructured it, to add more, and stronger support for the different versions of Debian, the different versions of CentOS and the different versions of Ubuntu. However, with so many different Operating Systems being supported, and many different server providers having different setups, it's hard for me to test every possible scenario on my own. Which is why I've been privately handing this script out, and am now publicly looking for help. What does the script do? Similar to my previous setup script, this script changes the SSH port and creates a new user for connecting and using the server and disables root SSH connections; it installs the latest version of TightVNC Server (1.3.10) and sets that up with the desired port and password. It installs JDK 102 (32 or 64 bit depending on the OS), and installs TRiBot and OSBuddy and sets up the appropriate .jar file associations. What operating systems does it support? - CentOS (6.x and 7.x) (32 and 64 bit) - Debian (7.x and 8.x) (32 and 64 bit) - Ubuntu (12.x, 14.x and 16.x) (32 and 64 bit) Does it work? As far as I know, yes it does in fact work, and it works well if I might add. However, given that I can't test every possible setup, there is the potential for differences and issues How do I run the script? Login as root to a fresh VPS/dedi running one of the supported operating systems. From there run the commands listed below and follow the onscreen instructions. For those who would like to see the script's code, it can be found on my bitbucket here. The commands to run are as follows: wget --no-check-cert https://bitbucket.org/teamfluffee/fluffees-server-setup/raw/add-shared-functions/fluffees-server-setup.sh && chmod +x fluffees-server-setup.sh && bash fluffees-server-setup.sh -v Version History
  2. Hello my knowledgeable friends, Ive botted about 3 accounts to max combat and ran small gold farms but lately I really interested in learning how to script myself so I can give back to the awesome community and start goldfarming on a professional level. That being said ive got some questions.Little background check, im a total noob when in comes to programming languages. - ive read that learning Java is a must. But what I don't understand is do I need to learn everything about java or just parts that are relevant to scripting for Tribot. Do I have to take a course or to do a deep dive like enlisting in an education or is learning Java just for Tribot enough? - If a book is preferable, do you have any recognmendations? - after being proficiant in Java ive read I still need to learn how to script for Tribot specifically. Is this a long process? - I know this is a difficult question to answer but how long do you guys recon this process will take in hours learning Java and scripting for Tribot? Ive got about 2/3 hours to spare a day and about 5/7 on weekends - Also is there a discord with like minded people out there looking to learn java/tribot and also one for goldfarmer (not gonna ask for methods lol) Sorry for the long and nooby questions. Hope you guys can point me in the right direction. Any constructive comments are greatly appriciated. Cheers, IDKFA
  3. Hey guys, I'm facing some problems with my Debian 8 VPS, currently I'm not able to install Java 8, I was using this as reference https://tecadmin.net/install-java-8-on-debian/ but as it says "IMPORTANT: Java 8 is no longer available to download publically. You can use below link to install Java 11." Java 8 can't be downloaded anymore, so I tried to use Java 11, but TRiBot doesn't work with it. Anyone can have with this? I'll give more info if required.
  4. Hello, firstly i'd like to say that running a bot on mac is 1000x more difficult than running a bot on a windows. I've downloaded Tribot and have jdk-11.0.1. I keep getting an error which I've linked below. Please help as I've been trying to run a bot on this macbook forever. It seems impossible. Thanks, Medieval
  5. TonyBotFarm

    Unknow problem.

    Hi. Im here because I cant found solution for my problem. When I run Tribot in my VPS, The Tribot client closes after the first 3 minutes. My VPS have OS Ubuntu 14.04 I was instal Java 8. Oracle, JDK & JRE
  6. I'm trying to add a JSON library by adding every java file from https://github.com/stleary/JSON-java to my project. But it keeps giving me the error java.lang.NoClassDefFoundError: scripts/JSONObject Which makes sense because it fails to load the JSONObject. But why? Error Loading Local Script: JSONObject! I have tried to make a package inside the scripts package called "org.json" without any luck, I have also tried to put the files directly into scripts package.(Check picture for reference) I don't think the run method has anything to do with it, but it looks like this @Override public void run() { println("Hey Test"); JSONObject json = null; try { json = JsonParser.readJsonFromUrl("url"); } catch (IOException e) { e.printStackTrace(); } assert json != null; println(json.toString()); } JsonParser.readJsonFromUrl Comes from a class which is taken from StackOverflow - https://stackoverflow.com/questions/4308554/simplest-way-to-read-json-from-a-url-in-java- And looks something like that public class JsonParser{ private static String readAll(Reader rd) throws IOException { StringBuilder sb = new StringBuilder(); int cp; while ((cp = rd.read()) != -1) { sb.append((char) cp); } return sb.toString(); } public static JSONObject readJsonFromUrl(String url) throws IOException, JSONException { InputStream is = new URL(url).openStream(); try { BufferedReader rd = new BufferedReader(new InputStreamReader(is, Charset.forName("UTF-8"))); String jsonText = readAll(rd); JSONObject json = new JSONObject(jsonText); return json; } finally { is.close(); } } } Yes, I do have VIP (at least for 2 days) and I'm using IntelliJ Idea. To set my project up I have used the guide from here. Thank you for your time
  7. Why am i making this tutorial? The main aim of this tutorial is to introduce you to the basics of java and get you around understanding Tribot's API. Additionally, through this tutorial i hope to aid people who are trying to learn scripting, and by that increase the number of free scripts. ___________________________________________________________________________________________________________________________________________ "Basic" Introduction To Java Lesson 1: Classes Lesson 2: Variables Lesson 3: Access Modifiers Lesson 4: Arrays Lesson 5: Enums Lesson 6: Interfaces ___________________________________________________________________________________________________________________________________________ "Basic" Introduction To Tribot API Lesson 1: Skeleton Script Lesson 2: Entities Lesson 3: Filters Lesson 4: Abc2 + Open Source scripts Lesson 5: Developing a simple fishing script
  8. TRiBot not showing up after logging in? Receiving a "Java null" error? Scripts not loading? Any other issue using TRiBot on your mac? Fix #1 First thing you need to do is verify the latest version of Java is running on your Mac (available for download here). To see what version you're currently running, Click on the  at the top left of your screen Click "System Preferences..." Click on the "Java" option at the bottom and the Java Control Panel should open in a separate window In the General tab, click on the "About..." option. Verify this is the most recent version available from the download link up top. Fix #2 Next, you need to verify you have the correct .jdk, or Java Development Kit. Before starting your TRiBot client, you tell it which jdk to reference, as seen here Many, if not most, issues with the client on Macs are due to the jdk being outdated. To download the latest, go here, accept the License Agreement, and download the OS X version. The file downloaded will be a .dmg file. Open it up and you'll be able to install it (only with Administrator privileges, of course). To see what versions you have installed on your Mac, Click on the Spotlight search option in the top-right (or just type cmd+spacebar) and search for "Finder." Once in the Finder window, click on the "Go" option in the very top bar. Click "Go To Folder..." and type this in, then click Go: /Library/Java/JavaVirtualMachines You should see the available options to choose when starting your TRiBot client. Verify the latest jdk is present, should see something like this: Most common issues with loading the client should be resolved if you've verified both are up to date. If you're curious, here's a post I found that helps explain the difference between the two and why these steps are necessary: Fix #3 If none of the above work, another thing you can try that has been found to solve some issues is deleting your tribot folder, tribot loader, restarting, and redownloading: If you've used TRiBot on your mac, your tribot folder will be here: 1. Click on Finder 2. In the menu bar, click "Go," then choose the "Go To Folder..." option 3. Paste this into the box changing "YOUR MAC USERNAME" to whatever is in your upper right corner. USE LOWERCASE LETTERS. /Users/"YOUR MAC USERNAME"/Library/Application Support/ 4. Delete the tribot folder, then delete your TRiBot_Loader.jar file used to start TRiBot. 5. Restart your mac and redownload the file from TRiBot.org. THERE ARE 2 DIFFERENT "APPLICATION SUPPORT" FOLDERS. IF YOU SEE FOLDERS LIKE "ApplePushService," "CrashReporter," "com.apple.TCC," YOU'RE IN THE WRONG APPLICATION SUPPORT FOLDER. If you are still having any issues, PM me, post here, or add me on Skype and I and/or someone else will do our best to help get your client started. Note: If you ask for help, I will require you to post a screenshot of your java and jdk version, proving you've already tried what's been recommended so far.
  9. Post rewritten after rewritting and updating the code multiple times. So I decided to give writing my own GE API a go and this is what I've come up with so far, using Exchange#offer(name, price, quantity, buy) will do the following: If the GE is closed, it will open it and continue making the offer. If the price is set to -1 then it will use the buttons to increase or decrease the price, depending on whether it is a buy or sell offer, until it is at a price that will buy/sell instantly. Otherwise it will use the custom input button to set the price. It will set the quantity using the 1/10/100/1000 buttons. I plan on updating this to randomise between using them and the custom input method shortly. Edit* I hadn't even remembered implementing this until I saw it do it whilst testing the method, and it was beautiful, but if it goes over the buy quantity accidently, in the example I saw it was clicking +100 and clicked it again too fast so instead of stopping before its target of 875 it got to 900, it will then use the custom amount interface to input 875, beautiful. It will prioritise buy offers over sell offers so that if there isn't an empty slot available, or any items to collect, then it will cancel a sell offer, collect it and continue now it has a free slot. If there isn't a free slot available and we are trying to sell something it will return true, this is so that in my scripts it will remove the item from a toSell HashMap and put it back into the bank to sell later because it has bought the items it needs to continue botting. If it is instead trying to buy something and there are no empty slots or sell offers to cancel then it will wait for something to buy and continue once it can collect something and therefore has an empty slot. Update* It will now search for the item 1-3 words at a time checking the first 9 results each time and will choose the item as soon as it is visible as a human would. I might update this so that it randomises more, sometimes entering the whole first word of an items name straight away, because I sometimes do that, most of the time though I enter as few characters as I need to, I think, thoughts? Let me know what you think, the code is probably disgusting to look at for some of you but for others just starting out like me it could be a valuable learning tool, for how not to code All feedback and constructive criticism appreciated. Exchange Class GEInterfaces Class GEConditions Class InfoHelper Class Thank you to everyone that has read this far, it is appreciated Rewritten, if you have read again, even more appreciation!
  10. So I've been browsing around and haven't really been able to find a current solution. I'm trying to run LG on my MacBook pro. The Tribot client runs on 64 bit by default, and I'm not sure how to change it to 32 bit. I've been told that I should just be able to download the OSBuddy .jar file and play, because it's also 64 bit, but it still says: "client not found" and that I should try "running Tribot on 32 bit." Does anyone know how to run Tribot on 32 bit short of going into my CMD prompt and changing the default mode that my machine runs? Thanks
  11. For the quickest solution, download and run this jarfix.exe application from their website and you should be able to open the TRiBot_Loader.jar and run the TRiBot client with no issues. (thanks to @erickho123 ) If for whatever reason you are unable to download or execute the jarfix application, follow this step-by-step tutorial to open the TRiBot_Loader using the correct version of java: Right-click the TRiBot_Loader.jar file. Select the "Open with..." option from the drop-down menu. Click on the "Browse" option marked with the red box: Paste this into the address bar at the top to navigate directly to the Java folder we need: C:\Program Files (x86)\Java\jdk1.8.0_73\jre\bin *this part may need to be edited to reflect your current java version Once there, find the "javaw.exe" Application and then click "Open" Note: You must have java installed before you are able to use TRiBot! If you do not have java installed, download it from the Oracle website.
  12. Hey guys first time posting on TriBot but I am really struggling to get it to run on my Mac. It wants to run but it always encounters the same error which is it says Exception in thread "AWT-EventQue-1"java.lang.unsatisfiedlinkerror:Cant load library: / Usersxxxxxxx/Library/application support/tribot/dependancies/libtogl.so . I know that anyone with minor knowledge of computers could fix this problem in seconds, but I don't have the slightest clue as to how to fix this. All i am trying to do is run TriBot with a private proxy for RS3. If anyone can help me resolve this issue comment on here or leave another way I can contact you I'd really appreciate it. Willing to pay $10 to anyone that can help me. Thank you.
  13. Hi. For some reason I keep getting this error, but only while I'm at my university. I live off campus and this does not happen at home. I would like to bot while I'm here at university because I'm trying to run a moneymaker so I can fund my PK trips. Anyways, as far as I can tell, the university doesn't censor web sites. How did I arrive at this conclusion? I visited an "adult-only" website and was uninhibited from browsing it. Java version JRE and JDK versions of 8u72. This issue happened with older versions as well. What I tried: Reinstalling Java Restarting computer Deleting .tribot folder Running CCleaner Unable to create client instance. Java HotSpot Client VM warning: Using incremental CMS is deprecated and will likely be removed in a future release. Done If anyone can solve this for me, I will pay them enough OSRSGP to trade for one month of VIP-E. Edits in green.
  14. Jooq

    Out of Memory

    Over the past couple of weeks I've been having clients "randomly" freezing after running out of Memory.. Current set-up: Running 10 - 15 clients @ 356 MB. Only 1 account per client (no tabs). Not using Looking Glass. Running the same script on all accounts (Auto Fisher Pro) Operating system is Windows Server 2012 Using < 50% of CPU & RAM The freeze is seemingly random and usually only happens on 1 or 2 of the clients. Doesn't seem to be task based as it's happened in multiple scenarios. Any ideas / suggestions on how to fix?
  15. Hello, So I found the Mac guide that works through most common errors and issues with the Mac install, but I'm still having issues. Here are screenies of everything that was commonly asked for in the previous thread I read to work through this. The 'you need Java...' message is what launches whenever I try to load Tribot Any help would be greatly appreciated!
  16. Hi everyone, I am very new to TriBot, although fairly experienced in the botting world, and tried installing it for the first time today. However, on launching Tribot_Loader a white box with a red X in one corner opens, and on mouseover changes the pointer to a loading icon. Clicking the red X doesn't actually close the window and after a while an error pops up saying "Java Platform SE binary is not responding". I combed through the forums looking for solutions, and I tried uninstalling a reinstalling the correct Java version (JDK 8u131), re-downloaded the loader multiple times, and even used the "jarfix" recommended by the mods on some threads. Unsure of what to do now.
  17. Hello I need help with something that is probably a simple solution. When I try to run Tribot loader the only java version that appears in the dropbox is version 6. I have downloaded version number 8, please help?
  18. Hi, Iam preparing for my Java Certification Exam using this tutorial http://www.javaprepare.com/ .. Please help me in preparing for certification exam by sharing more information about java certification
  19. Hi guys These last couple of days I've been struggling to see what I'm doing wrong in my waitCondition, the problem is that I get an ArrayIndexOutOfBounds exception, however I dont understand why it appears, if i have the following waitCondition? Shouldn't the waitCondition only return true if trees[0].isOnScreen(); becomes true (That a tree appears on the screen)? And if that case, shouldn't it just continue? final RSObject[] trees = Objects.findNearest(20, Filters.Objects.nameEquals(gui.comboBox.getSelectedItem().toString())); if (!isCutting()) { Timing.waitCondition(new Condition() { @Override public boolean active() { return trees[0].isOnScreen(); } }, General.random(2500, 4000)); } EDIT: Edited the active method to match what I had when the error occured (I'm currently trying what I had posted at first)
  20. Hi Is there a way that i can make my .class files automatically appear in the bin folder upon save? Right now, everytime i open tribot, it creates a new "Bin" folder, and a "Bin1" folder, for my eclipse project, so I manually have to copy paste the compiled .class files to the tribot "bin" folder.. Sincerely
  21. Hey guys I'm completely new to the scripting community, I code Java and C#, however, I've never made scripts for rs, but recently i made my first willow chopper with bank support etc.. However, if I were to implement support for multiple tree types, how could that be achieved? Im thinking of making one generic method that takes all tree types as input, but I cant really wrap my head around it? Whats a general approach to making an AIO script?
  22. I'd like to learn how to code with Java, however, I don't know where to start. The only language I know is Visual Basic which I learned in High School so I had a step by step instructor guiding me through it. If someone could point me in the right direction that would be great.
  23. So I've wrote a Script and I'd like to try it. I've followed a guide I found on this forum and placed the precompiled class files into the local scripts folder. When I hit 'Start Script' it does not offer me my Script? Did I do something wrong, please let me know! ~dinh
  24. I've been searching on these Forums for almost 2 hours now despite all the downtimes it has and I cant seem to find a download link for the TriBot libary. Can anyone show a helping hand and link me to it? ~dinh
×
×
  • Create New...