-
Posts
129 -
Joined
-
Last visited
-
Feedback
100%
Posts posted by dokato
-
-
Can this script melee Vorkath ?
-
5 hours ago, Elixar said:
I think the point is, If you only use statics for what they are intended for, Whilst using proper Object Orientated Design principles, then you wont have to worry about these issues of " what if I use multiple Bot windows instead ".
Hahah, I understand that lol but i wanted to just know u know.
-
14 hours ago, Czar said:
Statics will be shared clientside with bot tabs, so all tabs are within the same scope, iirc.
Ok and what if i open up multiple bot windows? (Instead of just one window with multiple tabs)
-
Hi,
I'got a question about static fields in my Main script.
Does it become like a singleton for all my bot instances? Like if I start up multiple bot clients, will the value of a static field be always the same for all of these bot clients, even if the value gets modified at runtime? Or not?
I could test it myself ofc. but I don't have VIP atm and cannot run multiple bots...I thought that a static field is same for the entire JVM, thats why I'm asking.
Thanks in advance.
-
15 hours ago, Explv said:
Another alternative is to use: https://storage.googleapis.com/osbuddy-exchange/summary.json
Or the version hosted on rsbuddy's site https://rsbuddy.com/exchange/summary.json (may have the same issue of going down, not sure)
You can download the file to the user's data directory, and then read it using a json library.
RSB_Fox gave this link on reddit a few months ago:That is super usefull!
Thanks alot bro!
- 1
-
30 minutes ago, Explv said:
Like H0rn posted, you can use the official rs API.
I would probably recommend writing some code to use the rsbuddy API, and when a price fetch fails, fallback to the official osrs API.
I would also recommend using a JSON library like JSON simple, it's just easier to maintain.
I think I have some code in one of my scripts to do the above, will post later when I can
34 minutes ago, H0rn said:Thanks guys,
I know there is the official OSRS GE API but it's far from accurate when it comes to prices, therefore i wanted to use the rsbuddy api.
I just want to know if there is another one with good accuracy.
-
Hi,
Is there an alternative for the rsbuddy api? It's always down for some reason.
Thx in advance
-
Is the onMessage() executed all the time?
Because i noticed some delay before it gets executed. It kinda screws up the flow.
-
9 hours ago, LeBron said:
No, GE didn't rip you off. Your offer wasn't to buy the items for 4302, it was probably something like 4320 but you got some cheaper than that and some for the exact price you put in and the average price you paid per item ended up being ~4302.
bist
-
16 minutes ago, Slut said:
it buys UP to that price. If there is already a sell offer for 200 and you offer 250, it will buy ALL the 200's it can, all the way up to your max.
eg:
200, 200, 200, 249.
It'd say buy price: 200, bought 4 * 200 = 849.
Just my hypothesis thoThen 849 is less than 1000 (250 * 4),
In my case it was more, it bought for 1050 f.e. , while i explicitly put in buy offer for 250 ea for 4. I get 4, but it took 1050 from me. (original offer was more than 4, but i aborted)
Why did it take that 50 gp extra while it only gave me 4 as i asked for 250 ea ?
-
2 minutes ago, Slut said:
My guess is some of the offers costed more than that, and it just takes the mode pricing or something
Hahaha, then whats the point of putting a buy offer for a specific price in the first place, if they will change what i typed in as they please LöLLLL.
-
Did the GE just rip me off?
12 245 * 4 302 = 52 677 990
But it took 52 687 066
Where does that 9 076 extra come from?
-
1 minute ago, House said:
-allow lowcpu
ty
-
Is it possible to open the client from CLI with an option to turn on the low cpu mode?
-
It types my login name and password whenever it has done loading the map when it walks a distance.
I've already placed a check using this method but it doesnt help.
public boolean isLoading() { return getClient().getLoginState() == LoginState.LOADING || getClient().getLoginState() == LoginState.LOADING_MAP; }
Plz help.
-
So we can properly manage farms?
-
I did not misunderstand what you are trying to do.
The registerHook method has been removed from the API, to achieve what you want to do, you will need to disable all randoms, and write your own login handler, like this:
A ok Thx, I still tried to use OSBot's login thing, but now you have to make even that completely yourself, very thoughtfull of Alek or who ever changed that.
Guess what we learn at college is really true, "change is the only constant".
But in this case I really don't understand why.
-
Why do you need to register this? isn't it enabled by default
Alek added a -norandom flag to CLI not too long ago, look into that.
You can now disable randoms all together using the:
-allow norandoms
CLI flag, and then write your own custom break handler
Well Thx guys,
But you both clearly misunderstood what I'm trying to do here
I don't want to disable a random here, I just want to make sure that the random will only be executed whenever I like (on code level), not completely disable it using CLI.
In this case I only want it to log back in when the expression in the if(/*blabla*/) returns false. If I disable that random completely it won't be able to log back in.
-
Okay so I've opened a script i wrote 3 months ago where i implemented my own break handler and i used to import this:
import org.osbot.rs07.script.RandomBehaviourHook;
And i used to put this in my onStart() :
try { this.bot.getRandomExecutor().registerHook(new RandomBehaviourHook(RandomEvent.AUTO_LOGIN) { @[member='Override'] public boolean shouldActivate() { if(/*blabla*/){ //blabla return false; }else{ return super.shouldActivate(); } } }); } catch (Exception ex) { //blabla }
And it used to work perfectly, but now it gives me an error when I'm trying to import that RandomBehaviourHook and it looks like it's gone from the API.
Is it gone? Or is there another way to make this work?
-
i'd recommend finding a script which is compatible with low CPU mode since for me that drastically reduces CPU but does cause issues with interactions. so make sure to find the correct script or a private script with custom interaction methods.
Thx, I write them myself so no worries on that, i'm just looking for the best hardware stuff for good budget
-
AMD is a cheaper alternative for cpu's. I'm running a FX-8350 which runs 8-core 4.0mhz that I paid $200 canadian for.
You can go even cheaper if you really want like the A-10 series for ~$120. At the same time you need to keep in mind of thr chipset of your current pc (if not building from scratch) as well if its intel or amd motherboard
Thx, And how many bots can u run?
-
What CPU should I consider to buy in order to run at least 4 bots properly for example? (not mirror)
And how about RAM? 1 stick or multiple smaller sticks?
Thanks in advance.
-
Is it possible to run multiple bots on the ORDOID-XU4? Or does anyone have experience with running bots on any kind of those single board computers?
Specs:
* Samsung Exynos5422 Cortex™-A15 2Ghz and Cortex™-A7 Octa core CPUs
* Mali-T628 MP6(OpenGL ES 3.0/2.0/1.1 and OpenCL 1.1 Full profile)
* 2Gbyte LPDDR3 RAM PoP stacked
* eMMC5.0 HS400 Flash Storage
* 2 x USB 3.0 Host, 1 x USB 2.0 Host
* Gigabit Ethernet port
* HDMI 1.4a for display
* Size : 82 x 58 x 22 mm approx.(including cooling fan) -
use area's to walk to, the spot on which it will click will always be random then
Excellent Vorkath
in Combat & Slayer
Posted
I'd like to request a trial please.