Alakazizam Posted September 12, 2023 Share Posted September 12, 2023 There's a muling script out there that you just give the bots the mules name and the mules client stays logged out until the bot needs the mule and then the mule logs in and does his thing. What do I need to be looking into to learn how to have one client send another client some sort of notification like that? Quote Link to comment Share on other sites More sharing options...
Khaleesi Posted September 12, 2023 Share Posted September 12, 2023 (edited) 10 minutes ago, Alakazizam said: There's a muling script out there that you just give the bots the mules name and the mules client stays logged out until the bot needs the mule and then the mule logs in and does his thing. What do I need to be looking into to learn how to have one client send another client some sort of notification like that? Sockets could be a solution or some kind of backend with a rest api Edited September 12, 2023 by Khaleesi 1 Quote Link to comment Share on other sites More sharing options...
Alakazizam Posted September 12, 2023 Author Share Posted September 12, 2023 1 hour ago, Khaleesi said: Sockets could be a solution or some kind of backend with a rest api I'll try to figure that all out, might be a bit out of my skillset at this time though. Sounds intimidating lol 1 Quote Link to comment Share on other sites More sharing options...
Delivery Posted September 12, 2023 Share Posted September 12, 2023 1 hour ago, Alakazizam said: I'll try to figure that all out, might be a bit out of my skillset at this time though. Sounds intimidating lol It's not actually that complex. You need a Webserver (HTTP or Sockets) Server Code example: https://stackoverflow.com/questions/3732109/simple-http-server-in-java-using-only-java-se-api Client you will need to find your own.. /GET - State (Server will either reply RequiresMule = True || False (Mules will use this) - your mule will constantly get this page every 60s , most the time it will just be False (by default) /POST - Update State (Your bots will use this) When a bot is ready to mule it will send a request which will set your RequiresMule = True so your mule knows to login. Then you add logic to your osbot script to go to your designated place to mule and do it. Then profit..? 1 Quote Link to comment Share on other sites More sharing options...
Alakazizam Posted September 12, 2023 Author Share Posted September 12, 2023 6 minutes ago, xcx said: It's not actually that complex. You need a Webserver (HTTP or Sockets) Server Code example: https://stackoverflow.com/questions/3732109/simple-http-server-in-java-using-only-java-se-api Client you will need to find your own.. /GET - State (Server will either reply RequiresMule = True || False (Mules will use this) - your mule will constantly get this page every 60s , most the time it will just be False (by default) /POST - Update State (Your bots will use this) When a bot is ready to mule it will send a request which will set your RequiresMule = True so your mule knows to login. Then you add logic to your osbot script to go to your designated place to mule and do it. Then profit..? Thanks, I think I follow Quote Link to comment Share on other sites More sharing options...