DLL - Various Mod Comps + Civ IV Diplo + CSD mods

Not going to happen :(

Unfortunately there is no stand-alone version of CSD v27 ...

... which means I'll have to extract the C++ code out of the CP DLL ...

... which I've just tried ...

... and unfortunately it can't be done (or at least not without significant effort and rewriting of the CSD code)

Spoiler :

Having extracted just the CSD code and merged it into the base-line source code, it fails to compile with i) invalid method signatures, ii) different return types, iii) missing methods, iv) missing code blocks, v) invalid code blocks, vi) other issues

The CSD code is too intimately entwined with
a) far reaching changes to the path-finder code - which either has to be undone or completely included (and that affects many other classes, methods and features) and
b) all of the "always on" "core balance" modifications - which would have to be analysed to ascertain which ones are required for CSD and then all of the (unmarked as CSD, but marked as core balance) changes would have to be identified and brought over as well,
for this to be a practical proposition.

It's a bit technical... but I get the gist of it; it's impractically difficult to do so.

Oh well, can't be helped then. :(

By the way... after not getting much useful help in the CP forum I decided to try the hybrid mod on this thread. But I've run into a problem.

I downloaded all the files you mentioned and linked to in the first post, deleted the DLLs from the standalone C4DF and CSD, and after removing every other mod I had(and clearing the cache folders as well, obviously), went to enable just these to find out how well they fit(can't be too careful; I'm attempting CSD v27 instead of v23 right now to see if it works, even in a clunky way). The problem is... I can't seem to progress. At all.

It's not a CTD problem; the issue is that when I try to enable the mods, it seems that your Various Mod Components(v80) and the latest version of C4DF(v11.0.7) are blocking each other. When I enable one, the other shows the 'Mod is blocked by another mod' message and can't be enabled.

Funny thing is that VMC and CSD can be activated together. So is this a problem in the C4DF part then? Do I need to change/replace/delete more files? Do I need to use the CP-compatible C4DF version instead of the standalone one? Or does only VMC v76 work for this(despite you saying any later version will work as well)? These three(plus the two 'enabler' mods mentioned in opening post of thread) are the only mods registered in the game right now, and I can't even get started on seeing whether these mods will work in tandem as intended. Would appreciate a swift response.
 
In the "Civilization IV Diplomatic Features (v 11).modinfo" file, delete the lines in red

Code:
  <Blocks>
    <Mod id="781d81cf-49e1-4acb-ae5f-b9e3713f98d3" minversion="0" maxversion="999" title="(1a) Civ IV Diplomatic Features - CP" />
    [B][COLOR="Red"]<Mod id="d1b6328c-ff44-4b0d-aad7-c657f83610cd" minversion="0" maxversion="999" title="Community Patch" />[/COLOR][/B]
    <Mod id="c7bf7064-d1b1-4708-9e93-7a1560868582" minversion="0" maxversion="999" title="Civilization IV Diplomatic Features - Community Balance Patch" />
  </Blocks>

Code:
  <Actions>
    [B][COLOR="red"]<OnGetDLLPath>
      <SetDllPath>CvGameCoreDLL_Expansion2.dll</SetDllPath>
    </OnGetDLLPath>[/COLOR][/B]
    <OnModActivated>

The CP shares the same GUID as my "DLL - Various Mod Components" mod, hence why you need to delete the first line, and the way DLL's are loaded has changed since the first incarnation of these combined mods, hence the need to delete the second block of three lines
 
Just did as you said: Now it works!

As of now... seems that CSD v27 works well enough with this hybrid mod despite it being made for v23. Quick look shows me that both CSD and C4DF seem to be working just right.

Well, at first sight, that is. I just played for 10 minutes-ish to test it and so far it looks okay. No telling whether it will hiccup and CTD or something once I seriously start playing. But at least I'll know what might be to blame now; using CSD v27 instead of v23.

Thank you so much for making this! :)

PS. I'll come back again if I run into more problems. Hope that doesn't happen though...
 
If it does CTD you'll get a CvMiniDump.dmp file in the C:\Program Files (x86)\Steam\steamapps\common\Sid Meier's Civilization V directory - grab that and the CustomMods.log file and send them to me - they should help in tracking down what went boom!
 
If it does CTD you'll get a CvMiniDump.dmp file in the C:\Program Files (x86)\Steam\steamapps\common\Sid Meier's Civilization V directory - grab that and the CustomMods.log file and send them to me - they should help in tracking down what went boom!

Did as you said and removed the stuff from the config, I got all the mods running the game runs fine, I have an issue though. The issue is simply, I can choose things, right, from the Diplomacy Menu however what happens is once it is added nothing will show up in the trade box, so I honestly have no clue what trades are being done. Also the top-ui with the descriptions for things along the top bar is glitched. I have the Health & Plagues mod for instance, instead it's icon just was changed to HEALTH! and it says nothing on scroll-over, and the only thing that shows for all the scroll-over is the Influence tooltip.
 
In Improvements table there is GoldMaintenance column. But the game multiplies value from this column by 2 when calculating maintenance cost. Can this be fixed?
 
Also the top-ui with the descriptions for things along the top bar is glitched. I have the Health & Plagues mod for instance, instead it's icon just was changed to HEALTH!

Civ 4 Diplo Features includes it's own TopPanel code, sounds like Health & Plagues does as well, so you're using two incompatible mods. So unless you're lucky and someone else on here uses the same combination of mods as you do, you're going to have to ditch one (or work out yourself how to make them compatible)
 
