• 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.

cthulhu

Great Old One
37 Badges
Jan 11, 2000
4.016
4
  • Crusader Kings II
  • Crusader Kings II: Sons of Abraham
  • Deus Vult
  • Europa Universalis III
  • Europa Universalis IV
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis: Rome
  • Hearts of Iron IV: Colonel
  • Magicka 2
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Together for Victory
  • Crusader Kings II: Monks and Mystics
  • Surviving Mars
  • Hearts of Iron IV: Death or Dishonor
  • Crusader Kings II: Jade Dragon
  • Hearts of Iron IV: Expansion Pass
  • Cities: Skylines - Parklife
  • Shadowrun Returns
  • Shadowrun: Dragonfall
  • Shadowrun: Hong Kong
  • Crusader Kings II: Holy Fury
  • Crusader Kings III
  • Hearts of Iron IV: Cadet
  • IPO Investor
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Pillars of Eternity
  • Crusader Kings II: Way of Life
  • 500k Club
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: The Republic
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Charlemagne
  • Cities: Skylines
Hello,

I have created a new dynasty, which worked fine and is now trying to create a new character. I have tried several free IDs (which means no duplicated in character file) but the game crash (EXCEPTION: 0xC0000005 at address: 0x005872EF: ACCESS VIOLATION).

Where can I find a list of free ids?
 
Hello,

I have created a new dynasty, which worked fine and is now trying to create a new character. I have tried several free IDs (which means no duplicated in character file) but the game crash (EXCEPTION: 0xC0000005 at address: 0x005872EF: ACCESS VIOLATION).

Where can I find a list of free ids?

There is no such list, but you can make a character-ID as long as you want, so start somewhere about 100000 and there shouldn't be a problem with double ID's.


But a double character ID shouldn't result in such a crash. So when does your game actually crash. When you start a scenario or later ?
 
There is no such list, but you can make a character-ID as long as you want, so start somewhere about 100000 and there shouldn't be a problem with double ID's.


But a double character ID shouldn't result in such a crash. So when does your game actually crash. When you start a scenario or later ?

when I load the scenario. If I remove the character it works again.
 
Is the character placed in an existing court ?

Have you checked to see if you miss a { or a } ?

Could you post the character which you want to add ?
 
character = {
id = { type = 10 id = 90000001 }
name = "Amadeus"
gender = male
dynasty = { type = 12 id = 101918 }
country = C372
religion = catholic
culture = german
score = { gold = 200 prestige = 100 piety = 100 }
birthdate = { year = 1041 month = january day = 1 }
dna = "01050610030302"
attributes = {
martial = 10
diplomacy = 8
intrigue = 5
stewardship = 10
health = 10
fertility = 10
}
traits = {
proud = yes
lustful = yes
energetic = yes
valorous = yes
just = yes
brilliant_strategist = yes
}
}
 
Have you tried a lower ID? This is by far the largest I've ever seen.
Also of course make sure that C372 is a valid country.

Have you also changed other things, like perhaps titles?

I have tried different IDs of much lower number. That was just a last desperate attempt. :D I forgot to mention that I run Deus Vult and according to the wiki you should only give the attribute values, but since all characters are presented in the old format I figured it works as well. Perhaps this is what's wrong?

C372 is valid but a pagan land. I haven't assigned any titles etc yet. I do it step by step to catch errors better.
 
There is nothing wrong with the character, when I copy/paste it into a scenariofile the scenario loads just fine. I of course haven't added his dynastie-name.


amadeus.jpg



So there must be something else wrong in one of your files.
 
I think the attributes are the problem.

Code:
character = { 
    id = { type = 4712 id = 457272 } 
    dyn = 12470 
    tag = BOHE 
    name = "Vratislav" 
    home = 364 
    date = "11000001" 
    gender = male 
    religion = catholic 
    culture = "bohemian" 
    deathdate = "11340025" 
    attributes = "6.1.1.2.4.6.410240032" 
    traits = { indulgent = yes trusting = yes charismatic_negotiator = yes } 
    dna = "08169254120682" 
    }

This is a working character. So you should make the attributes like they're in here.

EDIT : Aha... So I guess I'm wrong. Well, just edit an existing character and be done with it. ;)
 
I think the attributes are the problem.

Code:
character = { 
    id = { type = 4712 id = 457272 } 
    dyn = 12470 
    tag = BOHE 
    name = "Vratislav" 
    home = 364 
    date = "11000001" 
    gender = male 
    religion = catholic 
    culture = "bohemian" 
    deathdate = "11340025" 
    attributes = "6.1.1.2.4.6.410240032" 
    traits = { indulgent = yes trusting = yes charismatic_negotiator = yes } 
    dna = "08169254120682" 
    }

This is a working character. So you should make the attributes like they're in here.

No, it doesn't matter how you put the attributes into the scenario-file, the old way or the new way.
 
So there must be something else wrong in one of your files.

The only other thing I have added before the character is the dynasty:

dynasty = {
id = { type = 12 id = 101918 }
name = "Rantzau"
province = { }
}
 
I actually tried giving him the dynasty ID for dynasty id = 101917, which comes with the game, and then it crashes. :confused: