Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

OSRS AFK bot - Keep you from logging out

Joined
Jul 24, 2019
Messages
12
I'm not sure if it exists, I've looked for it.

Simply put, a bot that does nothing but keeps you from logging out with minimal interaction with the game.

Specifically, I want to use it for the Blast Furnace pump. Just move the camera every 20 minutes or move the mouse on the screen or examine a player or whatever.

The current script for Blast furnace pumping is a bit outdated and has weird behaviours.
 
Joined
Nov 28, 2015
Messages
1,835
I'm not really sure what this one does, but have you tried it?
AutoClicker

If that is no good for you, I can write up an idle bot for you. I'll also take a look at the pump behaviour and add an option to say you want to idle for blast furnace pump. Not sure if anything special goes on in there atm
 
Joined
Jul 24, 2019
Messages
12
I'm not really sure what this one does, but have you tried it?
AutoClicker

If that is no good for you, I can write up an idle bot for you. I'll also take a look at the pump behaviour and add an option to say you want to idle for blast furnace pump. Not sure if anything special goes on in there atm

I hadn't seen that one! I'll give it a try thank you.

I've only tried the free pumper, it interacts too often like no human would. With logout timer plugin on runelite, you can afk for like 20 minutes. No real player sits and checks their stats or quest log every 2 minutes. I think a bot like that should interact with the game as little as possible, with minimal data for Jagex to work with. I don't know what options are available. I guess moving camera is a pretty simple way

Edit: It does exactly that, gives you the option to use arrow keys to avoid afk. Good suggestion!
 
Last edited:
Joined
Nov 28, 2015
Messages
1,835
I hadn't seen that one! I'll give it a try thank you.

I've only tried the free pumper, it interacts too often like no human would. With logout timer plugin on runelite, you can afk for like 20 minutes. No real player sits and checks their stats or quest log every 2 minutes. I think a bot like that should interact with the game as little as possible, with minimal data for Jagex to work with. I don't know what options are available. I guess moving camera is a pretty simple way

Edit: It does exactly that, gives you the option to use arrow keys to avoid afk. Good suggestion!

These bots were created when the logout timer wasn't able to extend to 25 minutes.
I suppose the best solution here is to make the action timer customisable for the user as we can't detect whether or not the plugin is enabled - and we have to account for users on the default osrs client where the timer is still 5 minutes
 
I hadn't seen that one! I'll give it a try thank you.

I've only tried the free pumper, it interacts too often like no human would. With logout timer plugin on runelite, you can afk for like 20 minutes. No real player sits and checks their stats or quest log every 2 minutes. I think a bot like that should interact with the game as little as possible, with minimal data for Jagex to work with. I don't know what options are available. I guess moving camera is a pretty simple way

Edit: It does exactly that, gives you the option to use arrow keys to avoid afk. Good suggestion!

Idle Bot

You may use this bot to idle for 20 minutes if you desire. It will click the pump again for you on level up or on 6h logout. It just won't fill in the coal or anything, so you need to use w303
 
Joined
Jul 24, 2019
Messages
12
These bots were created when the logout timer wasn't able to extend to 25 minutes.
I suppose the best solution here is to make the action timer customisable for the user as we can't detect whether or not the plugin is enabled - and we have to account for users on the default osrs client where the timer is still 5 minutes
 


Idle Bot

You may use this bot to idle for 20 minutes if you desire. It will click the pump again for you on level up or on 6h logout. It just won't fill in the coal or anything, so you need to use w303

Thanks a lot for doing that, that's nice of you. I'll test it right away. I did test the auto-clicker and it ended up getting me logged out multiple times, so I'll get back to you and let you know if this works!


Edit: So far so good, just got logged out with the min time set to 10 minutes and the max set to 15, not sure why. But it logged in and started pumping right after, so, that works! Just going to lower the timer between interactions since I'm not sure what the max time you can afk is.
 
Last edited:
Joined
Nov 28, 2015
Messages
1,835
Thanks a lot for doing that, that's nice of you. I'll test it right away. I did test the auto-clicker and it ended up getting me logged out multiple times, so I'll get back to you and let you know if this works!


Edit: So far so good, just got logged out with the min time set to 10 minutes and the max set to 15, not sure why. But it logged in and started pumping right after, so, that works! Just going to lower the timer between interactions since I'm not sure what the max time you can afk is.

