Everything posted by Reminiscence
-
Guess the next scamquitter!
gotta make that bonk
-
Guess the next scamquitter!
better to not have any, than to have neutral
-
Guess the next scamquitter!
at least you don't have neutral feedback
-
Guess the next scamquitter!
nobody would suspect a lifetime sponsor out of the blue with no recent activity
-
First Script - looking for advice, criticism, etc
I've honestly never seen such a simple script spread out so much, but at least you're getting the fundamentals down and the more difficult scripts should be easier to maintain.
-
Interaction Problem. How to implement this kind of method.
3. you're constantly calling for the script to walk and not checking if it should walk 1. the built-in isAnimating is not ideal for this kind of scenario, use - public boolean isAnimating() throws InterruptedException{ for(int i = 0; i < 5; i++){ if(myPlayer().isAnimating() || players.myPlayer().isMoving()) return true; else sleep(100); } return false; } 2. change your sleep myPlayer().isAnimating to just isAnimating as posted above also, isn't the interaction to catch shrimp "Net"?
-
Eat food if < 35% hp
your timer seems a bit silly because eating takes 3 ticks. you're more than welcome to do random (1800, 2400), but random doesn't really matter much anyways here's two ways you can go about it, but it's virtually the exact same code just done differently. untested, but it should work you're also better off checking if your player is in an Area instead of checking if the bank booth is null. or you can use map.distance and a null check as for everyone else, it is infact "Shrimps" in-game. it doesn't take much effort to check it out on the wikia for the correct name, instead of telling op he got it wrong Position VarrockWestBank = new Position(3184, 3436, 0); int health; boolean invHas(String item) { return inventory.contains(item); } boolean eat(String name) { return inventory.interact("Eat", name); } boolean objExists(String obj) { return objects.closest(obj) != null; } String booth = "Bank booth", food = "Shrimps"; public int onLoop() throws InterruptedException { health = myPlayer().getHealthPercent(); if (health <= 35 && invHas(food)) { eat(food); sleep(1800); } else if (health <= 50 && !invHas(food) && !objExists(booth)) { walking.webWalk(VarrockWestBank); } return 200; } Position VarrockWestBank = new Position(3184, 3436, 0); public int onLoop() throws InterruptedException { if (myPlayer().getHealthPercent() <= 35 && inventory.contains("Shrimps")) { inventory.interact("Eat", "Shrimps"); sleep(1800); } else if (myPlayer().getHealthPercent() <= 50 && !inventory.contains("Shrimps") && objects.closest("Bank booth") == null) { walking.webWalk(VarrockWestBank); } return 200; } edit: you can also choose to not declare certain positions like I did, and you can simple do - walking.webWalk(Banks.VARROCK_WEST);
-
[Dev Build] OSBot 2.5.39
- [Dev Build] OSBot 2.5.39
@Juggles @TutIslander- Problem with pray pot drinking script.
public void timer(boolean why) { new ConditionalSleep(10000) { @Override public boolean condition() throws InterruptedException { return why; } }.sleep(); } if (skills.getDynamic(Skill.PRAYER) <= randomPrayerNum && inventory.contains(new ContainsNameFilter<>("Prayer"))) { inventory.getItem(new ContainsNameFilter<>("Prayer")).interact(); timer(skills.getDynamic(Skill.PRAYER) > randomPrayerNum); randomPrayerNum = random(10, 35); } First part is it's own method, second part can be either added to your loop, or it's own method. Also, if you're doing nameContains, you don't need to specify the entire name. Just "Prayer pot" would work.- Java in Client Acting Odd
I meant desktop resolution, mine is 3840x2160. I never had this issue on my 1080p monitors. I wonder if Java just hates high resolutions and starts to break. Edit: This resolved it for me: Adding this as a runtime parameter: -Dsun.java2d.noddraw=true- Java in Client Acting Odd
Same thing happened to me. I've uninstalled/restarted/re-installed. Nothing seems to help. What's your resolution?- black screen mirror mode?
All good here.- Help me find this song?
The only thing that even comes to mind on this with just two words is:- Broken rendering
I've noticed that my pc has issues with Java, and not specifically OSBot only. I've noticed it with OSBuddy too. What causes this? Same with with all the Java apps I run. I've re-installed Java, restarted my pc and disabled scaling. Nothing really seems to change.- "Failed to authenticate to OSBot servers" when trying to login on my server
Seems like a firewall issue tbh.- Anyone else had bans today?
Probably should avoid that. Diversify your botting.- Anyone else had bans today?
Have you just botted one task the entire time?- Anyone else had bans today?
Nope, been botting my main and alt the past week. Nothing yet.- Mirror Mode/Client Closing?
Weirdly enough, the same thing happened to me when I shift+F5'd to hide the osbot green text overlay, twice in a row.- [Resolved] DropAllExcept - Mirror mode bug
Your posts are entirely useless. Anyways, this has been resolved. Reduced mirror mode to 300ms response and it stopped happening.- Mirror Client disappear !
inventory.interact(action, item, item) isn't a method... what's the problem with the string and int? post the exact code- Logging all outbound packets
I feel that there is nothing new that you can suggest that hasn't already been tried.- Get G.E Data
Just go with this - It's more recent and should work. I was having issues with the thread you posted as well.- PC Main - Gold and items included.
I got my 3 99's after the most recent ban, 3 years ago. I do all my script development on this account and don't push over 2 hours per day. It's not like previous offenses affect your gameplay. - [Dev Build] OSBot 2.5.39