Everything posted by lisabe96
-
RQ Fish Cooker
This script is written by request. It cooks fish at the Al-Kharid range. Also has a "cook all raws" option, which will cook every raw fish in your bank which you have the required level for. Version 1.0 (F2P Fish only) Click here to download Version 1.1 (All fish F2P & P2P) Click here to download Place the download jar in "c:\Users\YOUR_USER\osbot\scripts\"
-
RQ Tutorial Island Completer
- Completes tutorial island for you - - Randomizes character appearance for "less bot like look" - - Uses webwalking & random interaction choices to avoid patterns - - Picks up progress anywhere (so you can start the bot at any time) - - Finished in 7 minutes! - - Now turns off music! - Version 2.5 Click here to download! Place the downloaded jar in "c:\Users\YOUR_USER\osbot\scripts\" If you find any bugs, please report them so I can fix them.
-
User input click handling
I feel like it's a bit overkill here as I have no other similar situations and only have to check twice. However you'd be right if you said it's a more proper way of doing it
-
Stuck in dialogue
Then what's the right one?
-
Stuck in dialogue
Apparently osbot's logic is flawing then because it doesn't work half of the time, while frostbug's solution does all the time
-
Stuck in dialogue
What do you mean exactly?
-
Stuck in dialogue
It's weird, it sometimes works and sometimes not. Ill try your solution. Edit: Seems to be working this way, thanks!
-
Stuck in dialogue
if (script.getDialogues().inDialogue()) { if (script.getDialogues().isPendingContinuation()) { script.getDialogues().clickContinue(); break; } } When I log the code, It says that I'm in a dialogue, but not that there's pending continuation. With other words, I'm stuck as it doesn't continue the dialogue. Am I missing something?
-
User input click handling
The image is transparent, and I don't want users to have to click inside the fish, that would be a bad case of UI handling. It has to work when they click the area around it as well.
-
User input click handling
@Override public void onStart() { getBot().addMouseListener(this); try { normalImg = ImageIO.read(new URL("https://i.imgur.com/tXYml3w.png")); powerImg = ImageIO.read(new URL("https://i.imgur.com/LVpXu5C.png")); displayImage = normalImg; } catch (MalformedURLException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } } @Override public void mouseClicked(MouseEvent event) { int x = event.getX(); int y = event.getY(); if (x > 413 && x < 471 && y > 388 && y < 458) { powerfishing = !powerfishing; displayImage = powerfishing ? powerImg : normalImg; } } @Override public void mouseMoved(MouseEvent event) { int x = event.getX(); int y = event.getY(); tooltip = x > 413 && x < 471 && y > 388 && y < 458; } @Override public void onPaint(Graphics2D graphics) { Graphics2D g = (Graphics2D) graphics; g.setRenderingHints(new RenderingHints(RenderingHints.KEY_ANTIALIASING, RenderingHints.VALUE_ANTIALIAS_OFF)); if (displayImage != null) { graphics.drawImage(displayImage, 420, 400, null); } if (tooltip) { g.setColor(Color.BLUE); g.drawString("Click to " + (powerfishing ? "disable" : "enable") + " powerfishing.", 311, 15); } } Got it all working perfectly Thanks, code posted for people looking for this in the future
-
User input click handling
Oh so it's basically just default java implementation, I was expecting something more complex built into the API. Thanks I think i can figure it out
-
good tune
I think you meant to post this
-
User input click handling
I have only 1 option for the user to chose and it's kinda ridiculous to make a GUI for that, so I'd like to draw a toggle button to the game screen and handle it when it's clicked by the user. I have no experience what so ever with this, how would I go about implementing this?
-
[WIP] RGemCutter (Cuts Sapphire, Emerald, Ruby and Diamond)
Good job
-
[RELEASE] StartupFile , either for lazy people or for people that don't know how to
Fair enough I guess
-
[RELEASE] StartupFile , either for lazy people or for people that don't know how to
No offense, sure you learned some things and enjoy making stuff without purpose, because so do I. But if you can't drag a shortcut into a folder you wont be able to use this program either :p This is uber useless
-
RQ Wine Drinker & Filler
Version 1.1 updates: - Updated to the new API version (2.4.36) - Should now walk to the fountain instead of run (you're drinking anyways) And toggle run to head back to the bank. This should slightly increase speed. Version 1.2 Update: - Random delays removed Requesting to get it on the SDN, for now download here
-
[RELEASE] StartupFile , either for lazy people or for people that don't know how to
Or just copy shortcut to your windows start-up folder?
-
Wheat picker! 51k an hour F2P
Latest is .36 check main page
-
OSBot 2.4.36 - A huge step
Simply amazing, not a lot more you can say about this
-
RQ Smither | Smith your way up to the top!
- Fixed an issue where when out of bars it would keep trying to smith anyways. - Added anti-pattern and pseudo anti-ban options. - Tweaked some things - Can be started anywhere, any time (will go get utilities on it's own) I would love to push this to the SDN but lack the rsgp for a 2 hour proggy If anybody could help me out with a proggy that'd be great!
-
Amount input
Don't kill me when I'm wrong but with isVisible(); I'm assuming it's actually visible on the screen. This means that the widget might not be null, but because of e.g. lag it's not visible instantly yet. So checking if it's visible would be a good thing over only checking if it's not null.
-
RQ Smither | Smith your way up to the top!
Smiths any type of bar into items. Checks for better items on level-up. Uses the fast & close Varrock West location. No worries when you were in a rush and forgot to put a hammer in your inventory. The bot will get it out of your bank for you. Got different kinds of bars? No problem either, if you toggle "continuation" mode, the bot auto-switches bars until all the bars in your bank are done. If you only want to do one type of bar, just use "specific" mode. Current version: 1.1 Download here! Put the downloaded JAR inside "c:\Users\YOUR_USER\osbot\scripts\" and refresh your scripts list in your client. As always, report any bugs so I can fix them. If anybody could post a longer proggy that'd be great. I'm too poor for long smithing sessions
-
Amount input
RS2Widget w = getWidgets().get(162, 31); if (w == null) { log("Widget not found"); break; } if (w.isVisible()) { getKeyboard().typeString("5"); } Works perfectly, thanks for the help guys
-
Amount input
Use sure, thinking about it is another thing As this is dialogue related to me I was thinking dialogues and not widgets. Will try to get it working with widgets in a bit