Jump to content

Jammer

Members
  • Posts

    318
  • Joined

  • Last visited

  • Feedback

    100%

Everything posted by Jammer

  1. It's gonna start leveling combat from scratch so I'm gonna have to use GE multiple times. I'll try what explv suggested and if the bank task and the buy task conflict with each other I'll try the cache thing. Edit: thanks for the help btw.
  2. Wow, I can't believe I didn't think of that. Yeah, task based was actually messier than I anticipated but it might just have to do with my lack of skills. After I finish this script I'm gonna have a look at your tutorial island script and try to use that kind of framework.
  3. I'm making a task based script which includes buying gear from grand exchange. I have one task for banking and one for buying. The buytask should execute when the required arrmor is not in my Inventory, bank or equiped. When the bank is open it works fine and it goes to GE. However when the bank isn't open and I already have the required items in the bank it still thinks it should buy things. I assume this is due to it not knowing what's in the bank when the bank isn't open. It basically boils down to this: Is it possible to store the items in the bank in an arraylist and update it every time i withdraw or deposit something or are there better ways of implementing buying?
  4. Arent these minus xp lamps coming tho? edit: sick account regardless
  5. I've seen people using if statements like: if(Enemy.interact("Attack"){sleep;} instead of just interacting and then sleeping. I understand that they achieve the same thing but I don't understand how I can use a non boolean value in an if statement or does it become a boolean after executing it?
  6. I'm not really into the account market but I'd think so
  7. The problem is that if you use it as a nmz account the other stats are worthless and the same goes for hunting with it. However, it seems like a great starter main so you should be getting WAY more than 20-30 mil.
  8. Reviving an old thread. Why is making an object prefered over global statics? Does it have to do with cpu usage or is it just more convenient?
  9. So I'm trying to add a new task to an ArrayList or rather create a new task. tasks.add(new DropTask(this)); What I don't get is what the keyword this does here. I've only seen "this" used in methods to differenciate between the local variable and the instance variable. Might be worth adding that the constructor in the DropTask class looks like this: public DropTask(MethodProvider api) { super(api); }
  10. I think you'll never find an account like this from a trusted seller online for that price. If he's an IRL friend of yours he won't recover it so it's definitely priceworthy.
  11. Thanks for taking your time. Really cleared up the confusion about returning an rs2object. Gonna do some more reading on the whole concept.
  12. So we're not creating an object in the first statement but we are making a reference? The RS2Object then changes when the tree is choped down for example? I just can't grasp my head around the tree being an interface. I thought interfaces were a bunch of abstract methods. Do you have an example of something similar outside of osbot? Sorry if my questions are confusing.
  13. I don’t get it. Whats the difference between: RS2Object tree = objects.closest("Tree"); and List list = new List(); which obviosuly doesn’t work To me it seems like it’s the same thing.
  14. So I'm trying to learn about interfaces and abstract classes. I understand you can do this: List list = new ArrayList(); but not List list = new List(); since List is an interface. What I don't understand is why I can do this: RS2Object tree = objects.closest("Tree"); Doesn't objects.closest return an RS2Object? Isn't RS2Object an interface? I thought you couldn't make an object of an interface or am I missing something here?
  15. I guess he means start a script and start another script after x minutes.
  16. Are you running them on the same proxy as they were created on?
  17. I can't open the latest jar file. It pops up for a split second in the task manager and then nothing. I tried to run it through cmd and i got this message: https://imgur.com/wn8aJe7 I was able to launch earlier versions but I can't use 7.3 since it tells me there's a new update available. Looks really cool so help would be really appreciated. edit: Turned out I had a broken script in my local script folder. Removing it fixed the problem.
  18. It depends on what you want. Xp wise you should stick with iron and never change to gold or coal.
×
×
  • Create New...