• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Leak Check v3.0 Bugged Resource

Status
Not open for further replies.

Bribe

Code Moderator
Level 50
Joined
Sep 26, 2009
Messages
9,456
http://www.hiveworkshop.com/forums/tools-560/leak-check-3-1-a-62951/

This resource, Leak Check v3.0, has some flaws and is giving false information.

It points to leaks that don't actually exist, and it doesn't catch some more obscure leaks.

Game - Display Text to (Player group)

- It does not catch the player group leak

And it also thinks that this leaks, which it clearly does not:

  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
      • TC_Debug[TC] Equal to 1
    • Then - Actions
      • Set TC_Point[6] = (TC_Point[2] offset by 400.00 towards ((Facing of TC_Hero[TC]) + 45.00) degrees)
    • Else - Actions
      • Set TC_Point[6] = (TC_Point[2] offset by 400.00 towards ((Facing of TC_Hero[TC]) - 45.00) degrees)
  • Custom script: call RemoveLocation(udg_TC_Point[6])
But it thinks this doesn't leak, even though nothing has changed functionally-speaking:

  • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
    • If - Conditions
      • TC_Debug[TC] Equal to 1
    • Then - Actions
      • Set TC_Point[6] = (TC_Point[2] offset by 400.00 towards ((Facing of TC_Hero[TC]) + 45.00) degrees)
    • Else - Actions
      • Custom script: call RemoveLocation(udg_TC_Point[6])
      • Set TC_Point[6] = (TC_Point[2] offset by 400.00 towards ((Facing of TC_Hero[TC]) - 45.00) degrees)
  • Custom script: call RemoveLocation(udg_TC_Point[6])
Discussing the matter with users always ends in one of us having to prove our knowledge over what the leak checker is saying.

I advise just removing the utility altogether as the guy is not updating it and asking for help in the Triggers & Scripts section gets the job done better.
 
Status
Not open for further replies.
Top