Jump to content

Joseph

Trade With Caution
  • Posts

    4692
  • Joined

  • Last visited

  • Feedback

    91.3%

Everything posted by Joseph

  1. Joseph

    Spells

    You really should, if you need any I got the acient spell unlocked in my account
  2. It's great practice if you use the interface list rather than the class arraylist. Also if you cast your list<E>. You don't have to add in the instanceof checks it actually casting a variable off the list.
  3. How do i find out if the script has been paused?
  4. Wtf almost all releases were done by laz, of you go down the list of updated all you see if laz posting. Even those in some thread he says he didn't do some work so I'll have to say your statement is invalid. Plus since Alek been developer theres been more updates.
  5. Joseph

    Listener

    shouldnt the run method contain a loop?
  6. Joseph

    Listener

    If anybody wants to help, i would appreciate it
  7. i see what you mean, it does look like it i think you meant [ 1,40 )
  8. Joseph

    Listener

    well i created a test script and had a method from the listener class loop within the onloop. But since it was a test and there wasnt anything else in the onloop. It was fine. But once i add it into my crafter, i noticed it will excute the listener, then execute the actual on loop. Which wasnt what i wanted. Then i started reading about threads, and i didnt know that when a thread starts it will execute the Run method in the class that implement runnable. Which i had So im guessing this is where i will need the loop, people were telling me about. edit: i guess not lol -.-
  9. Joseph

    Listener

    I already created my own listener, it just people were telling me to put it in a thread, which make sences. And have the thread loop it's self. So far I have created the thread started it once. And that's it -.-
  10. Joseph

    Listener

    when you have a change of items in the inventory. tbh im still a little confused on how to set it up. Ive tried so many different things
  11. Joseph

    Listener

    How big of a sleep you think it's good, 200 mil second
  12. Joseph

    Listener

    I would like to add in a inventory Listener
  13. Joseph

    Listener

    How do i add my own listener onto one of my scripts?
  14. http://osbot.org/forum/topic/55480-walker-with-basic-obstacle-handling/ The reason why it walks to the second position then walks back to the first is because you have only one loop, you loop though the position, since your looping from the beginning to the end. Your near the first position it will walk to the second, and once your walking it's still looping through the positions from the beginning so while your conditions are correct it will go back to the first. Why it's a never ending loop. In swizz method he has two loop, regular loop, and a loop in reverse. He uses the reverse path to find the next furthest available position. Rather then looping and finding the closest tile from the beginning of the loop. If you don't understand me look at his method, get next tile and read it
  15. I like it if only you could maybe add white to the text that are in the field box. So it more legible
  16. Objects - purple (door, gates, etc)
  17. I like the idea of instant world hop, and the cubic area for entity
  18. Not holding hands, that's fine. Your getState is your script logic Fishing spots are npc not object which is why it doesn't want to fish. (Add in a sleep conduction while it's fishing, else it will click the fishing spot). You did the drop fine, but the logic doesn't make since because if your inventory is full. And you drop one fish, it won't be full anymore. So it will go back to fishing (You could add in an amount check, or add in a isn't animating Boolean check). To help you debug, create a new string status. Then in the onLoop under each state add a new string stays = (status name). And in the onPaint display the new string status. It will help you debug your script so. If your in fishing mode and it doesn't fish then you know where to go an look to try to figure out your problem.
  19. It doesn't make a diffence I believe.
×
×
  • Create New...