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

OSBot 2.4.162

Featured Replies

15 minutes ago, progamerz said:

what is on line 123 in WhoGECooker.java? and what is on line 135?

    public boolean isFire() {
        final Entity fire = objects.closest("Fire");
        return fire.getPosition().equals(cookTile);
    }

 

1 minute ago, WhoKnew said:

    public boolean isFire() {
        final Entity fire = objects.closest("Fire");
        return fire.getPosition().equals(cookTile);
    }

 

Here u go, the problem is u aren't null checking, insert an != null always before interacting or getting info of an object

7 minutes ago, progamerz said:

Here u go, the problem is u aren't null checking, insert an != null always before interacting or getting info of an object

Hmm... Dumb mistake I guess. I never came across with hours of tests. Weird. 

  • Author
4 hours ago, WhoKnew said:

Was working fine, but the break handler logging back in caused it to break. Couldn't get a log, because the client lagged out. 
 

 

EDIT: 
Here is screenshot of logger, logger freezes as well

 

70ec768e2555dfc75879175d57bfad05.png

 

Edit: Stealth mode

Looks like a script problem

im having a few problems. i duno if it is a script issue but has been happening since last two client updates. it will be working (with alot more than normal lag) but then it just stops for example "fighting" and just stands still wont click on any thing. any ideas?

 

 

soz wrong place

Edited by rentico
wrong thread

the issue with Player.getName(), as described in This closed ClientBugs thread is still not resolved for me.

I have deleted the whole OSBot folder, am 100% using 2.4.162, but 

parent.getPlayers().closest(playerName)

with parent being script and playerName a String below 13 characters

still results in

[ERROR][Bot #1][02/04 08:54:13 AM]: Error in bot executor!
java.lang.AbstractMethodError: bc.getName()Lorg/osbot/rs07/accessor/XName;
	at org.osbot.rs07.api.model.Player.getName(ok:99)
	at org.osbot.rs07.api.filter.NameFilter.match(ml:256)
	at org.osbot.rs07.api.filter.NameFilter.match(ml:196)
	at org.osbot.rs07.api.filter.FilterAPI.filter(pn:10)
	at org.osbot.rs07.api.EntityAPI.closest(nj:254)
	at org.osbot.rs07.api.EntityAPI.closest(nj:267)
	at org.osbot.rs07.api.EntityAPI.closest(nj:104)
	at lib.command.TradeRequest$1.condition(TradeRequest.java:64)
	at org.osbot.rs07.utility.ConditionalSleep.sleep(bk:47)
	at lib.command.TradeRequest.sendRequest(TradeRequest.java:66)
	at lib.command.TradeRequest.execute(TradeRequest.java:34)
	at lib.command.CommandHandler.handleCommand(CommandHandler.java:55)
	at Main.onLoop(Main.java:114)
	at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(yl:276)
	at java.lang.Thread.run(Thread.java:748)

 

  • Author
13 minutes ago, guac said:

the issue with Player.getName(), as described in This closed ClientBugs thread is still not resolved for me.

I have deleted the whole OSBot folder, am 100% using 2.4.162, but 


parent.getPlayers().closest(playerName)

with parent being script and playerName a String below 13 characters

still results in

 

Try deleting your OSBot folder.

5 hours ago, rentico said:

im having a few problems. i duno if it is a script issue but has been happening since last two client updates. it will be working (with alot more than normal lag) but then it just stops for example "fighting" and just stands still wont click on any thing. any ideas?

 

 

soz wrong place

What does the logger say?

50 minutes ago, Alek said:

the issue with Player.getName(), as described in This closed ClientBugs thread is still not resolved for me.

I have deleted the whole OSBot folder, am 100% using 2.4.162, but 


parent.getPlayers().closest(playerName)

with parent being script and playerName a String below 13 characters

still results in

same for  problem with me .

38 minutes ago, fstyle said:

@guac @Lewis  hit me up when you guys find a solution. :leech:

Judging, among others, from the posts in different subforums, the issue still lies with the client. 

AFAIK the whole thing started when Jagex updated the game, which made some functions of the Osbot library no-function. 

Perhaps version 2.4.162 fixed some of the issues, but apparently not all. All we can do now is wait for the client to receive further fixes. 

Any other Extended VIP's still having issues logging in? ( Day 4 of no gainzz here :( )

17 hours ago, Stimpack said:

can't reproduce bug described above. post ur code

I just tried it again, once, and it somehow worked now. Did nothing differently. Anyway, here is the code, if it's still relevant for you.

		Output.logMessage("cp-3");
		// find player 
		Player tradePartner = null;
		
		new ConditionalSleep(10100,Shared.getRandomCheckFrequency(760, 2400)) {
			
			@Override
			public boolean condition() {
				return parent.getPlayers().closest(playerName) != null;
			}
		}.sleep();
		Output.logMessage("cp-2");
		try{
			tradePartner = parent.getPlayers().closest(playerName);
		}
		catch (NullPointerException e){
			Output.logError("couldn't find player (1): " + playerName);
			return false;
		}
		if (tradePartner == null){
			Output.logError("couldn't find player (2): " + playerName);
			return false;
		}
		
		// once the other player is not null, send trade request to that player
		Output.logMessage("cp-1");

 

It only ever got to "cp-3"

Guest
This topic is now closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

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.