• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

are this trigger had memory leaked?

Status
Not open for further replies.
Level 2
Joined
Jul 1, 2023
Messages
8
1688226507340.png

i'm very suspicious about condition unit.
is that memory leaked????
 

Uncle

Warcraft Moderator
Level 73
Joined
Aug 10, 2018
Messages
7,873
No, nothing there leaks.

Also, Unit[20] and the Custom Script aren't necessary.

Just Remove (Triggering unit) from the game:
  • Actions
    • Unit - Remove (Triggering unit) from the game
 
Level 2
Joined
Jul 1, 2023
Messages
8
No, nothing there leaks.

Also, Unit[20] and the Custom Script aren't necessary.

Just Remove (Triggering unit) from the game:
  • Actions
    • Unit - Remove (Triggering unit) from the game

can you answer me more about other trigger?
1688227882489.png

1688228291110.png

1688228170997.png


i have seen many people disconnect at once maybe because memory leaked
and yes it happend when this skill is activated for many time....
 

Uncle

Warcraft Moderator
Level 73
Joined
Aug 10, 2018
Messages
7,873
It looks like you're overcomplicating your triggers. For example, this doesn't need to be so complicated:
  • Loop - Actions
    • Unit Group - Add (Picked unit) to Unit_Group[0]
And what's the point of creating a timer window and hiding it? Also, can this Boss spell even happen more than once at the same time? The whole thing looks to be designed in an unnecessary way.

I highly doubt Memory leaks are making players disconnect.

Either there's a desync (I don't see one) or you're creating an infinite loop which causes the game to crash.

Also, the way you're adding Events is usually a problem due to memory leaks and Event limits:
  • Trigger - Add to (Load 10 of Key in H) the event (Time - timer expires)
I would try to find a different solution here. For example, you could easily use Dynamic Indexing.

Lastly, I can't see your whole trigger, post it using this:
 
Last edited:
Level 2
Joined
Jul 1, 2023
Messages
8
It looks like you're overcomplicating your triggers. For example, this doesn't need to be so complicated:
  • Loop - Actions
    • Unit Group - Add (Picked unit) to Unit_Group[0]
And what's the point of creating a timer window and hiding it? Also, can this Boss spell even happen more than once at the same time? The whole thing looks to be designed in an unnecessary way.

I highly doubt Memory leaks are making players disconnect.

Either there's a desync (I don't see one) or you're creating an infinite loop which causes the game to crash.

Also, the way you're adding Events is usually a problem due to memory leaks and Event limits:
  • Trigger - Add to (Load 10 of Key in H) the event (Time - timer expires)
I would try to find a different solution here. For example, you could easily use Dynamic Indexing.

Lastly, I can't see your whole trigger, post it using this:
yep it's designed for can make it happen in same time
this way is easily to do many skill

so is it possible if you check my trigger for whole map
also i removed almost all trigger that work same at trigger that i post before

I'll tell you what you might need to know before checking it out(i forgot told before 😓).
  • map version is on 1.28
  • this map like moba game(but gameplay like use skill animation to fight)
  • people obviously fps drop after 30-60 min until slowly falling off one by one
that time like depend on how many player or how many they use skill.. i don't know but all skill that work same like i post before
before fps drop maybe skill work like 500 times(whole games)
 
Last edited:
Status
Not open for further replies.
Top