Everything posted by Alek
-
Disabling auto log in?
Use CLI to disable randoms (which includes AutoLogin): "-allow norandoms"
-
is it alright to bot on thursdays? because it update day
What?
-
Is it against the rules to upload a script to the SDN that already exists as a paid one?
It's not against the rules, but often times newer scripters will try and crash other scripts with garbage scripts - in which case it will be denied. Edit: If you have a concern, use the SDN Uploads Request forum or PM me. Edit 2: User was banned for something unrelated
-
Client tear
Nothing we can do, it's a Java issue that will only be fixed in Java 11 coming this Fall.
-
How do trials work
Completely up to the scripter, they could just tell you no trials.
-
webWalk not using teleports
Teleports are disabled by default, you must enable them through WebWalkEvent.
-
[Dev Build] OSBot 2.5.9 - Plugins and Resizable Mode (WIP)
Stop trying to take breaks while in combat
-
[Dev Build] OSBot 2.5.9 - Plugins and Resizable Mode (WIP)
Download: http://osbot.org/devbuilds/osbot 2.5.9.jar The plugins selector is now finished in the client, starting work hardcore on resizable mode. If resizable mode doesn't come to fruition, it's not all lost because at the very least the client will be more future-proof and all the API is getting looked at over again. All that's really left on resizable mode is a few more API classes and working on the client interface. The scripts page will have a list for plugins soon. Changelog: -Plugins tab now functional in Script Selector -Bank API works on resizable -DepositBox API works on resizable -Store API works on resizable -Chatbox API works on resizable -GrandExchange API works on resizable -LogoutTab API works on resizable -Worlds API partial resizable mode support -Greatly improved Worlds API world hopping, a lot more stable on first hop attempt -Worlds API and Logout API dependency cleaned up -Verified store is open before using buy/sell methods -CachedWidget accepts new constructor, which takes in a parent CachedWidget --Allows cached widgets to have predicates based on predicates -Added CachedWidget setParent -Added LogoutTab isOpen() -Added Worlds isOpen()
-
Best way to select item?
Or just use the GE API which works.
-
Checking to see if an object exists without crashing if it doesnt
One way, using null checking: RS2Object object = getObjects.closest("Dwarf multicannon"); if(object != null) { //do things } Another way, using streams: Optional<RS2Object> object = objects.getAll().stream().filter(i -> i.getName().equals("Dwarf multicannon")).findAny(); if(object.isPresent()) { RS2Object cannon = object.get(); //do stuff }
-
Osbot not starting in a f2p world.
Doesn't work right now, already aware of the issue.
- OSBot 2.5.8
-
Getting high alch prices
The simplest solution is just creating an enum and hardcoding the alch values. He asked for a solution that didn't involve scraping sites
-
Proper way to get assets into resouces folder?
https://osbot.org/forum/topic/140803-local-and-sdn-resource-loading/
-
Unsuccessful home IP change
ISP companies don't really change ips in America, unlike Europe where most modems you can just reset it. Try unplugging your modem for 2 days then try reconnecting, it's your only option if you already tried getting a new MAC.
-
Try / Except vs Throw
I'm banning you, I'm very certain you are a troll. Please learn how to program at a different community.
-
Banned 100% of time after Tutorial
You should be using scripts that have antiban built into it. You need scripts that does things like check your stats and sleep for random intervals.
-
Why does it still open the bank anywhere? (Beginner)
Please press Ctrl+Alt+L in IntelliJ. @Canidae's answer is correct though.
-
Please tell me why I am bad at java.
He thinks null checking is try catching it.
-
Try / Except vs Throw
Yeah, it works - but its inefficient. This is literally the worst thing you can do. If it was good under all circumstances then Java would just have it built-in.
-
Try / Except vs Throw
You're advising him to try catch null pointers instead of checking if the object is null? This is the problem with high level programming, encourages people to be lazy and create inefficient code.
-
Try / Except vs Throw
You want to prevent the null pointer exception from happening, not allowing it to happen and then catching it. This is a very bad practice you are learning. In the case of an InterruptedException, for now you can just try/catch those since you have no control over it. For null objects, you can always check if the object is null using an if statement.
-
Can you use a proxy with official RS client or osbuddy?
Please don't spread this misinformation, this is not true. Edit: At least on none of the popular clients, maybe on some custom client where they are doing something TERRIBLY wrong.
-
Can you use a proxy with official RS client or osbuddy?
Please don't spread misinformation; this is not true.
-
Can't get the getCamera().toEntity() to work
The method will do nothing anyways since you're using interact.