View Full Version : Deleting a faction because CDT?
twilight
04-11-2005, 16:13
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.
twilight
04-11-2005, 16:39
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.
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
Simetrical
04-12-2005, 04:27
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
Epistolary Richard
04-12-2005, 09:58
khelvan identified a "kill_faction" console command in this thread (https://forums.totalwar.org/vb/showthread.php?t=41775) but I've never tested it.
twilight
04-12-2005, 13:25
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. ~:handball:
Simetrical
04-13-2005, 03:49
You may be able to access the kill_faction command via a script. Take a look at Myrddraal's scripting thread here (https://forums.totalwar.org/vb/showthread.php?t=40178) to get an idea of how to script, then create and run a script that reads:
script
console_command kill_faction thrace
end_scriptConsole 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
twilight
04-13-2005, 13:46
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). :book:
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.
Myrddraal
04-13-2005, 14:42
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....
twilight
04-13-2005, 15:05
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 ;)
twilight
04-13-2005, 15:10
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.
twilight
04-18-2005, 01:41
Hm.... is there a possibility to create a logfile? I don't know, the problem is unsolved. ~:confused:
vBulletin® v3.7.1, Copyright ©2000-2025, Jelsoft Enterprises Ltd.