Welcome to TRiBot Forums

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

Beg

Registered
  • Content count

    317
  • Joined

  • Last visited

  • Feedback

    100%

Everything posted by Beg

  1. Cooks at Rogues Den (Burthoupe) using the well-known permanent fire. Supported Food: Shrimps, Anchovies, Karambwanji, Sardine, Karambwan, Herring, Mackerel, Trout, Cod, Pike, Salmon, Tuna, Lobster, Bass, Swordfish, Monkfish, Shark, Dark crab. Makes fire on a pre-established area close to the bank, and cooks on it. Mostly thinking about free-to-play users, however, included a few pay-to-play banks as well. Supported Banks: Lumbridge Top, Varrock West, Varrock East, Edgeville, Grand Exchange, Falador West, Falador East, Draynor Village, Duel Arena, Clan Wars, Al-Kharid. Castle Wars, Catherby, Seers (Camelot), Ardougne West, Ardougne East, Yanille, Nardah, Tzhaar City. Supported Food: Shrimps, Anchovies, Karambwanji, Sardine, Karambwan, Herring, Mackerel, Trout, Cod, Pike, Salmon, Tuna, Lobster, Bass, Swordfish, Monkfish, Shark, Dark crab. Cooks food on a range/stove/oven. Supported Ranges: Al-Kharid, Lumbridge, Falador, Edgeville, Varrock East. Cooking Guild, Catherby, Nardah. Supported Food: Shrimps, Anchovies, Karambwanji, Sardine, Karambwan, Herring, Mackerel, Trout, Cod, Pike, Salmon, Tuna, Lobster, Bass, Swordfish, Monkfish, Shark, Dark crab, Plain pizza, Baked potato, Sweetcorn. Makes food using two ingredients on each other. Supported Banks: Every bank supported by Banking API. Supported Food: Jug of Wine, Tuna potato, Anchovy pizza, Meat pizza, Pineapple pizza, Pizza base, Incomplete pizza, Uncooked pizza, Pastry dough, Pie shell, Uncooked berry pie, Uncooked meat pie, Raw mud pie, Uncooked apple pie, Raw garden pie, Raw fish pie, Raw wild pie, Raw summer pie. Notes: Amount over 1b or equal to 0 will be considered as Infinite. Stop level of 0 will be ignored. Ability to create or load one or multiple tasks to be executed. Combine different methods, food, amounts or stop level at your own will. Save the current script's state. This can be done either on Script's GUI or Script's Paint. The data file will be stored at .tribot/beg_scripts/Cooking/'your_input'.dat. If enable on GUI, a game system update will generate an automatic save which will be stored at .tribot/beg_scripts/Cooking/'your_rs_name current_date (current time)'.dat. Load any previous saved state. This can only be done upon start at Script's GUI. Got any progress report worth sharing? Let me know! Report any bug, missing feature, supported place or food below. If justified, it will be included to the script.
  2. Go to Purchase VIP menu https://tribot.org/repository/user_panel/vip/ , on the bottom you can see an option to cancel recurring.
  3. You need to invert the path and walk through it. There are walking methods with a stopping condition. You can use that to check if you've reached the destination area. https://tribot.org/doc/org/tribot/api2007/Walking.html#walkScreenPath-org.tribot.api.interfaces.Positionable:A-org.tribot.api.types.generic.Condition-long- https://tribot.org/doc/org/tribot/api2007/Walking.html#walkPath-org.tribot.api.interfaces.Positionable:A-org.tribot.api.types.generic.Condition-long- You can also use antiban to dynamically decide which one to use: RSTile[] invertedPath = Walking.invertPath(path); Condition stopCondition = null; if (checkarea) stopCondition = new Condition() { public boolean active() { General.sleep(time to sleep in ms); return area.contains(Player.getPosition()); } }; WalkingPreference walkPref = AntiBan.generateWalkingPreference(distance); invertedPath.length should be a decent distance estimative if (walkPref == WalkingPreference.MINIMAP) Walking.walkPath(invertedPath, stopCondition, General.random(min time to check condition in ms, max time to check condition in ms)); else Walking.walkScreenPath(invertedPath, stopCondition, General.random(same as above, same as above));
  4. Credits are tribot's currency. You need to purchase VIP-E with those credits. There is a menu on your left (Purchase VIP) where you can trade them.
  5. https://tribot.org/repository/user_panel/vip/vipe/
  6. Yes. And testing limited to 2 hours every 3 days.
  7. Fixed. Admiral, wild and summer pies are not tested because I don't have any member account with the required cooking level. Added: - Make-item: Raw botanical pies - FIre: Redwood logs Cooked sweetcorn Anglerfish - Range: All pies Plain pizza
  8. Assuming you're combining two items, and minimum amount of each is 1, Inventory contains items to combine? ==> if (Inventory.getCount("itemName1") > 0 && Inventory.getCount("itemName2") > 0) or, Inventory does not contain items to combine? ==> if (Inventory.getCount("itemName1) < 1 || Inventory.getCount("itemName2) < 1)
  9. You don't need VIP to upload scripts. You either tried to upload .class files (.java required) or there was a compilation/security error.
  10. No point using an area with size 1. Just use that tile directly: private int playersUnderneath() { return Players.getAll(Filters.Players.tileEquals(Player.getPosition())).length - 1; } Or, as an alternative, if you don't care how many players are underneath, you can use Players.exists: // at least one player is underneath you private boolean hasPlayerUnderneath() { return Players.exists(Filters.Players.tileEquals(Player.getPosition()), 2); }
  11. I've answered a few days ago on your previous post Now that I know what you really want to do with the method i can rewrite it: // a list of item names private List<String> itemNames = Arrays.asList("blue wizard hat"); // a filter to find other players private Filter<RSPlayer> enemies = new Filter<RSPlayer>() { private RSPlayer myself = Player.getRSPlayer(); @Override public boolean accept(RSPlayer p) { return p != null && !p.equals(myself); } }; private boolean enemyFound() { List<String> enemyItemNames = new ArrayList<String>(); // get every enemy item around you for (RSPlayer p : Players.find(enemies)) { RSPlayerDefinition player = p.getDefinition(); if (player != null) { for (RSItem i : player.getEquipment()) { RSItemDefinition item = i.getDefinition(); if (item != null) { enemyItemNames.add(item.getName()); } } } } // if disjoint returns false, we have found an item that matches the ones you specified return !Collections.disjoint(itemNames, enemyItemNames); } @Override public void run() { if (enemyFound()) { // enemy found, do your logic here } } An example with "Quest point cape" on items list:
  12. You need to make sure the player is not you (i.e. !player.equals(me)) private RSItem[] getEnemyItems() { RSPlayer[] otherPlayers = Players.findNearest(new Filter<RSPlayer>() { private RSPlayer myself = Player.getRSPlayer(); @Override public boolean accept(RSPlayer p) { return p != null && !p.equals(myself); } }); if (otherPlayers.length > 0) { RSPlayerDefinition def = otherPlayers[0].getDefinition(); if (def != null) return def.getEquipment(); } return new RSItem[0]; } @Override public void run() { for (RSItem i : getEnemyItems()) { RSItemDefinition def = i.getDefinition(); if (def != null) System.out.println(def.getName()); } }
  13. https://tribot.org/doc/org/tribot/api2007/NPCs.html#isAt-org.tribot.api.interfaces.Positionable-int...- Npcs.isAt
  14. Players.getAll(filter) / Players.findNearest(filter) (Filter used to exclude yourself) getDefinition() getEquipment() Make sure to length/null check when necessary.
  15. You can always select the option using keyboard. If that suits you, it's faster than moving the mouse and clicking.
  16. On sender: Open friend list (GameTab.openTab) -> check player online status (RSInterfaces) -> if online click on his name (RSInterfaces) -> typesend message (Keyboard) After you do it once, if you can't recieve messages from anyone, then simply press tab key (Keyboard) to send any more messages. On reciever: You should make you Script class implement MessageListening07 which has a few methods you need to override. Focus on playerMessageRecieved(name, message), thats the method you need. Do your reciever logic there. Don't forget to check if the name is one of your accounts so you don't get lured.
  17. You can use holdKey(KeyEvent.VK_SPACE) to skip multiple chat windows https://tribot.org/doc/org/tribot/api/input/Keyboard.html#holdKey-char-int-org.tribot.api.types.generic.Condition- PressKeys is used with characters that can't be typed (F keys, alt key, ctrl key, etc) To choose a chat option, you can use typeKeys((char)KeyEvent.VK_1)), typeKeys('1') or typeString("1") https://tribot.org/doc/org/tribot/api/input/Keyboard.html#typeKeys-char...-
  18. Interfaces.get can return null. You don't want to call getChild on a null object because that will throw a null pointer exception (NPE) and immediately stop your script. Use a variable to get the object returned by Interfaces.get(master,child) and null check it before attempting to get its component.
  19. Have you tried to copy paste the .tribot path?
  20. There is. Tribot client -> Tools -> Entity Debug Then hover the entity ingame. http://i.imgur.com/vLv0EdZ.gifv