Is the runelite logout timer cranked up to 25mins?
Can you send me the log? Users/YourUser/Runemate/logs
 
Joined
Jul 24, 2019
Messages
12
Is the runelite logout timer cranked up to 25mins?
Can you send me the log? Users/YourUser/Runemate/logs

Yeah, it's cranked up to 25mins, sometimes I get logged out and it logs itself back in. Currently with 300-500 seconds as these min and max values.
 

Attachments

  • idle_bot_mauler_20230228_225356.log
    25.2 KB · Views: 2
Joined
Nov 28, 2015
Messages
1,835
Yeah, it's cranked up to 25mins, sometimes I get logged out and it logs itself back in. Currently with 300-500 seconds as these min and max values.
Ok that's no good. Looks like camera turning isn't sufficient to prevent a logout. There is also meant to be random mouse movement but it looks like you hit the streak of camera turning

It is really strange the last 2 times you were booted, is exactly on the 5 minute mark, as if the plugin does nothing after your first idle logouts.

The same has just happened to me
Code:
10:43:44 [DEBUG] [             IdleBot] Next action will be performed at 00:22:45
11:05:55 [DEBUG] [             IdleBot] Turning camera to random yaw and pitch
11:05:55 [DEBUG] [              Camera] Pressing Right to change yaw to 65 from 315 [RIGHT]
11:05:55 [DEBUG] [              Camera] Pressing Down to change pitch to 0.5237223405063585 from 0.58 [DOWN]
11:05:55 [DEBUG] [              Camera] Releasing DOWN key
11:05:56 [DEBUG] [              Camera] Releasing RIGHT key
11:05:56 [DEBUG] [             IdleBot] Next action will be performed at 00:46:21
11:10:56 [INFO ] [         AbstractBot] Bot stopped as we are stop on logout and we are logged out

I'll test it out again using 144-280 as my min-max
Bad and good news I guess. As long as I maintain the idle timeout for the OSRS game itself (5 minutes) I am not logged out using only camera turning. However my current theory is in order for the runelite plugin to work, we must interact with the runelite client itself. I was able to run the bot for 3 hours while testing but my belief is that is due to the fact that I kept focusing the client on my PC when I wanted to check I wasn't logged out.
 
Last edited:
Joined
Jul 24, 2019
Messages
12
Ok that's no good. Looks like camera turning isn't sufficient to prevent a logout. There is also meant to be random mouse movement but it looks like you hit the streak of camera turning

It is really strange the last 2 times you were booted, is exactly on the 5 minute mark, as if the plugin does nothing after your first idle logouts.

The same has just happened to me
Code:
10:43:44 [DEBUG] [             IdleBot] Next action will be performed at 00:22:45
11:05:55 [DEBUG] [             IdleBot] Turning camera to random yaw and pitch
11:05:55 [DEBUG] [              Camera] Pressing Right to change yaw to 65 from 315 [RIGHT]
11:05:55 [DEBUG] [              Camera] Pressing Down to change pitch to 0.5237223405063585 from 0.58 [DOWN]
11:05:55 [DEBUG] [              Camera] Releasing DOWN key
11:05:56 [DEBUG] [              Camera] Releasing RIGHT key
11:05:56 [DEBUG] [             IdleBot] Next action will be performed at 00:46:21
11:10:56 [INFO ] [         AbstractBot] Bot stopped as we are stop on logout and we are logged out

I'll test it out again using 144-280 as my min-max
Bad and good news I guess. As long as I maintain the idle timeout for the OSRS game itself (5 minutes) I am not logged out using only camera turning. However my current theory is in order for the runelite plugin to work, we must interact with the runelite client itself. I was able to run the bot for 3 hours while testing but my belief is that is due to the fact that I kept focusing the client on my PC when I wanted to check I wasn't logged out.

How did you decide to interact with the RL client when testing? Do you know how the other bots do it?

I've done several days of blast furnace manually and the only things I've done to avoid afk (way past the 5 minutes) is camera rotation and a right-click on a pile of players. I don't know how camera movement doesn't interact with the client, but right-clicking does?

Edit: It works fine when set to below 5 minutes as you say. Been running all day no problem
 
Last edited:
Top