Everything posted by Joseph
-
My selfmade paint , Feedback please ~~
The banner lookers better now.
-
[SNIPPET] Formatting numbers into the runescape format (eg 1000 -> 1k, 2311022 -> 2.3m etc)
I still have the old method
-
Dropdown for choosing an item
Enjoy young blood, read the answer.https://www.google.com/url?sa=t&source=web&rct=j&url=http://stackoverflow.com/questions/21957696/how-to-use-joptionpane-with-many-options-java&ved=0CB8QFjABahUKEwifira6ioTIAhUI1YAKHQ1iC-g&usg=AFQjCNFkmJuwSFn2_NzajU6CIp4vTbGfrg&sig2=l9gAukIL1-Hbazld66ryNA
- Quad
-
setRunning Problems
Noob lolThe method above will always return true.
-
Dropdown for choosing an item
If you are using enum which is the smart way to do things and also using a jframe then you don't really need a default combo box model. You can just set your combo box to your enum. Let's say you only want a person to choose a location based off your enum and no other option. I rather tell you to use a joptionpane. It's pretty much a simple pip up box and depending if it's a yes or no question, or a blank field for someone to type in. Or even better a combo box. It includes a cancel and ok button. It's pretty simple for the basic needs. All you need to do is make the option return the data type you need: string, int, enum variable.
- 1 Day Ban
-
VIP
cant you just buy another card and redeem the cash with pp
-
VIP
https://www.paypal-cash.com/ buy a card from walmart or somewhere that may have it
-
How I feel about OSBot ATM
i dont like it
-
The sleeping struggle...
Smoke a bit of weed. That shit will not you out on the come-down
-
Shortening stuff
you should use an enum for accessing similar datas of different types. The enum allows us to pre-define data. Then we create getter methods to help us grab the type of data we need. All you need to do is return the select enum variable. With that variable you can grab whatever data you need
-
Need help animating stopping while smelting
tbh i didnt like any of those answers. Maybe except for the condition sleep. Personally i would just use a timer. And a simple boolean check to weather it should interaction or keep waiting. private long waitTimer = System.currentTimeMillis(); if (player animtaing) { restart timer } else if (System.currentTimeMillis() - this.waitTimer > 3000){ start interaction } edit: if you dont understand how to make the timer concept. Here a simple timer class. Its been passed around for ages public class Timer { private long period; private long start; public Timer(long period) { this.period = period; this.start = System.currentTimeMillis(); } public long getElapsed() { return System.currentTimeMillis() - this.start; } public long getRemaining() { return this.period - this.getElapsed(); } public boolean isRunning() { return this.getElapsed() <= this.period; } public void setPeriod(long period) { this.period = period; } public void reset() { this.start = System.currentTimeMillis(); } public static String format(long milliSeconds) { long secs = milliSeconds / 1000L; return String.format("%02d:%02d:%02d", new Object[] { Long.valueOf(secs / 3600L), Long.valueOf(secs % 3600L/ 60L), Long.valueOf(secs % 60L) }); } }
- Zen's Gatherer Plus
-
Zen's Gatherer Plus
send him a pm itss better
-
How I feel about chatbox ATM
i guess we all can see it. that fire only :P
-
Darkscape, 15 minute release review.
Hearing that it's all pvp doesn't really sound good to me. Why would I like to die 2 times before even playing that's sounds retarted
- B-But!
-
The truth what's going on @Scripter section
I never see drama in there
- B-But!
- B-But!
-
Help me fix looting.
- I can make good paint for beginner scripters!
Charge someone a dollar lol. I'll pay you a dollar and a logo- Smelting with banking
You got the ore boolean which works. But the other two methods you are using them wrong. The furnace and bank booth are entitys. You should rather compare the distance between you and the entity that you are Looking for. Use this same logic.- Smelting with banking
Use both because without one you can't make what you need. I say make a boolean that check both supplies. And use that as one of the conditions. - I can make good paint for beginner scripters!