Dragonsbreath Posted April 6, 2018 Share Posted April 6, 2018 (edited) I am setting up my script to work in Ubuntu 17.04 Server as follows: java -jar "/OSBot 2.5.3.jar" -login -bot -proxy -script 671:1;2;1;0 Example from Scripter Usage: -script 671:LecternID;TabID;BankingID;Host;Hostname Example usage: -script 671:2;2;6;0 This is the result: Terminal & Bot Logger Starting SDN script with id: 671 [DEBUG][04/06 02:10:37 PM]: Injected 2 field list filters [DEBUG][04/06 02:10:37 PM]: Injected 2 field filters [DEBUG][04/06 02:10:37 PM]: Injected 2 method list filters [DEBUG][04/06 02:10:37 PM]: Injected 3 method filters 2: command not found 1: command not found 0: command not found [INFO][Bot #1][04/06 02:11:11 PM]: Welcome to Khal Tab maker! [INFO][Bot #1][04/06 02:11:11 PM]: Loaded font [INFO][Bot #1][04/06 02:11:13 PM]: Random solver exited : Welcome Screen [INFO][Bot #1][04/06 02:11:16 PM]: Wrong amount of parameters Edited April 6, 2018 by Dragonsbreath Quote Link to comment Share on other sites More sharing options...
ez11 Posted April 6, 2018 Share Posted April 6, 2018 is -script the only thing you try to use to start your client? Quote Link to comment Share on other sites More sharing options...
Dragonsbreath Posted April 6, 2018 Author Share Posted April 6, 2018 (edited) Updated original post with all relevant info Edited April 6, 2018 by Dragonsbreath Quote Link to comment Share on other sites More sharing options...
ez11 Posted April 6, 2018 Share Posted April 6, 2018 31 minutes ago, Dragonsbreath said: No, this is my command with the login details removed. sudo java -jar "/OSBot 2.5.3.jar" -login -bot -proxy -world 302 -script 671:1,2,1,0 It starts up perfectly, however anything past 671:1 is not passed into osbot you need to use semicolons instead of commas Quote Link to comment Share on other sites More sharing options...
Dragonsbreath Posted April 6, 2018 Author Share Posted April 6, 2018 (edited) Updated original post with all relevant info Edited April 6, 2018 by Dragonsbreath Quote Link to comment Share on other sites More sharing options...
ThatGamerBlue Posted April 6, 2018 Share Posted April 6, 2018 (edited) try wrapping the command in quotes, sudo "java -jar \"/OSBot 2.5.3.jar\" -login -bot -proxy -world 302 -script 671:1,2,1,0" also you shouldn't have to use sudo edit: nvm that wont work, escape the commas with backslashes java -jar "/OSBot 2.5.3.jar" -login -bot -proxy -world 302 -script 671:1\,2\,1\,0 Edited April 6, 2018 by ThatGamerBlue Quote Link to comment Share on other sites More sharing options...
Dragonsbreath Posted April 6, 2018 Author Share Posted April 6, 2018 (edited) 23 minutes ago, ThatGamerBlue said: try wrapping the command in quotes, sudo "java -jar \"/OSBot 2.5.3.jar\" -login -bot -proxy -world 302 -script 671:1,2,1,0" also you shouldn't have to use sudo edit: nvm that wont work, escape the commas with backslashes java -jar "/OSBot 2.5.3.jar" -login -bot -proxy -world 302 -script 671:1\,2\,1\,0 When I do this OSBOT goes into Low Resouce Mode and the proxy is removed. It's almost as if the Params are sent as OSbot commands instead of -Script parameters When I try the backslashes with semi-colons the bot will not start. Edited April 6, 2018 by Dragonsbreath Quote Link to comment Share on other sites More sharing options...
Dragonsbreath Posted April 6, 2018 Author Share Posted April 6, 2018 I can get it to load but the bot debug shows that I have entered the wrong amount of parameters. Is this a script error? Quote Link to comment Share on other sites More sharing options...
Muffins Posted April 6, 2018 Share Posted April 6, 2018 try adding -script before proxy and world Quote Link to comment Share on other sites More sharing options...
Dragonsbreath Posted April 6, 2018 Author Share Posted April 6, 2018 4 minutes ago, Muffins said: try adding -script before proxy and world Thank you for your suggestion however I get the same error & proxy is removed from client :( java -jar "OSBot 2.5.3.jar" -login -bot -script 671:1;2;1;0 -proxy Starting SDN script with id: 671 [DEBUG][04/06 03:14:31 PM]: Injected 2 field list filters [DEBUG][04/06 03:14:31 PM]: Injected 2 field filters [DEBUG][04/06 03:14:31 PM]: Injected 2 method list filters [DEBUG][04/06 03:14:31 PM]: Injected 3 method filters 2: command not found 1: command not found 0: command not found [INFO][Bot #1][04/06 03:15:04 PM]: Welcome to Khal Tab maker! [INFO][Bot #1][04/06 03:15:04 PM]: Loaded font [INFO][Bot #1][04/06 03:15:06 PM]: Random solver exited : Welcome Screen [INFO][Bot #1][04/06 03:15:09 PM]: Wrong amount of parameters Quote Link to comment Share on other sites More sharing options...
Muffins Posted April 6, 2018 Share Posted April 6, 2018 Just now, Dragonsbreath said: Thank you for your suggestion however I get the same error & proxy is removed from client :( java -jar "OSBot 2.5.3.jar" -login -bot -script 671:1;2;1;0 -proxy Starting SDN script with id: 671 [DEBUG][04/06 03:14:31 PM]: Injected 2 field list filters [DEBUG][04/06 03:14:31 PM]: Injected 2 field filters [DEBUG][04/06 03:14:31 PM]: Injected 2 method list filters [DEBUG][04/06 03:14:31 PM]: Injected 3 method filters 2: command not found 1: command not found 0: command not found [INFO][Bot #1][04/06 03:15:04 PM]: Welcome to Khal Tab maker! [INFO][Bot #1][04/06 03:15:04 PM]: Loaded font [INFO][Bot #1][04/06 03:15:06 PM]: Random solver exited : Welcome Screen [INFO][Bot #1][04/06 03:15:09 PM]: Wrong amount of parameters are you sure your parameters in your script are configured correctly? Quote Link to comment Share on other sites More sharing options...
Dragonsbreath Posted April 6, 2018 Author Share Posted April 6, 2018 1 minute ago, Muffins said: are you sure your parameters in your script are configured correctly? I am almost certain I have checked it 10 times for this fear. Example from Scripter Usage: -script 671:LecternID;TabID;BankingID;Host;Hostname Example usage: -script 671:2;2;6;0 Quote Link to comment Share on other sites More sharing options...
Muffins Posted April 6, 2018 Share Posted April 6, 2018 5 minutes ago, Dragonsbreath said: I am almost certain I have checked it 10 times for this fear. Example from Scripter Usage: -script 671:LecternID;TabID;BankingID;Host;Hostname Example usage: -script 671:2;2;6;0 forgive me for possible retard moment, but for example usage wouldnt you do -script 671 18765;525;188;Friend;99conFTWHOUSE or something like that? I'm not too familiar with params/setup Quote Link to comment Share on other sites More sharing options...
Dragonsbreath Posted April 6, 2018 Author Share Posted April 6, 2018 (edited) 5 minutes ago, Muffins said: forgive me for possible retard moment, but for example usage wouldnt you do -script 671 18765;525;188;Friend;99conFTWHOUSE or something like that? I'm not too familiar with params/setup It could, but only if it were designed like that. The params are built into the script by ID Example usage: -script 671:2;2;6;0 (Use Eagle lectern, varrock tabs, unnote at rimmington, no Host) Edited April 6, 2018 by Dragonsbreath Quote Link to comment Share on other sites More sharing options...
Muffins Posted April 6, 2018 Share Posted April 6, 2018 Just now, Dragonsbreath said: It could, but only if it were designed like that. The params are built into the script by ID So -script 671 tells OSBot to open the script 671 on SDN Example usage: -script 671:2;2;6;0 (Use Eagle lectern, varrock tabs, unnote at rimmington, no Host) I see, it could be broken due to an update from Thursday, I reckon you post on the tabmaker (I presume khalessi) thread asking him to look it over. 1 Quote Link to comment Share on other sites More sharing options...