Everything posted by Chris
- benzo dailyo shitto posto
-
Winner of the 50m Giveaway
- 2 of The Winners Didn't collect their prize
I was at work FML.- Making of a Combat script
import org.osbot.rs07.api.filter.Filter; import org.osbot.rs07.api.model.NPC; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import java.awt.*; @ScriptManifest(name = "Gearz Flesh Crawler Killer", author = "Gearfighter", version = 1.0, info = "", logo = "") public class GearzFleshCrawlerKiller extends Script { @Override public void onStart() { log("Time to kill some Flesh Crawlers"); } @Override public void onExit() { } @Override public int onLoop() throws InterruptedException { //NPC fleshCrawler = npcs.closest("Flesh Crawler"); //try building a filter NPC fleshCrawler = npcs.closest(new Filter<NPC>() { @Override public boolean match(NPC npc) { return npc.exists() && npc.getName().equals("Flesh Crawler") && npc.isAttackable() && npc.getHealthPercent() > 0; } }); if (!getCombat().isFighting() || myPlayer().getInteracting() == null){ if (fleshCrawler != null) { if (fleshCrawler.isVisible()) { fleshCrawler.interact("Attack"); } } } return random(600, 900); } // The amount of time in milliseconds before the loop starts over @Override public void onPaint(Graphics2D g) { // This is where you will put your code for paint(s) } }- Ronnieee!
- Fishing Script Help
import org.osbot.rs07.api.model.NPC; import org.osbot.rs07.api.model.RS2Object; import org.osbot.rs07.api.ui.RS2Widget; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import java.awt.*; @ScriptManifest(author = "You", info = "My first script", name = "Tea thiever", version = 0, logo = "") public class main extends Script { @Override public void onStart() { log("Let's get started!"); } private enum State { FISH, COOK, DROP } private State getState() { if(inventory.isEmptyExcept(310, 17794, 309, 17795, 123, 17796) && !myPlayer().isAnimating()) return State.FISH; if(inventory.isFull()) return State.COOK; return State.DROP; } @Override public int onLoop() throws InterruptedException { switch(getState()) { case FISH: //Entity fishingSpot = objects.closest("Fishing Spot"); Wrong. Fishing spots are tied to NPCs //You meant to do: NPC fishingSpot = getNpcs().closest("Fishing Spot"); if (fishingSpot != null) { //ALWAYS NULL CHECK BEFORE INTERACTING..Keep this in mind. logic: if it exists -> interact fishingSpot.interact("Lure"); //sleep } break; case COOK: //Entity fire = objects.closest("fire"); This is okay to do since Object,NPC,etc extend Entity //but should do it like this. RS2Object fire = getObjects().closest("Fire"); RS2Widget cookMenu = widgets.get(307, 4); //I am going to throw some code in here for you. It will be your job to find it in the API docs and understand the methods I am implementing. if (cookMenu != null && cookMenu.isVisible()) { cookMenu.interact("Cook All"); //sleep } else { if (getInventory().isItemSelected()) { if (fire != null) { fire.interact("Use"); //sleep...look into ConditionalSleep } } else { //item is not selected..select something inventory.interact("Use", "Trout"); //sleep } } break; case DROP: inventory.dropAll(331, 332, 333, 334, 25976); break; } return 600; //just return a server tick 600ms } @Override public void onExit() { log("Thanks for running my first script!"); } @Override public void onPaint(Graphics2D g) { } } Try this- Selling LEVEL 28 Pokemon GO Account.
5$- 50m Giveaway
I love making free quality scripts for Osbot- Alching : script vs autoclicker
ill use my hand before i use a script m8- OSBot 2.4.79 - Small Updates - Web Walking + Mouse Debug
Thanks for fast updates dad- Tips on not getting banned
dont bot- computer people... need help! possible keylogger or something?
inb4 password = hunter2 backwards- Complete guide on how to stop being addicted to botting
how do u get addicted- How do I add this script to my osbot?
http://lmgtfy.com/?q=How+to+get+to+the+users+folder+on+mac- Open Flax Spinner | Free & Open Source
Nice- Developing free script - City Area enum?
public enum City { LUMBRIDGE(3222, 3218, 0), AL_KHARID(3293, 3174, 0), DRAYNOR(3093, 3244, 0), PORT_SARIM(3023, 3208, 0), KARAMJA(2948, 3147, 0), CRANDOR(2851, 3238, 0), RIMMINGTON(2957, 3214, 0), VARROCK(3210, 3424, 0), DIGSITE(3354, 3402, 0), FALADOR(2964, 3378, 0), GRAND_EXCHANGE(3161, 3486, 0), BARBARIAN_VILLAGE(3082, 3420, 0), EDGEVILLE(3093, 3493, 0), BURTHORPE(2926, 3559, 0), CATHERBY(2813, 3447, 0), CAMELOT(2757, 3477, 0), SEERS_VILLAGE(2708, 3492, 0), WEST_ARDOUGNE(2529, 3307, 0), EAST_ARDOUGNE(2662, 3305, 0), TREE_GNOME_STRONGHOLD(2461, 3443, 0), POLLNIVNEACH(3359, 2910, 0), SOPHANEM(3274, 2784, 0), CANIFIS(3506, 3496, 0), PORT_PHASMATYS(3687, 3502, 0), MORT_TON(3489, 3288, 0), TZHAAR(2480, 5175, -2), APE_ATOLL(2755, 2784, 0); private int x, y, z; City(int x, int y, int z) { this.x = x; this.y = y; this.z = z; } public Position construct() { return new Position(x, y, z); } } ?- Deciding on purchasing VIP? (MIRROR MODE IN SPECIFIC)
injection is better- Developing free script - City Area enum?
http://explv.github.io/#- [PC] 90 90 90
- OSBot 2.4.78 - Patches
Thanks for the quick updates. I will find some missing links when I get the spare time- Anyone know when Zach normally gets on?
you are supposed to wait 1-2 weeks for a git acc. iirc. Making shitposts about it will just extend the wait time.- Botting on two different characters at seperate times
beat bans by botting on 3 accounts!- my dad yelled at my cat today
- my dad yelled at my cat today
- 2 of The Winners Didn't collect their prize