

liverare
Scripter II-
Posts
1300 -
Joined
-
Last visited
-
Days Won
3 -
Feedback
0%
Everything posted by liverare
-
Mirror client BETA (x32) v1.094.86 "Please set your window mode to fixed mode!" is displayed on OSBot despite the client being in fixed mode.
-
My apologise, I made the commitment but I didn't sync those changes to the server. Zach informed me of this -- silly mistake. Sorry for the inconvenience!
-
I thought so too. I've contacted a developer and the official SDN manager, still no word from either of them. >_> I shan't give up!
-
Yeah I will be adding a disclaimer for that, sorry. I spoke to Zach via Skype and he says it's not possible due to Mirror Mode operating on a separate architecture. Again, sorry.
-
This script is not compatible with mirror mode. Please run it in standard only. I'm still waiting on the developers to push the new fixes:
-
I've identified the problem, made the fixes and now we just have to wait for the fixed script to be updated on the SDN. I'll let you know when the SND has updated.
-
I just this second edited my post lol. I think the devs push scripts twice daily, or at least once a day. But I'll be sure to post when it's fixed.
-
Please can you remove your quote, there's no need to quote my main post. It's huge. The problem is with Item#interact() method. A recent OSBot update has changed this method to where this method, without any parameters, will click the inventory tab before interacting with the item. I've added a parameter and committed the changes to the SND. I need to wait for a developer to make the final push and you guys should be good to go. Sorry for any inconvenience!
-
This script isn't compatible with mirror mode, and the script needs to be ran in fixed window mode.
-
I want to make a contribution, so here: package com.liverare.better.scripts.farming_aid; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.stream.Collectors; import org.osbot.rs07.api.model.NPC; import org.osbot.rs07.script.MethodProvider; public class FishingSpotIdentifier { /** * MethodProvided the running script instance is using */ private final MethodProvider methodProvider; /** * <key = action profile, value = NPC ID> */ private final Map<ActionProfile, Integer> fishingSpotIdCache; public FishingSpotIdentifier(MethodProvider methodProvider) { this.methodProvider = methodProvider; this.fishingSpotIdCache = new HashMap<>(); } /** * @param actionProfile * The specific fishing spot to find * @return List of the requested fishing spot, ordered by distance */ public List<NPC> get(ActionProfile actionProfile) { List<NPC> result = null; final List<NPC> found = methodProvider.getNpcs().getAll(); Integer cachedId = fishingSpotIdCache.get(actionProfile); if (cachedId != null) { result = found.stream().filter(npc -> cachedId.equals(npc.getId())).collect(Collectors.toList()); } else { result = found.stream().filter(npc -> hasAllActions(npc.getActions(), actionProfile.getActions())) .collect(Collectors.toList()); fishingSpotIdCache.put(actionProfile, result.iterator().next().getId()); } if (!result.isEmpty()) { result.sort((a, b) -> Integer.compare(methodProvider.getMap().distance(a), methodProvider.getMap().distance(b))); } return result; } /** * * @param actions * Actions to check against * @param actionsToFind * Actions to find (all!) * @return <tt>Actions array contains all of our requested actions</tt> */ private boolean hasAllActions(String[] actions, String... actionsToFind) { boolean result = true; for (String actionToFind : actionsToFind) { if (!contains(actions, actionToFind)) { result = false; break; } } return result; } /** * * @param arr * Array of strings to search * @param aString * String to find within the array * @return <tt>Requested string is present within the array</tt> */ private boolean contains(String[] arr, String aString) { boolean found = false; for (String s : arr) { if (s.equals(aString)) { found = true; break; } } return found; } /* * Each record will be used to distinguish each fishing spot. */ public static enum ActionProfile { CAGE_HARPOON("Cage", "Harpoon"), NET_HARPOON("Net", "Harpoon"), ; private final String[] actions; private ActionProfile(String... actions) { this.actions = actions; } public String[] getActions() { return actions; } }; } It can be used as: package com.liverare.better.scripts.farming_aid; import java.util.List; import org.osbot.rs07.api.model.NPC; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import com.liverare.better.scripts.farming_aid.FishingSpotIdentifier.ActionProfile; @ScriptManifest(name = "Fishing", info = "Fishes", version = 1.0, author = "LiveRare", logo = "") public class FishingScript extends Script { FishingSpotIdentifier fishingSpotIdentifier; @Override public void onStart() throws InterruptedException { fishingSpotIdentifier = new FishingSpotIdentifier(this); } @Override public int onLoop() throws InterruptedException { List<NPC> fishingSpot = fishingSpotIdentifier.get(ActionProfile.NET_HARPOON); if (!fishingSpot.isEmpty()) { fishingSpot.iterator().next().interact("Harpoon"); } return 500; } } Same fishing spots all have a consistent ID, so if you can discern which spot is for which fish, you can cach the profile and ID of the fishing spot. Then, when you need to re-find a new fishing spot, you won't need to run another action check, since you now have the ID of the fishing spot. This is more efficient, also the FishingSpotIdentifier#ActionProfile enumerator can be expanded to include all fishing spots. In fact, you could add an uninitiated integer field variable in the enumerator and initiate that, instead of dealing with a Map. But...cba. The Map strategy came to me first.
-
I am in the same boat as you, OP. I was banned for two days and I'm still too paranoid to bot anything. In all liklihood your IP address is associted with your RuneScape account. Using a VPN/Proxy will do nothing to undo that; it'll just be more IPs associated with your account. The only way a new IP address will help is if you're making a new account for the sole purpose of botting, provided you don't compromise that new IP address (thus the new account) by logging back onto your flagged account. [Citation needed]
-
8 hours since I activated it. This script is incompatible with mirror mode.
-
Done. Thank you for the report, I will look into this. :edit: I have just tested this script to fletch 100 mithril darts, there were no problems. Be sure to have mithril dart tips and feathers available in your inventory, and make sure you've selected "mithril darts" from the menu, not "mithril bolts". If this error persists, I may need to TeamView your screen as so that I can see for myself the errors you're having.
-
You've met them. Trial done. I'll see what I can do.
-
Well now I just feel silly. I thought I had already sorted the paint out lol. I had to disable it at an earlier point due to an image loading problem with the SDN. I will get around to sorting this, thanks for the report! Also, I cannot understand why the antiban would be an issue, because it's using OSBot's very own antiban system. There's possibly a flaw on their end, so I perhaps need to create my own if that's the case. It might just be lag; I lagged a hell of a lot yesterday. As for the delayed clicking...yeah. The methods I used for interacting are supplied by OSBot themselves, of which tends to misclick on occasions. However, if I try to compensate for this by reducing that wait, the bot will continuously try to interact with the NPC. Here's the scenario outcomes: With the wait, if you fail to interact with the NPC, you end up waiting a bit before hopefully interacting with it successfully a second time. Without the wait, if you fail to interact with the NPC, you do re-interact with the NPC instantly. However, if you did interact with the NPC the first time and there's no wait, the bot may attempt to re-interact with the NPC, but the interaction is obstructed by the tanning shop interface. Because that interface consumes the whole screen, the bot is unable to 'close' the interface before re-engaging with the shop owner. That action in and of itself would be redundant. The wait is a fail-safe mechanism to ensure the bot doesn't exhibit the latter scenario outcome. I of course fully understand this isn't enough, so I do need to write my own that's a little more accurate. Or I will simply left-click the NPC and have the bot streamline through the dialogue using the number pad. This will be safer as the chat dialogue interface doesn't consume the entire screen. Also, sorry for not responding to your trial request. If you request a refund, I can sort you out with a trial.
-
Facts: When you enter world 57, you spawn on Tutorial Island (as a fresh spawn) momentarily, and then you are translated across to the Clan Wars location. When you leave this world, you go back to your original account as normal. The first step would be to escape from Clan Wars, but the road to leave is blocked by rocks, the Ardougne cape's teleport, default home teleports for all spellbooks and the minigame teleports are all blocked. There are no law runes, nor any means of acquiring them, so there's no way to test the other spells (perhaps this is an oversight on Jagex's part--seeing as they do not give you laws, they may have not blocked the spell). I doubt there's any way to get your hands on a ring of life, or a diamond ring, because if you could, you might be able to forcibly teleport yourself out of Clan Wars via entering the arena and getting below 10% hp. There's one way to acquire items not provided by default: hunter kits. At best, laying a trap will move your player one square. Though I doubt you could use this as an exploit, and it's not like you can try it out during the battles since...y'know, fighting and all. Jagex has not added an amulet of glory to the chest, and I think this is partly due to the fact that the fury is better and because there's a 'recharge dragonstone' spell in the lunar spellbook. If you can somehow get your hands on an dragonstone item, that might be your ticket out of Clan Wars. The only other option I can think of is the ability to die outside of Clan Wars, but there doesn't seem to be any means of achieving this that I know of. Once you get outside of Clan Wars, then what? There'd need to be some kind of place where you can 'deposit' items briefly, that will then pass on through to the main game. It's possible Jagex has a major oversight issue here also. There might be some kind of quest feature that requires you to briefly hand over an item. Perhaps you could build your POH and use the costume room. Who knows. I'd be really interested to find a flaw in this. I would love to crash the RuneScape economy, lol. Back onto the hunter kits. Baby implings reward ball of wool and chisel. Earth implings reward uncut emerald, cur emerald and a cut ruby. Cut ruby can be used in part to make a digsite pendant. Essence implings reward law runes. Exlectic implings reward gold ore, five noted gold bars and a cut diamond. Magpie implings reward a ring of life and a cut dimaond. Dragon implings reward a dragonstone amulet and a amulet of glory. If by any chance you see one of these imps crossing Clan Wars, get yourself a hunter kit and go catch it!