Jump to content

guac

Members
  • Posts

    13
  • Joined

  • Last visited

  • Feedback

    100%

Posts posted by guac

  1. 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"

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

    • Like 1
  3. 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)

     

    • Like 1
  4. 1. OSBot Version (do NOT put "current version", be specific)

    2.4.157

    2. A description of the issue. Include relevant logs.

    Whenever I include lowresource in any way (also through -allow nointerface, which inherits it), It wont log into an account. In case I don't use "-allow nointerface", but still use "-allow lowresource", I get the same nullpointer exception in the debug log and I can see that the "add bot" button in the top left corner is not even there and it won't log in the account automatically.

    I am using Ubuntu 14.04 

    java -jar osbot\ 2.4.157.jar -login guac:xxxxx -script xxxx:xxxx -bot xxx:xxxx:xxxx -allow nointerface -debug 5005
    Starting local script with name: xxxxx
    Starting OSBot with no interfaces, inherits lowresource
    Debug enabled on port 5005
    [DEBUG][01/26 07:50:49 AM]: Injected 2 field list filters
    [DEBUG][01/26 07:50:49 AM]: Injected 2 field filters
    [DEBUG][01/26 07:50:49 AM]: Injected 2 method list filters
    [DEBUG][01/26 07:50:49 AM]: Injected 3 method filters
    Starting OSBot in low resource mode
    In debug mode!
    Listening for transport dt_socket at address: 5005
    Stealth injection class-filter enabled!
    Successfully loaded OSBot!
    [INFO][01/26 07:50:50 AM]: Welcome to OSBot 2.4.157!
    [INFO][01/26 07:50:52 AM]: Updated injection hooks for client revision : 161!
    [DEBUG][Bot #1][01/26 07:50:52 AM]: Initializing stealth injection bot...
    [ERROR][01/26 07:50:52 AM]: Uncaught exception!
    java.lang.NullPointerException
        at org.osbot.BotApplication.main(ww:19)
    [INFO][Bot #1][01/26 07:50:54 AM]: Downloading latest RS2 old-school client parameters...
    [DEBUG][Bot #1][01/26 07:50:55 AM]: Injected bot reference into client!
    [DEBUG][Bot #1][01/26 07:50:55 AM]: Injected world accessors!
    [DEBUG][Bot #1][01/26 07:50:55 AM]: Injected 37 class and 325 field accessors!
    [DEBUG][Bot #1][01/26 07:50:55 AM]: Injected canvas!
    [DEBUG][Bot #1][01/26 07:50:55 AM]: Injected 3 model update calls!
    [DEBUG][Bot #1][01/26 07:50:55 AM]: Injected 13 definition calls!
    [DEBUG][Bot #1][01/26 07:50:55 AM]: Injected 36 definition transformation calls!
    [DEBUG][Bot #1][01/26 07:50:55 AM]: Injected random.dat patch for bot #1
    [DEBUG][Bot #1][01/26 07:50:56 AM]: Injected 3 tooltip callbacks!
    [DEBUG][Bot #1][01/26 07:50:56 AM]: Injected 4 config callbacks!
    [DEBUG][Bot #1][01/26 07:50:56 AM]: Injected 18 head message callbacks!
    [DEBUG][Bot #1][01/26 07:50:56 AM]: Injected 2 chatbox message callbacks!
    [DEBUG][Bot #1][01/26 07:50:57 AM]: Injected 13 draw skip points!
    [DEBUG][Bot #1][01/26 07:50:59 AM]: Injected 0 hit splat callbacks!
    [DEBUG][Bot #1][01/26 07:50:59 AM]: Injected 4 equipment callbacks!
    [DEBUG][Bot #1][01/26 07:51:00 AM]: Injected 1 login return code callbacks!
    [DEBUG][Bot #1][01/26 07:51:01 AM]: Injected 17 analysis callbacks!
    [DEBUG][Bot #1][01/26 07:51:01 AM]: Loading RS world : 31
    [INFO][Bot #1][01/26 07:51:02 AM]: Initializing 36 API modules...
    [INFO][01/26 07:51:02 AM]: Started bot #1
     

    3. Are you receiving any errors in the client canvas or the logger? 

    4. How can you replicate the issue?

    probably by running the same CLI command, which I posted above. Using "-allow lowresource" will likely have the same effect, though you will be able to see the messed up result GUI

    5. Has this issue persisted through multiple versions? If so, how far back?

    Haven't tested "-allow nointerface" since like version 2.4.40 or so... but back in like November it still worked

    • Like 1
  5. [not looking anymore, thanks]

     

    Hey there,

    I'm looking to buy 100-1000 accounts fresh off tutorial island. Long term supplier would also be appreciated

    the price will depend on you trust level and the amount of accounts

    leave your skype name / offer / terms  below or pm me.

     

    Have a nice day

×
×
  • Create New...