Jump to content

rooney

Members
  • Posts

    21
  • Joined

  • Last visited

  • Feedback

    0%

Everything posted by rooney

  1. Can I have a free trial please?
  2. Oof it's been awhile. Well from what I remember, the script was fantastic!
  3. Can I have a free trial as well
  4. rooney

    Stealth NMZ

    Could I please have a trial
  5. Can i have a trial on the agility script?
  6. Hi there, can I have a trial please?
  7. rooney

    Stealth NMZ

    Hi there, can I have a trial please?
  8. Can I have a trial por favor?
  9. Can I pass parameters through the command line? If so, do you mind giving an example?
  10. Khaleesi, my queen, may I have a trial?
  11. Ooo thank you very much! Now I understand inheritance much better. I didn't see the closest() method because I was only looking at the methods that were specific to each class, though all of these classes (grounditem, npc etc.) are subclasses of the Entity class. Can you clarify what you mean by having to pass the Script object? Currently I am working on my first script and I have only one class file. I assume you mean something about having separate class files. Would the Script object be passed into the constructor? So something like druidKiller(Script sA)?
  12. Which methods do I utlize to create instances of GroundItems/other entities? I am trying to create an object for a bank-booth, an attackable NPC and an item on the ground. In OSbot 1 these methods look like: GroundItem herb = SomeClass.closestGroundItemForName("Herb") NPC druid = SomeClass.closestAttackableNPCForName("Chaos druid") etc. I look forward to your guys' help, in the mean time I'm going to dive back in to the API docs to see if I can find an answer
  13. Hi guys. So this is my first java script ever! I have a year's worth of programming experience from University. I have coded in Python, C, C++, but not Java yet. I am familiar with coding lingo and practices so feel free to speak technically. So I haven't tested this script yet but I am having an issue with a few things: 1) I don't know which API components I need to import. I started this script from an Osbot 1 tutorial and I wasn't keeping track of the classes I used. I think I can figure out this part on my own, just needs some work. 2) I need a method to click an option when a doomsayer warning pops up (for the wilderness). Where should I look for this? 3) I know I should probably separate this into a class and a core file, I'll look into that after I get the basics sorted out. I'll add more as I see fit. I've been reading up on the new API and I've been able to do some stuff on my own but I would just like a little feedback now to make sure I am going in the right direction EDIT: Solved a lot of my initial questions. Would still like some feedback to see if I am doing things right (maybe not perfect, keep in mind it's my first script)
×
×
  • Create New...