Jump to content

Pandemic

Trade With Caution
  • Posts

    1628
  • Joined

  • Last visited

  • Days Won

    4
  • Feedback

    100%

Everything posted by Pandemic

  1. Pandemic

    v1.7.82-6

    Not sure if this will help, but checking if the NPCs health is larger than 0 before attacking fixes it (I'm assuming this was automatically done before).
  2. Blue like the moon

    1. Toph

      Toph

      White like me mooning you.

  3. Good luck buddy! Add my Skype if you ever need help: PandemicScripts
  4. Use my script tutorials Part 1: http://osbot.org/forum/topic/28798-your-first-script-beginner-tutorial/ Part 2: http://osbot.org/forum/topic/29924-pandemics-scripting-series-part-ii-path-walking-and-simple-banking/ and I'll be adding more parts (eventually ;))
  5. Log out of the forums and log back in, and try again
  6. Nice site, I wonder where you found that theme :P
  7. I know, this isn't a script to actually use, and in part 2 we fix this problem
  8. This isn't a government hosted website, free speech isn't protected on privately owned sites/companies :3
  9. That's the only acceptable answer I like the scripters here that actually care about quality and great customer service
  10. Yeah dij is pretty slow, the web walker is using something very similar to A*, path finding (in my AIO Walker) takes no longer than 2ms though.
  11. You add a ton of paths (normally taken), and the web walker will create the edges by connecting everything and merging redundant nodes. Look at my AIO Walker, that was made with minimal effort using this. Never thought of that, but can still be moderately easy to fix. I'll try it out and see if they connect, and if they do I'll clean it up. Thanks ;)
  12. I have a feeling this thread will be verified soon
  13. Huge update, made connecting now connect all nodes, not only beginning and ending nodes of paths, and also added a merging function to remove redundant nodes. I've also added 400 nodes that I collected today, check out my AIO Walker for available locations.
  14. Nested and unnested ifs and loops are basic java knowledge and I told them they should know java before using these tutorials. Have you ever used the API's walk method? I assure you it's far from OK, it'll click the same position 3 or 4 times before it recognizes it's done. The code is quite presentable and works just fine, there are no errors at all.
  15. By static variables I'll assume you're talking about my constants, and they're not strictly needed, but they make it easier to look at. Where are my braces not consistent? I'm not seeing it My walking method is far from perfect, this is a tutorial for learning purposes, so I'm not going to write some sophisticated walking method that the new scripters here won't understand. The API's walking will keep clicking the same spot (not because I'm calling it 100 times, you only have to call it once and it just spam clicks the position). There's no need to check if the object is on screen, because the interact function handles that. I agree it could get in an infinite loop, but once again, this is just a beginners tutorial so it'll work for learning purposes. Thanks for reading.
  16. @Polish, I don't think you fully understand what this is, haha. There is no limit on tiles/nodes (besides memory) using this, I'll have a rough map up tonight so you guys can see how it works.
  17. Yeah I realize that and I'm using A* now ;)
×
×
  • Create New...