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

Stahl-Opa

Marshall & Grossadmiral of Helvetia
72 Badges
Jun 16, 2011
749
169
www.vmods.org
  • Victoria 2: A House Divided
  • Europa Universalis IV: Call to arms event
  • Gettysburg
  • Heir to the Throne
  • King Arthur II
  • Leviathan: Warships
  • Magicka
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Crusader Kings II: Charlemagne
  • Victoria 2: Heart of Darkness
  • Warlock 2: Wrath of the Nagas
  • Pillars of Eternity
  • Europa Universalis IV: Mare Nostrum
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Reapers Due
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Divine Wind
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Third Rome
  • BATTLETECH
  • Stellaris: Nemesis
  • Age of Wonders III
  • Age of Wonders: Shadow Magic
  • Crusader Kings II: Jade Dragon
  • Stellaris - Path to Destruction bundle
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • BATTLETECH - Digital Deluxe Edition
  • Stellaris: Distant Stars
  • Stellaris: Megacorp
  • Crusader Kings II: Holy Fury
  • Europa Universalis IV: Golden Century
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
Hi Devs!

I was trying to get my mod working in MP, during this I've found some strange issues (with probrably the engine, I think).

If I define rebel-controlled Units (like in the DH Full 1914 Scenario, with a rebel.inc), it is possible that the game crashes without any reasons, and afaik only in MP.

I've made a thread in the modding section with a lot of Code and many tries to fix it, but it Looks really that this is a issue somewhere deeper in the engine.

Please look there for further informations:
https://forum.paradoxplaza.com/foru...little-quiz-for-modders.974083/#post-21950673

Would be fine if you can write a Feedback if I'm right with the guess that this is a engine problem.

Greez

Opa
 
Honestly I understood nothing of your discussion.
Please provide more specific details.
I tried adding the following code to rebels in 1914 scenario and it works without issues:
Code:
landunit = {
        id = { type = 24100 id = 42 }
        name = "Kirovograd Holdout"    
        location = 408
        division = {
            id = { type = 24100 id = 43 }
            name = "6. UPA Division"
            type = infantry
            model = 6
            strength = 15
            extra = artillery
            brigade_model = 3
        }
    }
 
okay, let's try to explain ;)

I've made a alternate history 1936 Scenario, where is a civil war in russia at start.
Most of the factions are individual countries (with TAG etc), but for some I used rebels (like marauders, anarchists etc).

The Scenario works great and without any Errors (extra debug enabled).

BUT: If I want to start a Multiplayer session, DH crashes without any specific error (during loading).

I have searched the error - if I deactivated the rebels.inc:
Code:
#include = "scenarios\1936\rebels.inc"

the game loads without any Crash.

that means there has to be an error in my rebels.inc. (the file I've posted in the thread given above).
I've reactivated the rebels.inc and deactivated section after section in this file. (try and fail)
After I've deactivated the whole section "Russian Civil War"-section (RCW), the game loaded without a Crash to Desktop (CTD).

Means there have to be an error in the RCW Section.
I also have deactivated line after line within the RCW-Section.

After some Tests I could isolate the error:
I've deleted the whole RCW-section and only added these lines.
Code:
####RCW-Section

landunit = {
        id = { type = 24100 id = 37 }
    name = "UPA Reserve Corps"
        location = 605
        division = {
            id = { type = 24100 id = 38 }
            name = "2. Ukrainian Peoples Division"
            type = militia
            }
    }

The game Crashs during loadup (note, ONLY in multiplayer).

Because with these lines everything was OK, I again deactivated/changed line per line.

After I have changed the "location = [prov_id]", the CTD was gone.

With this version I got no Crash.

Code:
landunit = {
        id = { type = 24100 id = 37 }
    name = "UPA Reserve Corps"
        location = 628
        division = {
            id = { type = 24100 id = 38 }
            name = "2. Ukrainian Peoples Division"
            type = militia
            }
    }


Summary
If there is a very specific combination of defined values (or at least files in general), the game will crash during the loadup of a MP-Game - albeit there is no real error in the files. (I mean, it can be a real Problem to place a unit in province 605).

Its looks that I had the doubtful pleasure to create exactly this very uncommen combination (of what ever) that leading together with a (rebel)unit in 605 to a CTD.



If you need any further Information just ask.
I've updated my mod since I found These CTDs and avoid them through use not "REB" for the 605-Unit, but U35. - But I think I can rebuild the previous version which causes trouble. (just if you want to do further investigations and need the crushing version)

I would like to point out that the version of my mod have absolute no errors. Enabled extra debug (2) and checked the whole sevedebug.txt. The error HAVE to be inside the engine, the modification/modded files are all clean.



Greez

Opa
 
ah, by the way, there were several line which casues the same strange CTDs, not only the "location = 605".

also a CTD (same issue as explained above) I got with the "extra = artillery / brigade_model = 3". Like you wrote above, there is nothing wrong with these files; if you place these line at any .inc, everything works.

BUT if you place these lines into the rebels.inc in combination with all other (non-faulty) modifications (speak: conditions), you got a CTD - even if there's nothing obviously wrong.
 
Okay, here we are:

- Download this Mod, start the game on 2 diffrent maschines.
- open a multiplayer game (I used local Network)
- choose Country and start
- during loadup, the game crashes (only on host-Computer)


download here:
https://mega.nz/#!MsZRCZLY!q4Kebe41rSW65ST2z4Mn4gNjT1Xqx95i3_7JLMeYuxc


Maybe useful info:
- Cheksum should be KMIN
- to fix the crash problem: open rebels.inc (scenarios\1936), change " tag = REB" to "TAG = U35" or delete the RCW section (line 403-705)
- the mod is (unfortunately) german-based. If you play on english, you may have a strange/mixed localisation.
- argh, this is just WIP, there are some dev-only-files and trash-files in the mod Folder. sry, but just ignore it.
- if you understand german, try a game with Romania und let the coup in 1936 happen. Could be a funny game :D
- oh, the mod is made for RPing only, not very challenging at least. I think.


hope you can make anything with These files.

Greez

Opa
 
Your scenario setup exposes a rather rare issue.
To avoid the crash (which happens in SP games and is not related to MP) you should load rebels.inc after all other country definition files (1936.eug file):
include = "scenarios\1936\depots.inc"
include = "scenarios\1936\dacia.inc"
#include = "scenarios\1936\rebels.inc"
include = "scenarios\1936\cossaques.inc"
include = "scenarios\1936\withe partizans.inc"
include = "scenarios\1936\siberia.inc"
include = "scenarios\1936\TAZ.inc"
include = "scenarios\1936\syrian republic.inc"
include = "scenarios\1936\rebels.inc"
 
Hi Martin,

Thanks a lot for your Response. :)
It's very strange 'cause on my PC, the SP worked great, even with the bad Scenario Setup (I've tested that more then once).

I will change the 1936.eug, next MP is planned on the 1st nov. Hope everything is working then.


greez and lot of thanks

Opa