Everything posted by blabla123
-
Fitts's law & mouse
Yes but in this case we would have all the variables, because we know where the mouse is at the beginning and where it is moving - we use RectangleDestinations, or entity models, which have width and from those we can estimate AVERAGE time, which can then be randomized of course. So we would use the formula in reverse compared to "designers" if you'd like. EDIT: As for the distance (this might be a stupid question but) why not just use pythagorean theorem? We have a grix of pixels, two points in this grid so why not just distance = sqrt((x1 -x2)^2 + (y1 - y2)^2) Where x1, y1 are coords of point A and x2, y2 are coords of point B.
-
Fitts's law & mouse
Hi there, so just now I was checking out youtube and my subscribed channels and one of my favourite among them posted this video: https://www.youtube.com/watch?v=E3gS9tjACwU . Immediately after seeing the title of it botting came up to my mind. Basically they are talking about something called Fitts's law. It's represented by a formula which predicts time it takes human to get with mouse from point A to point B. it looks like this: T = a + b * log2(A/W + 1) T - time it takes to get from point A to B a,b - not so significant variables, from the video I understood that they represent device you are using A - altitude, distance between A and B W - width of the target we are moving towards After you watched the video ▼
-
What's with the falling GP prices?
Word is that there is a dump going on generating massive ammounts of GP which, of course, push the price on the market down.
-
Adding a couter
Declare these as globals (secs,mins,hrs can be declared inside onPaint() if you'd like) long startTime; long timeRunning; long seconds, minutes, hours; and set onStart(){ startTime = System.currentTimeMillis(); } and onPaint(Graphics2D g){ timeRunning = System.currentTimeMillis() - startTime; hours = timeRunning / 3600000; timeRunning -= hours * 3600000; minutes = timeRunning / 60000; timeRunning -= minutes * 60000; seconds = timeRunning / 1000; // and now just print it, for example g.drawString("Time: " + hours + "h " + minutes + "m " + seconds + "s", x, y); }
-
Has anyone seen the new Filthy Frank episode?
That I did, that I did...
-
Has anyone seen the new Filthy Frank episode?
What the fk did I just watch?
-
[Stable] OSBot 2.3.81 - Multi-patch and Security Update
Thanks for the update
-
Free mining script on sdn?
Is it an AIO Miing script, or just made specifically for one or few more places?
-
Is worlds.hop() working for you?
Actually I was using this method in one of my private scripts and it was working just fine. Logged in today after a few days and it won't hop.
-
Is worlds.hop() working for you?
Hi, is the mentioned method working for you? I'm certain it is being called in my script - I event commented whole onLoop() body and just put simple "worlds.hopToP2PWorld();" line - and nothing happens. Can someone confirm this? Can it be caused by the update of world switcher as it shows players on each server now?
-
Cropping an image to a percentage?
g.drawRectangle(x,y,width,height); ^ percentTNL or something along this line... I know it doesn't do exactly what you wanted, but it's much easier.
-
Problems using localWalker.walkPath(...) to walk a predefined path.
My friend, do you have in your getState() something like this? if(LUMB_AREA.contains(myPlayer())) return STATE.WALK_TO_COWS; Because if that's the case the problem is simple. You just walk out of the LUMB_AREA and thus you don't even get to the WALK_TO_COWS state.
-
Back in the day when Josh wasn't banned.
Dispute thread?
-
jagex is funny lol
Well to be honest I would expect legit playing people to play there... To see someone there harvesting resources, monsters etc, but I've never met anyone in this world
-
jagex is funny lol
I've also noticed this and found it interesting. I personally use them only when I play legit and need to buy something from store / want to kill something because there's almost nobody in these worlds.
-
How to suppreess LoginEvent and inventory listener question
Thanks man, I've already done this in my onStart() and it seems to be working... bot.getRandomExecutor().unregisterHook(RandomEvent.AUTO_LOGIN); bot.getRandomExecutor().registerHook(new RandomBehaviourHook(RandomEvent.AUTO_LOGIN) { @Override public void onStart() throws InterruptedException{ mouse.moveOutsideScreen(); sleep(random(180000,240000)); } });
-
With which monthly salary do you consider yourself earning good money.
Slovakia 1500€ is like really good. Minimal wage is around 350 - 400€, average is like 700€ (I think, not sure)... People in IT can make 1500€ and more monthly. Teachers make like 700-800€ if they're lucky. So yeah, hurray.
-
If you were an OSBot script what script would you be?
What do you do? ---------> Spam closing doors in Lumb, by the spinning wheel Are you free or premium? do you have a monthly fee? ---------> Free for all Profit per hour? ---------> Unlimited rage from people is my profit Ban rate? ---------> irrelevant... life threats incoming How many users? ---------> At least one on each world Who made it? I think I might write one and post it here... with counter of succesfully closed doors
-
How to suppreess LoginEvent and inventory listener question
@Flamezzz How would I then register auto_login back again? registerHook() and registerRandoms() is not working with RandomEvent.AUTO_LOGIN...
-
How to suppreess LoginEvent and inventory listener question
Hmm, I guess it should work when I rule out the increments done while hopping worlds.
-
How to suppreess LoginEvent and inventory listener question
I think I have used the wrong term. I need InventoryMonitor - which will count how many items I've gathered. The one I linked in the post works fine, but I had to add a check for when I'm banking, because it worked both ways: adding and substracting aswell. But that was easy. And I don't know why it increments the counter variable when hopping worlds.
-
How to suppreess LoginEvent and inventory listener question
Hi there guys. So today I stumbled upon these two things when writing a script. First I have problem with keeping track of how many things I have gathered. I have tried many ways of doing it, even went here for help and found this post http://osbot.org/forum/topic/75766-inventorymonitor-snippet/?hl=thread which worked pretty well, but every time I hopped world, the last ammount added, was added again. So say I had 10 items in inventory, I gathered another 5 (15 now) and when I hopped world the counter went to 20. So how should a basic thread based inventory listener look like - which will work with world hopping? Another thing that I found problematic was the world hopping limit - after some ammount of worlds hopped in fast succession it will log you out. So I would like to make it so my script will sleep for like 5 mins when this happens and after that comes back. How could I suppress LoginEvent when I get logged out and then use it again after some time? If someone can help me with those two things, please post ahead, I would appreciate it
-
Iron Man Accounts Should Be Worth Alot
You can switch only from iron man back to normal... Not the other way around... It would be pointless then.
-
[900+ Feedback] Bonds 1.4M 07 GP Each [900+ Feedback]
bought a bond, fast, smooth, recommending this guy
-
The name of that good song you heard but can't recall.
Dota 2 twitch chat fav song