Everything posted by Team Cape
-
How much do you trust
250M
-
How much do you trust
max cash
-
JavaSE-1.7 error
Please stop posting these in Tutorials. There's a Scripting Help section for a reason, and this isn't a tutorial.
-
Selling gp [UKBT]
I'll buy all $1.10/m
-
Running from damage help
yeah just saw it... you need to put 'healthcheck' in your getstate if you want it to be run. it can't know to run it otherwise...
-
Running from damage help
can we see your getState()
-
Team Cape's Agility
will be added in soon i plan on doing a major fix on the script soon
-
We are being misled
cheapskate
-
still should be trade with caution
- Some Java questions
static - means that a method is not inherent to a specific instance of the class e.g. class V { static void x() { } } you would call V.x() instead of new V().x() because it does not need an instance to run the method. think of it as something unrelated to the actual instantiated object, but rather an added functionality to the class itself. unchecked call - not sure, maybe someone that uses intellij can respond make a separate class vs. enums - depends on what is easiest and/or more organized and logical. both have their benefits.- [Stable] OSBot 2.4.108 - Prayer Patch
- I think I'm retarded
cant, its already submitted- Rate my design from 1-10
- Looking for feedback on first script
Boolean is an object (hence the uppercase first character), and boolean is a primitive (lowercase). 'Java' does care; they have allowed programmers to (mostly) interchange the two when necessary, however, without much trouble. Where it's not necessary, it's pointless, and that's exactly what you're doing. Where it would be useful: List<Boolean> bools = new ArrayList<>(); bools.add(true); Where it's unnecessary: Boolean[] bools = new Boolean[5]; //insetad of boolean[] bools = new boolean[5];- Hello!
Welcome, friend hope you enjoy the community- Looking for feedback on first script
Put the lumbridgeTrees area right below the class definition (public class main...) so it doesn't need to be remade each loop. Also, ableToWork() should return a boolean not a Boolean - there's an important distinction, though Java allows both. Also, try conditioning your conditionalsleep on interaction e.g. if(tree.interact("Chop-down")) { new ConditionalSleep(5000).sleep(); } This is pretty good for a first go though gotta say that my first script took me about 2 weeks to perfect and it was a very simple one lol. If i make a GUI, should it be in a separate class? yes - it's cleaner Am I using ConditionalSleep correctly? basically Would using States make this script better? yes If I have a complex script, should I put all my functions in a separate module? You need to elaborate what you mean by 'function' because if you mean method, then definitely not. If you mean something like banking, then the answer is yes, depending on how large the script is.- Code being skipped ?
what chris said. also, you need to fix your bracketing and your comments. it is making your code more difficult to read than it needs to be- I think I'm retarded
I put the following on my college application for Stanford as a joke and forgot to remove it. I might genuinely have autism. This slot had a maximum of 50 words. Most significant challenge society faces Crocs with socks.- [WIP] BNClanWars # Fastest XP
cool idea for a bot good creativity- feedback before acquiring workers
do whatever you want lol. fly had like 15 feedback and people trusted him for some reason. now he banned af- Free service for next few hrs
For feedback to be valid, it has to involve a trade of 1m+.- Yoooo Saiyan is a super mod
@@Saiyan if you dont do that i will fuck you up- Yoooo Saiyan is a super mod
Congrats bro I'm probably late on this because i couldn't be on much in the past few days, but yooooooo congrats- I'm on a trip until Sunday
I will respond to all messages as soon as I can- Jagex is hiring new Jmods for OSRS. I think any UK based scripters/mods/devs should apply to jagex to gain information on their anti bot system
gp is only worth anything because bots get banned. - Some Java questions