| 04-17-2007, 10:30 AM | #1 |
My map has a number of JASS spells that all compile properly, and at the start of every game they work properly, but sometimes during a game they just stop doing damage, and all JASS spells will continue to do no damage for the rest of that game. When this happens, the spells cast normally, they just don't hurt anything. If you cast them at a group of sleeping creeps, the creeps will stay asleep. My map uses the CasterSystem 14.1 and is compiled with JASSNewGen v3, but the problem existed before using a new JASSNewGen pack. Most of the JASS spells were written just for my map, but the map also uses Vexorian's Frozen Orb, and that spell gets the same bug. Does anyone have any ideas what would cause this? |
| 04-17-2007, 10:32 AM | #2 |
Let us see an example please. |
| 04-17-2007, 10:50 AM | #3 | |
Quote:
I'm not sure exactly what you're asking for. The problem doesn't happen in any predictable way that I've been able to find, and it doesn't even happen every time the map is played (probably about 50% of the time, and usually after 30+ minutes of gameplay). I'd rather not publicly post an unprotected copy of my map, and I don't currently have any replays of the bug saved. |
| 04-17-2007, 01:03 PM | #4 |
Telling us your map has a problem where undefined stuff suddenly stops working with an undefined probability at an undefined time for an undefined reason gives us nothing to go on. Seriously. Despite any and all evidence to the contrary, we can not read your mind or telekinetically come to know the contents of your map. |
| 04-17-2007, 01:05 PM | #5 |
There's something wrong in your map, I don't think this only happens to Jass spells but to everything that depends on perhaps range events? or the damage natives? What to do? I don't know, I just never heard or something like this before. Moss reported once that the widgetizer was causing issues, try using only optimizer, this time don't check "optimize bj functions" and then test again. |
| 04-17-2007, 01:56 PM | #6 |
I agree with blu, WE ARE NOT PSYCHIC! Give the damn map to Vex and let him do the job :P |
| 04-17-2007, 02:03 PM | #7 |
Vaxan which unit you use to cause damage ??? i had a problem then the damage dealer "was dead" or "or it was removed from game" i don't remeber correct... but if something with damage dealer (attacker) Code:
native UnitDamageTarget takes unit [b]whichUnit[/b], widget target, real amount, boolean attack, boolean ranged, attacktype attackType, damagetype damageType, weapontype weaponType returns boolean so if whichUnit is "BAD" so this func will not cause any damage... |
| 04-17-2007, 02:07 PM | #8 |
Like not ever again? I am PSYCHIC |
| 04-17-2007, 02:33 PM | #9 |
Psychic eh? What am I thinking now? |
| 04-17-2007, 04:19 PM | #10 |
I'm going to try a copy of the map with all script optimizations disabled and see if this helps... I'm sorry I don't have more info to go on right now, but I'm mostly posting here because I am *completely* puzzled. |
| 04-17-2007, 04:32 PM | #11 | |
Quote:
I seriously doubt that's the cause |
| 04-17-2007, 06:09 PM | #12 | |
Quote:
I doubt it is as well, but I'm completely stumped. If you'd be willing to take a look to try to identify the problem, I'd appreciate it and would be happy to send it to you. (Though I should note it's a 3 year old map that was made when I didn't know any better, so it requires WEU). As others have noted though, when the problem does not come up frequently enough or predictably enough, it's hard to test and hard to identify the problem. |
