Everything posted by FrostBug
-
Hey I have no VIP
Considering you've received TWC, could paypal have charged back the VIP payment for some reason?
-
Fruity Barrows (Frost Barrows)
Warning I need to update the script to work with the changes that were made to the barrows minigame in todays game update. Until the script is updated, please know that the script will more than probably get stuck!
-
Improving my combat method
@OP You don't have to make a seperate class for the filter as I suggested; that's just my own personal preference, as I find it cleaner and better for code-reuse. The only actual difference is that you don't get the context snapshot, which wasn't needed in my example.
-
Improving my combat method
What am I reading o_O this whole thing is literally the same as if(npc == p.getInteracting()) { return true; }
-
MessageListener
Are you certain of that, tho? It might be silently caught out back
-
MessageListener
What's that logging code? Might it be throwing the error? Try surrounding all of it in a try-catch, and use the default osbot logger to log the error
-
Fruity Barrows (Frost Barrows)
- Improving my combat method
public class YakFilter implements Filter<NPC> { public boolean match(NPC npc) { return npc != null && npc.getName().equals("Yak") && npc.getHealth() > 0 } } ^ Use a custom filter to find the yaks that aren't dying Can be used like so: NPC yak = getNpcs().closest(new YakFilter());- Fruity Barrows (Frost Barrows)
As shown in bold, the number your specify for prayer restoration potion is in doses... The script will deposit anything that's in excess of the least number of inventory slots possible used for potions Reset your zoom level to default- fix dialogue api
The API isn't broken. Your implementation might be, tho. What value are you returning from onLoop after clicking continue?- Fruity Barrows (Frost Barrows)
Looks like your profile might be corrupted. Try deleting your OSBot folder and let it be re-generated. (this means you have to log in and set up your rs accounts again)- Fruity Barrows (Frost Barrows)
Sorry, but that is not how the internet works. Please upload it somewhere like http://imgur.com or use Gyazo or similar- Fruity Barrows (Frost Barrows)
Sorry; I can't view images that are located on your harddrive. Upload it to some image hosting site- Fruity Barrows (Frost Barrows)
The client console tells you what's wrong.- Fruity Barrows (Frost Barrows)
Yep. Just post the request here or send me a PM once you're ready Not sure, but I'd suggest having a look around the mirror mode section; perhaps others have similar issues?- Improved Interact
well, I don't know anything about this "TIle error" But it's gonna be quite difficult to implement some mouse movement to moving entity without using the OSBot methods, which is what you wanted to avoid from what I understand. Standard interactions use an InteractionEvent, which in turn uses an EntityDestination to move the cursor to the entity. An EntityDestination can be used as such: NPC giant = getNpcs().closest("Hill giant"); getMouse().move(new EntityDestination(getBot(), giant)); But again; this is what the standard interaction does.- Improved Interact
double x = n.model.getBoundingBox(n.getGridX(), n.getGridY(), n.getZ()).getCenterX(); double y = n.model.getBoundingBox(n.getGridX(), n.getGridY(), n.getZ()).getCenterY(); mouse.move((int) x, (int) y); This isn't going to work for moving entities tho, or with an async moving camera. Standard entity mousedestinations update the mouse path during the movement, to update the location of the potentially moving entity. In the interact method you even fire some async camera events ;o Also, just throwing this out there, but.. public boolean isNpcValid(NPC npc) { if (npc != null && npc.exists() && map.canReach(npc)) { int id = npc.getId(); if (id != -1) { for (NPC i : getNpcs().get(npc.getX(), npc.getY())) { if (i.getId() == id) return true; } } } return false; } For these, the whole "Is there an entity with this ID at these coordinates" is entirely redundant since you're using the Entity#exists check. Could be cleaned up a bit by removing it- Fruity Barrows (Frost Barrows)
You should strive to use ~4-5 doeses of prayer potion per chest (Less on the first one since you enter with full prayer). Tanking Verac, Torag & Guthan helps a lot if you have the def level to pull it.- how do you interact with objects such as furnaces
try using something like.. List<RS2Widget> smeltOpts = getWidgets().containingText("Smelt 10"); if(!smeltOpts.isEmpty()) { RS2Widget opt = smeltOpts.get(0); getMouse().click(new WidgetDestination(getBot(), opt)); }- Fruity Barrows (Frost Barrows)
Dynsigs have been out of order because the client developers removed the means of grabbing osbot username from the bot. I do not know why they did this. It should drop them if needed to pick up loot Please use the bug report template found in the OP. Also ensure that you have a hotkey set for the quest tab. The script uses hotkeys for a lot of things.- FrostHunter
- I bought scripts and now I don't have them anymore.
If by "A few months" you mean well over a year; then they were probably discontinued with the release of OSBot 2- Fruity Barrows (Frost Barrows)
Hmm.. sounds like a client bug, since all the required checks are in place. Not sure what I can do about it Has anyone else experienced this? Posts in this thread is the only indication I have. You know as much as I do. (or can learn as much as I know by reading recent posts) Sorry for your losses Started a trial, sorry for the delay- MirrorClient v1.099-1.101
This leap in version number is pretty stronk- [RESOLVED] String equals String Error?
If I'm not mistaking you have a deadlock. You're waiting indefinitely in a synchronization block locked on Main.class The EDT tries to enter a synchronization block also locked on Main.class in order to notify the above thread = The EDT cannot enter the synchronization block because a thread is waiting in the first synchronization block = The first thread is never notified - Improving my combat method