HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Fire Hydra has issues

03-04-2007, 02:28 AM#1
Moss
Vex, I don't suppose you ever managed to fix the massive lagging issues I was having with Fire Hydra. It doesn't happen all the time but maybe 50% or more of the time it is cast and it might happen more often when there are more players but I'm not sure about that.

Another problem I have seen is sometimes the projectiles are halfway in the ground like their height is 0.

And a few times I have seen your "Hydra Error! can't find hydra head in array!!" message.

I don't understand how this ability can be so problematic. My map is rather complex so there might be some conflict happening but I don't what it could be.
03-04-2007, 02:53 AM#2
Vexorian
There is most likelly a conflict caused by your map. Cause in my map it is flawless.

But for what I know of what hydra requires to do stuff if your map has a lot of units it should lag
03-05-2007, 06:41 AM#3
Moss
Is there something I could do then to make it more efficient? I suppose there is a fair bit of units on the map. Nothing crazy though.

Another problem I am getting is on some games it just stops firing fireballs. It will work for one or maybe more times and then it is broken for the rest of the game for any players that have it.
03-26-2007, 06:05 PM#4
Moss
OK, sorry to keep bothering you about this. I seem to have fixed the lag issues I was getting, and with the new CS 14.3 I shouldn't have the problem of it firing at creep camps in the fog of war. But I still have the problem of it occasionally shutting down for the rest of the game. I can't understand what the problem would be. Probably a conflict with other stuff in my map right? But your code is all self-contained right, so external variables and whatnot shouldn't mess it up. What would cause it to work for awhile, sometimes even for a whole game, but then sometimes the Hydras stop shooting fireballs and never shoot any for the rest of the game when you summon them.

Maybe I should start debugging if it is finding units to shoot at and so on...Debugging is such a slow process with WC3...but also hard to debug when the problem takes so long to show up.
03-26-2007, 08:20 PM#5
Vexorian
As I said something else, in your map is causing an stack corruption. So fix it.

Theorically, running it with grimoire's war3err should help detecting the mistakes.

...

Do you happen to have the map bounds too close to the playing area? Also, does anybody in your map have disease cloud?
03-27-2007, 02:21 AM#6
Moss
What is a stack corruption? Do you mean like a memory type problem, like using more than 8192 of something in WC?

I don't believe it is a map bounds problem, they are pretty normal and play doesn't usually go near the bounds. I also don't think I have a disease cloud based ability.
03-27-2007, 02:35 AM#7
Vexorian
If you have bad usage of H2I and DestroyTrigger or DestroyTimer you can corrupt some stuff and it may hurt the caster system/hydra

Edit: Does hydra use structs yet? If not I should try to get a totally return bug free version and see if it fixes it
03-27-2007, 06:10 AM#8
Moss
Fire Hydra doesn't use structs.

What qualifies as bad usage of Destroy Timer?
03-27-2007, 12:56 PM#9
Vexorian
The bad news is that almost any usage of it does.


That's the reason I had to make this: http://www.wc3campaigns.net/pastebin...11353b4a512610
03-27-2007, 09:10 PM#10
emjlr3
what does that do
03-28-2007, 01:43 AM#11
Moss
Yeah, what is that? Hey, if I just make Hydra use your CS Safety timers won't that avoid any timer related problems?
03-28-2007, 02:21 AM#12
Vexorian
It already does (at least last version) I think that what you should really try is making use of CSSafety for all your timers, but first make sure there aren't any double frees.
03-28-2007, 08:54 PM#13
Moss
OK, well I guess I wasn't using the latest version then. I think I solved my double free woes.
04-01-2007, 06:18 AM#14
Moss
So, PitzerMike's Widgetizer screws up Hydra on me. It causes the projectiles elevation to be 0. Who knows, maybe it causes other problems too.
04-01-2007, 01:00 PM#15
Vexorian
Are you sure about this?