AngryKey
-
Posts
11 -
Joined
-
Last visited
-
Feedback
0%
Posts posted by AngryKey
-
-
11 hours ago, Protoprize said:
Been trying out mirror mode using this build
Seems to lag every interaction that a script tries to do
too
-
win7 x86
I did a lot of experiments.
Found a problem in the comparison
String... Int... may have an error !!!
inventory.interact("Eat","Lobster","Shark") //Mirror Client disappear ! high probability
inventory.interact("Eat","Shark")||inventory.interact("Eat","Lobster") //everything is normal
-
The same
-
Thanks again!!!!
- 1
-
thank!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
thank
thankthank
- 1
-
perfect!!!!!!!
- 1
-
On 10/16/2018 at 1:18 AM, Chris said:
make your own login handler. the client handler auto logs back in
launch the bot with command line arguments -norandoms
Is there any other way?
-
17 minutes ago, jca said:
I’m unclear what you are asking for, but from what I can gather is that you want to logout if a boss exists and you’re not under attack, wait, then login again?
For login I would use a custom login handler to handle the event. There’s an example somewhere around here, just do a quick search.
For the wait set a timer. You can store System.currentTimeMillis on logout. Then on the loop check for the required gap. If ( System.currentTimeMillis - storedTime > waitTime ) then login.
1.Boss exists, I will logout
2.Wait 10 minutes // The script sleeps for 10 minutes while it is running.3.login again
4.Attack other monsters
5.Boss exists, I will logout
(repeat)
-
Just now, Charlotte said:
sleep?
custom login handler?
Any method can be! help!!!!
-
NPC monster=this.npcs.closest("boss"); if(monster!=null&&!myPlayer().isUnderAttack()){ this.logoutTab.logOut();//logout }
hello!
but will automatically login
I want it to wait for a while to login
what should I do.
-
There currently is no way besides using the norandoms parameter and making your own login handler
how to using "norandoms"
-
public int onLoop() throws InterruptedException { NPC monster=npcs.closest("monster"); if(monster.isVisible()){ Time=System.currentTimeMillis(); logoutTab.logOut;//logout game } return 0; } public void onStart() { bot.getRandomExecutor().registerHook(new RandomBehaviourHook( RandomEvent.AUTO_LOGIN) { public boolean shouldActivate() { if(this.client.getLoginStateValue()==10&&System.currentTimeMillis()-Time>20000){//Delay login return true; } return false; } }); }
Before 2.4.96 is perfect.2.4.99 Removed "RandomBehaviourHook".What should I do?(please give the sample)
Script loop Interrupt
in Bug reports
Posted
2.5.38 mirror mode
npc.getInteracting()
myPlayer.getInteracting()
Causes the script to loop abnormally(Probability) (2.5.35 stable)
Return to work: activated RandomEvents and Autologin and WelcomeScreen