| 12-04-2007, 10:22 PM | #1 |
For some reason, in my maps, there is a glitch where units FREEZE up. The units are selected. You can't control them: you cant move them, you can't use abilities, you can't build, and the only way to fix this problem is to select another unit, then select that unit again. Does anyone know a good process of debugging this issue or a reason of why it would happen? The only thing i can think of is a stack overflow, but i wouldn't know where to begin debugging. Replies are greatly appreciated |
| 12-04-2007, 11:42 PM | #2 |
The only thing I can think of is that you accidentally have a freeze unit action somewhere... Do you code in GUI or JASS? Do you have other triggers that freeze units or perhaps change their player control? Could just be a random WC3 error I suppose. |
| 12-04-2007, 11:54 PM | #3 |
Read posts number 27 and 28 in this thread. |
| 12-05-2007, 03:32 AM | #4 |
Pyrogasm: I already know how to fix that. I just added a "Cancel unit" that was automatically selected, then FORCE ESC on the player before another unit is selected. My issue is not that. Units have their Menu. Units CAN'T MOVE. they can't do anything. They just get stuck in the middle of their movement. I've tried to debug this problem, but it seems like it happens without any triggers being called!!!! Another thought I had was that maybe the optimizer I'm using could have something to do with it. I'm not sure =\ Fluff: thats definitely not it. |
| 12-05-2007, 03:59 AM | #5 |
Do you have lots of units moving around your map at once? Like, on the order of 200+ being issued the move command at any given time? |
| 12-05-2007, 04:20 AM | #6 |
I don't think that's the problem, I think he's receiving blank/unresponsive command cards. |
| 12-05-2007, 04:43 AM | #7 | |
Quote:
|
| 12-05-2007, 04:51 AM | #8 | |
Reread your post like a bajillion times... Quote:
This "solution" to the problem leads me to think that your problem is blank command cards due to a trigger-selection. I used to know a solution to it and I THINK (don't quote me on it) it is deselecting the unit and then reselecting it. However, a way of preventing it is to NOT select units as soon as they appear/are created. |
| 12-05-2007, 04:17 PM | #9 |
tide. Thats not the problem I'm having. The blank action card or whatever you call it is caused by deselecting or removing a unit that has a menu open, such as Build or Hero Abilities, and then selecting another unit that does not have that menu. I'm not talking about that. I'm talking about UNITS JUST FREEZING. I noticed it happening when I changing the cast backswing and cast point of units. After a while, I finally just changed those values back to default. It still happens. My next step is to take one of my earlier versions and rewrite the triggers in the same way to see if it's a trigger, or if changing backswing and cast point really are huge issues with the map. I really don't know what else to do. |
