Results 1 to 18 of 18

Thread: Script Error my ear!

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Member Member SRMacPherson's Avatar
    Join Date
    Nov 2004
    Location
    Canada
    Posts
    13

    Question Script Error my ear!


    problem: during debugging recieve a Constant CTD. Solution: reinstall game and renew all new campaign files from backup.

    new problem:
    Script error in data/world/maps/campaign/achaeron_campaign/descr_regions.txt line 1, column 1
    couldn't find 'Culzean in string table.


    I had never recieved this error during the previous installation of the game. I had debugged my way through the desc_regions file and was starting the debugging of my desc_strat file when I was getting my unexplained CTDs.

    Nothing else changed, yet now RTW can no longer locate this region in my "string table"

    Checking through my related files
    (decr_regions_and_ settlement_name_lookup.txt; achaeron_campaign_regions_and_settlement_names.txt; desc_regions.txt)
    Its all there right at the top.

    achaeron_campaign_regions_and_settlement_names.txt:
    {Culzean} (3 tabs) Culzean


    decr_regions_and_ settlement_name_lookup.txt:
    Culzean

    desc_regions.txt:
    Culzean
    Culzean
    romans_senate
    Chaos
    255 6 11
    wine, dogs, pigs
    5
    10

    the RGB is the same as in the regions targa and the region and city are the same in the desc_strat. Just as they all were before.

    WHY is it not finding this region/city anymore?
    WHAT is the string table?

    and why did I have to make half my maps a solid colour JUST to get from CTD to the debugging stage?

  2. #2

    Default Re: Script Error my ear!

    Maybe you could try making the province and city names different? Sometimes there is a conflict with them or with others that you didn't know about. I had a problem with the Brigantes tribe for my mod and I fixed the entry to be Tribus_Brigantes and it worked.

    Best of luck!
    Clare
    "Ad majoram Dei gloriam"

  3. #3
    Member Member SRMacPherson's Avatar
    Join Date
    Nov 2004
    Location
    Canada
    Posts
    13

    Default Re: Script Error my ear!

    [QUOTE=dclare4]Maybe you could try making the province and city names different?

    Renamed "Culzean" to "Empire" across the board.

    Repeat the same error message, only replace "Culzean" with "Empire"

    What exactly is this "String Table" it is referring to?
    I had assumed that it was the Campaign_names_and_regions files. The lookup file and the one that sits in the /data/text dir.

    again, prior to the fresh install, it made no difference to the game that many of my cities had the same name as the region. So long as all the files contained the correct spelling.

  4. #4

    Default Re: Script Error my ear!

    The String table is constructed by connecting identifers with strings. This is so that you can have different language versions of province names for example. You are missing nessecary entries (since you don't have an entry for the province and the settlement) and s o you get a missing string table entry.

  5. #5
    Member Member SRMacPherson's Avatar
    Join Date
    Nov 2004
    Location
    Canada
    Posts
    13

    Default Re: Script Error my ear!

    again, I have re-written the three region files and updated the desc_strat file as required.

    All the regions that shared the same name as the city now look like so:

    achaeron_campaign_regions_and_settlementnames.txt:
    {The_Empire} Culzean
    {Culzean} Culzean
    {Abarraden} Abarraden
    {Abarraden_town} Abarraden
    {Secker} Secker
    {Secker_town} Secker
    etc.

    descr_regions_and_settlement_name_lookup.txt:
    The_Empire
    Culzean
    Abarraden
    Abarraden_town
    Secker
    Secker_town
    etc.

    descr_regions.txt
    The_Empire
    Culzean
    romans_senate
    Chaos
    255 6 11
    wine, dogs, pigs
    5
    10

    Abarraden
    Abarraden_town
    romans_julii
    Chaos
    62 6 250
    pottery, timber, dogs, pigs
    5
    9

    Secker
    Secker_town
    romans_julii
    Chaos
    195 250 10
    timber, textiles, dogs, pigs
    5
    8

    Still I receive this message:
    "Die you insolent program!"

    oh wait, no, thats just what I scream.

    I recieve this error message:
    "Script Error in data/world/maps/campaign/achaeron_campaign/desc_regions.txt line 1, column 1
    Couldn't find 'The_Empire' in string table"

    three changes in a row, there has to be something utterly stupidly glaringly obviously simple we're missing here.

    and my map problems are a whole other thread for the future.

  6. #6

    Default Re: Script Error my ear!

    I hate to even write this but since we've all been guilty of it...did you remeber to delete the map.rwm?

  7. #7
    Member Member SRMacPherson's Avatar
    Join Date
    Nov 2004
    Location
    Canada
    Posts
    13

    Default Re: Script Error my ear!

    Quote Originally Posted by tommh
    I hate to even write this but since we've all been guilty of it...did you remeber to delete the map.rwm?
    every time.
    unless there is another popping up elsewhere, but I havn't found it.


    before my re-install, my debugging went smoothly (as soon as I removed half my maps) to a point. it had previously debugged through the region files only to crash three repairs into the descr_strat.txt file.

  8. #8

    Default Re: Script Error my ear!

    Your problem is in your [your mod here]regions_and_settlement_names.txt file. First off the internal name of your settlement and region cannot be the same (although the display name can be). It's best if they're different. That being the case the region_and_settlement_names.txt file needs two lines one for the region and one for the settlement i.e.:

    achaeron_campaign_regions_and_settlement_names.txt :
    {Culzean} (3 tabs) Culzean
    {Culzean_settlement} (3 tabs) Culzea town


    then your other entries should look like this:

    in decr_regions_and_ settlement_name_lookup.txt (this needs both entries as well):

    Culzean
    ...
    Culzean_settlement

    and in desr_regions

    Culzean
    Culzean_settlement


    Hope this helps. Don't understand your map problem. Maybe you could give a little more info?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO