Jump to content

Joseph

Trade With Caution
  • Posts

    4692
  • Joined

  • Last visited

  • Feedback

    91.3%

Everything posted by Joseph

  1. depending on how you want to do this. Because the method above only applys for people within the same region. Why am i saying this? For my safe cracker i dont want to use a method to see how many people are near the safe. If i use the method above it usually return true. Because youll have people near rouge cooking food or something. So you could make a area and check to see how many people there is. not too sure how you want to make the area but heads up there myPlayer#getArea(raidus). public boolean imAlone() { Area area = null;//create your own area int amount = 0; for (Player player: players.getAll()) { if (player != null && !player.getName().equalsIgnoreCase(myPlayer().getName())){ if (area.contains(player)) { amount++; } } } return amount == 0; }
  2. Wait what you mean? To everybody use my crater lite script for now
  3. bank#open looks for the closest bank booth. doesnt support npc bankers not sure about chest. Also it doesnt matter if it in sight i believe it will walk to entity and also rotate camera to the bank. Bank class extend item container. if bank isnt open then you simply get a null ps. the bank itself is a item container just like a shop and also inventory.
  4. i believe this is the best choose The Grand Exchange should be accessible in every bank using the existing Trading Post furniture.
  5. idk if it matters but ill be releasing a safe cracker soon
  6. it should work so just report back
  7. Joseph

    Suggestion: Client

    to hide it from anybody usinng your computer maybe
  8. after sleecting the first item. For the second item you do getInventory().getItem(name).interact(); //leaving the action blank forces a left click
  9. you up for another one? im making a safe cracker script please and thank you
  10. im talking about the picture'S. Plus the rateing were old
  11. is a bug but I don't mind it. My script >> everybody
  12. So does this mean that you and the pet get to rule the humanless world? If so be careful because your pet might turn against you
  13. learn inheritance, its right there dude you just not looking hard enough. Anything that extends ItemContainer contains that super classes methods. For example inventory, bank, shop, etx...... http://prntscr.com/5ss3im
  14. i mean alek is expanding the api to help us the scripters. So i dont see why not use what they give us.
  15. i see that amazon has gift card try buying a different gift card like a visa card the one where you can only spend money. Or i know green dot allows you to deposit all the money from the card into Paypal. Think of something
  16. use the api young blood. before it use to be client.blah blah blah everything but now its more organized. Just use getInventory() look at the method provider class it contains all class and allow you to grab the instance if the class you might need.
  17. i broke the client by accident im sory
  18. any level everybody for now use my crafter lite script. I should be getting an update today
  19. You know there's a banks class with polya right. Why didn't you use that? Example; Banks.VARROCK_WEST.contains(myPlayer);
  20. all these insiders lol. Can i be the guy in the back ground just lurking around :p
  21. no spoon feedING. the set method should be a void method so it set the variable and not return the value use .eequal(object) and not ==
  22. It's easier if you have a reference aka converting the scriot using their data and logic.
  23. Thank you alek for adding more banks. Once you finish with all the banks please add in the array of banks thank you. Reason why I want that in is so I don't have to manually create an array. Plus it's meant to loop through all areas to see if the player is inside any bank. I can't wait Also don't forget about the bank in the city where the cosmic runes are at
×
×
  • Create New...