[MOD]Spain 1936

Hmm, I'm not sure actually that it is a nationalist city, sorry. I deleted the top half of nationalist cities, and still a crash. I deleted the bottom half and there was another crash. To test it I also tried deleting the Portuguese and Stalinist cities and that still crashed. This is odd :s
 
I have tested few things. I explain here where I am :

Note that I use the Imnot's saved game (see previous pages...)

When an event is occuring in cities, the game takes the list of all the cities of the active player and seems to do the events.
As I said, the last thing I see in the logs (just before crash) is that Burgos has grown.
I tried to suppressed the dll : no crash. Then, just after "Burgos has grown", in the logs, I can read "Sevilla has grown", "Tetuan has grown" and "Oviedo has grown".
The nationalists cities are taken in that order :
Burgos, Vigo, La Coruna, Orense, Lugo, Ponferrada, Cadiz, Benavente, Placensia, Tanger, Sevilla, Salamanca, Zamora, Tetuan, Algeciras, Oviedo, Leon, Talavera de la R, Melilla, Pamplona, Ibiza, Palma de M.
When I suppress Burgos, Sevilla or Vigo, the crash occurs.
Now, I'm trying to suppress other cities, one by one, between Vigo and Sevilla.
I post more news soon...
 
Interesting - maybe the crash is caused by too many cities growing at the same time?

I just played another game in which there was a crash before the split had even occurred...
 
You said it's something odd. I agree.
I suppressed the first cities (from Vigo to Ponferrada) : no crash. When I try another time the same thing : crash...
I think there is something happening at any turn that crashes. I'm going to try several times without dll (when I renamed it form .dll to .bak, I tryed 1 time and I didn't have the crash).
If it's the dll, I'll look at it and see what I have modified in it.

EDIT :
  • I'm actually compiling several dll to find where the problem is. I hope I'll find soon which function crashes the game... When I have it, I upload a patch.
  • Before the new dll is available, you can play the game : from the beginning to the moment when Popular Front splits (included), with the given dll. And after this moment, without dll (just rename it CvGameCoreDLL.bak instead of CvGameCoreDLL.dll)
 
Dear Fabrysse,

Your MOD is fantastic, the crash is understandable, and thanks for the quick fix. Once again, thanks for putting all of this together.
 
You have 4 element types in this mod :
  • graphical elements (units and buildings that you see on screen)
  • XML elements that describe units, buildings, civics, leaders,...
  • Python elements that manage events (international brigades, foreign troops, partisans,...)
  • SDK elements (in the dll file) that make the events working

In the actual DLL, you have several things that I've added :
  • The possibility to have internal fighting : popular front troops fight popular front troops.
  • The possibility to change of civ : play as Franco, or choose your faction
  • The forced colony leader : if you try to give the 3 marocan cities to a colony, it must be to the marocan civ, and not to another one.

Actually, I'm looking for the bug in each of these elements. And I don't have yet found it...
 
Ah okay, that's interesting, thanks!

By the way, what is it that determines which cities and units will join which faction? I've seen some variation but it seems that the moderate socialists always get control of any newly liberated territory, apart from sometimes the cities in the north-east which the Trotskyists get.
 
Ah okay, that's interesting, thanks!

By the way, what is it that determines which cities and units will join which faction? I've seen some variation but it seems that the moderate socialists always get control of any newly liberated territory, apart from sometimes the cities in the north-east which the Trotskyists get.

For the units, it's a random, with a % chance different for each faction.
For the cities, it depends a lot on ideological (religion) influence, and a part of random with a % chance different for each faction.
So, if you stay with popular front as socialist, the influence of socialism will be greater, and the cities will have more chances to go to Caballero.
If you send political activists to new cities, it will affect the result.
All of this is only valable for cities taken to Franco. The original popular front cities will always be given to the same faction (Barcelona always CNT, Madrid always PSOE, etc...)
 
:cry: I'm sorry to report the game crashes on my comp just a few months after the election.:sad: Great graphics! :) (But quite a lot of misspelling...):sad: In short: original mod!:goodjob:
 
I'd like to help you with a german version, just write a pm to me, if there ist any interest.

Also, how does the game align cities and units after the popular front splits?
 
I asked the same question just a few posts up.

On a similar thread, I'm a little bit annoyed about two things; first of all, that nationalist conference table. It's basically just a tool for allowing Franco to demand whatever cities he likes, and defying the resolution doesn't seem to work. Secondly, why is it that every time I take Seville and Pamplona, they revolt and kick my units out the next turn? I wasted so many turns and a hell of a lot of units trying to take them, but it's just impossible. They were both demanded (and I think I was forced to hand them over) by Franco using that Nationalist negotiations thing, would this have any effect?
 
I'd like to help you with a german version, just write a pm to me, if there ist any interest.

Of course it's interesting !! You know, I'm french, and a lot of mods here are in english. It's always better when I can play with my language, so more translations I'll add, better it'll be. I PM you.
Thanks.

I asked the same question just a few posts up.

On a similar thread, I'm a little bit annoyed about two things; first of all, that nationalist conference table. It's basically just a tool for allowing Franco to demand whatever cities he likes, and defying the resolution doesn't seem to work. Secondly, why is it that every time I take Seville and Pamplona, they revolt and kick my units out the next turn? I wasted so many turns and a hell of a lot of units trying to take them, but it's just impossible. They were both demanded (and I think I was forced to hand them over) by Franco using that Nationalist negotiations thing, would this have any effect?

The negociation Room is just a renaming of the apostolical palace. It works exactly the same way (look at civilopedia)
 
Well, it just seems like it's a little unfair is all...

It's un unfair, ok. The question is :
  • This building is not interesting
  • I should have build it before Franco
  • The idea is good, but it must be worked a little more to be more interesting
 
Spanish (without civilopedia) and Italian translations are now available !
Download here

@Tevious and Caleb :
Thanks for your translations ! :goodjob:
Could you please have a look to the file CIV4GameTextInfos_Objects.xml :
  • line 12907, you'll find "TXT_KEY_BUILDING_FRANCO_JAIL"
  • line 12931, you'll find "TXT_KEY_BUILDING_PCE_JAIL"
  • line 12955, you'll find "TXT_KEY_BUILDING_CNT_SCHOOL"
  • line 12979, you'll find "TXT_KEY_BUILDING_UGT_WORKER_HOUSE"
  • line 13003, you'll find "TXT_KEY_BUILDING_FP_SOCIAL_CENTER"
These elements are still in english.

@Tevious :
In the same file, look at the line 4291 and next ones (or search for "TXT_KEY_UNIT_INTERNATIONAL_TROOPS" and next elements) : still in english too.


Ahhh crap.... i thought i translated everythin <_<.... ah well, i'l finish off what i missed
 
Ahhh crap.... i thought i translated everythin <_<.... ah well, i'l finish off what i missed

No problem, my friend. The 99% is translated. Just few elements that are not so easy to find in big files are still in english. :goodjob:

@all :
I'm working step by step on the DLL. I have some results. I hope I'll upload a good DLL that works from the beginning to the end very soon...
 
Back
Top Bottom