Everything posted by Salty as fuck
-
Multiple classes :doge:
Well, it's a good thing I have this here thread for that there point you're making. And 'one of'. Saying I know about Java doesn't necessarily imply I can list every single function and know exactly what to do in every situation without outside assistance either.
-
Multiple classes :doge:
I understand OOP, I don't understand multiple classes.
-
Multiple classes :doge:
- Multiple classes :doge:
I don't like it, but for the sake of managing an aio rs script, I may as well- Multiple classes :doge:
Alright so, I looked at quite a few tutorials, read quite a few posts and i'm still a tad confused. I have a main class and then I have other classes. If I'm trying to use methods in my secondary class, it tends to null out, even though methods are available. Halp pls package AIO; public class wc extends AIORuneScape{ int abc = 5; public void Woodcutting() throws InterruptedException { sleep(500); if (npcs.closest("Banker") != null) { log("test"); } } } This is the secondary class.- AIO Runescape
Super self-sufficient and attempts to imitate human behaviour. Walks to the nearest bank. Banks all resources gathered and uses them wisely. This is, as the section implies, a developmental thread. Working skills - Agility * Combat Construction * Cooking Crafting Farming * Firemaking Fishing Fletching * Herblore * Hunter * Magic Mining Prayer Ranged Runecrafting Smithing Thieving * Woodcutting Quests - none yet Minigames - none yet Money Making - none yet updates: 3/9/2016 Multiple classes finished woodcutting started mining woodcutting now picks up birds nests antiban specific to skill prioritizes looting feathers over attacking chickens mining supports upto iron ores, supports all pickaxes- Checking distance between two positions?
literally just checked the api lol thx fam- Checking distance between two positions?
for instance... if player is closer to position1, make them walk there, else if it's position2, make them walk there- Opinions?
terrible there's absolutely no flow here also, font should be subtle, not the main focus- Implementing MessageListener?
String txt = ""; public void onMessage(Message message) throws java.lang.InterruptedException { txt = message.getMessage().toLowerCase(); if (txt.contains("whatever you want read from the runescape chat")) { } }- Legit first time i heard someone say this. pizza is disgusting? the fuck
Pizza is okay at best- Price check on a Fisher
- Knife found at OJ Simpsons estate, only 20 years late.
oh, i was wondering where i left that..- Mining script help
Neither script would get you the scripter rank, but here. Go through this. http://osbot.org/forum/topic/28798-pandemics-scripting-series-part-i-setup-and-basic-logic-updated-for-osbot-2/- succesfull first proggy
np goodjob though- succesfull first proggy
you should definitely get a runtime set up in there public void onStart() { startTime = System.currentTimeMillis(); } public String format(long time) { StringBuilder string = new StringBuilder(); long totalSeconds = time / 1000L; long totalMinutes = totalSeconds / 60L; long totalHours = totalMinutes / 60L; int seconds = (int)totalSeconds % 60; int minutes = (int)totalMinutes % 60; int hours = (int)totalHours % 24; if (hours > 0) { string.append(hours + "h "); } if (minutes > 0) { string.append(minutes + "m "); } string.append(seconds +"s"); return string.toString(); } g.drawString("Runtime: " + format((System.currentTimeMillis()-startTime)), 555, 418);- How do i get to my local scripts?
did you make it yourself? a common issue that prevents scripts from starting is people initializing variables outside of the loop or onstart- PC my pure
Avoid buying him - http://www.sythe.org/report-scammer-archive/1939304-joeljbur-scammer.html- Ban evader - Joelbjur
Past accounts (if you know of any): Current account: @Joelbjur Reasoning: http://www.sythe.org/report-scammer-archive/1939304-joeljbur-scammer.html Is trying to sell the same account he keeps recovering on here.- RSlayer [AIO]
appreciate the report, fam regular pots are literally supported for just one npc and i never got into the super pots i gave up on this script after Khaleesi released his slayer script currently just working on an aio runescape script- Ardougne Nature Chest
yes, i'm quite well aware same applies for 3, 8 and 9, but it was the least of my concerns- T13: Introduction to Simplog, lightweight logging
"File("C:/Users/bjorn/Desktop/TextTest.txt")" nice name, fam- fascinating stuff going on in WA state
last one looked a little too douchey- who can make the best comic?
- fascinating stuff going on in WA state
nothing wrong with a bit of meth here and there, i guess everything in moderation - Multiple classes :doge: