Everything posted by Kati2
-
Easy Sleeping Snippet
That's not as randomized as the method I posted, nor is it as simplified. I'd have to disagree. I did a little bit of statistical analysis on your method: Case one yields an average range of 750 to 2000 if not using a dynamic base. Case one yields an average range of 250 to 1500 if using a dynamic base. Case two yields an average range of 750 to 1675 if not using a dynamic base. Case two yields an average range of 50 to 975 if using a dynamic base. Case three yields an average range of 750 to 1675 if not using a dynamic base. Case three yields an average range of 23 to 948 if using a dynamic base. (all of these are bell curves with their peak at the mean) If you logged every time the bot slept, you would have a graph that looks like 2 or 3 superimposed bell curves (or 5 if you randomly use the dynamic base). To have something truly random, you have to use this method along with a way of changing the base to better suit your needs in a script. Such as an action that requires 1 tick compared to something that needs 5. If you slept the same way every time, it would look obvious by the randomness of it. By default, humans are not random. There was a study done that asked a human to flick on and off a light switch in a random pattern. The study concluded that there was a non-random pattern that the person followed subconsciously. When humans do actions, they get tuned to what they are doing. It is very easy to keep the beat in a song, compared to trying to play something in random intervals. Its not how our brains work. This is a very well written video explaining what I'm walking about http://www.youtube.com/watch?v=H2lJLXS3AYM I'm very aware of the constant patterns in subconcious timing. When flipping a lightswitch you are aware that it flips on and off, two reasonable options, while only one is optional at a time. If you've gone up, your only option is to go down, meaning that your brain will naturally flip it at a constant rate. This isn't the same in RuneScape. There are many actions you can do, and they happen randomly. You don't attack an npc every 5.0 seconds, you may attack one at 1.2 seconds, attack another at 6.8 seconds, then another at 9.1 seconds. The randomized core of RuneScape's engine, the random hits, the random spawns. The set delays are the only ticks that would be remembered by your brain. Even so, the numbers are changeable for a reason. Everyone would have their own set "ticks" they'd be accustom to using, which is why you can change the sleeps, add more, or remove some. Thanks for the nice discussion!
-
Easy Sleeping Snippet
That's not as randomized as the method I posted, nor is it as simplified. Happy? If you want to do that just use the normal method.. why not use dynamic sleeps? import timer.Timer; import org.osbot.script.Script; import org.osbot.script.rs2.model.Player; public class Singleton { private final Script script; private static Singleton oneInstance; private Singleton(Script script){ this.script = script; } public static Singleton getInstance(final Script script){ if(oneInstance == null){ oneInstance = new Singleton(script); } return oneInstance; } public boolean isIdle(){ Player p = script.client.getMyPlayer(); return !p.isAnimating() && p.getAnimation()==-1 && !p.isMoving() && !p.isUnderAttack(); } public void dynamicSleep(final boolean condition){ Timer timer = new Timer(800); try{ while(!isIdle() && condition && timer.isRunning()) script.sleep(10); } catch (InterruptedException e){e.printStackTrace();} } } As I said, I was trying to make it as random as possible.
-
Were is Konloch?
He's away.. he'll be back very soon.
-
Reaper scammed me for 4.5M
I honestly feel there's enough evidence. If reaper refunds you he will be unbanned.
-
Easy Sleeping Snippet
Happy? :P If you want to do that just use the normal method..
-
Easy Sleeping Snippet
I became annoyed at typing sleep x + gRandom(y,z); so I wrote this so you can simply enter three values (you can change it to more) and it will randomize the sleep method furthermore. Not only that, instead of having to type out your sleep every time, you just type: Sleep(); Here's the code: private boolean dynamicBase; int s0 = 750; // Base value int s1 = 0; double s2 = 0; public void subSleep() throws InterruptedException { sleep(s0 + gRandom(s1, s2)); } public void sleep() throws InterruptedException { Random sleepRandom = new Random(); switch (random(1, 3)) { case 1: if (dynamicBase) { s0 = sleepRandom.nextInt(500); } s1 = sleepRandom.nextInt(1000); s2 = 250 + (1500 - 500) * sleepRandom.nextDouble(); subSleep(); case 2: if (dynamicBase) { s0 = sleepRandom.nextInt(100); } s1 = sleepRandom.nextInt(250); s2 = 500 + (800 - 200) * sleepRandom.nextDouble(); subSleep(); case 3: if (dynamicBase) { s0 = sleepRandom.nextInt(45); } s1 = sleepRandom.nextInt(250); s2 = 500 + (800 - 200) * sleepRandom.nextDouble(); subSleep(); } } Pretty much, your sleep is now: randomBase(optionally) + randomint(randomint + (randomint(randomint)) + (randomDouble(randomDouble))) Making your sleeps math-ambiguous.
-
CoD on Steam
If anyone has BO2 on steam @Raflesia and I would play a few games with you. Leave your steam ID here if you have it!
-
WEIRD mods on OSBOT
One of the feedbacks will stay. Spamming multiple feedbacks wastes the staffs time. Perhaps you should read the rules before even leaving feedback. If you'd like, you can make a dispute against him using the provided template here. Please don't leave multiple feedback though.. Locked.
-
WEIRD mods on OSBOT
There are many reasons as to why it could have been removed. We're clearly here to make the community a better place, so if you could give a clear explanation to your problem, starting with: 1. The member the feedback was given to 2. A dispute (if created) 3. Other information It would be great. Thanks.
-
Frostydom scammed meh
I'll give Frosty 48 hours to reply.
-
Staff, count to 20 before a member posts
20 /Thread
-
Staff, count to 20 before a member posts
18
-
Staff, count to 20 before a member posts
15
-
Staff, count to 20 before a member posts
13
-
Staff, count to 20 before a member posts
10
-
Staff, count to 20 before a member posts
7
-
Staff, count to 20 before a member posts
5
-
Staff, count to 20 before a member posts
3
-
Staff, count to 20 before a member posts
1
-
Occazn the very FIRST VERIFIED
Have you cleaned out port 80 yet?
- Bot wont even work
-
OSBot Client [OFFLINE]
I've reset the Java server.
-
I'm worst scripter ever pls halp
worldHopper.hopWorld(world); sleep(2000); add that inside your if statement so it will only execute if it picks up the chisel.
-
OSBot Unofficial Server
Possibly godswords and claws.
-
This guy seriously is a fail... wow!
Glad to see we are being advertised.