 |
|  |
 |
|
kormer
|
|
I'm working on coding in slic events for my scenario and I've been getting this error: "...766:yacc stack overflow"
I know that means its in line 766, but what does yacc stack overflow mean? The only thing I have set so far are regard and trust. This is what 766 is:
766: LogRegardEvent(14, 16, 100, 0,ID_REGARD_EVENT, 0);
767: SetTrust(14,16,100);
768:
769: LogRegardEvent(15, 16, 100, 0,ID_REGARD_EVENT, 0);
770: SetTrust(15,16,100);
Basicly I went through, listed every nations regard for every other nation. By commenting out line 766, the next LogRegardEvent line had an error which is 769. I commented that out an it worked fine. I should also note that those are the last 4 lines in the code and all 765 lines before it look exactly the same as that, except with appropriate values for nations. None of the previous lines seem to have any syntax error either. This really wouldn't be a problem since I can comment the lines out and it works, but then I went and added some new coding after this and then the error was applying to lines in that code.
|
|
|  |
 |
|  |
 |
|
kormer
|
|
I'm sure it was over 64kb. Kinda sucks you can't have that large a file. Oh well, just one more thing I'll email firaxis to fix.
|
|
|  |
 |
|
heardie
|
|
ummm, the file MS_FUNC.slc is 92kb.
|
|
|  |
 |
|
kormer
|
|
Locutus, this problem is gone now, only cause I took out all the logregardevent functions. Aparently that raises or lowers regard accordingly and doesn't set it to a level. So anyways after hitting end turn once all my regard was set and there was no reason to keep it in there. As for that error, if I commented out the last 2 lines in the file it worked fine, nothing was wrong with those lines either, just a weird bug I guess.
|
|
|  |
All times are GMT. The time now is 05:14. Apolyton Time is 00:14. |
top of page
|
| archivepost |
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
|