Search the Community
Showing results for tags 'ftp'.
-
Hey, what's up guys I am not much of coder myself, but I used AI to make this simple Al-Kharid Cooking Bot. Every bot I downloaded from here seemed to not work anymore so I went ahead and made one. I am absolutely sure it has much room for improvement, but it works for what it does. I have run it for cooking 120K swordfish, I'm sure with a nice breaking profile you could use for a long time. Hopefully you can use it or make a better version for the community, if there's already a better version and I missed it just never mind this bot hahaha Bot Features Highlights the nearby bank booths and the Al-Kharid range Withdraws raw fish and deposits cooked fish Only interacts with objects when they’re actually visible on the screen Walks between the bank and the range automatically Cooks until the bank is out of raw food If the GUI is closed without picking a fish, the bot safely logs out and stops Tracks fish cooked, fish burnt, XP gained, runtime, and XP/hr Stable 1,000+ swordfish/hr (I was averaging about 1039/hr) Handled States (What the bot can do) This script operates using four clean and simple states: BANK Deposits everything, withdraws 28 raw fish, and handles the “out of food” condition safely. COOK Interacts with the range, handles the “Make X” / spacebar cook interface, and waits until cooking starts. WALK_TO_RANGE Walks to a random tile inside the Al-Kharid range area when not already there. WAIT Used whenever: The GUI is still open The GUI was closed with no selection (script stops) The player is already cooking Dialogues are open The bot needs to pause naturally Frequently Updated : Version 1.2 https://github.com/SpookydevsOfficial/Al-Kharid-Cooking-Bot
-
Choose a location, tree, and a bank and start chopping! Simple stuff! This is my first script so let me know if you run into any issues. Feature List: - Easy to use GUI - Drop or Bank - Variable Radius - 4 Free to Play Trees - 9 Free to Play Banks - Anti Ban Virus Scan: https://www.virustotal.com/#/file/1f0d3f77174110726df2025f3c9518a8f1c8a05f7bb48a1eb16109fe209c3ff3/detection VoodooCutter.jar
-
Hey guys so i'm in the process of creating an auto muler for private use yet could do with some help. I've currently tried: Starting another client by running a batch file from a script (Doesn't work as OsBot won't allow the execution of a batch file) Sending a .txt file to a ftp which I will then read from, enabling my bots to communicate with each other. I'm using an FTP from a minecraft server I used to run (So I may not have permission to change everything but can still add/delete files) The problem is when I try to connect to the FTP to move a file I get this error I've added a grant to java.policy (Still no luck) grant { permission java.net.SocketPermission "localhost:0", "listen,resolve"; }; My current code is if (progress == 0) { log ("Attempting to call muleaaaa"); String ftpUrl = "ftp://%s:%s@%s/%s;type=i"; String host = ""; String user = ""; String pass = ""; String filePath = "file:/C:/Users/admin/OSBot/data/test.txt"; String uploadPath = "logs/test.txt"; ftpUrl = String.format(ftpUrl, user, pass, host, uploadPath); log("Upload URL: " + ftpUrl); try { URL url = new URL(ftpUrl); URLConnection conn = url.openConnection(); OutputStream outputStream = conn.getOutputStream(); FileInputStream inputStream = new FileInputStream(filePath); byte[] buffer = new byte[5]; int bytesRead = -1; while ((bytesRead = inputStream.read(buffer)) != -1) { outputStream.write(buffer, 0, bytesRead); } inputStream.close(); outputStream.close(); log("File uploaded"); } catch (IOException ex) { ex.printStackTrace(); logger.error(ex); } As you can probably tell i'm not the most experienced in networking. Was just looking if anyone else has had this error (I've tried googling) If this is due to OsBot is a webserver (I'd have to look into how to do that) the next best way to set up an auto mule script? Thankyou!