Jump to content

Apaec

Scripter III
  • Posts

    11155
  • Joined

  • Last visited

  • Days Won

    91
  • Feedback

    100%

Everything posted by Apaec

  1. Hey, sounds like you've set it to activate special attack despite these ranged weapons not having one. Disable that setting in the startup Gui and your problem should be solved (: Apa
  2. Hey, I've run into this problem as well, i'm not sure that there's a fix without changing your screen resolution and rebooting. When I investigated, it seemed to be an issue with Swing claiming to be DPI aware to windows, despite it not being. After looking around, it seems there's no viable fix without adjusting a java install file... Take a look here: https://superuser.com/questions/988379/how-do-i-run-java-apps-upscaled-on-a-high-dpi-display Apa
  3. Done & Done. Enjoy! (: -Apa
  4. Replied to your PM! (:
  5. Apaec

    APA AIO Miner

    I could add this, yes. I'll try and get it done at some point this week for you (: Apa
  6. Looking at the API, Since GroundItem implements Entity, you should be able to call Magic#castSpellOnEntity: GroundItem item = getGroundItems().closest("Egg"); MagicSpell spellToCast = NormalSpells.TELEGRAB; if (item != null && getMagic().canCast(spellToCast) if (getMagic().castSpellOnEntity(spellToCast, item)) log("Yay!"); Hopefully that works, wrote in reply box so i've not tested it... let me know if something isn't right! (: Apa
  7. I can add this perhaps, yes. Thanks for the suggestion! (: Apa
  8. 31 hours... woah! I'm sorry to hear about the ban - I was worried! Hopefully next time it will last even longer! (: Apa
  9. Am working on it as we speak, but i've had other projects going on lately and have had to prioritise them. I can't give an ETA as I truly don't know, the re-write is a lot of work and it's hard to put a time-frame on it. Hopefully soon! (: Apa
  10. Hey, unfortunately I only offer 24h trials for the scripts (see the OP for details) - i've started it for you now, enjoy! (: Apa
  11. Sure, i've started your 24h trial now! (: 20h?! That's crazy awesome!! If you have a couple mins spare, let me know when you hit the stop button and drop a screenshot down so I can add it to the front page! cheers! Hey, no problem. I can see that it doesn't seem you've started the script yet - i've given you a fresh 24h. Enjoy! (: Sure thing! (: _______________ -Apa
  12. Awesome stuff, thanks for sharing! (: I've added it to the main page if that's okay! Sounds like you might have a flagged ip! Careful! ________ -Apa
  13. As dreameo stated, they are indeed NPCS. Use: NPC fishingSpot = getNpcs().closest("Fishing spot"); Apa
  14. Yes, I would say xp is faster! Sand crabs have 60hp compared to the 50hp that rock crabs have, and the 3/4 spot camp locations yield more in-combat time than the rock crab roam settings. I've given you a 24h trial, hopefully the script lives up to your expectations! (: -Apa
  15. Cheers for this. Yes this is caused by a recent OSBot interaction change which makes walking always use the minimap which might be the root of the issue. Since hosidius is an unusually convenient location, the walking is a bit tricky to handle. I plan to change the way it executes in the near future and am experimenting with code alternatives, i'll see what I can do to improve it! (: Apa
  16. Yes, the AIO cooker only cooks items on fires/ranges. It doesn't support pizzas/wines/potato or other cooking methods since that would warrant a price change and may infringe the OSBot store undercutting rules. Sorry about that! You might be able to get a refund (although I don't handle them), worth a try. Apa
  17. Oracles naming conventions say that constants should be caps and underscores, but 'constant' is not synonymous with the final keyword. For example, the final keyword can be assigned to variables which may not have the same value between separate instances of a program. Consider the class below: public class Demo { private final String someString; public Demo(String string) { someString = string; } public String getString() { return someString; } } The class can be used as follows: System.out.println(new Demo("Hello").getString()); //> Hello System.out.println(new Demo("abcdefg").getString()); //> abcdefg You will notice that, although the variable 'someString' is final, its value is not the same in the example above (when two separate instances of the Demo class are created) and thus is not globally constant, hence a CAPS_AND_UNDERSCORES variable name is not appropriate. In the next example however, it would be: public class DemoTwo { private final String SOME_STRING = "I'm constant!"; public Demo() {} public String getString() { return SOME_STRING; } } Using it: System.out.println(new DemoTwo().getString()); //> "I'm constant!" I hope that makes sense and you now understand what I was previously trying to say and why I think that the final keyword does not always mean caps and underscores should be used for naming! Apa
  18. You don't have to declare stuff before using it, you can declare stuff as you use it. I'd suggest reading up a bit about java, but the idea is: String tree = "Oak tree"; RS2Object tree = getObjects().closest(tree); //... is functionally equivalent to RS2Object tree = getObjects().closest("Oak tree"); //... likewise Area area = new Area(0,0,0,0); getWalking().walk(area); //... is functionally equivalent to getWalking().walk(new Area(0,0,0,0));
  19. I wouldn't say everything final has to be left in upper case, that's preference really. Perhaps for user-defined constants which modify how your code runs directly and will only ever be the value you provide, but for final attributes initialised in a classes constructor, while the values may be constant locally, globally across other instances this is not guaranteed!
  20. Sorry to hear that. With your experience I'm sure you will understand how unpredictable bans can be - Be sure to give this thread a read if you have a couple of minutes to spare, so that you don't get banned again! Cheers Apa
  21. Hey, this script only cooks items on fires/ranges - It will cook Tuna for you, and turn raw potatoes to cooked ones, but will not combine the items in any way. Cheers!
  22. I see you figured it out, thanks!
×
×
  • Create New...