1. darkravenbest

    Reforged map cloud

    Hello! I know maybe im late with this topic and it was discussed many times, but i couldnt find any clear information on this subject. As long as i know when you host your map on battle.net its will be uploaded to their cloud, and downloaded directly by other player, which want to join you. I...
  2. ZeroGravity

    My map leaks and I don't know where.

    I have tried to search for it but no clue. It's like something is glitching every 2 or 3 seconds but I have tried turning off the suspected triggers which don't help at all. I don't think my triggers leak but it's like the framerate drop every 2 seconds or so, I wonder if anyone can help me...
  3. Ruvven

    [Trigger] Alright, i did a thing, does it leak?

    Hello again Alright, as the title suggests, i did a thing and as a beginner trigger dude, i feel like this will leak if i just use it as it is, am i wrong? SpawnLevel1Mobs Events Conditions Actions Set VariableSet SelectedMobGroup = (Units of type No unit-type) If...
  4. Ruvven

    Leak fix location array?

    Hey there everyone, I have an array point that i will be spawning quite alot but i need it to be cleared aswell of course and the point itself is based on another unit variable where it selects the player number of triggering player? is there any way to do something like the one i listed...
  5. Luashine

    [JASS] Performance analysis of 'leaking' Jass strings & Lua

    Common knowledge has it Jass strings leak!!!1 and are bad!!!1 Let's benchmark by generating A TON of strings. Test code & setup The code below takes your chat message, like "-10" and generates ONE 10-char long string (1=10/10). That's equivalent to generating 10 distinct unique strings in Jass...
  6. Meatsausage

    [Solved] Is this wait leaking?

    Hey there, i was ondering if this wait is leaking or causing problems? Hence this is a TD map, i was wondering if this will overwrite if it happens on multiple towers simulatenously ? so 1 BladestormUnit is not removed when another unit procs in that 1 second wait? Or does wc3 start this trigger...
  7. Ruvven

    [Trigger] Leak Problem (Trying my best)

    Hello again masters of WC3 Editor! As i have recently become aware of so many leaks in my game (that i hope can be replayable so leaks or gonna be a massive issue later). I am trying my best to "fix" the leaks and i have run into a slight problem that i am really unsure how i should take...
  8. Tom_Almighty1

    Question regarding heroes and leaks.

    I am using version 1.31, I understand that creating units make a permanent leak, so I have some questions that hopefully have an answer. I am making a large open world RPG so this might be crucial to the game. 1. Instead of using units for npc mobs, I created heroes and made them look like...
  9. Kronomage

    [Solved] Does this Special Effect leak?

    Hi. I hope this question belongs here. Well, I essentially just wanted to know if the FX on the following trigger leaks or not. Hammer of The Lightbringer Events Game - DamageModifierEvent becomes Less than or equal to 1.00 Conditions (Level of Hammer of The...
  10. kentzeus

    Unsure about player group leak

    Does this need to be destroyed to avoid leak? It is never re-defined just in a loop of adding and removing players so I guess it should be fine right?
  11. HerlySQR

    Does boolexpr leak?

    I heard boolexpr leak and also that there is nothing to worry, can you clear me?
  12. HerlySQR

    [General] Question About Hashtables

    Do things that leak also leak if I save it in hashtables? If it was, so how can I solve it, because sometimes when I use "Clear Hashtable" for some reason I can't use it again.
  13. FimbleTharn

    Which is More Efficient

    When it comes to triggers which use a dummy unit to cast an ability, which is more efficient? Having a dummy unit pre-placed in the editor which is moved around the map when called for by a trigger and just giving the dummy unit all the abilities it will potentially need in the object editor...
  14. HerlySQR

    [General] Question about bj_wantDestroyGroup=true

    What happened when I do bj_wantDestroyGroup=true?, because I thought that just eliminate the groups created in GUI in the same trigger, but I had this problem: [General] - I'm tired of this (Workers doing action that they shouldn't do) And results that I checked that an important group...
  15. HerlySQR

    [Solved] Does the sounds leak if they are generated variables?

    I think the sounds just leak If they are created and not if they are generated variables, but can you confirm me that?
  16. bruunk

    [Solved] Does this leak? (Convert player to player group)

    Hi, I just want to make sure this doesn't leak a player group. If it leaks how would I clear it? Not sure if it's a big deal anyways but I'm sure it's better to make sure it's clean. And to be clear, I am clearing the point. It's the player group I'm concerned with as it says "Convert player to...
  17. TheFireMage

    [Trigger] Created Unit Leaks?

    Multi MA Lvl 5 Events Unit - A unit Begins casting an ability Conditions (Ability being cast) Equal to Multiple Magic Arrows Actions Unit - Create 1 Archer (Archer Dummy) for (Owner of (Triggering unit)) at (Position of (Triggering unit)) facing Default...
  18. Xzere

    [Solved] Cleaning leak from point array question

    Hello, how do i clean the leak from a point that looks like this? Set VariableSet RandomSpawn = (Random integer number between 1 and 13) Unit - Create 10 Troll Priest (Level 2-5) for Player 12 (Brown) at Region[RandomSpawn] facing Default building facing degrees Unit - Create 10...
  19. bruunk

    [Solved] Does this leak? (Region centered at 'point' condition)

    I have a feeling that this might be leaking, but am not sure and cannot find any info on it. I know the points leak, I have a trigger running every .2 seconds, setting 'Point[22]' and clearing it 0.198 seconds later. More what I'm wondering about is the region itself. Does the region clear after...
  20. Peach Schnapps

    [Solved] Pretty please help making GUI dummy/buff system MUI?

    Trigger Events Player - Player 1 (Red) types a chat message containing test as An exact match Conditions Actions Set VariableSet Hero_Group = (Units in (Playable map area) matching ((Unit-type of (Matching unit)) Equal to Hero)) Unit Group - Pick every unit...
  21. Gumberbunbder

    Why does this trigger destroy FPS

    Hello, is there a way I can make a trigger with the same function as the one below that doesn't take away 15-20 fps? I don't know too much about triggers and really nothing about jass. Should i change it so the floating text moves to a point instead of a unit and make TempPoint variable which I...
  22. Rayman90

    [JASS] Do unit order events leak somehow ?

    Hello, sorry if my english is bad I put this code to my map: function time takes nothing returns nothing local integer i = 0 loop exitwhen i ==100 call IssueImmediateOrderById ( udg_u , 851972 ) set i = i+1 endloop endfunction function start takes nothing returns nothing local...
  23. polo2005

    [General] (hashtable question, gui) Will setting a new value in a hashtable cause a leak

    Hello, was wondering when I need to clear an hashtable? for example: lets assume (Key cd) of (Key (Picked unit)) in AI_hashtable in the trigger under is set to 0. Set temp_real = ((Load (Key cd) of (Key (Picked unit)) from AI_hashtable) + 0.10) Hashtable - Clear all child hashtables of child...
  24. Veronnis

    [Solved] (Player group((Player(TriggeringPlayer)))) Solved: It leaks

    Inventory Slot Tooltip Events Conditions Actions For each (Integer GenericLoopCount) from 1 to MaxAllSlotTypes, do (Actions) Loop - Actions Set SlotOfPlayer = ((TriggeringPlayer x MaxAllSlotTypes) + GenericLoopCount) Set...
  25. Yui Moe

    [Leak] Lua Scripting & Memory Leak

    Hello guys, Since now editor officially support Lua scripting and we all know Lua is a quite common and widely used language, I wonder will it avoid all or part of memory leak problems by using Lua instead of JASS? Actually the biggest blocker prevent me to create custom games is it forced me...
  26. Uncle

    [Solved] Issues with Run trigger/For Each Integer. Actions are executing out of order.

    Alright, so I didn't know how to word this one, but basically the issue is with this trigger: Generate Walls Events Time - GenerateTimer expires Conditions Actions If (All Conditions are True) then do (Then Actions) else do (Else Actions) If - Conditions...
  27. BradPittlord

    [Solved] Hashtable Leaks?

    In a TD I'm trying to set a large number of units to a hashtable each wave. How do I remove all the units from the Hashtable between Waves so it doesn't leak each wave? Clear child hashtable wants a specific value, which that unit is only saved to that hashtable so I don't know how to get that...
  28. Uncle

    [Solved] Does this leak? Setting a point to be equal to itself offset by a distance

    Quick question. In this trigger does tempPoint[0] leak? I'm curious about this line "Set tempPoint[0] = (tempPoint[0] offset by (_0, _n3))", setting it to itself plus an offset, does this cause a leak in regards to it's previous position? Untitled Trigger 001 Events Conditions...
  29. EarthWormJimmy

    Set Point Variable to Another Variable not working.

    So I set Variable A = center of region. Then I set Variable B = Variable A Then I Call Remove Variable A. Now in a seperate trigger later on I create 1 unit at Variable B. But it doesn't seem to work unless I delete the Call Remove Variable A Script.
  30. Shunpomaster

    [Solved]About Removing Leaks

    If i want to remove Location or Group leak with custom script i always put it at the end of the trigger but i am not sure if it is right so i made 2 triggers now just to show what i mean. On this one the removelocation is at the end not in the picked group Troll Boss 2 Loc Events...
  31. Shunpomaster

    [Solved]Trigger Leak Check

    Does This trigger leak? The special effect in the first trigger, and the destroy on second Rock Special Effect Events Time - Every 0.35 seconds of game time Conditions Actions Set SE_DestroyWrite = (SE_DestroyWrite + 1) Set DB_AbP[1] = (Position of DB_DU[1])...
  32. JustTom

    Fixing Leak If Spell is Interrupted;

    I have created a working Mass Teleport ability out of Channel which requires no targets and teleports allies. I want to know how to clear the leaks in the second trigger if the spell is interrupted before it takes place. I have to use the variables that need cleared, which are setup in the first...
  33. Voxelvoid

    Is there a leak here & how do I fix it?

    Please provide with a step-by-step guide.
  34. Master_Pels

    [Trigger] How to make Entering Region a MUI?

    I'm an amateur map maker, so I'm making triggers that I do not know if they are MUI or not. Please someone tell me how do i make entering region a MUI. For my RPG map Shipyard Events Unit - A unit enters Shipyard <gen> Conditions (Unit-type of (Entering unit)) Equal to...
  35. Master_Pels

    [Trigger] Does My Trigger Have Leaks?

    Hi guys I would like to ask if this trigger do have an existing leaks. Thank Youu~ Texts Events Conditions Actions Set temp_point_1 = (Center of Shipyard <gen>) Floating Text - Create floating text that reads Shipyard at temp_point_1 with Z offset 0.00, using font...
  36. Master_Pels

    Entering Region (MUI)

    I'm an amateur map maker, so I'm making triggers that I do not know if they are MUI or not. Please someone tell me how do i make entering region a MUI. For my RPG map Shipyard Events Unit - A unit enters Shipyard <gen> Conditions (Unit-type of (Entering unit)) Equal to...
  37. KNEZ95


    Hello fellow fans of World Editor, I recently made a map and I spent over 20 hours in desperate attempts to fix the problem I get. The map is still not completed and it is early Alpha/Beta version but the problem about it is that when I turn AI to play, no matter if there is 1,2 or 11 AI players...
  38. KNEZ95

    [Altered Melee] PLEASE HELP!

    Hello fellow fans of World Editor, I recently made a map and I spent over 20 hours in desperate attempts to fix the problem I get. The map is still not completed and it is early Alpha/Beta version but the problem about it is that when I turn AI to play, no matter if there is 1,2 or 11 AI players...
  39. Yours Truly

    [Solved] Possible leak in this trigger?

    Hey there. I've been making a trigger that creates another unit upon construction of a specific tower. The unit will never die (has reincarnation 0 cd) unless the tower itself is destroyed. Here's the trigger: Tower Revenant Events Unit - A unit Finishes construction Conditions...
  40. MangaPwnz

    [Trigger] Fixing Leaks

    Hi, I recently started working on a map (about 2-3 days ago) and I just can't seem to get my head around leaks. Could someone please tell me where this leaks and how to fix it? This is what I've come up with on my own. 1. Special effect creation might leak. Not sure if "Position of Shockwave...
  41. CodeBlack

    [Solved] Removing Leaks makes trigger useless

    Hey guys... i was just removing leaks from one of my maps, when i noticed, that fixing the player group leaks makes the trigger useless. It just doesnt do anything then. Example (it affects all Triggers with player groups): TeamGold Events Unit - A unit Dies Conditions...
  42. 13lack_Ro$e

    Does overwriting a variable cause leak? {Solved}

    For example if I have a variable named "Point" and every time a unit casts a spell I have an action : Set Point = position of casting unit does this cause a leak and I shall use custom script remove location? or each time trigger overwrites it and no memory problems will be created?
  43. Gumberbunbder

    [Solved] Could these triggers be causing stuttering or Leakage?

    Im using a damage detection system and I'm wondering if having too many damage detection triggers could be causing stuttering which my map has been experiencing lately. Animal Attacked Events Game - PDD_damageEventTrigger becomes Equal to 1.00 Conditions PDD_damageType...
  44. AquaFire

    [General] Destroying a Specific Index "[ ]" of a Variable with Custom Script?

    Hi Everyone, At the moment, I am making a Hero RPG with customizable spells. However, I ran into a problem with memory leaks. I am using a UnitGroup[ ] Variable so that there is the same number of indexes as there are total players (9 in this case). I am doing this because I need to account for...
  45. TheSilverhand

    What is a Leak? and how do i fix them?

    Someone has told me that my map "The Unsolvable Revolution" has a lot of leaks, Link to the leaks. also how does one fix these leak issues? is it with scripting? or somesort? can anyone fix them for me? I can't handle the preassure of having this issue. this map is 6 years old... along with...
  46. Krakenn99

    [Solved] How to fix these leaks?

    I used the JASS Cheker and it said that I have 2 leaks in my map. Idk what these lines and columns are so I don't know where exactly am I leaking, I'm pretty sure it shouldn't leak. Is it a false alarm or am I blind? Type: location 1. war3map.j (line: 1605, column: 5) 2. war3map.j (line: 1605...
  47. Loner-Magixxar

    [General] Ability Shockwave Leaks??

    After spending half a day thinking that my code is causing a leak in the game (Although all leakage issues had been dealt in the trigger), I decided to try something else. I removed the triggers and cast the spell on its own and saw to my amazement that the ability itself is causing the leak...
  48. IcemanBo

    Memory Leaks

    C0Memory leaks For a quick lookup on most important actions, read Things That Leak. Introduction Object Leaks Reference Leaks Miscellaneous Conclusion C1Introduction If your computer's memory keeps occupied with stuff you already lost access to, it's called memory leak. It slows down the...
  49. Choggers

    Is this trigger leaking or why is it causing lag

    The trigger is for a spell summoning elementals full details can be seen here(Servants of the Sea) Servants of the Sea Events Unit - A unit Starts the effect of an ability Conditions (Ability being cast) Equal to Servants of the Sea Actions Set...
  50. Hordeon

    How to: Test map correctly

    Testing the map is very important. First you must fix all leaks (No leaks , good game). The second rule is: The Path... The pach must be placed correctly. The third testing rule is: The Coding of Colors. The collor code is very important.You can't write color code like this: OR And...