Jump to content

"ping" another client


Alakazizam

Recommended Posts

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?

Link to comment
Share on other sites

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 by Khaleesi
  • Like 1
Link to comment
Share on other sites

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..?

  • Like 1
Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...