December 18, 20169 yr (I'm trying to run a local script) Starts up osbot, logs into my osbot account, then generates an error saying that the bot failed to initialize. Commands I'm using: java -jar "osbot 2.4.104.jar" -login Flamo:HIDDEN -bot HIDDEN@[member='gmail'].com:HIDDEN:1234 -debug 5005 -script TabFarmer:mule,317 Script manifest I'm using: @ScriptManifest(author = "Flamo", version = 0.03, info = "Tab maker that supports muling, hosting, and tab making.", logo = "", name = "TabFarmer") Debug logs: C:\Users\HIDDEN\Desktop>java -jar "osbot 2.4.104.jar" -login Flamo:HIDDEN -b ot HIDDEN@[member='gmail'].com:HIDDEN:1234 -debug 5005 -script TabFarmer:Mule,317 Debug enabled on port 5005 Starting local script with name: TabFarmer [DEBUG][12/18 02:22:28 AM]: Injected 2 field list filters [DEBUG][12/18 02:22:28 AM]: Injected 2 field filters [DEBUG][12/18 02:22:28 AM]: Injected 2 method list filters [DEBUG][12/18 02:22:28 AM]: Injected 3 method filters In debug mode! Listening for transport dt_socket at address: 5005 Stealth injection class-filter enabled! [DEBUG][12/18 02:22:29 AM]: OSBot is now ready! [INFO][12/18 02:22:31 AM]: Loaded 4 RS accounts! Loaded 2 local scripts and 1 SDN scripts. [INFO][12/18 02:22:32 AM]: Welcome to OSBot 2.4.104! [INFO][12/18 02:22:37 AM]: Updated injection hooks for client revision : 129! [DEBUG][Bot #1][12/18 02:22:37 AM]: Initializing stealth injection bot... [INFO][Bot #1][12/18 02:22:38 AM]: Downloading latest RS2 old-school client para meters... Bot failed to initialize! If you are running OSBot from command-line, ensure tha t the world you entered is valid! If the world you entered is valid, please chec k the OSBot forums for online/offline status.java.net.UnknownHostException: olds chool317.runescape.com at java.net.AbstractPlainSocketImpl.connect(Unknown Source) [INFO][12/18 02:22:38 AM]: Started bot #1 at java.net.PlainSocketImpl.conn ect(Unknown Source) at java.net.SocksSocketImpl.connect(Unknown Source) at java.net.Socket.connect(Unknown Source) at sun.net.NetworkClient.doConnect(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.openServer(Unknown Source) at sun.net.www.http.HttpClient.<init>(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.http.HttpClient.New(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(UnknownSource) at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessController.doPrivilegedWithCombiner(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.access$200(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection$9.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.AccessController.doPrivilegedWithCombiner(Unknown Source) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at org.osbot.Lpt8.IIIIiiiIIIiI(wo:195) at org.osbot.rs07.RS07Parameters.IIIIiiiIIIiI(dp:18) at org.osbot.rs07.RS07Parameters.<init>(dp:249) at org.osbot.core.inject.RS07ClientInjector.inject(yx:75) at org.osbot.rs07.Bot.initialize(ne:439) at org.osbot.Lpt1.run(rv:124) at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Edited December 18, 20169 yr by Flamo
December 18, 20169 yr Author name= must be at the end of the script manifest for CLI to work. updated thread, still not working after taking your advice
December 18, 20169 yr You probably already have a client listening on port 5005, therefore the new client can't bind to that port
December 18, 20169 yr Author You probably already have a client listening on port 5005, therefore the new client can't bind to that port Lol
December 18, 20169 yr I provided pretty thorough documentation but people still ignore it. http://i.imgur.com/8ZCZeq4.png Specifically, I listed the illegal delimeters... Edit: I also hope you are not passing "317" as a script parameter for setting your world; I wrote a CLI flag for it.
December 18, 20169 yr Author I provided pretty thorough documentation but people still ignore it. http://i.imgur.com/8ZCZeq4.png Specifically, I listed the illegal delimeters... Edit: I also hope you are not passing "317" as a script parameter for setting your world; I wrote a CLI flag for it. Your release thread was all I could find regarding the usage of cli, the last place I would have thought to look was the front page of the forum
Create an account or sign in to comment