Jump to content

Protoprize

Members
  • Posts

    589
  • Joined

  • Last visited

  • Days Won

    2
  • Feedback

    100%

Posts posted by Protoprize

  1. 7 minutes ago, nills3 said:

    Hello.

    This thing really bugs me. Recently switched from poopbot (lmao it automatically changed to poopbot that's hilarious. heard some rumours about the source code being stolen) to osbot so I'm still tryna learn the ropes.

    My script crashes, doing the simplest thing in the tutorials here. And I can't check the logger because it gets stuck, but I am still logged in-game.

    If you're wondering what the code is;

    
    final Bank bank = new Bank();
    
    if (bank != null) {
    				log("Bank isnt null");
    					bank.open();
    				} else {
    					log ("Bank is null");
    					
    			}

    Tried doing it both this way, and this way;

    
    			  NPC banker = npcs.closest("Banker"); 
    			  if (banker != null) {
    			  banker.interact(("Bank")); 
    			  sleepR(); 
    			  bank.depositAll(); 
    			  sleepR();
    			  

    Not sure why this doesn't work. But my main issue is the logger. I need to see what causes the crashes so.. Any ideas? Does it get logged anywhere else where I can check?

     f919faea1f46f550279ad9d9a1248528.thumb.png.f9e8d8e40a3380c2db029f6fd025fa4b.png

    1. Check if player is in correct area to bank

    2. use getBank().open

    3. Use conditional sleep to sleep until bank is open

     

  2. 7 hours ago, chors said:

    bank pin not being entered when i run a script that uses the bank.

    im on mirror mode.

    edit: just started working again. will have to try it again using the same script to see what happened.

    I got the same issue sometimes. It's a mirror mode problem, not sure if it's been reported though

  3. 7 minutes ago, osbotter6969 said:

        @Override
        public int onLoop() throws InterruptedException {
            NPC cow = npcs.closest("Cow");
                if(cow != null) {
                    if (cow.isVisible()) {
                        if (!myPlayer().isUnderAttack() && !myPlayer().isAnimating() && cow.getHealthPercent()>0 && !cow.isUnderAttack()) {


                            cow.interact("Attack");
                
                        new ConditionalSleep(8000) {
                            @Override
                            public boolean condition() throws InterruptedException {
                                return !myPlayer().isUnderAttack();
                            }
                            }.sleep();
                        }
                       

    Think of it logically, when you interact, the character will move closer to the npc and attack it. In the time that it takes to do that, the script already passed the conditional sleep because it's not yet under attack the millisecond after it interacts

    • Like 1
  4. 14 minutes ago, juliszuch said:

    allright. 

    one week ago i played like 5 mins to "ikov" and "dreamscape" privates servers.

     

    2 days ago i applied an unbann request for mi acc banned back in 2012/3.

    got unbanned. yesterday i went to sleep, today i log into the account and the 25m on items were gone (i know 25m is NOTHING), im not actually mad.

    Just wanna now how did they got my password?

    Already runned ccleaner. dont know what to run now.

    i changed the password from my phone, so thats cool.

     

    any advice is welcome.

    Thanks

    Not osbot related

    but you either have a rat, or forgot you transferred gold over

  5. On 8/11/2020 at 6:39 PM, victoremidio159 said:

    There's no updates. I have the same issue and for some reason they don't fix the issue.

     

    On 8/12/2020 at 11:20 AM, Madzer said:

    Thought it was just me. Glad it isnt as I've spent hours trying to get it to work

    Make separate bug reports, maybe it will get looked into once enough people complain......

  6. 1 hour ago, azuresuN said:

    As you probably already know, Jagex changed Google ReCaptcha for inCapsula on account register page. Have anyone found out, how to break it? It is pretty hard to automate bot creations for now.

    I tried to use headless browsers (PhantomJS), Selenium, etc. I tried to modify requests in multiple ways, bot nothing works. Have anyone managed to break it? 

    i use google chrome, no problems

  7. 2 hours ago, glowin slayr said:

    I got muted for saying "fuck you jagex" in game chat to a mate...

    Had no idea jagex automatically detects inappropriate language??  

    you probably said a lot more than that 😛

    Jagex mutes racists mostly nowadays I think 

  8.  

    29 minutes ago, DanStannn said:

    Can anyone tell me how i stop this from thinking OsBot is a virus.. usually i just turn BitDefender shield off while i bot but its still stopping it from opening now for some reason

    Turn it off or add osbot.jar and Java to your exception list

    • Like 1
  9. 2 hours ago, shahzar said:

    Ive just downloaded the latest 2.5.87 client.It keeps showing initialization error upon loading each time,i cant see to start it up.What could be the issue

    It's usually caused by your internet connection blocking the osrs client from downloading, you running it at home?

  10. 10 minutes ago, Pedge said:

    Yeah it is s aNullPointerException anything i can do to resolve this??

     

    On 7/21/2020 at 11:23 PM, umadbro123 said:

    I have the same issue with SF but maybe it's my computer or sandboxie idk

     

    On 7/19/2020 at 4:40 PM, Pedge said:

    Using Script Factory and many different scripts made on script factory. In terms of the logger i have not enabled debugging mode to check but happens in litreally every script just have to leave it alone once the script starts. Slightly annoying though :/ as some of my scripts just never progress after a couple of methods

     

    All of these just seem like SF issues, make a post on the thread, project is an amazing guy and will probably fix the issues as long as you can provide info (like the logger outputs) 

    Seems to just not be null checking a method 

×
×
  • Create New...