Ok, here are the probabilities:
Spoiler Alert, click show to read:
They probably need increasing.![]()
Thank you Thank you Thank you for putting me onto this bug!
Eureka!
This in Data\text\export_VnVs.txt:
causes CTDs when you win the Olympics.Code:{Seleukid_Olympionikes_effects_desc}
This:
Does not.Code:{Seleukid_Olympionikes_effects_desc} +1 Influence![]()
I had tested it all a long time ago, but since then we'd done special messages for each faction, and somehow I left out the effects for every single trait (well, with the way I generated them, if one was messed up, they all were). This is not something I wrote for my validation program to catch (I didn't even know it would CTD), so now I need to add something else to that.
Anyway, if you add that second line everywhere you have Olympionikes_effects_desc} in that file (just do a search for the bold text there), you shouldn't have any more CTDs from winning the Olympics.
Well thats good news. One less CTD to worry about. Too bad its too late for my general.I had to continue my campaign with him embarrassing himself and now having to live with it for the rest of his life.
Anyway, thanks for providing the fixed code. I assume this will be in the patch for those who don't fix it themselves?
BTW: What coding language is this written in? I just started college going to major into computer science so this is all very interesting to me as I look through all the code you guys have written.
Last edited by LordElrond; 01-21-2006 at 19:39.
Originally Posted by khelvan
Would it happen anytime any hellenic character won - even if he was AI?
I believe it would crash for every hellenic character since it was missing in every hellenic nations code as I look through it (just as Mal said). Does the ai compete in the olympics? That could be a huge cause of CTDs if they did... everytime they won - CTD![]()
Originally Posted by khelvan
Yeah, I believe that would be the case. The Olympics look like the only place where I have a blank line following a "}" character. I learn something new about RTW CTDs every day, it seems!Originally Posted by Teleklos Archelaou
![]()
It's not a programming language, per se, but a special RTW scripting language. Pretty simple, but there's no compiler to check your errors and tell you something is invalid!Originally Posted by LordElrond
I believe I've learned more about good programming practices from this than when I was studying it in college!
Eh, no compiler. Well looking through more and more of the 1000s of lines of code wrote for this, I have to say that most people probably don't realize how much time and effort it would actually take just to get all the code into working order... plus research done beforehand.
Originally Posted by khelvan
The traits and ancillaries have really been a team effort, with input, descriptions, and decisions from many of our members. Even the coding itself has been done by several of us (at least half a dozen people)! We're kind of short-handed right now, so anybody interested in coding would be welcome to volunteer his services!![]()
Bookmarks