In Improvements table there is GoldMaintenance column. But the game multiplies value from this column by 2 when calculating maintenance cost. Can this be fixed?

Please see post #1. You need to identify which one of the three DLL mods is causing this problem and report it on the appropriate mod thread as an issue.
 
whoward, I'm back. Got a problem while restoring my (convoluted) mod setup.

Fortunately, I've been able to narrow the cause for this one, through some trial and error.

The five-mod setup from this thread gives me a CTD when I've enabled only one other mod; Natural Wonders Enhanced, from this thread:

http://forums.civfanatics.com/showthread.php?t=565149

Specifically, the download on the first post that doesn't utilize Steam, and has Spain's changed UA packed along with it.

As I'd mentioned before, the VMC DLL + CSD + C4DF setup of this thread works well on its own. Oddly enough, Natural Wonders Enhanced works well on its own too. When put together, though, the game starts fine on first glance, but it instantly crashes when I try to found a city with my first settler.

This is really weird. I use a lot of other mods than fundamentally change the game in a huge way(Cultural Capitals, Future Worlds, Events and Decisions, Really Advanced Setup...) yet this little, trivial-seeming one is giving me a problem.

Could you check that mod and see what component is causing this fuss? I'd like to know whether it's possible to fix it up somehow. If that's not possible... guess I'll have to pull out those separate Krakatoa/Gibraltar/etc. fixes again...

PS. I located the CvMiniDump.dmp file as you specified... but where's the CustomMods.log file? I can't find that one. Would just the CvMiniDump file on its own suffice?

PPS. How do you attach this thing to the post? When I try it it says 'invalid file' and refuses to upload :confused:

PPPS. Apparently this thing doesn't accept .dmp files, so I have to compress it into .zip form first. Weird...

View attachment CvMiniDump.zip
 
Oh. Oh oh, I didn't know that. I just read the mod's description and stuff. I didn't check its LUA in the first place.

As for it working on its own... well, the main symptom was CTD upon settling first city, and it lasted 10-ish turns on its own so I figured all was well when it was used alone. Derp.

Guess I better get rid of that ASAP then. Back to the old Krakatoa/Gibraltar/GBR fixes... >___>

Thanks for flagging the issue for me. Now got to try without that one.
 
Please see post #1. You need to identify which one of the three DLL mods is causing this problem and report it on the appropriate mod thread as an issue.
It turns out the game multiplies maintenance cost by 2 if improvement is allowed to be built outside of cultural borders.
 
Civ 4 Diplo Features includes it's own TopPanel code, sounds like Health & Plagues does as well, so you're using two incompatible mods. So unless you're lucky and someone else on here uses the same combination of mods as you do, you're going to have to ditch one (or work out yourself how to make them compatible)

So would this be the cause also for why when I enter the diplomacy screen the trade section is blank?

Edit: Nope, It isn't I am going through my modlist and disabling mods one-by-one to see

Edit: Turns out I am not smart and I fixed it. I had v67 of the DLL component... Updated it and it fixed my issue, I do have a question though that maybe you could help with. A lot of my icons and stuff in the game will occassionally become Black boxes, what would be cause of this?
 
icons and stuff in the game will occassionally become Black boxes, what would be cause of this?

Running out of memory and/or an over-heating graphics card
 
I got another issue, of sorts. It's not a CTD problem, but something's not working with both CSD and C4DF right now.

- C4DF:
One of the new things included in this mod is the 'What do you think of' feature, asking leaders of their opinion on other leaders. However, whenever I try to use this feature, the leader's response is a complete blank. It still has a 'Back' button so it doesn't crash or freeze the game, but it's a fun and useful feature that can't be used.

- CSD:
I encountered the 'Great Diplomat Spam' problem early on. Elsewhere in this thread was a fix for it by adding a few lines of code to UnifiedYields.xml, so I went and did it. It did stop the endless stream of Great Diplomats.

However, since the fix I can't accrue points toward Great Diplomats whatsoever, even when I assign specialists to the Chancery and Wire Service buildings. The only way I could have more Great Diplomats now is faith-buying them with the new Patronage finisher, or the To the Glory of God Reformation belief(or randomly being gifted them by CSs with the Patronage finisher, but that's unreliable). I wouldn't have noticed this problem normally, but it so happens that my first game with this setup is Venice(puppets never assign Diplomat specialists in them) and it has become noticeable.

Notably, the puppets won't use the Diplomat specialists, but they still have a meter showing remaining GP points for Great Diplomats. The meter which is strangely absent from Venice itself and doesn't increase.

Both these problems weren't present in standalone C4DF nor CSD, so I guess the mixed DLL might have messed up somewhere(or it could truly be because it's v27 instead of v23, I sincerely hope not though). Any idea what's causing these issues?
 
By the way there is a new version v11.09 available which fixes the CTD-issue when using the 'Restart Game'-Option in turn 1. It's only available through the workshop, since the downloads-section of the official thread wasn't updated yet.


- C4DF:
One of the new things included in this mod is the 'What do you think of' feature, asking leaders of their opinion on other leaders. However, whenever I try to use this feature, the leader's response is a complete blank. It still has a 'Back' button so it doesn't crash or freeze the game, but it's a fun and useful feature that can't be used.
Still happening with 11.09, all the new C4DF dialogues (gifts from the AI, commenting change of tax rates..) are not included it seems.
 
all the new C4DF dialogues (gifts from the AI, commenting change of tax rates..) are not included it seems.

I've tracked this down (it's linked to the STFU code), fix will be in v81.
 
Top Bottom