Jump to content

Bobrocket

Members
  • Posts

    1664
  • Joined

  • Last visited

  • Days Won

    4
  • Feedback

    100%

Everything posted by Bobrocket

  1. Another handy thing to do is you can now simply press SPACE on your keyboard to continue, and the numbers 1 through x for the options. Press space: getKeyboard().typeKey((char)32); Character code 32 equates to SPACE (" ") A list of character codes: (Look at the DEC values) If you want to press enter, you need to press 2 keys in rapid succession, which are keys 13 and 10: getKeyboard().typeKey((char)13); getKeyboard().typeKey((char)10);
  2. I think the only question left unanswered is can you bot OSRS on it?
  3. Is that even how a barber works? Do they really feel your facial hair to "get the details"? rofl
  4. You'll have to ask the script writer if you are using someones script.
  5. I'll start the bidding off at 3m. Has it got an ava's device?
  6. Molly hasn't been on for nearly 24 hours now, patience is a virtue
  7. It's all about the nodes. There are plenty of tutorials for how to do nodes, and they keep me writing less code than required. The OOP structure of a node is good too.
  8. It probably is, but a solution is a solution.
  9. Why not have a settings class? Within the settings class, have static vars which you change in the GUI?
  10. Firstly, your example doesn't include anything to do with the var item. Secondly, how are you getting the item? items[index] or getInventory().getItemAtSlot(index)?
  11. The Office (US) Parks and Recreation Community 30 Rock
  12. Bobrocket

    Finally

    Go for explorer's ring 3 and morytania legs 3 and you've got yourself some pretty decent teleports. Ardy cloak has been the most useful achievement on my account for sure.
  13. You chatting shit about my scripts bruh?
  14. It's better to learn things like this early on, it's simple and it's gonna remove a lot of redundant code (1000+ lines in onLoop was mainstream anyway, right guys?)
  15. I can: use nodes public abstract class _Node { protected Script script; public _Node(Script script) { this.script = script; } public abstract boolean canProcess(); public abstract void process(); public void run() { if (canProcess()) process(); } } public class Bank extends _Node { public Bank(Script script) { super(script); } @Override public boolean canProcess() { return script.getInventory().isFull(); } @Override public void process() { //stuff } } //in onStart List<_Node> nodes = new ArrayList<_Node>(); nodes.add(new Bank(this)); //in onLoop nodes.forEach(node -> node.run());
  16. I don't think spending half of your dev time planning is a bad idea. Here's my (personal) process: Think of script idea and all the complex details and write them down Boil it down to the super basics and flowchart it (eg a NPC killer would be things like "walk to nearest bank -> prepare inventory -> (loop) has item? (y/n) -> walk to mob -> kill mobs until out of food/no more items -> repeat") Write the basics Start adding complex details (try and keep an OOP structure to ensure it's easy to add more stuff to) Refine your script and finetune it until it is ready for release An example for your complex details, an NPC killer may have these points: If in wilderness, search for a looting bag in your bank to use Must be able to start anywhere and work anywhere Support changing combat styles on demand Dynamic safespots for range/mage The script must check if the mob is at full hp for loot
  17. Hi guys, just want to thank you all.. remember everything is possible! I'm now 7th on the latest products list, hopefully together we can make it #1 Seriously though, congrats dude, you deserve it
  18. Write a flowchart to understand the flow of the script, and then build the basic script and finetune as you go.
  19. Windows 10 is fucking amazing. I'm just now trying to set up an email account so I can say "Hey cortana, send an email to <x> saying he sucks".
  20. Well, for starters, let's assume you're renting a 1U dedicated server in a datacentre for $99.99/mo. Your server has 16GB RAM, a quad core 2.8GHz intel xeon and a 1TB HDD, with a 1gbps uplink. You pay approximately $0.01/gb incoming traffic, and about $0.03/gb outgoing traffic. You'd be paying $0.60/day when not in games peroid, and about $3.15/day when in the games period. You're going to be paying 90x $0.60 and 20x $3.15 which is a total of $117 in terms of bandwidth. Including incoming traffic may get you to around $125. Your server would be running some form of Linux (eg CentOS), so you do not pay for the OS. To further save money, you use php5 and nginx for your web server and web language of choice. These are both free. However, since you are not setting it up, expect to pay around $100 for some IT technicians to do it for you. Since you are also looking for a managed solution, you would probably pay another $50/mo. In terms of security, you don't need too much. You could probably get your IT technicians to change the SSH port, enable RSA keys for SSH, disable root login, and add iptables rules to protect further for another $100 or so. You can do the calculations yourself. If you are looking for totally in-house solutions, the server would cost around $399 to purchase and maybe a static $59 per month to keep the server up 24/7. These are all estimates though, so don't take them seriously (do your own research)
  21. It should say when you purchase the script if you end up with a monthly contract or not.
×
×
  • Create New...