Jump to content

sudoinit6

Lifetime Sponsor
  • Posts

    353
  • Joined

  • Last visited

  • Feedback

    100%

Posts posted by sudoinit6

  1. On 7/5/2020 at 9:47 AM, Explv said:

    - conversation with farmer will loop unless you pause and finish convo manually

    This is still happening. I think it is caused if you accidentally interact with "the thing" while getting wool. A different dialogue comes up when you go to turn in the balls that includes the option:

    "I need to talk to you about shearing these sheep!"

     

    It also says something about wanting to talk about the monster. Without this interaction with the "the thing" all of the turn in dialogues are "Click here to continue".

    I tested this by adding the above line to your dialogue completer in the open source version of the script, interacting with "the thing" manually, checked to see that this additional dialogue was there manually, then letting the script collect and spin the wool, then turn in. On the single test I ran it was successful

    I will let you know if it gets stuck in the loop again but I have a high degree of confidence that this resolved the issue.

     

     

    Thanks for this amazing script!

    • Like 1
  2. On 7/25/2020 at 11:23 AM, cadmanmonkey said:

    your botting on the vps without any proxys ? well thats the problem. most data center proxys are flagged

    Aren't most proxies datacenter ips?

     

    Also, can't you splash legally to 99?

    • Like 1
  3. I would like to try to write a script to complete this quest, but I am having a hard time wrapping my head around the last part, with the mirrors.

     

    Any thoughts on determining which mirror to move where and get it there fast enough? Is there a pattern I can recognize? Should I just move a random one and hope to get lucky?

  4. On 7/21/2020 at 8:14 PM, Murphyryan61 said:

    Let me first say that I love this script, it's been a life safer. Pardon if this bug has been reported before in this thread but when buying multiple items from the GE in a row the script doesn't have time to react to the 2nd, 3rd, 4th etc item so you're always buying the wrong item after the first one.

    Ie. It seems need more time to react before typing the 2nd, 3rd, 4th, item and so on.

    Thanks for your work, very impressive.

    Ryan

    I noticed this too, if you uncheck "remember last item" this problem goes away but could still be fixed to work under default conditions.

  5. On 6/8/2020 at 5:34 AM, kewaj40930 said:

    Is it possible to target osbot accounts and local scripts  to another pc?

    I have tried using a mklink on the c:\%username%\OSBot to my master pcs data folder but the client fails to initialize.

    The computers are on the same LAN and the master pc will always be online

     

    mklink is exactly how I use a central ../Data/ and ../Scripts/ folders on all of my bot VMs. My guess is that you aren't sharing it out properly or there is a permissions issue, or some other PEBKAC.

     

    You are on the right track, now you need to troubleshoot it.

    • Like 1
  6. Frequently upon being banned I come back to the "Welcome to Runescape!" screen and the log says this:

    Event executor is taking too long to suspend, terminating now...

    Started random solver : Auto Login

     

     

    But it never tries to login, it just hangs there. Anything I can do to kick start the auto login process?

  7. 33mail is the answer you just aren't understanding it.

     

    For example if you set up xyzmail.33mail.com anything you send to that domain would get sent to your main account. So you could use:

     

    bob@xyzmail.33mail.com
    cindy@xyzmail.33mail.com

    Anything you use and it will create that alias for you automatically.

  8. 5 minutes ago, Khaleesi said:

    thx, is it typing the name in the chatbox to pick one?

    It only happens one out of 10 times or so, I will try and check next time. Any other info you would like? Config debugger? Logger enabled?

     

  9. On 5/25/2020 at 3:45 PM, Khaleesi said:

    Khal tutorial Island updated to V2.01:
    - Now supports the brand new second tutorial Island which you can encounter rarely!

    Will be live in a few hours!
    Enjoy!

    Works flawlessly now, well done!

     

    edit: Just after I feel confident it hangs again, version in paint is listed as V2.01

  10. 14 minutes ago, Malcolm said:

    Intersting.
    I'll have to check that. I assumed it was just changed widgets. Alternating configs never crossed my mind.

    I could be wrong about the configs being the difference that was just a guess, what I do know is that there are two different tut islands. In the old one you bake bread, in the new one that NPC is  the navigation master and he teaches you how to use the map. There may be more differences I didn't walk it along farther than that.  If you help the second one along dialog moves along automatically but literally everything else is broken.

  11. 3 hours ago, Khaleesi said:

    I'm not sure what you are trying to do here, but there are probably better ways of doing this.
    What's the initial idea behind this?

    Oh I am SURE there are better ways to do it, but here is what I am trying to do:

    Get the value of each item in inventory add the number of coins and print out the total value.

    I got it working with the above help, (had to tweak the pastebin a little) but you guys know way more than I do so I am open to suggestions to improve.

     

     

  12. 3 minutes ago, Gunman said:
    
    String valueItemName = curItem.getName();

    Stuff like that will cause an NPE and break it since curItem is null. Null check bro

    EDIT: What you should do is null check curItem after declaring it so you won't have to null check it again.

    OK, that makes sense. I am not a very experienced coder. So how do I make it do something if it IS null? Oh, I just had a thought. Check the slot for empty, if not empty do stuff, if it is empty then increment the counter. Does that make sense?

     

  13. Scenario: Our backpack contains coins in slot 1, Diamond in slot 2, Gold necklace in slot 3, empty other than that.

     

    I am trying to loop through the backpack slots and do something if the slot contains coins, something else if the slot contains something else and just increment the counter if the item is null.

     

    Here is my code:

     

    int x = 1;
    		totalVal = 0;
    		while (x < 29) {
    			Item curItem = api.getInventory().getItemInSlot(x);
    			api.log("Current item is " + curItem);
    			String valueItemName = curItem.getName();
    			api.log("valueItemName is " + valueItemName);
    			if (valueItemName == "Coins") {
    				api.log("Coins are a match");
    				x = x + 1;
    
    				MethodProvider.sleep(rnd3);
    			}else if (curItem != null && valueItemName != "Coins") {
    				buyItemId = 0;
    				for(Map.Entry entry: stuff.entrySet()){
    		            if(valueItemName.equals(entry.getValue())){
    		                buyItemId = (int) entry.getKey();
    		                break; //breaking because its one to one map
    		            }
    		        }
    				api.log("item is " + valueItemName);
    				api.log("item id is " + buyItemId);
    				
    				x = x + 1;
    				api.log("Item is not null, adding one to x. x now equals " + x);
    				MethodProvider.sleep(rnd3);
    			} else {
    				x = x + 1;
    				api.log("Item is null, adding one to x. x now equals " + x);
    				MethodProvider.sleep(rnd3);
    			}
    	
    			
    			
    		}

    The only one that seems to be working is the second check, I am getting nothing on "Coins" and nothing on null. Here is the log:

     

    [INFO][Bot #1][04/30 10:49:29 PM]: Current item is Item id: 1602, Name: Diamond, Amount: 50
    [INFO][Bot #1][04/30 10:49:29 PM]: valueItemName is Diamond
    [INFO][Bot #1][04/30 10:49:29 PM]: item is Diamond
    [INFO][Bot #1][04/30 10:49:29 PM]: item id is 1601
    [INFO][Bot #1][04/30 10:49:29 PM]: Item is not null, adding one to x. x now equals 2
    [INFO][Bot #1][04/30 10:49:37 PM]: Current item is Item id: 1655, Name: Gold necklace, Amount: 1080
    [INFO][Bot #1][04/30 10:49:37 PM]: valueItemName is Gold necklace
    [INFO][Bot #1][04/30 10:49:37 PM]: item is Gold necklace
    [INFO][Bot #1][04/30 10:49:37 PM]: item id is 1654
    [INFO][Bot #1][04/30 10:49:37 PM]: Item is not null, adding one to x. x now equals 3
    [INFO][Bot #1][04/30 10:49:45 PM]: Current item is null

    Then the loop breaks and starts over. Are "Coins" somehow a different item? Why wont this fall through to the third "if"?

     

×
×
  • Create New...