Search results

  1. K

    In need of suggestions for a good way to structure priorities

    Yeah, hi, and I don't even know if the title of this thread makes any sense of how to properly describe the issue... Anyway, here goes: I have built a system enabling the issuing of forced orders which have priority over regular orders and are internally prioritized based on user-defined...
  2. K

    Opening a "protected" map

    I'm an idiot. I have a WiP map lying around which I really want to continue, but both the files I can found are playable yet not willing to open in WE (open->crash). Apparently I did some protection thingy to them so that I could share the early versions without having to worry about people...
  3. K

    Unit to integer

    Hey people, I need to acquire unique integer ID's for units. Is there a clever way of doing this? Thanks.
  4. K

    Need a priority queue

    Greetings, Does anyone know of a decent implementation of such?
  5. K

    vJass: Need sorted, dynamically sized list library

    See the title. Can anyone point me in the right direction?
  6. K

    Solved: Windows 7 x64: NewGen World Editor crashing on launch

    In case anybody else runs into it, I managed to solve the problem by doing the following: Uninstall Warcraft III Go to the Registry Editor (regedit) and delete the key HKEY_CURRENT_USER\Software\Blizzard Entertainment\WorldEdit Reinstall Warcraft III and The Frozen Throne The next...
  7. K

    Endless sidetracking

    .
  8. K

    Syntax error?

    vJass: library OptionalCode //simplified from example at http://www.wc3c.net/vexorian/jasshelpermanual.html globals constant boolean DO_KILL_LIB = true endglobals function fun takes nothing returns nothing static if DO_KILL_LIB then //* call...
  9. K

    Snippet IterableHashMap

    EDIT: Name has changed to LinkedHashMap. In case anybody needs it: http://krainert.com/content/linkedhashmap/ All methods except IterableHashMap.forEach, which should run in linear time relative to the amount of entries in the map, should run in constant time given that lookups in Blizz's...
  10. K

    Snippet VUnit

    Introducing VUnit: a JUnit inspired unit testing framework. Unit testing is the act of testing single software components, such as functions, in isolation and is generally useful in efficiently detecting bugs occurring strictly within such. Persistent test suites are useful when testing...
  11. K

    Messages sent using DisplayTextToPlayer not present in log

    Greetings From what I understand this is due to my code launching on map initialization. What is the easiest way to get around this hurdle? An instantly expiring timer?
  12. K

    A vJass unit testing library

    Does one exist? If I were to make one, what should I keep in mind? EDIT: One thing I can't immediately figure out how to do it terminate the execution of a test method once an assert within it fails. Is there an elegant solution, or will I have to go with something like if...
  13. K

    Can vJass structs have integer value 0?

    Question is in the title. Also, would anybody happen to know how exactly integer identifiers are assigned to structs?
  14. K

    Does vJass support anonymous classes?

    Does it? Otherwise the iterator for my improved hash map will have to rely on some pretty nasty coding (making index-based access to entries in hash tables public, oh the horror) :) EDIT: Also, does vJass support a protected (Java style) access level modifier? That ought to help in case I can't...
  15. K

    Making a hash map struct...

    Greetings, I'm currently working on a hash map struct, but I'm not sure whether I should base it on a hashmap or two arrays of size 8191. I wish to be able to efficiently iterate through all mappings as I intend to provide a for-each functionality, but I'm not sure which is more efficient...
  16. K

    Which abilities for a tank?

    Hey, I'm devising a tank hero with 5 abilities, each having 3 levels, and I'm thinking I could use some inspiration regarding which abilities are suitable for a tank. My immediate ideas concern durability and low-range AoE crowd-control. Any thoughts?
  17. K

    In need of fear system

    Greetings, Is there a decent fear system out there? What I need is a system that lets me set a unit to run off in a particular direction for a particular duration of time during which it will ignore (or postpone) orders. Thanks.
  18. K

    Snippet Vectors

    See below for version 5.0. library Vectors //******************************************************************************************************************************** //* Vectors //* //* ABOUT //* Author: krainert //* Version: 4.0 //* //* DESCRIPTION //* This...
  19. K

    Library: Vectors2D

    EDIT: I've posted version 2.1 in the thread Vectors and will post any future updates there as well. Greetings, Here's Vectors version 2.0: library Vectors...
  20. K

    Hashtable tutorial somewhere?

    I've been pointed to the Table library, and I've stumbled upon gamecashe, but what I really need is a hashtable. The thing is, without auto-completion and a function list (this issue) it's really tedious to figure out how to get things done. Anybody know any tutorials?
Top