Everything posted by HeyImJamie
-
{Beginner} Simple woodcutting script need help
Stop, learn java, come back, write scripts.
-
Perm Banned on 123
If you were on a different IP to the one you use your main on, maybe? Try recovering / appealing anyway but I can't say it's likely.
-
Hunter Script
Probably cache the tile the trap was placed on
-
Getting quest status / progress
10/10 S2 ability. Goodluck returning a void method 😉 public boolean isQuestStarted(Quest quest) { return quest.getConfig() > 0; } public enum Quest { GOBLIN_DIPLOMACY(63); int questConfig; Quest(int questConfig) { this.questConfig = questConfig; } public int getConfig() { return questConfig; } } I'd do something like this. Store all your quests in an enum and just check the config is > 0 to check if it's started. Quests also have finished settings, so you can store those in this enum as well and add an isQuestFinished method etc. Hope this helps.
-
[PP / 07] Buying 4x Thread Designs.
Looking for thread designs for a few of my scripts. Payment is open for discussion. I'll ideally need the layout designed w/ graphics, text etc so ideally will need someone who's creative and good w/ 'marketing' / advertisement. I'm not looking for a generic large image. Can't really think of how to word this to get exactly what I want across, so please pm me or add my Discord @ HeyImLit#3244 if you have any questions. Cheers.
-
Ultimate AIO Slayer
I thought only S3's were allowed to write Slayer scripts?
-
WebWalk No Route found handling?
Depends where you are. It's only better practice when you can guarantee you're walking from one set location to another.
-
WebWalk No Route found handling?
It's been a while since I've done any scripting on this client but I'm pretty sure there's a way you can check the response. Edit: Look at the API. WebWalkEvent -> getDestination()
-
Exco Clue Solver
Read the thread. Written by Patrick, maintained by Night.
-
What makes private script less bannable
Google what the two terms mean, use your brain and you'll figure it out.
-
Need help changing thread color.
Use the remove format button
-
Best way to get a bot's email from inside script?
Pls tell me there's no getBot().getPassword() method
-
Task based framework
I personally split my scripts into a mix of a 'Task' / 'State' based framework. Add my Discord @ HeyImLit#3244 and I'll give you some code snippets.
-
wtf error? RS2Widget
Go learn a little Java and then come back. Save yourself a world of trouble
- Residential IPs are absolutely necessary!
-
New text when banned?
Remove your tinfoil hat.
-
" Error in script executor! java.lang.NullPointerException " when trying to start a script, what could be wrong? :)
Well done Next step I'd say would be to re-think your logic a little bit. For example, your bank method could be re-ordered so it checks that the bank contains the ore prior to withdrawing, rather than attempting to withdraw and then stopping script.
-
" Error in script executor! java.lang.NullPointerException " when trying to start a script, what could be wrong? :)
I don't think spoonfeeding you here is going to help you much. The NPE directs you to where the error is (line 33 of your script). You're not null checking something correctly on that line, so go figure it out Based on looking at your code though there's a few areas where you haven't bothered to null check, so get them fixed up too and you'll be good to go!
-
" Error in script executor! java.lang.NullPointerException " when trying to start a script, what could be wrong? :)
Show the god damn NPE. ?
-
" Error in script executor! java.lang.NullPointerException " when trying to start a script, what could be wrong? :)
Is that the entire script? and does the NPE direct you to any line?
-
[Beginner] Progressive Wc-script, getAxes() method design questions
https://github.com/HeyImJamie/JProgressiveWoodcutter/tree/master/src/scripts/JProgressiveWoodcutter Take a look at this. It's for a separate client, but should give you a right idea. The enum and best axe method can be found in the data folder.
-
[Beginner] Progressive Wc-script, getAxes() method design questions
I'd suggest looking at Enums.
-
Possible reasons of programs not work after removed printing variables lines
Need a little more context. We can't magic up reasons why your program doesn't work.
-
Methods Template?
I personally use a mix between a Task and a State 'framework' For example, I'll have a Bank Task which contains code for banking. And in that class will be a switch statement that chances based on certain conditions, for example: switch (getTaskState()) { case WALK_TO_BANK: // walk to bank etc break; case OPEN_BANK: // open bank break; // etc } private enum TaskState { WALK_TO_BANK, OPEN_BANK, BANK_ETC } private TaskState getTaskState() { if (!Bank.contains(Player)) { return TaskState.WALK_TO_BANK; // etc }
-
Castle wars bot?
I can write you one privately that afks if you want. HeyImLit#3244 is Discord.