Since at least half of the threads on the forum (and the other modding subforums...) are about scenario error messages or crashes, and it's impossible to search for prior solutions, I'm thinking that it may be a good idea to have a permanent thread where people log specific examples of error messages or problems they've got, what's caused them, and what can be done to solve them.
That way, this could be a first port of call for modders if something goes wrong, and make the whole experience of modding slightly less irksome when things start breaking down!
Obviously, a lot of these messages and errors can have more than one cause, so it would be best to record as many of these as possible (probably in the same format to make locating and comparison easier). To start the ball rolling, here is what I can think off from the top of my head...
###########
###ERROR MESSAGE ON LOADUP: 'ERROR - (Unknown LHS in game-event)' event = { Line = x, File = x }
###########
POSSIBLE CAUSE: Normally due to missing or inaccurately placed '}' bracket
SOLUTION: Open up 'File X', go to line 'x' using Notepad search function. Then look above it, and check all brackets, to see if they're in the right place.
###########
###ERROR MESSAGE ON LOADUP: "Scenario file has errors - Abort, Retry, Fail'
###########
POSSIBLE CAUSES: ? - My personal favourite, can apparently be caused by typos in .eug or .inc files....
SOLUTION: Locate the typo (
!). Otherwise, hit 'ignore' and scenario should run...
###########
###GRAPHICS ERROR - Minister/Leader picture is garbled
###########
POSSIBLE CAUSE: Image size is not '36x50' pixels (I've found it frequently happens when you save .bmps from the forum directly)
SOLUTION: Resize the image in PSP, Photoshop or other graphics programme
###########
###CTD: Ingame with no message
###########
POSSIBLE CAUSE: Many, but one is incorrectly entered data in scenario files (broad I know, but...!).
OR - Illogical event commands (eg. if a country is set to inherit itself...)
SOLUTION: Re-enter/check all recently entered data, and anything with an 'ID' in the .eug or .inc files (so, OOBs, trades, treaties, etc...)
###########
###CTD: While Savegame is Loading
###########
POSSIBLE CAUSES: ?
SOLUTION: ? (Only ever had this once, and it disappeared only once I re-entered ALL of the .inc files -
- I'm guessing there's an easy way though)
That way, this could be a first port of call for modders if something goes wrong, and make the whole experience of modding slightly less irksome when things start breaking down!
Obviously, a lot of these messages and errors can have more than one cause, so it would be best to record as many of these as possible (probably in the same format to make locating and comparison easier). To start the ball rolling, here is what I can think off from the top of my head...
###########
###ERROR MESSAGE ON LOADUP: 'ERROR - (Unknown LHS in game-event)' event = { Line = x, File = x }
###########
POSSIBLE CAUSE: Normally due to missing or inaccurately placed '}' bracket
SOLUTION: Open up 'File X', go to line 'x' using Notepad search function. Then look above it, and check all brackets, to see if they're in the right place.
###########
###ERROR MESSAGE ON LOADUP: "Scenario file has errors - Abort, Retry, Fail'
###########
POSSIBLE CAUSES: ? - My personal favourite, can apparently be caused by typos in .eug or .inc files....
SOLUTION: Locate the typo (
###########
###GRAPHICS ERROR - Minister/Leader picture is garbled
###########
POSSIBLE CAUSE: Image size is not '36x50' pixels (I've found it frequently happens when you save .bmps from the forum directly)
SOLUTION: Resize the image in PSP, Photoshop or other graphics programme
###########
###CTD: Ingame with no message
###########
POSSIBLE CAUSE: Many, but one is incorrectly entered data in scenario files (broad I know, but...!).
OR - Illogical event commands (eg. if a country is set to inherit itself...)
SOLUTION: Re-enter/check all recently entered data, and anything with an 'ID' in the .eug or .inc files (so, OOBs, trades, treaties, etc...)
###########
###CTD: While Savegame is Loading
###########
POSSIBLE CAUSES: ?
SOLUTION: ? (Only ever had this once, and it disappeared only once I re-entered ALL of the .inc files -
***