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

zxcharyy

Registered
  • Content Count

    19
  • Joined

  • Last visited

  • Feedback

    N/A

Community Reputation

3 Neutral

About zxcharyy

  • Rank
    New Botter

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Does anyone have a guide on how to set-up debugging for tribot with eclipse? Noob scripter and debugging would help so much
  2. Thank you so much for the reply! You brought my attention to a lot of things I wouldn’t have originally noticed. I’ll fix this and see how it goes ?
  3. Hi all, I'm still extremely new to scripting and i've been trying to practice a little bit. I wrote up this simple script in like 15 minutes to test myself and I can't figure out for the life of me why it just stands still when I start it.. suggestions?
  4. I downloaded the JRE in 32bit and it lets me load the launcher but now I can't open eclipse because it says i need a JRE or JDK. I've tried installing them from the eclipse website but then it overides my tribot and my tribot won't open. Which java do I download to be able to run tribot and eclipse so i can continue scripting? I've always had issues with this. lol
  5. I have public final int fishingspot = 1526; i still don't fully understand returning values yet. but it I think I’m just going to watch a couple more java tutorials and see if I can learn more. Thank you all for the help.
  6. why not practice by attempting to make scripts?
  7. I have this right now, not sure why it's not working. public void fish() { //If Player is (!)NOT in combat if(!Player.getRSPlayer().isInCombat()) { println("We are safe."); NPCs.findNearest(fishingspot); { RSNPC[] spot = NPCs.findNearest(fishingspot); if (spot.length > 0) { if (Clicking.click("Lure", spot[0])) { //Dynamic wait here? } } } } }
  8. Need help on how to interact with an NPC (fishing spot) for fishing script. How would you write this method?
  9. Hello I’m still pretty new to scripting and coding in general. i was wondering if anyone had an open source script they wouldn’t mind sharing that breaks down the functions and what they do. I’m having issues adding in antibans and such because I’m not sure on how to go about adding it. any tips or help thrown my way would be greatly appreciated!
  10. are you botting on your same IP or using a proxy? I bot on an alt but I don't want my main to get banned from it too
  11. Check the comment below you, see how simple it is? Its a discussion, if you don’t care to do it, don’t do it?
  12. Do you recommend any videos or forums in particular that would be helpful for a beginner? I feel like I understand some of it but I still need it dumber down. ill search on YouTube but if there’s any you recommend please share!
  13. Nope! I just started learning today so I’m just trying to figure out what I did wrong because I’m still trying to get the hang of it
  14. EDIT: I have no errors now but it won't run when I start the script. just sits there. any tips? package scripts; import java.awt.Graphics; import org.tribot.api.DynamicClicking; import org.tribot.api2007.Inventory; import org.tribot.api2007.Objects; import org.tribot.api2007.Player; import org.tribot.api2007.types.RSObject; import org.tribot.script.Script; import org.tribot.script.ScriptManifest; import org.tribot.script.interfaces.Painting; @ScriptManifest(authors = { "Zxcharyy" }, category = "Mining", name = "MightyMiner") public class MightyMiner extends Script implements Painting { Timer time = new Timer(3000); private final int ROCK_ID = 11367; private final int[] PICKAXES = { 1271 , 1275 , 995 }; private boolean onStart() { println("MightyMiner has started."); return true; } @Override public void run() { if (onStart()) while (true) { sleep(loop()); } } public RSObject findNearest(int distance, int...ids) { RSObject[] objects = Objects.findNearest(distance, ids); for(RSObject object : objects) { if(object !=null) { return object; } } return null; } private int loop() { if(Inventory.isFull()) { Inventory.dropAllExcept(PICKAXES); } else { if(Player.getRSPlayer().getAnimation() == -1) { final RSObject[] rock = Objects.findNearest(15, ROCK_ID); if (rock != null) { if(rock.length < 1) { if (!DynamicClicking.clickRSObject(rock[0], "Mine")) time.reset(); while(Player.getRSPlayer().getAnimation() == -1 && time.isRunning()) { sleep(10); } } } } return 47; } return ROCK_ID; } @Override public void onPaint(Graphics arg0) { // TODO Auto-generated method stub } }
×
×
  • Create New...