- Joined
- Nov 22, 2006
- Messages
- 1,260
Hello everyone,
My problem is a little weird and senseless: I downloaded JassNewGenPack from wc3campaigns, it worked normally, until for some unknown reason, one day when I was saving my map (or when I was testing it), it crashed! I couldn't believe it because it is known that JassNewGenPack replaces WE sintax checker with PJass, thus preventing it from crashing if some code is wrong.
I was trying to find out why did it crash for no reason, then I discovered that for some reason, I didn't have NewGenPack features anymore (so there was nothing after "help" bar), so I suppose that WE sintax checker was on again and when it saw vJass.......well what else would happen, it crashed. What's more weird, when I saved it and when it crashed and when I opened it again, it saved the code I changed! That seems impossible because it crashed when the process was "Validating script" (maybe this is important for solving the problem!)
If you want details on crashing, this is what happened: It picked a line from the map header (perfectly good), displays it as a "expected a name" error, and then it crashes (it always displays the same line). If you want to know what line it displayed, it was this one:
This is from KaTTaNa's FadeUnitVertexColor function: http://wc3jass.com/viewtopic.php?t=1993
Probably no one has any idea why this senseless thing happened, but I would be really happy if someone helps me, I'll give him a thousand +reps!! I really love vJass and I can't live without it, so if anyone has ANY idea.........
My problem is a little weird and senseless: I downloaded JassNewGenPack from wc3campaigns, it worked normally, until for some unknown reason, one day when I was saving my map (or when I was testing it), it crashed! I couldn't believe it because it is known that JassNewGenPack replaces WE sintax checker with PJass, thus preventing it from crashing if some code is wrong.
I was trying to find out why did it crash for no reason, then I discovered that for some reason, I didn't have NewGenPack features anymore (so there was nothing after "help" bar), so I suppose that WE sintax checker was on again and when it saw vJass.......well what else would happen, it crashed. What's more weird, when I saved it and when it crashed and when I opened it again, it saved the code I changed! That seems impossible because it crashed when the process was "Validating script" (maybe this is important for solving the problem!)
If you want details on crashing, this is what happened: It picked a line from the map header (perfectly good), displays it as a "expected a name" error, and then it crashes (it always displays the same line). If you want to know what line it displayed, it was this one:
JASS:
local real r = GetAttachedReal(t, "r") + GetAttachedReal(t, "dr")
This is from KaTTaNa's FadeUnitVertexColor function: http://wc3jass.com/viewtopic.php?t=1993
Probably no one has any idea why this senseless thing happened, but I would be really happy if someone helps me, I'll give him a thousand +reps!! I really love vJass and I can't live without it, so if anyone has ANY idea.........