Search results

  1. Cohadar

    System Missile

    Bad, put a constant for it and say do not modify unless you know what you are doing. Some people might want to change it, for example I reserve Player(15) for hero selection system. And using constant collision size kind of makes this whole lot less useful.
  2. Cohadar

    System ABC - Struct Attachment System

    I don't understand why some people claim ABC is not working for 1.24, it works for both 1.23b and 1.24. Maybe you need to get latest version of NewGen
  3. Cohadar

    Health Concerns growing over superbugs in our food

    It is probably a fraud by cow industry
  4. Cohadar

    System PUI - Perfect Unit Indexing

    Very strange thing, it really is an PUI error. It was introduced with 5.2, version 5.1 works fine. I have reattached 5.1 to first post, use that until I release 5.3 Thanks for finding this Joker(Div) EDIT: fixed, version 5.3 is out. In case someone cares the problem was that I forgot...
  5. Cohadar

    System PUI - Perfect Unit Indexing

    Tell me how am I goint to reproduce your error from that script? Please make me a demo map that demonstrates the bug. Are you using UnitUserData directly somewhere?
  6. Cohadar

    System PUI - Perfect Unit Indexing

    Ye you are talking about imaginary world in your head. Because what you say must be true and the fact that me and Builder Bob have tested PUI extensively and that PUI had been used in all kinds of maps for almost 4 years without any errors/performance issues does not really matter. It also...
  7. Cohadar

    System PUI - Perfect Unit Indexing

    It frees indexes after 5-10 seconds, big deal. PUI was the first indexing system out there, and by my logic it was and still is the best indexing system ever made. A lot of really good map makers seems to agree with me on that one too. I really don't care about your test maps because I have...
  8. Cohadar

    System PUI - Perfect Unit Indexing

    No, and I don't plan to. I believe in "don't fix if it is not broken" phylosophy. PUI works as it should and it works well, I have no intention of wasting my time on maybe-improvements. 2-3 hours of my life are simply more expensive than 2-3 nanoseconds of PUI efficiency. Go read that...
  9. Cohadar

    System PUI - Perfect Unit Indexing

    You are welcome. (not being malicious) Maybe you need to actually test the things you write? Compiling the code in your head does not work sometimes. :)
  10. Cohadar

    System Bonus (unit state modification)

    Those are all the things you can test yourself.
  11. Cohadar

    System PUI - Perfect Unit Indexing

    Oh sorry did not look past your first code post because it was silly. (IMHO) To reply to the second one: You did not do any optimization there. Optimization is by definition improving of some aspect of a system without modifying the algorithm. You changed the algorithm so you would "save...
  12. Cohadar

    System Bonus (unit state modification)

    The answer to both questions is yes. Life regen is a BinaryBonus. ManaRegen is a LinearBonus.
  13. Cohadar

    System PUI - Perfect Unit Indexing

    That is because you want to reinvent the wheel. Yes, yes(the point of using systems), yes. Maybe I just like the warm and couzy feeling inside I get from knowing at exactly what time the unit index started decaying. Do yourself (and myself) a favor and read this. Especially the part...
  14. Cohadar

    Cohadar's Unit State System

    Bonus_life is not really an array, it is a unit property. (units are used as indexes directly, there are no integers) You don't need to understand jass to use this. Just read the comments is the triggers carefully, they explain it all.
  15. Cohadar

    System PUI - Perfect Unit Indexing

    After some testing: 31 can clog the array if you "hit" the PUI with it right away. (once in 20 times) But if you first do 30 (even for a sec) and then 31 it stabilizes fast. 32 as you surely tested is the absolute break point. All in all it now works as it was always supposed to. I would...
  16. Cohadar

    System PUI - Perfect Unit Indexing

    ? It does, I used your testmap to test it. 31 is an extreme case so indexes first rise like crazy to around 500 or something but then they stabilyze. Maybe you did not wait for it to stabilize and assumed it did not work? Try 30? @waaaks! Sorry mate, if you want spell help you need to...
  17. Cohadar

    System PUI - Perfect Unit Indexing

    PUI is not affected by patch 1.23b (not using gamecache, not using H2I) My other systems that need 1.23b updating have already been updated.
  18. Cohadar

    System PUI - Perfect Unit Indexing

    New Version: 5.2 Fixed a small "maybe-bug" Optimized recycling algorithm. @Builder Bob. (try 31/sec) And try not to die from laughter when you see the new algorithm
  19. Cohadar

    System PII - Perfect Item Indexing

    Do you realize your system is broken because PUI is not? Just don't call anything, it is a better way. If it was possible I would forbit destroying of PUI structs manually, but vJass does not have that capability. Struct stack?? Because modules cannot be used for properties. Autoindex...
Top