Jump to content

scriptersteve

Members
  • Posts

    258
  • Joined

  • Last visited

  • Feedback

    100%

Everything posted by scriptersteve

  1. Note to self, don't leave the scouting bot until 5 mins before the pk trip starts cus u code like a bellend
  2. oh fair I had the null check in my method that called it, not this method. Guess i needed it in both. Now I look at my other scripts i do always nullcheck in the getMonster function rather than function calling it so idk why i didn't this time. Thanks for replies What's better than closest? I've always used that just because it can take a filter as an input?
  3. I want to detect if a monster has spawned or not: If the monster has spawned method is fine, if monster has not spawned goes ape-shit and crashes client: public boolean getCallisto(){ boolean b = false; NPC Callisto = getNpcs().closest(npc -> npc.getName().equals("Callisto")); if(Callisto.isVisible()){ b = true; } return b; } not sure why, but assume there is a better way to detect if an NPC is present or not
  4. here is a snippet from my tzhaars script: private void lootTokkul() { if (getTokkul() != null) { long lastTokkul = getInventory().getAmount("Tokkul"); if (getTokkul().interact("Take")) { new ConditionalSleep(3000, 600) { @Override public boolean condition() throws InterruptedException { return getInventory().getAmount("Tokkul") > lastTokkul; } }.sleep(); } } } then just set getokkul to return true if there is a marks of grace on the floor and chance tokkul to Marks of grace
  5. he posted this a month and a half ago - i think you should stop trying to leech scripts off a dead post tbh. He clearly isn't making them anymore...
  6. not hard to edit it yourself and add that. it is infact 3 lines of code
  7. Also allows for occasional double drinking especially with higher prayer levels which I think is really nice
  8. Nw, there are a few different ways to add randomisation, i quite liked the above as it means it's different for each account running the script rather than hard coding say 10 to 30
  9. nice, personally i use randomised prayer drinking values like below but nice release: if (getSkills().getDynamic(PRAYER) < prayerValue) { pray();//pray } public void pray() { Filter<Item> prayPotionFilter = item -> item.getName().contains("Prayer"); Item prayPotion = getInventory().getItem(prayPotionFilter); int a = getSkills().getDynamic(PRAYER); if (prayPotion.interact("Drink")) { //attack new ConditionalSleep(3000, 300) { //sleep for 3 seconds or until the condition is true @Override public boolean condition() throws InterruptedException { return getSkills().getDynamic(PRAYER) > a; } }.sleep(); } prayerValue = random((int)(getSkills().getStatic(PRAYER) *0.2), (int)(getSkills().getStatic(PRAYER) *0.7)); }
  10. I highly doubt it was Osbot, unless it was a local script - SDN scripts are 100% fine
  11. here is first version: what you need to do: only uses monkfish - only supports superantipoisons(4). if u have super str/atk/def in bank it'll pot Loots expensive seeds and inert talisman https://www.dropbox.com/s/kwlivwexs53876l/Lizardman.jar?dl=0 Please note this is very much untested and badly written done in last couple of hours whilst playing fortnite (written once died in games) Used some of liverare's code for making the hats - again untested
  12. it's part of the way they detect bots. How you react to the 'packets' of information that is being sent from the game server to your character but yea, do not bot on an account u care about - simples
  13. https://gyazo.com/b967179b0ba9381fedcc9f968ae98aae basic right now and needs a bit of babysitting, got my talisman quickly though. If i patched this up added banking e.t.c would people use it? If there is some support for this i'll fix it up a bit/ maybe add crafting to it and release it as a local need to get 5% favour manually by healing soldiers as of right now
  14. Other people sell them cheaper?
  15. buying lvl 3 tuts, post price. If locked on login, i'd like a refund. If botted tut island ~~ 3 day wait period. Must have randomised character look
  16. google java decompiler download it open .jar in it look at code see if it's safe
  17. you don't have the armour in your inventory... see the log false. Means that you don't have armour in inv. if(this.config.hasArmour()!=true){ log("false"); stop(); } maybe have armour in inv and try again? lol I only tested with mith as that's best tokens/hr but black should work fine too..
  18. if(g.getName().equals(P2PLoot[i])&&g !=null){ change to: if(g.getName().equals(P2PLoot[i])&&g !=null && getMap().canReach(g) && getMap().realDistance(g) < ARBITRARY NUMBER say 7){ Then if you wanted you can do if your g = null (so you prioritise looting stuff nearer to your character) walk to items further away and loot them When sleeping - your using static sleeps: Below is a way of randomising that sleep time - just makes it a tad less botlike try{ sleep(random(300,600)); } catch(Exception e){ }
  19. this snippet may be helpful: public GroundItem getTokkul() { Filter<GroundItem> b = item -> (item.getName().contains("Tokkul") && item.getAmount() > tokkulloot && getMap().realDistance(item) < 7 ); GroundItem tokkul = getGroundItems().closest(b); return tokkul; } I.e this only returns the tokkul is there if you could also add a getMap().canReach(item), this means if you can't reach it it won't return as true getMap().realDistance(item) < 7
  20. Also how you autoclicking on 5 accs at once? I only do 1 at a time
×
×
  • Create New...