Skip to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Interactions Partially Broken - Pug

Featured Replies

I have been adding law runes/pouches/potions to my rc script over the past 3 days and have noticed since the client revision that some interactions are not working. At fist i thought it was the pouches that fagex had changed within the game so made a work around but then i noticed the client isnt banking law runes, ive tried by:

 

bank.deposit()

inventory.interact()

 

neither are working for me at this time, same for pouches. When trying to empty and fill them the client freezes, and the memory usage goes through the roof. I have to then close the client via task manager.Haven't tried other items, maybe someone would like to clarify this issue with me and post a global notice about it? had a small scan around and couldn't find a thread about it.

 

I've always seen issues with all of the interaction methods randomly stopping and it was a known issue awhile ago. Apparently it was fixed a few months ago but I've still been noticing the same problem.

I used to get this a ton in my Hunter script, after they said it was fixed it seemed to not be an issue anymore, unless my users just aren't reporting it :P

 

  • Author

i dont know what to do though because i dont want to have to make a work around everytime the client decided to throw a wobbly (english saying) 

 

anyone have a nice reliable interaction method, by that i mean one for interacting with items; not objects.

 

sharing is caring

 

 

@Alek@Zach@Laz can we work on getting a solid fix for this? failed interaction causes scripts to become inoperable or at the very least can cause huge loss on player death due to items not being banked.

1. Since which client revision?
2. What do you mean by not working?

3. Have you tried running it in console?

-If not type this into command line: java -jar osbotfilename.jar

--Start OSBot in Debug mode. Report any errors from the interactions

 

Have you tried using InteractionEvent? You can return from there if an interaction has failed. I'd like to work on everything but I'm only one person. I'll certainly look at this but I've been given a very broad spectrum of items to look at.

  • Author

ok so in more detail, for example lets say my script has this method:

		// D E P O S I T   R U N E S
		private void depositrunes() throws InterruptedException
		{
			log("Making Deposit");
			if (usingGiant || usingLarge || usingMedium || usingSmall) 
			{
				log("using pouches so depositing all but pouches.");
				bank.deposit(563, 49);
				sleep(random(1000,1500));
			} 
			
			else 
			{
				log("not using pouches so depositing everything.");
				bank.depositAll();
			}
		}

in the debug of the client it will read out the log:

log("using pouches so depositing all but pouches.");

but then not execute the:

bank.deposit(563, 49);

I have also tried using names instead of id's and it still skipped over the code as if it were not in the inventory ( btw 563 is a law rune ) Just tried it with body runes and it didnt bank them either.

 

Interaction code with pouches didnt work either and i used just your standard interact methods for that like:

inventory.interact("Giant pouch", "Fill");

sometimes using this code would completely freeze the client and id have to close it from task manager.

 

been doing it since .36 client revision for me anyway.

  • Author

any update on this ? any more info needed?

Interactions haven't been touched in a while, so I'm not really sure. I think most methods are booleans so try something like:

 

log(bank.deposit("Rune essence", 27)); 

 

It will actually execute the code and log true if the event was successful or false if it wasn't. There are definitely a lot of boolean methods for debugging so please let me know what you come up with.

Guest
This topic is now closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.