Jump to content

Bobbey

Members
  • Posts

    82
  • Joined

  • Last visited

  • Feedback

    100%

1 Follower

Profile Information

  • Gender
    Male

Recent Profile Visitors

1839 profile views

Bobbey's Achievements

Iron Poster

Iron Poster (3/10)

22

Reputation

  1. You should try and run the osbot jar in your terminal > java -jar osbot.jar And then you will potentially see an error message that you can post here. You can also install https://github.com/Adamcake/Bolt and then use the env variables to launch the client with a character selected. Bolt saves the credentials somewhere. .env("JX_DISPLAY_NAME", display_name.as_ref()) .env("JX_SESSION_ID", session_id.as_ref()) .env("JX_CHARACTER_ID", character_id.as_ref()) If you dont mind trying to compile a rust program then this one works as well. You could use or modify https://github.com/aitoiaita/linux-jagex-launcher You can change the run_runelite_with_jagex_account in daemon.rs function to run osbot instead of runelite Command::new("java") .arg("-jar") .arg("/home/user/osbot.jar") .arg("-autologin") This way you can just type in the terminal "osrs-launcher" and then select an account and it will work. For the login process to work you'll need to follow this as well https://github.com/aitoiaita/linux-jagex-launcher/issues/3
  2. Everything I'm about to say is what I think, presented as if it's what I know; They do heuristics analysis. Account age, IP, P2P/F2P, general behaviour, where does the account go. Does it do the same as other accounts? How long? They then get a number from 0 to 1.0 on how suspicious you are. Once you exceed a certain number, you get a ban. In order to be sure, they need a longer period of time (hence the 24 hour restriction) to be confident that they are right. I was once banned on an account I did manually from tut to GE. I turned on a woodcutting bot and in 1 minute of botting I was banned. Honestly I believe I would have been banned if I did the cutting without the bot. They solely banned me based on that I was doing everything exactly as the script I wrote. Normal players run around a bit, take other paths. They deviate from the perfect steps to their goal more and more over time. Antiban should be about doing different things, doing them differently. It should be about switching up methods, doing more than just trying to get GP or XP. Most importantly, they compare your behaviour with others. I've written a safespot script for moss giants and I have about 30k kills with it. But it's only on that account. I take a few breaks here and there, I don't do much else on the account as F2P is quite limited. I am not at risk of a ban because I have used this script only on this account and I am behaving unique to other bots - as I've used this script on this account only.
  3. The mouse is not visible by default. You can either render it or enable the mouse position option in the debug options. You can create a mouse move profile and set it like so: MouseMoveProfile profile = new MouseMoveProfile(); profile.setNoise(); profile.setDeviation(); profile.setSpeedBaseTime(); profile.setFlowSpeedModifier(); profile.setMinOvershootTime(); getBot().setMouseMoveProfile(profile); You can move the mouse without using the mouse handler of osbot as described here: https://osbot.org/api/org/osbot/rs07/input/mouse/ClientMouseEventHandler.html#generateBotMouseEvent-int-long-int-int-int-int-boolean-int-int-int-boolean-
  4. Non-SDN scripts are troublesome with resources. You have to download the resources externally. That's why I made some code which can be used to download any image from the oldschool runescape wiki or any other website for that matter. public static CompletableFuture<BufferedImage> getImage(File imageFolder, String fileName, String url) { File imageFile = new File(imageFolder, fileName); //AccessController.doPrivileged gives the new thread permission to read the image from the data directory return CompletableFuture.supplyAsync(() -> AccessController.doPrivileged((PrivilegedAction<BufferedImage>) () -> { try { if (!imageFile.exists()) { downloadImage(url, imageFile); } return ImageIO.read(imageFile); } catch (IOException e) { throw new RuntimeException(e); } })); } private static boolean downloadImage(String urlString, File destination) throws IOException { URL url = new URL(urlString); InputStream in = url.openStream(); FileOutputStream fos = new FileOutputStream(destination); ReadableByteChannel rbc = Channels.newChannel(in); fos.getChannel().transferFrom(rbc, 0, Long.MAX_VALUE); fos.close(); in.close(); return true; } Example usage: //Somwhere in your class private BufferedImage coinIcon; //In your paint method if(coinIcon != null) { g.drawImage(coinsIcon, x, y, null);//Use original dimensions g.drawImage(coinsIcon, x, y, width, height, null); } File imageFolder = new File(getDirectoryData() + File.seperator + "scriptname", "images"); String fileName = "coinstack.png"; String url = "https://oldschool.runescape.wiki/images/Coins_10000.png"; Function<Throwable, Void> errorHandler = e -> { script.log(e); return null; }; ResourceManager.getImage(imageFolder, fileName, url).thenAccept(image -> { coinIcon = image; //Note: this is off the main thread, if youre inserting into lists or maps from multiple of these calls, use synchronized or concurrent collentions and maps. }).exceptionally(errorHandler); The fileName is the name for how it is saved in the data folder. This code spawns a new thread that reads or downloads the image. Then the thenAccept function is called with the buffered image.
  5. I was getting annoyed by osbot installing updates to the home directory and me having to give it executable permissions over and over and looking for the correct file to launch. Therefore I've written a script that creates an application entry so you can just search with the SUPER key on your keyboard and then typing "osbot". The installed script will find the latest jar in your home folder and launch that. Tested on Ubuntu. May work on Fedora, Debian and their derivatives. Note: before installing, make sure there is any osbot jar present in the home directory /home/username/osbot x.x.x.jar Installer Note: the installer requires "osbot_icon.png" in the working directory. This icon needs to be 48x48 or 64x64 or 128x128 etc. You can use this image for example. Don't forget to rename it after downloading. $ sh install.sh Creates a script at /usr/local/bin/osbot which finds and launches the latest osbot.jar in the home directory. Makes the script executable Copies osbot_icon.png to /usr/share/icons/osbot_icons/osbot_icon.png and gives it the correct permissions Creates the desktop entry ~/.local/share/applications/osbot.desktop and gives it the correct permissions Reloads the application database Logs can be found at /tmp/osbot_launcher.log Uninstaller $ sh uninstall.sh Noob guide: Read the comments of this post to see if it's not malicious code. Create a folder somewhere and download the image on this post into it and rename it to osbot_icon.png Right click in the folder -> Open in terminal Type "nano installer.sh" and copy the installer code from this post and right click in the terminal. CTRL + O and CTRL + X to save the script. Type "sh installer.sh" This image is uploaded to osbot and is converted to webp. It's here in case imgur removes the other image:
  6. I appreciate the last 2 updates. 4 things were fixed that were reported by me
  7. It's important to note that it does work sometimes if I am more zoomed out.
  8. I pizza promise I will! I am at the development stage.
  9. This is archived and not guaranteed to work unfortunately.
  10. <15 mins is pretty short. Does that mean youll only break for like 2 mins? Do you log out?
×
×
  • Create New...