Results 1 to 9 of 9

Thread: Problem with "background script"

  1. #1

    Default Problem with "background script"

    Hello! I'm having a problem with the background script. (I'm playing with EB 1.0 and the problem occurs in the first turn.)

    When I activate that, using the "show me how" button, occurs a very strange bug, I will try to explain. When I move around the camera using the MOUSE, the game is normal, no lags in the campaing map and in the battle map, however, when I use the KEYBOARD to move arond, occurs a very slow lag, in the campaing map and also in the battle map... ( I already let the graphic in "very slow" to see if the problem is speed... but with certain the problem is a bug...)but this occurs only if I activate the Background script... please, help, I like this mod!
    (Sorry for my English, I'm brazilian... )
    Last edited by BrunoBrotto; 12-12-2007 at 16:20.

  2. #2
    Guitar God Member Mediolanicus's Avatar
    Join Date
    Jan 2007
    Location
    On the banks of the Scaldis.
    Posts
    1,355

    Default Re: Problem with "background script"

    The EBBS-script is a huge file.
    When you activate it, it works in the background (which is why it is called a background script...), so that's why you may get some lag at certain times with the script on, which you don't have when it's off.
    Last edited by Mediolanicus; 12-12-2007 at 20:02.
    __________________

    --> - Never near Argos - <--

  3. #3

    Default Re: Problem with "background script"

    Ok, I understand. I think I wil need to buy more RAM for my pc.... I have 1gb already, but I think it's not enought, Am I right? Thanks with the help!
    (Again, sorry for my english... )

  4. #4
    Guitar God Member Mediolanicus's Avatar
    Join Date
    Jan 2007
    Location
    On the banks of the Scaldis.
    Posts
    1,355

    Default Re: Problem with "background script"

    I think you'll need at least 2gig to play EB as smoothly as RTW, and even then...
    But anyway EB is playable with less RAM. My pc has a mere 512MB RAM, but EB is perfectly playable (although it more that occasionally lags..)

    P.S.: You're English is fine. Half the people on here don't speak English as their first language either - and I'm one of them.
    __________________

    --> - Never near Argos - <--

  5. #5

    Default Re: Problem with "background script"

    Ok, Thanks with the help. I will buy more RAM for my PC or maybe a new one in Christmas . Therefore, this a great mod, and I wish in future I can play it without problems!
    Thanks about my english, I'm trying to learn in a english school in my city... but I think I have to study much more ahhahahah!

  6. #6

    Default Re: Problem with "background script"

    I had the same problem, and since I use esdf to move in first person shooters and RTS games like RTW, I literally had to have my keyboard scrolling.

    So I went into the EBBS background script and removed all the client ruler code that was taking up something like 5 or something megs.

    The keyboard scroll still wasn't as smooth as the original, but it was manageable.

    If you wish to do the same, simply go to your EB folder/data/scripts/show_me

    Open the EBBS script file with a text editor or word editor.

    Look at the table of contents, copy the "client ruler line" and then search for it. You should get a line of code that has been commented out (with a ; in front) that says Client Ruler section or something close to it.

    Now erase all of the code there, through highlighting via holding down shift and hitting mouse, untill you get to the next section. How easy this is for you depends upon whether you can make sense of some of the code and what it is for.

    Now you won't be able to spawn client rulers when you build Level 4 MICs, but your scrolling will be fixed. And besides, I didn't need client rulers after I had gained lesser celtic generals.

    Btw, once you slim down the EBBS code, the speed at which your computer processes EB turns increases by some 50%-100%. This is probably due to the fact that the Client Ruler code is checking EVERY city on the campaign map for client rulers and gov4 buildings, which wastes processing power. You could speed it up even more by removing the code for reforms, but I was satisfied with things as is.

    You can still build level 4 governments with the background script removed, and it didn't crash my Romani campaign in the 70 odds years I have been playing it.

    However, you will get the "interloper" trait if you put one of your generals/family members into a city with a level 4 government. This can be solved by going into the EB/Data folder and look at the export_descr_character_traits.txt file

    Search for "Interloper" without quotes. You will find lists of code saying "Affect Interloper 1 100" or something similar to that.

    The 100 is the percentage. Change it to 1. Or if you want a perfect solution, change "Interloper" with "ReverseInterloper". I've recently tested it out, and it's good.

    Btw, I didn't have your problem with the battle map. That is probably a graphical/ram/cpu issue. Which you can reduce by looking up the EB performance FAQ somewhere here. Essentially, you should keep your unit size to small or normal and cut down on some of the graphics/textures/shadows.

    And I also don't think the keyboard scrolling on the campaign map lag problem has to do with CPU either, since my mouse scrolls quite well. It is when you hit a key that things slow down, perhaps connected with script processes being interrupted or something.
    Last edited by Ymarsakar; 12-17-2007 at 23:08.

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

    Default Re: Problem with "background script"

    That's actually one of the pieces of the script which is sort of safe to remove. Perhaps you would like to post your files in the unofficial submods forum, so others who get too low performance won't have to do them on their own?

    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

  8. #8

    Default Re: Problem with "background script"

    Done, in the unofficial mods forum.

  9. #9

    Default Re: Problem with "background script"

    Oh, it's here too...

    Already posted in another thread that setting CAMPAIGN_MAP_CAMERA_SMOOTHING:FALSE option in preferences.txt file should help. What happens methinks is that processing the huge script confuses i/o routines so constantly pressed keys are sometimes perceived as "released" and hence map scrolls in very small steps, like it does when tapping arrow keys quickly w/o activating the script.
    Last edited by Lgk; 12-26-2007 at 00:35.
    occasional ALEXANDER EB member
    :::Alexander::: less hopeless AI engine for EB https://forums.totalwar.org/vb/showthread.php?t=94861

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