- Joined
- Oct 5, 2008
- Messages
- 355
Hi there,
So, i encountered an interesting error when working on a project of mine.
So, i revised a system of mine to reduce the amount of object editor data on my map. Granted, i got a bunch of triggers in GUI that are in dire need of merging. So i know that i got a big amount of triggers to clean up.
Now, in the progress of doing it and adding some of the functions of 1.29, on saving i encountered the error in the screenshot. Yes, in a section that feeds variable tables with data, nothing more.
For me personally, it looks like i hit some border of the editor. may it be amount of lines (#46394 in the screenshot. yes, i need to clean up the code and it will require me to move that project to jass, which should be done long ago...). Because i got synthax errors in simple definitions, which lead me to believe that the editor just stopped at a certain point.
Nowe, i got it sorted out by removing some variable definitons that got obsolete due to the changes i made to my map. But i needed also to remove 3-4 lines at a completely different position which worked with icon and tooltip changes. So these new functions could also be the culprit. Even more so since i can without problems copy some of these data defining variables, which normally bloat the amount of lines. Because of this, i don't think that was due to the amount of lines or triggers in the editor. Heck, i already had removed bunch of triggers before by replacing them with better systems before 1.29
So, what i wanted to ask is if someone got an idea how this compiler error can be casued, since i want to dodge problems like that as best as possible.
On the other hand, that troubleshooting could be problematic since im working on 1.29, since i believe that 1.32 will be more stable and thus skip 1.31
Edit: Well, looks like its a memory issue on my part. Just got a crash due to that while deleting a bunch of abilities.
Edit 2: Now, i can even reproduce that crash. Deleting around 9 abilities with 3 stages each cause quite regulary a crash of the editor. but by saving inbetween i can work my way down in the OE amount.
Edit 3: now that i cut down around 60 abilities, i can work without any problems anymore. looks like it was a memory issue with too much OE data and bad written triggers.
So, i encountered an interesting error when working on a project of mine.
So, i revised a system of mine to reduce the amount of object editor data on my map. Granted, i got a bunch of triggers in GUI that are in dire need of merging. So i know that i got a big amount of triggers to clean up.
Now, in the progress of doing it and adding some of the functions of 1.29, on saving i encountered the error in the screenshot. Yes, in a section that feeds variable tables with data, nothing more.
For me personally, it looks like i hit some border of the editor. may it be amount of lines (#46394 in the screenshot. yes, i need to clean up the code and it will require me to move that project to jass, which should be done long ago...). Because i got synthax errors in simple definitions, which lead me to believe that the editor just stopped at a certain point.
Nowe, i got it sorted out by removing some variable definitons that got obsolete due to the changes i made to my map. But i needed also to remove 3-4 lines at a completely different position which worked with icon and tooltip changes. So these new functions could also be the culprit. Even more so since i can without problems copy some of these data defining variables, which normally bloat the amount of lines. Because of this, i don't think that was due to the amount of lines or triggers in the editor. Heck, i already had removed bunch of triggers before by replacing them with better systems before 1.29
So, what i wanted to ask is if someone got an idea how this compiler error can be casued, since i want to dodge problems like that as best as possible.
On the other hand, that troubleshooting could be problematic since im working on 1.29, since i believe that 1.32 will be more stable and thus skip 1.31
Edit: Well, looks like its a memory issue on my part. Just got a crash due to that while deleting a bunch of abilities.
Edit 2: Now, i can even reproduce that crash. Deleting around 9 abilities with 3 stages each cause quite regulary a crash of the editor. but by saving inbetween i can work my way down in the OE amount.
Edit 3: now that i cut down around 60 abilities, i can work without any problems anymore. looks like it was a memory issue with too much OE data and bad written triggers.
Attachments
Last edited: