Results 1 to 5 of 5

Thread: I'm screwed. I can no longer activate the background script!

  1. #1
    Questor of AI revenue. Member The Errant's Avatar
    Join Date
    Feb 2007
    Location
    Limbo. Aka. the Empty Hold.
    Posts
    378

    Question I'm screwed. I can no longer activate the background script!

    I've been messing with the background script in order to balance out the settlement bonuses for the AI.
    Last evening something went terribly wrong. Now I can't activate the background script at all anymore. Regardless of what faction I choose. The "Show me how" button on the advisor is greyed out. The script is in the right place so that's not the issue.
    When I exit the game I get the following notification: Error in EBBS_script line 165989, column 1. Don't recognise this token: end_script

    I've tried replacing the background script with three different backups. The result is the same with the difference in the previous message being in the given linenumber.

    Can anyone help me, please?

    "If you listen, carefully. You can hear the Gods laughing."

    Last words of Emperor Commodus. From "The Fall of the Roman Empire".

  2. #2
    Muckomania or the Muckster Member mucky305's Avatar
    Join Date
    Apr 2007
    Location
    Located at the Bottom of a Lake, Right next to that Chick with the Sword
    Posts
    124

    Default Re: I'm screwed. I can no longer activate the background script!

    Some questions. First, are you sure your backup aren't corrupted? Second, I'm not really sure how to do it myself, but it looks to me as if the comp is giving you an error reference in that it's telling you where the error is (just couldn't tell you how to read it). If it is a reference, then maybe you can trace it. If you have a zipped downloaded copy of EB on your comp, I would try to check for the clean EBBS script file. Rename it (something like EBBSscript original) and then copy it into the script folder in EB. Delete the modded file and change the filename of the clean copy to the EBBS_script standard, it may very well be an overwrite issue (like you changed something that can't be changed back except manually within the file). I've been playing this game for close to two years and have done a moderate amount of modding and still I don't understand most of how the computer reads those script files. Don't get discouraged. Keep trying.


    - Drink the Kool-Aid
    'Anonymous'

  3. #3
    Questor of AI revenue. Member The Errant's Avatar
    Join Date
    Feb 2007
    Location
    Limbo. Aka. the Empty Hold.
    Posts
    378

    Default Re: I'm screwed. I can no longer activate the background script!

    The only line that a search of the EBBS file reveals for the parameters end_script is the very last line in the script. Removing it means the script is no longer functioning at all. Means you go back to the two per turn years and all the other limitations of vanilla RTW.

    I can try to delete the entire script folder in EB. Recreate it and add the script file but I'm not holding my hopes up.

    If that dosen't work I'll have to reinstall the entire game. Which is something I really don't want to do since I'll have to make backups of so many different modified files I've tried to improve the game with.

    "If you listen, carefully. You can hear the Gods laughing."

    Last words of Emperor Commodus. From "The Fall of the Roman Empire".

  4. #4
    EB annoying hornet Member bovi's Avatar
    Join Date
    Jan 2007
    Location
    Norway
    Posts
    11,796

    Default Re: I'm screwed. I can no longer activate the background script!

    You should probably take a copy of your whole installation for the backup you mention, then install again and compare your modified files to the original ones to see where you screwed up. UltraCompare is excellent for this task if you have it, including recursing throughout the subfolders, however it is not free. WinMerge is free and I've heard it fills the same purpose, but I don't know how good it is.

    Having problems getting EB2 to run? Try these solutions.
    ================
    I do NOT answer PM requests for help with EB. Ask in a new help thread in the tech help forum.
    ================
    I think computer viruses should count as life. I think it says something about human nature that the only form of life we have created so far is purely destructive. We've created life in our own image. - Stephen Hawking

  5. #5
    Questor of AI revenue. Member The Errant's Avatar
    Join Date
    Feb 2007
    Location
    Limbo. Aka. the Empty Hold.
    Posts
    378

    Default Re: I'm screwed. I can no longer activate the background script!

    Quote Originally Posted by bovi
    You should probably take a copy of your whole installation for the backup you mention, then install again and compare your modified files to the original ones to see where you screwed up. UltraCompare is excellent for this task if you have it, including recursing throughout the subfolders, however it is not free. WinMerge is free and I've heard it fills the same purpose, but I don't know how good it is.
    Thanks. I figured out the problem. And the solution too. The last conditional I added to the damn script makes it incompatible. Looks like I hit a limit in the RTW scripting language.

    I'll have to remember the name of that program though. From the looks of things I'll still keep changing the script and I don't want to trough all this trouble if it stops working again.

    "If you listen, carefully. You can hear the Gods laughing."

    Last words of Emperor Commodus. From "The Fall of the Roman Empire".

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