- Joined
- Dec 27, 2008
- Messages
- 21
Hey everyone,
I have been facing an issue for two weeks now, when I save the map it compiles fine but when I try to test it, it crashes even before the loading screen. When I try to access the map ingame, the game crashes at the moment it is supposed to display player slots and map description.
In the map I use a custom handler system for managing unit events and when I tried to locate the issue, it seems that when I deactivate some particular lines it works fine. Plus the bug doesn't seem to occur before a certain handler limit (if I remove one handler in the code, no matter which, it doesn't bug anymore) although I'm not sure.
The system duplicate code for each handler (through modules and macros) but it still feels weird given that the line (which is duplicated) I deactivate is not executed at the initialization of the map (it can be but I tried without the init function and it still bugs, I have to remove the line from the code for it not to bug).
I even tried to empty the function called by the line and it still bugs.
So I really don't understand what is going on with this bug.
I give you the link for the map's script (20 Mo) : war3map.j
I also tried to recompile this script with jasshelper but it doesn't display any problems.
Help would be very appreciated, I've been working on this map for years and it is really frustrating not to be able to solve this bug.
I can give you the map in PM if you need it.
(And excuse my english, I'm french).
Thank you !
I have been facing an issue for two weeks now, when I save the map it compiles fine but when I try to test it, it crashes even before the loading screen. When I try to access the map ingame, the game crashes at the moment it is supposed to display player slots and map description.
In the map I use a custom handler system for managing unit events and when I tried to locate the issue, it seems that when I deactivate some particular lines it works fine. Plus the bug doesn't seem to occur before a certain handler limit (if I remove one handler in the code, no matter which, it doesn't bug anymore) although I'm not sure.
The system duplicate code for each handler (through modules and macros) but it still feels weird given that the line (which is duplicated) I deactivate is not executed at the initialization of the map (it can be but I tried without the init function and it still bugs, I have to remove the line from the code for it not to bug).
I even tried to empty the function called by the line and it still bugs.
So I really don't understand what is going on with this bug.
I give you the link for the map's script (20 Mo) : war3map.j
I also tried to recompile this script with jasshelper but it doesn't display any problems.
Help would be very appreciated, I've been working on this map for years and it is really frustrating not to be able to solve this bug.
I can give you the map in PM if you need it.
(And excuse my english, I'm french).
Thank you !