-
Posts
1096 -
Joined
-
Last visited
-
Feedback
100%
Everything posted by HeyImJamie
-
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.
-
Probably cache the tile the trap was placed on
-
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.
-
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.
-
I thought only S3's were allowed to write Slayer scripts?
-
Depends where you are. It's only better practice when you can guarantee you're walking from one set location to another.
-
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()
-
Read the thread. Written by Patrick, maintained by Night.
-
Google what the two terms mean, use your brain and you'll figure it out.
-
Use the remove format button
-
Best way to get a bot's email from inside script?
HeyImJamie replied to PlumpRump's topic in Scripting Help
Pls tell me there's no getBot().getPassword() method -
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.
-
Go learn a little Java and then come back. Save yourself a world of trouble
-
Residential IPs are absolutely necessary!
HeyImJamie replied to caketeaparty's topic in Botting & Bans
If anyone leaks these to you they're dumb as fuck.- 16 replies
-
- proxy
- residential
-
(and 1 more)
Tagged with:
-
Remove your tinfoil hat.
-
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!
-
[Beginner] Progressive Wc-script, getAxes() method design questions
HeyImJamie replied to t0r3's topic in Scripting Help
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
HeyImJamie replied to t0r3's topic in Scripting Help
I'd suggest looking at Enums. -
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 }
-
I can write you one privately that afks if you want. HeyImLit#3244 is Discord.
-
Awesome! Now I'd suggest you start looking at other things, such as better checks on the booleans available to you, and maybe neatening it even more? For example: You can use && to check for multiple conditions in one line!