Nothing obvious is coming to mind on your problem. Not getting a map.rwm when you were before and all you've done is add region is rather strange. Have you done anything different on the 3rd region in terms of the faction or rebel type it uses in descr_regions, or for the faction creator in descr_strat??
It sounds like you've investigated most possible causes, if all else fails zip the campaign folder together with the ..._regions_and_settlements.txt file from data/text and upload it somewhere so other people can see if they can spot problem.
Nothing obvious is coming to mind on your problem. Not getting a map.rwm when you were before and all you've done is add region is rather strange. Have you done anything different on the 3rd region in terms of the faction or rebel type it uses in descr_regions, or for the faction creator in descr_strat??
It sounds like you've investigated most possible causes, if all else fails zip the campaign folder together with the ..._regions_and_settlements.txt file from data/text and upload it somewhere so other people can see if they can spot problem.
What sounds MORE wierd to me is that if i write the wrong RGB values for the last region in descr_regions, then the map.rvm IS generated! But if I put the correct values, then is NOT. I mean, I supposed the map was generated AFTER reading a funcional descr_regions file! Guess I was wrong then.
On the 3rd region:
- faction or rebel type modded, exactly like the ones for the other two new (working) regions (I add the descr_rebel_factions file in the zip to see)
- faction creator in descr_strat same as the other two new (working) regions
Inside there are:
- the whole modded campaign middle_earth folder (only modded campaign inside, removed all others)
- descr_rebel_factions.txt
- middle_earth_regions_and_settlement_names.txt
Just consider that its part of a serverely modded version of RTW v1.1, so you will not be able to just put it in campaign folder and play it. If you think it will help I could zip the whole data directory.
the 3d region giving the error is METW_Region_49 named Minhiriat, with its settlement {METW_Settlement_49} named Tharbad
In the zip files you'll find a commented METW_Region_50 named Quazzurlia, with its settlement {METW_Settlement_50} named Quazzotown but I've never activated them, they were a try to see if was just the names causing the CTD.
Just ignore them or remove them, in map_regions.tga they are not present.
well I looked and I can't spot anything - am hoping someone else might have a go - as I haven't got a working version that's at 1.1 or the METW data, I'd need to unravel a lot to give it any chance to load, then wouldn't know if it was those changes or something else!
Don't know - I'd opt for superstitious approach - go back to last working version and add completely different region... you've got some un-used region names in the text file like
{METW_Region_09}
you could try adding that into descr_regions and see if that works. You seem to be heading beyond anything there is logical explanation for (at least that I can see) so you might as well try something different!
the naming bug (having a character in descr_strat named without a correct entry in descr_names) can show itself in more than 1 way it seems
I modded the last non-Romans in my game to be Roman so the last 5 factions at the bottom of descr_strat(just above slave) where transformed to Romans in name as well incl. descr_names, I just forgat to copy the last file over to my actual game-folder
the result was that I first got an error saying it "couldnt create settlement at line xxx" wich was the very first settlement in Julii(Local) hands
not understanding what was up(errr ...) I removed the super_faction line from the Julii to trigger the known CTD
seems that "somehow" the game is able to swallow an incorrect name and only give an(incorrect) show_err error if there is enough data between the error and start of the 1st faction
cant reproduce it though .....
Alright, now it's my turn to sort out those wretched CTD's and filthy KTM's!
Spoiler Alert, click show to read:
Originally posted by Makanyane
Symptom: KTM's with message on exit: 'Script error in .../descr_strat.txt, at line xxx, column x. could not create settlement at script line xxx
Mis-match between colour on map_regions.tga and colour listed in descr_regions.txt for affected settlement.
Using identical colour for two different regions.
Originally posted by Red Spot
the result was that I first got an error saying it "couldnt create settlement at line xxx" wich was the very first settlement in Julii(Local) hands
not understanding what was up(errr ...) I removed the super_faction line from the Julii to trigger the known CTD
seems that "somehow" the game is able to swallow an incorrect name real error and only give incorrect show_err error
Yeah-yea, there must be something else...
I've checked this and still get KTM with "script error..blah blah...could not create settlement at script line xxx"
First settlement in descr_strat. Note that I' haven't yet moved characters to apopriate positions, no resources in descr_regions and d_strat, all vanilla factions are presented, AND... have region names like Etruria_1 and Etruria_1s. Maybe number causes this? Now going to continue search...
Update: the problem was caused by map_regions with 1 region! Somehow edited map was placed in temp folder, while this one martyrized me!
After replacement first time game crushed shortly before showing map; I have chosed Julli, so I thought that I might be doomed with always-crashing rome , but next time when loaded as seleucids, it (unbelievable) did not crash on a rome view... I 've succesfully scrolled entire map (almost), but it crashes at the end of ai turn (сука).
So now i'm going to sort that crap (off-top here)....
btw,
having lines in RTW descr_strat
marian_reforms_enabled
gladiator_uprising_enabled
causes ktm with "Expected faction - must add at least two factions to the world". I'm sure everyone knows it, but..
Thanks for the reminder on the marian_reforms bit, did discover that but think I forgot to mention it anywhere you should be able to have
marian_reforms_disabled
if you want, if you want them active though just don't use the line at all.
It will give you the must add two factions comment if it falls over anything it doesn't recognise before the factions section.
If you're getting an error on the first city in descr_strat its likely to be a fundamental problem with the files and not related to that city particularly.
The file with the region names in data/text is often a problem but I don't know if it will cause that particular problem. It should not mind the number in the region name, I've definitely used numbers before I decided on region names.
If you get stuck I don't mind having a look, PM me with link to files if you want...
A new error / sloution , although it's not really a big problem , but i think it's still worth to mention :
KTM with error : Could not create settlement xxx on x xxx , y xxx - when the region is correct in descr_regions and map_regions and the region is placed on a valid place
-Region acutally exists but you forgot to delete map.rwm
Symptom: KTM's with message on exit: 'Script error in .../descr_strat.txt, at line xxx, column x. You are trying to place zzzz in this region(yyyy), but it already has a settlement(zzzz).
* Using a color for the region that looks the same like the real one , but is still different . (so for instance , the normal/vanilla RGB value is 45 , 120 , 85 ; but a part of that region is 50 , 119 , 58 ..)
Can anyone help me, My campaign map isn't loading either. I added some regions to North Africa, every time I try to load I get a KTM (back to menu). I've worked on the map, the descr_strat, regions, regions lookup and imperial campaign regions and settlements. After a few adjustments and a show err I finally got an err message, now it says
Script error in
Data/world/maps/campaign/imperial_campaign/descr_strat, at line 1954, column 12
Could not create settlement at script line 1954
The line it refers to belongs to Byzacium (the region with Thapsus, underneath Carthage), the precise line is the population line.
The guide says 2 solutions, I checked 3 times, but the color in descr_regions was correct, afterwards I just changed the color in both the map and the descr_regions. And still I get the error, can someone help me?
Last edited by Belisarius III; 02-12-2013 at 09:11.
Bookmarks