Everything posted by zwaffel
- Method not functioning.
-
Break Handler Not Working
Which script do you use ? maybe its one that overrides the break handler.
- Method not functioning.
-
Method not functioning.
Adding banking.exchangeContext(getBot()); worked like a charm. Thank you! I wasn't able to implement any abstract methods probably cos i don't know enough about them yet. edit: if i misinterpreted this and you mean a task system with a case than id prefer just a clean if else system in my onloop.
-
Method not functioning.
I have tried adding before the contains call, if( bankingArea != null) { run code } else { log("bankingArea equals null") } but that didnt seem to change anything. The script still crashed and the client froze. My banking class extends Scripts not MethodeProvider. Is this where the error is ? it has an onloop since otherwise everything was abstract but that onloop just just empty. Edit changed it to extend MethodeProvider instead of script but it still gives the same error.
-
Method not functioning.
Yo i'm trying to organize my script a bit so i have made multiple classes. There is a class for banking with the method doBank and a constructor that takes the item and the bank location. But this is where the problem starts. When i call my constructor and fill in the parameters everything seems to work till he actually calls the method do bank. There bank will always be null and i cant seem to get it to not be null. I have tried a ton of things and when i call the method from the same class everything seems to work. So am i making mistakes in my parameters ? This is the code: This part is in my banking class. Area bankingArea; String itemToWithdraw; public void doBbank() throws InterruptedException { if (bankingArea.contains(myPlayer())) { //here is where the error shows in the logger when i start the script bankking area = null, ive tried doing // if(bankingArea == null) { (log"Bank is null")} but everything still crashes getWalking().webWalk(bankingArea); } else if (!getBank().isOpen()) { getBank().open(); new ConditionalSleep(5000, 500) { @Override public boolean condition() throws InterruptedException { return getBank().isOpen(); } }.sleep(); } else if (!getInventory().isEmpty()) { getBank().depositAll(); } if (getBank().contains(itemToWithdraw) && !getInventory().contains(itemToWithdraw)) { getBank().withdraw(itemToWithdraw, 1); } else { log("bank does not contain " + itemToWithdraw + " Ending script."); stop(false); //stopping script } } public Banking(String itemToWithdraw, Area bankingArea) { this.itemToWithdraw = itemToWithdraw; this.bankingArea = bankingArea; } } i have tried passing multiple parameters for the bank but nothing seems to work. This is in my mining script. Banking banking = new Banking(pickaxe,faladorEastBank); if (!getInventory().contains(pickaxe)){ banking.doBbank(); } //here is the error I had a method in my mining class which is as good as the same as the one in my banking class and that works fine. But i wane use my banking class for multiple scripts so id like to figure out how to get it to work. Any help is appreciated.
-
Advanced Tips
Learn to write your own scripts.
-
What happened on this day?
why havent you asked him.
-
[Dev Build] OSBot 2.5.6 - Plugins
Love the plugin idea!
- Cam's Gold Shop
-
Curse Banrate?
I have been using the free 1-99 magic script found on the snd works like a charm did like 6 accounts 1-75magic with it, no bans yet.
-
PPOSB - Bank Organizer
Nice mate, cant wait for this.
-
VPNs for suicide botting
it really depends on what you're botting.
-
Linux server ram usage.
Still having this problem when i woke up now my clients had crashed due to the outOfMemory error a single client was taking 6.3gb of ram Picture for reference: https://imgur.com/a/QYpI7
-
Linux server ram usage.
I have a dummy sound card installed but the problem still continues.
-
New Bot Project
Goodluck, it will be a long road.
-
Flagged or wtf?
VPN ip's are most likely all flagged by now. allot of people wane bot on a second account or something and download a vpn for it.
-
Flagged or wtf?
Get an autoclicker with random intervall like 300-600ms seems to work for me so far no autoclick bans yet. Been using it at ardy knights and alching.
-
Linux server ram usage.
Install a sound card as in just a sound card driver ? I cant physically put a sound card in it as im just renting the server.
-
Linux server ram usage.
Hello, i have noticed that the ram usage on my osbot clients keeps going up. After 6 hours of running apa sand crabs (and other scripts) the usage goes to as high as 4gb+ per client. While on my windows desktop it stays usally under 1-1.5gb max. I have looked thru the forum and found a topic stating this is caused by runescape sound since the server does not have a sound card. But after turning off all sounds ingame and on login screen this problem wont go away. Does anyone else have this problem and does anyone know a solution to this ? The ram seems to vary wildly as they are atm all runing the same scrip or none at all https://imgur.com/a/mdt6A
-
Failed to authenticate
Nope did nothing special with it.
-
Failed to authenticate
Still havtn solved the issue. Is there someone here that could help me thru skype or something (willing to pay). Tried to reset os and install the gui again but got the same issue. Tried using other operating system also but than i didnt get to the gui (kinda noob with servers).
- Night's VIP Giveaway!
-
Failed to authenticate
Hello, I recently purchased a dedicated server with centos 6 OS installed on it. Managed to get a gui on it so i have a desktop and can see my bots. But now one problem remains. When i try to login to osbot thru the client it says failed to authenticate to OSBot servers, while the internet on the server is fine i'm writing this post from it. So i have bad connection ruled out, what else could cause this ? Greets,
-
Looking for 10 tutorial island completed accounts.
Same