Everything posted by d0zza
-
[Experienced] [Reliable] [Affordable] d0zza's Private Script Shop | Fast | CLI Support | Mule Support | Dozens of custom scripts made
Yes, add my skype so we can discuss easier.
-
[Experienced] [Reliable] [Affordable] d0zza's Private Script Shop | Fast | CLI Support | Mule Support | Dozens of custom scripts made
Bump
-
dSmither
Script now supports Throwing knives!
-
new script for my self
I suggest you make something simpler first so you can learn how to script properly. Checkout the tutorial and snippet sections.
-
[Experienced] [Reliable] [Affordable] d0zza's Private Script Shop | Fast | CLI Support | Mule Support | Dozens of custom scripts made
Bump
-
Crafting interface cant figure out...
Should be: craft.interact("Make All pairs of Leather gloves");
-
[Experienced] [Reliable] [Affordable] d0zza's Private Script Shop | Fast | CLI Support | Mule Support | Dozens of custom scripts made
Bump
-
Cooking bot, double click
The problem is the fact that when cooking your player constantly switches from animating to not animating. If you switch on 'my player debug' in settings you'll see this happen. An easy way to get around this is to keep track of the last time your player animated. Check out this thread:
-
System notifications
Ah well that means osbot doesn't have the right permissions to access the system tray which means you probably can't do system notifications.
-
System notifications
I haven't done it myself but I found this on stack overflow after googling java system notification: import java.awt.*; import java.awt.TrayIcon.MessageType; public class TrayIconDemo { public static void main(String[] args) throws AWTException, java.net.MalformedURLException { if (SystemTray.isSupported()) { TrayIconDemo td = new TrayIconDemo(); td.displayTray(); } else { System.err.println("System tray not supported!"); } } public void displayTray() throws AWTException, java.net.MalformedURLException { //Obtain only one instance of the SystemTray object SystemTray tray = SystemTray.getSystemTray(); //If the icon is a file Image image = Toolkit.getDefaultToolkit().createImage("icon.png"); //Alternative (if the icon is on the classpath): //Image image = Toolkit.getToolkit().createImage(getClass().getResource("icon.png")); TrayIcon trayIcon = new TrayIcon(image, "Tray Demo"); //Let the system resizes the image if needed trayIcon.setImageAutoSize(true); //Set tooltip text for the tray icon trayIcon.setToolTip("System tray icon demo"); tray.add(trayIcon); trayIcon.displayMessage("Hello, World", "notification demo", MessageType.INFO); } }
-
[Experienced] [Reliable] [Affordable] d0zza's Private Script Shop | Fast | CLI Support | Mule Support | Dozens of custom scripts made
Bump
-
Client runs for about 10-30 minutes then just stop and finally idle logs.
Check the logger when your script idles, if there is a null pointer in your code the logger will tell you which line it's at
-
[Experienced] [Reliable] [Affordable] d0zza's Private Script Shop | Fast | CLI Support | Mule Support | Dozens of custom scripts made
Bump
-
Local area & positions
You can also create your own 'localArea' API that act the same as OSBot's Area API.
-
[Experienced] [Reliable] [Affordable] d0zza's Private Script Shop | Fast | CLI Support | Mule Support | Dozens of custom scripts made
Bump
-
My Code Crashes
You can do it in the makeFire() method, For example something like this: public void makeFire() { RS2Object fire = objects.closest("Fire"); if (!myPlayer().isAnimating() && !myPlayer().isMoving() && fire != null) { GroundItem log = getGroundItems().closest("Logs"); if (log != null && log.interact("Light")) { new ConditionalSleep(3000) { @Override public boolean condition() throws InterruptedException { return myPlayer().isAnimating(); } }.sleep(); } } } It's mostly down to preference, however the way you had it before makes it clearer (to me) when you want the script to light a fire. Also at the moment you're trying to interact with logs on the ground. If you want to interact with logs in your inventory do this: Item log = getInventory().getItem("Logs");
-
[Experienced] [Reliable] [Affordable] d0zza's Private Script Shop | Fast | CLI Support | Mule Support | Dozens of custom scripts made
Bump
-
[Experienced] [Reliable] [Affordable] d0zza's Private Script Shop | Fast | CLI Support | Mule Support | Dozens of custom scripts made
Bump
-
[Experienced] [Reliable] [Affordable] d0zza's Private Script Shop | Fast | CLI Support | Mule Support | Dozens of custom scripts made
Bump
-
dSmither
What item are you smithing? And can you post a screenshot of the logger when this happens?
-
[Experienced] [Reliable] [Affordable] d0zza's Private Script Shop | Fast | CLI Support | Mule Support | Dozens of custom scripts made
Bump
-
OSBot not running scripts?
A script's GUI only pops up after the log in handler has finished. Either start the script while you're logged in or wait for the login handler to finish.
-
[Experienced] [Reliable] [Affordable] d0zza's Private Script Shop | Fast | CLI Support | Mule Support | Dozens of custom scripts made
Bump
-
New update broke script
The interact string might have changed? Does it hover the right widget or move the mouse to it at all?
-
Need suggestions
Mirror mode is said to be less detectable than injection but no one can really know how much safer it is (if at all). If you're only running 1 account then there's really no reason to limit the memory it uses. However 512mb is probably a bit on the lower side, I'd go for a higher limit. You can look through the SDN and each script on there has the amount of users the script has. But be aware that just cause 1 script has the most users doesn't mean it's the safest or best.