Results 1 to 12 of 12

Thread: Deleting a faction because CDT?

  1. #1

    Default Deleting a faction because CDT?

    Does someone know how to "kill" a faction in a running game? I mean cheating. Everytime Thrace moves the game chrashes and I see my Desktop.

  2. #2

    Default Re: Deleting a faction because CDT?

    I tried several things, now. Modded files were now replaced with the old ones, the problem stays. I tried to control Thrace by cheat "control thrace" but that doesnt work. I tried to capture their settlements "capture_settlement xyz" or kill their characters "kill_character xyz". Did not work. Only few cheats seem to work at all. Yesyes, I know the onetime-cheat-rule ;)

    Any ideas? I dont want to give up that game, it's about ten hours old.

  3. #3

    Default Re: Deleting a faction because CDT?

    ON removing a faction causing CTD is usually caused from NOT all the entries being removed. Example I found causing a ctd was if you leave a rebel or another faction with a captain that is from a faction you deleted.

    Example lets say I deleted Numidia. lol and then I have a rebel province or captian who has Numidia as its origin. It will CTD atleast it did for me. If I remove that change to another type of faction thats in the game lets say carthage. then it shouldnt CTD.

    Hope this helps. Maybe someone more use to editing maps can help.

    Lt
    LT_1956 Creator of SPQR: Total War


    SPQR:TW Mod forums

  4. #4
    Spends his time on TWC Member Simetrical's Avatar
    Join Date
    Dec 2004
    Location
    New York City
    Posts
    1,358

    Default Re: Deleting a faction because CDT?

    There's a way to do this by scripting, I know that, but it's quite complicated. What mods do you have installed, if any? RTR has had some trouble with crashes on specific factions' turns in the past, so maybe I can offer some insight.

    -Simetrical
    TWC Administrator

    MediaWiki Developer

  5. #5

    Default Re: Deleting a faction because CDT?

    khelvan identified a "kill_faction" console command in this thread but I've never tested it.
    Epistolary Richard's modding Rules of Cool
    Cool modders make their mods with the :mod command line switch
    If they don't, then Cool mod-users use the Mod Enabler (JSGME)
    Cool modders use show_err
    Cool modders use the tutorials database Cool modders check out the Welcome to the Modding Forums! thread Cool modders keep backups Cool modders help each other out

  6. #6

    Default Re: Deleting a faction because CDT?

    Thank you all for caring.

    I use vanilla with three modded files (modded by myself). I changed the bulding-times for units and maxed most units from 160 to 240. Also I did some minor changes to the buildings, so every Corebuilding produces a law-bonus to prevent unlimited barbarian-invasions and a little health for the people. Minor ports produces no ships and assassins can't be build. Then very, very little in the campaigns strat-file (impossible factions went to unlocked factions, I got some more gold (Damn, I'm caught ;) ). That's all.

    The game starts as normal, the campaign, too. After ten hours Thrace moves several armies to a certain city, one army is repelled by the Scythians and the crash takes place (perhaps because of the next unit in order or because of this repelling event). But I did notice that Thrace had no characters. I observed the whole thing with toggle_fow and I think I am able to see then all characters (but not the other units, very funny ;) ), but for Thrace there were no ones.

    changed files:
    - buildings: is working fine for me, wrong spelling would result in a immediate CDT after my experiences. And furthermore I think I own all buildings I changed there.
    - units: The same is here but furthermore I replaced the file with the original file. Same result.
    - Campaign-strat: Hmmm... well... only things the game would complain at startup I think ....

    I use 1.2 of course. I played the game several times, so my pc is not the reason, I think.

    BTW: The kill_faction cheat is not working, as almost every cheat there. Some works, most not. Perhaps I am too dumb for such stuff.

  7. #7
    Spends his time on TWC Member Simetrical's Avatar
    Join Date
    Dec 2004
    Location
    New York City
    Posts
    1,358

    Default Re: Deleting a faction because CDT?

    You may be able to access the kill_faction command via a script. Take a look at Myrddraal's scripting thread here to get an idea of how to script, then create and run a script that reads:
    Code:
    script
    	console_command kill_faction thrace
    end_script
    Console commands that don't work in the actual console do work if called by scripts, and there's no limit on the number of times any command can be used this way. For some reason.

    -Simetrical
    TWC Administrator

    MediaWiki Developer

  8. #8

    Default Re: Deleting a faction because CDT?

    In the meanwhile I suceeded in finding a clue to my problem. It's one of the buildings, I think. I had to reinstall the game to get that damn original building-file, but after replacing it, the game did not crash (You see, It's clever to backup your files).

    But that's weird... I thought the game would read the whole script in the beginning.

    However, the scripts are a nice idea. I read that thread in parts and it's very interesting. Regrettably I don't know how to run it, but I will ask in that thread.

    Thank's for your help.

  9. #9
    Shaidar Haran Senior Member SAM Site Champion Myrddraal's Avatar
    Join Date
    Feb 2004
    Location
    UK
    Posts
    5,752

    Default Re: Deleting a faction because CDT?

    Console commands that don't work in the actual console do work if called by scripts, and there's no limit on the number of times any command can be used this way. For some reason.
    The reason is that their prologue uses them so they need to work more than once.
    They put the restrictions on the commands so that users can't cheat....

  10. #10

    Default Re: Deleting a faction because CDT?

    Okay, I found the reason for the cdt. The problem is the imperial palace. When the palace is built by thrace the game crashes.

    Okay, perhaps by other factions, too. But I don't know that for sure. In general I am not sure if the problem is really thrace, because it happens at the end of the turn and the buildingphase is at the beginning, so it's perhaps the problem of the next faction in order, that would be the rebels, but they don't have a large_city. Thrace does. My own faction never build a imperial palace so I don't know what happens then.

    I replaced all files with the originals (except the strat-file, but that would not help in the moment) and then changed only one thing, the building time of the imperial palace (as in my own mod). Result: CDT. So it's the imperial palace for an unknown reason.

    I hope someone knows why, perhaps because of the "famous imperial_palace_bug", but I don't. And because of that I will work on that problem this night and will waste lots of time trying this out. I hope someone is able to prevent me from doing this ;)

  11. #11

    Default Re: Deleting a faction because CDT?

    They put the restrictions on the commands so that users can't cheat....
    It's a pity. Not only that you are able to cheat in this game with only a little more work to do (starting money in the strat-file, changing unit stats and so on), I think everyone is able to decide whether to cheat or not and for this right to decide we payed lots of money. I don't like "guidance" of this kind.

  12. #12

    Default Re: Deleting a faction because CDT?

    Hm.... is there a possibility to create a logfile? I don't know, the problem is unsolved.

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