• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Calgacus

General
17 Badges
Jan 7, 2003
2.086
2
  • Europa Universalis IV: El Dorado
  • Island Bound
  • Prison Architect: Psych Ward
  • Cities: Skylines - Campus
  • Prison Architect
  • Cities: Skylines - Parklife
  • Cities: Skylines - Mass Transit
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV
  • Cities: Skylines Deluxe Edition
  • Cities: Skylines
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
I'm trying to start working on a 1115 scenario. I've modded the files based on the 1066 files. I've made it so, to start with, the Byzantine Emperor controls all but one province, and the other province (072), is controlled by England (random). I'm trying to set it up like that so it is easy to mod and work on. But I can't move on, because whenever I try to start the game I immediately die.

I want to make this scenario, but I'm gonna need some help here.

Here are the files ... (on DVIP base)

http://rapidshare.com/files/224502413/1115.rar
 
I don't have time to help, but why 1115 ?

I once started on a project to have a 1111-scenario, just because 1111 is such a nice number.

Fairly random, nearly half way between 1066 and 1187. Wanted some point between 1113, when David becomes ruler of Huntingdon and "Cumbria", and 1124 when he becomes king of the Scots. Parochial, I know. 1106 might be better, Battle of Tinchebrai. I don't need much help just now other than getting started. And to do that I need to figure out why loading the above leads to instant surrender. :eek:o
 
Check if all _characters are in valid courts -- their location must match the primary title of the realm they're in. If there is no C060 but a character resides there, it crashes.
All provinces must have an owner, which must be defined in _titles as well as _countries. These must also match. _titles defines who owns a certain province, _countries who controls one. If there is no controller -- crash. If controller and owner do not match, but these are not at war -- sometimes crash. In other cases it is a forced surrender, which might lead to ruler death and will lead to game over for a player.

_relations must have valid entries as well, if either partner does not exist -- possible crash when other character is loaded. In _characters make sure that if father and mother are defined, these are correct.
 
Check if all _characters are in valid courts -- their location must match the primary title of the realm they're in. If there is no C060 but a character resides there, it crashes.
All provinces must have an owner, which must be defined in _titles as well as _countries. These must also match. _titles defines who owns a certain province, _countries who controls one. If there is no controller -- crash. If controller and owner do not match, but these are not at war -- sometimes crash. In other cases it is a forced surrender, which might lead to ruler death and will lead to game over for a player.

_relations must have valid entries as well, if either partner does not exist -- possible crash when other character is loaded. In _characters make sure that if father and mother are defined, these are correct.

All this as far as I know is done. There are only three characters in the game btw ... the Byzantine Emperor, the English king and the son of the English king. Why it crashes is a mystery.
 
In _countries : 0073 should be 073

In the eug file: papacy (papal controller) is set to non-existing character 7757

ALL titles are missing from _titles except BYZA and ENGL, you must also add all the provinces.
 
In _countries : 0073 should be 073

In the eug file: papacy (papal controller) is set to non-existing character 7757

ALL titles are missing from _titles except BYZA and ENGL, you must also add all the provinces.

the 0073 typo was got just after posting the second files. _titles was fixed after the above suggestion (see update). I didn't think the eug file caused crashes, but I fixed it and nothing changes.

What I will add is that on the fringe of Aargau (242) at Bodensee there is a Byzantine control flag, despite being in Byzantine territory. I can't tie down the reason for this in the files.
ScreenHunter_04Apr241931.gif
 
Ah-ha. The sea provinces are at the end of the province file except for Bodensee which is around (roughly) province 260 I believe. Check the province file to be sure.

You have obviously allocated that province to the BYZA tag.

Ayeshteni
 
Bodensee: Province 243

Aye.
 
Ah-ha. The sea provinces are at the end of the province file except for Bodensee which is around (roughly) province 260 I believe. Check the province file to be sure.

You have obviously allocated that province to the BYZA tag.

Ayeshteni

Yes, 243. Yep, appears to work now. :D
(there was a crash three years in when the Pope died, but it didn't happen again on reload ... maybe because the Pope had no successors?)

Anyone think of a better date, falling between 1113 and 1123, than 1115? 1115 is also, by the way, the year of the death of Matilda, whose lands were disputed between the emperor and Papacy. I was thinking of naming the scenario Matildine wars or something.

Should I open up a new thread for suggestions? I'll quietly work away at doing the basis stuff, like kingdoms. :eek:

This is a good and distinct era to represent. I do think the scenario would be a useful addition. You can play Alexius Comnenus, Vladimir Monomakh (who ruled almost all Rus), Louis the Fat, Queen Urraca, Henry I, Boleslaw Wrymouth, Roger II, and so on!
 
Last edited:
Another three questions:

1) Where are the scenario titles stored, e.g. "Hastings (1066)"? Search function doesn't bring it up for some reason.
2) Do character IDs in the millions work? E.g. 11150000, which would give good scope for systematizing how I add characters. :)
3) Can the Pope be papal controller? So he can excommunicate the emperor.:D Otherwise Roger II, count of Sicily will have to be PC. Make him allies with the papal state, with the Pope rival to the emperor, and the emperor possessing claims.
 
1) In Paradox Interactive\Crusader Kings\config\text.csv, all the way at the bottom of the file

Code:
NAME_1066;Hastings (1066);;;;;;;;;;x
NAME_1187;The Third Crusade (1187);;;;;;;;;;x
NAME_1337;Hundred Years War (1337);;;;;;;;;;x


2) There should be no problem with using such numbers.

3) Don't know, never tried it.
 
Cheers, Veld.

I tried a few games letting it run. And within a few years it always crashes. I don't want to go putting work into this only for some unfindable problem making it unplayable.

These are the logs:

######## EXCEPTION: 0xC0000005 at address: 0x0042FE96: ACCESS VIOLATION read attempt to address 0x00000008
04/24/09 21:52:21


######## EXCEPTION: 0xC0000005 at address: 0x004688DC: ACCESS VIOLATION read attempt to address 0x00000008
04/24/09 21:55:57
SymGetLineFromAddr(): GetLastError = 126
SymGetLineFromAddr(): GetLastError = 126


######## EXCEPTION: 0xC0000005 at address: 0x0042FE96: ACCESS VIOLATION read attempt to address 0x00000008
04/24/09 22:02:20

These error-codes are incomprehensible. I've no idea what any of it means.
 
Last edited:
Do the crashes always happen around the same date ? If so, then probably a character gets a child and that character has an incorrect dynastie-ID.

If it doesn't crash always around the same date then I have no idea. Since there are several things that can go wrong when modding CK.