Around 30. I had no lag regardless of whether I commented out the event or not. It's just that my Warcraft's memory usage (in task manager) keeps going up with the event registered.
This test was done on a simple map without other systems that use unit events.
On my main map, I used...
My map has been having a lot of fatal errors due to 'out of memory' errors, and I traced the issue down to a single line of JASS code (in a unit indexing system) that looks something like this:
call TriggerRegisterPlayerUnitEvent(CreateTrigger(), Player(12), EVENT_PLAYER_UNIT_ISSUED_ORDER...
I'm not sure what you mean by 'Enumerating depletes the force of any players, so when you think you're only enumerating that one player it enumerates all of them.' so after enum, the force is depleted = empty?
Is there any downside to using boolexpr like a trigger, instead of using actual trigger? boolexpr seems to use much less memory than creating a trigger.
The code below works just like Nestharus' Event library: pretty much same fps drop and op limit
Thank you for detailed explanations!
Would it be generally considered bad practice to have methods calling other methods below them? or is it sometimes an allowable thing that makes my life easier?
Also, if vJass can detect such errors and provide a workaround, why do I get an error when I...
When static method in vjass is compiled into jass,
I notice things like
function sc__scope__struct_method takes arguments returns nothing
set f__arg_arg1 = argument 1
set f__arg_arg2 = argument 2
in which st__scope__struct_method...
Hello. I could not think of an appropriate forum to post this question.
I'm looking for a defense with following information:
1. It's a hero defense map; goal is to protect a big ice tomb at base and then move onto offensive mode like X Hero Siege. Overall map is ice terrain
2. There are some...
I really love the struct 'fold' option. However, JNGP seems to have some bugs with it; using private methods disables the folding after like halfway through.
Are there any weird code/bugs generated from using non-private methods? or would it be fine to discard putting 'private' infront of...