Hi once more, hivers! I'd like a simple answer this time.
I'm fixing leak problems in my project, and I'm removing all Shockwaves, Warstomps and Thunderclaps from my project. I wouldn't like to trigger all slows for all thunderclaps that I have, but if I must, I'll do it.
Question: Slam (Creep...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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.
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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.
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...
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])...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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?
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...
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...
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...
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.