Johnxtrem
-
Posts
31 -
Joined
-
Last visited
-
Feedback
0%
Posts posted by Johnxtrem
-
-
Hey guys, I'm just wondering what's up on weekends since that's the only time my accounts last a lot more and survive tipical morning bans?
If jagex's system is automatic, it does not work? Or there's no staff to review things?
Thanks
-
Solved it like this:
private void FinishDialogue() throws InterruptedException { while (IsPendingContinue()) { ClickContinue(); sleep(650, 1050); } } private boolean ClickContinue() { if (!IsPendingContinue()) return false; keyboard.pressKey(32); return true; } private boolean IsPendingContinue() { List<RS2Widget> widgetsList = widgets.getAll().stream().filter (w -> w.getMessage().equals("Click here to continue")).collect(Collectors.toList()); return widgetsList.size() > 0; }
- 3
-
3 minutes ago, Juggles said:
youre always in dialogue on tut island
Hey, I know, but does that mean that clickContinue shoudln't work?
-
2 minutes ago, k9thebeast said:
Not 100% sure, havent really editted my tut script in a while. Try sending a space. getKeyboard().typeString(" ");
I just checked and isPendingContinuation and inDialogue always returns true, so its kinda "annoying" to detect every part when exactly it is done. I've already tried the keyboard method, works but, yeah...
-
2 minutes ago, k9thebeast said:
You on tutorial island? Tutorial island is a bit different since I believe you are always in dialogue
I am indeed Interesting, I'll check a couple of things then. But what could be the reason just dialogues.clickContinue() doesn't work? Thanks!
-
Hey, I'm having issue with dialogs. dialogues.clickContinue(); sometimes just doesn't want to continue the conversation. Its like it doesn't find the widget or something.
Here's my code to finish a dialogue.
private void FinishDialogue() throws InterruptedException { while (true) { boolean isPending = new ConditionalSleep(6*1000) { @Override public boolean condition() throws InterruptedException { return dialogues.isPendingContinuation(); } }.sleep(); if (isPending) { dialogues.clickContinue(); sleep(650, 1050); continue; } break; } }
Any directions to help solve this would be appreciated, thanks!
-
Thanks for the reply guys, yeah i thought it were the VPN, all VPN have shared ips, another question guys, how many account should i push at same time on tut to avoid the ban?
-
2 minutes ago, Charlotte said:
Ban = script
Lock = ip
Usual proxy wouldn't cut it.
The thing is i'm running 30 Bots+ and only 10 got banned, i think it's not a script issue.
-
Hello! Good evening atm i'm running 30bots+ everyday, need tips on how to do bunch of account with tut done, i'm trying shareds VPN but it but sometimes it got disable, and if i use proxy accounts get lock after tut.
Any Help? Should i build my own VPN?
Thanks in advance guys!
-
4 minutes ago, whipz said:
private void acceptTrades() { if (trade.isFirstInterfaceOpen() && trade.didOtherAcceptTrade()) { log("Accepting first trade"); gpmade = gpmade + Math.toIntExact(trade.getTheirOffers().getAmount("Coins")); trade.acceptTrade(); new ConditionalSleep(10000) { @Override public boolean condition() throws InterruptedException { return trade.isSecondInterfaceOpen(); } }.sleep(); } else if (trade.isSecondInterfaceOpen()) { log("Accepting second trade"); trade.acceptTrade(); new ConditionalSleep(10000) { @Override public boolean condition() throws InterruptedException { return !trade.isCurrentlyTrading(); } }.sleep(); } }
Thats mine, works everytime i dont run 35+ clients but i have tested it on 10 running for a few days and not one problem
Hey, I had something similar prior running so many clients and worked just perfectly, the issue occured only when running as much... I made it with conditional sleeps and loops now and seems to be working so far
-
Most likely yeah, doesn't happen always but just sometimes. I'm running about 35+ clients.
Hmm, I'm using conditional loop, but since it returns true even if it doesn't behave correctly its kinda useless
new ConditionalLoop(getBot(), 3) { @Override public boolean condition() { return !trade.acceptTrade(); } }.start();
-
Hey guys I've noticed this can happen sometimes, usually after account is running for a longer time when calling:
trade.acceptTrade();
Instead of accepting the trade, it clicks on decline button instead, not even clicking but just hover it and returns true despite.
Any ideas what could be the cause of this?
Thanks!
-
Hey, I made a post about this before, but here's another question. When I run 4-8 clients on one pc, scripts (generally) behave correctly.
I tested then 35 clients on a pc and scripts start being stuck, etc.
To see what's up, I did a little test and noticed that the usual response time of methods is greatly increased, example:
1. Trade player
2. sleep 200ms.
2. loop -> log trade.isCurrentlyTrading(); => FALSE
3. After 1.8 secs => TRUE.
This applies to almost all methods.
So my question again is, how do you handle such inconsistency except by adding longer sleeps?
P.S. I use conditional sleeps, but that can't be applied everywhere.
Thanks!
-
10 minutes ago, Explv said:
You're thinking about it completely wrong. It doesn't make sense for getLastRequestingPlayer to be null unless no one has traded you.
What you should do is have a global boolean variable, let's call it shouldTrade.
You initialise shouldTrade to false.
Then you add a message listener using getBot().addMessageListener(MessageListener listener) or override the onMessage(Message message) method in your script class.
Inside the onMessage method you then check if the message is of type RECEIVED_TRADE. If it is of that type set shouldTrade to true.
In onLoop you check if shouldTrade is true, if it is then you can begin trading.
Once the trade is complete, set shouldTrade to false.
There are other ways to do it, but that's probably the simplest
Thanks, making more sense now.
-
Hey, I was trying to keep it local, since the state switches, but I guess it should work just fine. Thanks!
-
Hey, is there a way to nullify trade.getLastRequestingPlayer? Since even after the trade is accepted, or done, the value is still the player that traded.
Or is there another way to handle this?
Thanks!
-
Hey, I've noticed that when running 5+ accounts, certain things don't work as intended. Methods that usually return the correct value, in that case don't.
For example, when trading:
trade.getOurOffers()contains() => Returns false, despite it's true.
trade.isFirstInterfaceOpen(); => Returns false, despite true.
trade.isSecondInterfaceOpen(); => Returns false, despite true.
trade.acceptTrade(); => Returns false, despite true.
What could be causing this?
I use conditional sleeps, but in some situations, my script realies on these to return the correct value causing unexpected behavior.Could it be lag, heavy on resources?
Thanks!
-
I tried to change the ip on both home&VPS but i got same problem.
-
3 minutes ago, Pandas said:
public vpn?
Dedicated server
-
the thing is on home ip is not getting banned, if push it on server it instant disabled. what you guys recommend to fix this?
-
14 minutes ago, Zorble said:
Yes, is it being locked?
if so could be due to IP change of account being hijacked.
account getting Disabled
-
Account Instant Getting DISABLE when push into my server, i did tut island on my home IP everything is ok, i push it into the server and it gets instant disable. any idea?
-
Hello, just wondering do you think guys this is a good dedicated server to start a bot farm? how many bot do you think can i run with CenOS 5 installed on it?
Intel i7-6700K
4c/8t - 4 GHz/4,2 GHz32GB DDR4 2400 MHzSoftRaid 2x480GB ssdThanks in advance. -
1 minute ago, Eagle Scripts said:
You are correct
OSBot doesn't allow any direct database connections as of now.
Thanks!
Price check on Barrows Pure?
in Price Check
Posted
Hey guys, need a price check on my account:
Thanks!