Jump to content

goldKeeper

Members
  • Posts

    17
  • Joined

  • Last visited

  • Feedback

    100%

Everything posted by goldKeeper

  1. then execute it in terminal and tell us the error. You can execute in the terminal with either ./file.sh or bash filename.sh and if you are not at the right directory then do bash /path/to/file/file.sh
  2. you can either right click it and look for permissions tab and set it to executable for the owner or if you are familiar with the terminal just do chmod +x fileName.sh and execute it with ./fileName.sh
  3. you need to save it as .sh and make it executable
  4. You could just do a short sleep after the conditional sleep finished. This would be more "human-like". At least in this case it would solve your problem
  5. When starting osbot with a proxy with cli it works when I do it in this format ip:port:user:pass But if my proxy only offers ip authentication, I don't know how to do it with cli. It doesn't seem to work with ip:port nor does it with ip:port:0:0 With the latter I get the error that the proxy seems to not be configured correctly.
  6. for me its working with neither proxy nor home ip atm. http://prntscr.com/j9y17m
  7. i was able to run around 10. Upgraded the plan though, because I wanted to run more bots
  8. Bug Report:- Normal client or Mirror client? Normal client - What is the issue? Stuck when the wizard asks if you want to be an ironman. The bot answers the "Do you want to go to the mainland?" with yes. Then instead of answering the next question with "No, I'm not planning to do that" it clicks on the wizard again and repeats it before the wizard gives you the three choices. - What is the script status? (can be seen in the paint) debug + script status: http://prntscr.com/j87xlc - Can you get a printscreen of it? http://prntscr.com/j87ybg Answers him "Yes" http://prntscr.com/j87yyl clicks again on him after being in this dialogue and doesn't answer his question this repeats over and over And it only happens sometimes btw. EDIT: Happens more often when the game is lagging a bit (because other clients start up or whatever other reason)
  9. worked around it with a thread that runs all the time. Whenever i come across this again I will try what you just said though.
  10. The event had the exact same behavior before I even added the loginhandler. Furthermore, it also gets called before the login handler but still never gets executed.
  11. I suggest you to not learn with books. Look for something you want to do with your neural net (in my case I started with face recognition in pictures and am now working on a self driving car) You should learn the math behind it first and stuff, then over to optimization and so on. I can really recommend you 'sentdex' who created some really interesting things. Also, once you have a bit of knowledge go look at the structures of different neural networks from different companies (google, facebook, nvidia), how many layers they use, how many neurons per layer, which optimizer bla bla bla. Apart from that, I recommend you, you look for something you'd like to create and then google a net for it. There will nearly always be a neural net for it which you can modify understand and thus learn doing them yourself. If you haven't decided on a framework I strongly recommend you TensorFlow or Keras If you have any more explicit questions you may ask me in PM if you want.
  12. So I am currently trying to create an event that runs all the time I created a class that extends 'Event' I created an instance of the class, initialized it and then called the execute method with the object. As you can see here: event = new MyEventClass(); event.exchangeContext(bot); event.setAsync(); execute(event); this piece of code is called in the 'onStart()' method of the script. the execute method of the event consists of the following code: @Override public int execute() throws InterruptedException { log("checking for threat"); if (hasThreat()) { log("has threat. Hopping!"); interruptAnyActions(); hopToNonPVPWorld(); } return random(100, 200); } I am calling the 'event.getStatus()' method in my 'onLoop()' method which outputs the following: [INFO][Bot #1][04/15 08:13:55 PM]: QUEUED [INFO][Bot #1][04/15 08:13:56 PM]: QUEUED [INFO][Bot #1][04/15 08:13:58 PM]: QUEUED [INFO][Bot #1][04/15 08:13:59 PM]: QUEUED [INFO][Bot #1][04/15 08:14:00 PM]: QUEUED [INFO][Bot #1][04/15 08:14:01 PM]: QUEUED So somehow, the execution doesn't start but I have no idea why. My custom login event also basically uses the same 'settings' but works flawlessly. It's just that this event doesn't want to work.
  13. When starting the script create a list of items that contains all the Items in your inventory. Then you can drop everything else except those items with this getInventory().dropAllExcept(List<Item>)
  14. works wonderfully. Thank you very much mate
  15. So I have a little problem Sometimes my bots just get randomly kicked with the error "Error connecting to server". OSBOT recognizes this as error code -2 and doesnt know what to do --> stops the script I was able to disable the random solver from OSBOT and write my own login code. But now when i get kicked i don't know how i can check in the script if i got kicked so I can reactivate my login routine. Thanks in advance
  16. Ok thanks for the reply. I was able to use my own security policy already which worked out fine aswell.
  17. So I am currently in the process of making a server that is able to send information to a bot client and the bot client should be able to answer. That is basically where the problem started. My code runs fine but once I try it out in osbot it won't work. After fiddling around for some time I realized that I got the following error message: [ERROR][Bot #1][04/04 12:27:26 AM]: Blocked permission: ("java.net.SocketPermission" "localhost:0" "listen,resolve") I found one post in the forum that mentioned you are not able/allowed to create a server on a bot but obviously I am not trying to do that. I just want to have a connection between a server on an outside IP and the bot who communicates with it... Any help would be much appreciated.
×
×
  • Create New...