P
phatal
Guest
56k.. Would you PLEASE add a feature where you can just paste the trigger directly in to the program instead of having to paste in to the file, save it, load it, check it. Thanks for the AWESOME prog.!
phatal said:56k.. Would you PLEASE add a feature where you can just paste the trigger directly in to the program instead of having to paste in to the file, save it, load it, check it. Thanks for the AWESOME prog.!
Actions
For each (Integer CenterPointIndexPoisonOrb) from 0 to 7, do (Actions)
Loop - Actions
-------- Poison Orbs --------
For each (Integer A) from 1 to 3, do (Actions)
Loop - Actions
Set PoisonOrbLeak[0] = (Position of PoisonOrbUnit[PoisonOrbUnitIndex])
Set PoisonOrbMove = (CenterPointPoisonOrb[CenterPointIndexPoisonOrb] offset by PoisonOrbOffset[PoisonOrbOffsetIndex] towards ((Angle from CenterPointPoisonOrb[CenterPointIndexPoisonOrb] to [B]PoisonOrbLeak[0][/B]) + PoisonOrbDegrees) degrees)
Unit - Move PoisonOrbUnit[PoisonOrbUnitIndex] instantly to PoisonOrbMove
Point - Remove PoisonOrbLeak[0]
Point - Remove PoisonOrbMove
Set PoisonOrbUnitIndex = (PoisonOrbUnitIndex + 1)
Set PoisonOrbOffsetIndex = (PoisonOrbOffsetIndex + 1)
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
Or - Any (Conditions) are true
Conditions
CenterPointIndexPoisonOrb Equal to 5
CenterPointIndexPoisonOrb Equal to 6
Then - Actions
Set PoisonOrbDegrees = 2.00
Else - Actions
Set PoisonOrbDegrees = -2.00
Set PoisonOrbUnitIndex = 0
Set PoisonOrbOffsetIndex = 0
Total lines: 34
Location Leak Detection ON
Unit Group Leak Detection ON
Special Effect Leak Detection ON
Variable Removal Detection ON
(Line: 23 ) (Word: 8 ) Position Leak in setting of variable
Set Multiboard_Spots[(Player number of (Picked player))] = ((Position of (Picked player) in LeaderboardAlliance) + TempInteger)
Set Multiboard_Spots[(Player number of (Picked player))] = ^Leak
(Line: 27 ) (Word: 8 ) Position Leak in setting of variable
Set Multiboard_Spots[(Player number of (Picked player))] = ((Position of (Picked player) in LeaderboardHorde) + TempInteger)
Set Multiboard_Spots[(Player number of (Picked player))] = ^Leak
Completed
Total amount of leaks: 2
Leak Rating: Good
Well here is the newest version of Leak Check.
I made alot of changes to it awhile ago and forgot what I have added and havent added, so please post any triggers that do leak and Leak Check does not detect it and I will try to fix it right away and upload an updated version.
There are some new features included in version 2. One of them is the duel textboxes, the left textbox shows your trigger and the right is where it displays the leaks your trigger contains.
Another feature is to be able to choose what you want Leak Check to look for, there are 4 checkboxes on the bottom right. Check all checkbox to check for all leaks. They should be checked by default.
There is also now a Save button, this saves the contents of both textboxes into a textfile.
*Note you do not have to download each update that is released, since they may be released weekly or even daily.
Code:v2.02 changes -------------- Suggested fix has been updated now showing what to change in the exact leaking action, this may still not show on all leaks but will in later versions as I continue to add it for each leak. Added Report, this will post a reply to the Leak Check thread on TheHelper.net containing the trigger loaded into the program. This is only to be used to report leaks that leak check is not detecting in a trigger. Abuse of this feature may result in punishment. Added Options menu, this will be used for new features to help customize and enhance the use of Leak Check. Check on Startup added, this is in the options menu. If enabled it will check a file for leaks upon startup of the program.
Its just one of many reasons why not to use this program...
No, those things don't leak. No, there is no need to destroy a player variable, that would defeat/disconnect the player. No, integers can't leak.
My advice: don't use Leak Check. Simply don't, read a good tutorial, feel free to create a topic and ask if you removed the leaks correctly and people will help you.
this is nooby question but whats a leak and how does this help one.
That seems a little harsh telling people not to use it when it is actually quite useful.My advice: don't use Leak Check. Simply don't, read a good tutorial, feel free to create a topic and ask if you removed the leaks correctly and people will help you.
Really, what are the other many reasons that make this program worthless?Its just one of many reasons why not to use this program...