Jump to content

kattoor

Registered
  • Content count

    69
  • Joined

  • Last visited

  • Feedback

    0%

Community Reputation

11 Good

About kattoor

  • Rank
    Botter
  • Birthday 01/07/1995

Personal

  • Sex
    Male
  • Location
    Belgium - Antwerp

Recent Profile Visitors

872 profile views
  1. How to add personal scripts into the Client?

    For the time being, this would work: https://tribot.org/forums/topic/57564-reload-script-without-stopping-bot/
  2. 3D Christmas themed FPS - need name

    So, here is some work in progress.. nothing much yet
  3. 3D Christmas themed FPS - need name

    Thanks! Any tips for a beginner in game development? SnowBrawl, I love it! I was also thinking about the Norse translation for the word 'Snowballfight': Snøballkrig. I like this idea, thanks!
  4. 3D Christmas themed FPS - need name

    In the next +-10 weeks my friend and I have to learn to work with Unity 3D and develop a game using it. We are thinking about an online first person shooter with a Christmas atmosphere (see assets). Snowballs would be used as weapons. One player would have to host the server on his / her computer, which the other players would be able to connect to. Right now we are looking for a name for our project. Any of you can think of something? Our first thoughts were just 'SnowBalls' or 'SnowGuns' but we're not really sure about it. I'll keep this topic up to date as we make progress.
  5. TRibot_Launcher.jar won't open

    Try running the jar from your command prompt to see if some error occurs. Command: java -jar jarname.jar Don't forget to set your java class path for the command to work, otherwise you have to replace 'java' with the path manually.
  6. TRiBot not seeing local scripts

    Try renaming your Scripts package to scripts (lower case!). I think this might fix your problem.
  7. Reload script without stopping bot

    Just tell me how you would 'hack' a web host? I'm really curious since you act like you posses some kind of almighty hack button. Anyone on this forum with knowledge on this matter will tell you what I'm telling you.
  8. Reload script without stopping bot

    Alright, if you really believe it's that easy to hack a web host, hack the one I am using.
  9. Reload script without stopping bot

    You make hacking a web host look so easy lol
  10. Reload script without stopping bot

    Since it's running under TRiBot, it's subordinate to TRiBot's rules I think. So I'm pretty sure script writers can't do anything this way they aren't able to do in official repo scripts.
  11. This topic is for the scripters interested in making their scripts update itself without the user needing to re-run it. The script to be updated For the sake of this tutorial I made a very simple script which prints 'Hello World' to the Bot Debug console. You can find the script here. The script implements the Runnable interface so we can easily run it through the provided run method. Jar your script and upload it somewhere. I uploaded mine to a free webhost. It's located at http://kattoor.comuf.com/Main.jar The script users download in the repository Now, for the script you actually upload to the repository, we'll be using a URLClassLoader. As the Javadoc states, the newInstance method allows us to create a new instance of the URLClassLoader for any specified URL. Since I've uploaded my jar at http://kattoor.comuf.com/Main.jar, I initialize the URLClassLoader like this: URLClassLoader classLoader = URLClassLoader.newInstance(new URL[] {new URL("http://kattoor.comuf.com/Main.jar")});Which in this instance is just the same as initializing it with it's constructor: URLClassLoader classLoader = new URLClassLoader(new URL[] {new URL("http://kattoor.comuf.com/Main.jar")});Now we can load a class from the jar file using the URLCLassLoader's loadClass method. Since I gave my script-class the name 'Main', my call looks like this: Class cls = classLoader.loadClass("Main");Take note that the object cls is an instance of the type Class and not your Main class. Since cls is an object of Class we can use it's method newInstance to retrieve an instance of the class it represents. This part may be confusing, if you really want to understand what this means, I'm sure there will be some great explanation on StackOverflow Since our Main class implemented the Runnable interface, we can downcast the object we retrieved from the newInstance method to a Runnable type and call it's run method: ((Runnable) cls.newInstance()).run();Which is just the same as: Object obj = cls.newInstance();((Runnable) obj).run();Et voila, now you have called the run method from the jarred Main class you have uploaded! What can I actually do with this? You could use the URLClassLoader in the script you upload on the TRiBot repository to load the actual script which is located somewhere on the web. Instead of just instantiating the class once, you could do this every ten minutes in your main loop. This way the user's script will update automatically whenever you update the jar you uploaded to the web. By implementing this, you (and other users) won't have to re-start your script after adding bugfixes and/or updates. I hope this is useful to anyone! If you have any questions, feel free to ask. I'll try my best answering all of them
  12. Can't use local scripts

    Oh god I feel like a complete moron right now. Thank you kind sir!
  13. Can't use local scripts

    Alright, I can now run my local scripts. Didn't put them in a 'scripts' folder previously. Still having the problem that I can't upload anything to the repo though..
  14. Can't use local scripts

    Any ideas? Bought VIP under one hour ago, could this be the problem? Also, when I try to upload a script, it gets DENIED without any explanation.
  15. TRiBot Android platform - looking for PHP programmer

    How about being able to control your script using your Android? Like telling it to attack goblins instead of cows for example? And/or having the ability to chat through Runescape's chat?
×