RevolutionDCM for BTS

Just a small note that RevDCM has been updated to latest BUG/BULL/SVN status for single player and does not break save game compatibility with 2.60. It is not essential to update or even to merge this into your mod, but it does contain a few nice fixes and updates. Multiplayer is severely broken and fixing this will be the focus for the next release.

Enjoy
Cheers!

So, not possible/probable to find whatever severely broke it for MP? There's quit a lot, well a handful anyway! of fans for ROM that can't play version 2.8 MP until that is fixed. It was only sort of awkward to play MP, not impossible before 2.6. I was hoping for someone to spot whatever the problem was and repair it to the usual MP experience before the next version of RevDCM, it's such a major part of several big mods. Thanks anyway, I do appreciate the work that goes into this.
 
Glad I could be of assistance to you Mamba. Yes I realise that the focus is on multiplayer, but bug's have to be squashed and I have to find where they are first. Any assistance would be appreciated. The cockroach often hides in dark places and is even if you find it you still have to stomp it.
Cheers
 
@Phungus
You were the one who reported the broken airbombing code in DCM. I've examined the code and I don't think it needs to be changed but it depends on what you think.

In other words, the probability is partially dependent on whether the modder defines enough buildings with <iDCMAirbombMission> to compensate for their total number of buildings in their mod. I would say that since the DCM code is very old, it is possible that Dale's probabilities were based off a smaller number of buildings in the mod (if it was written before unique buildings were introduced?). The probability of success is also dependent on the player bombing cities with a high number of DCM defined buildings in it. If the player bombs a city with hardly any DCM buildings, success will be scant. The idea is to pick cities that are big and fat with DCM buildings favouring production if that is your choice for that mission.
I don't really know what would be best, I leave this off by default, and so haven't really tested it. I think the problems reported to me was because I didn't add the improved accuracy tags to necessary techs, so Air Bombing never got better, and I didn't add the apropriat tags to Buildinginfos. Is it BuildingInfos I need to add airbomb tags to? I don't really understand this:

In other words, the probability is partially dependent on whether the modder defines enough buildings with <iDCMAirbombMission> to compensate for their total number of buildings in their mod.

Anyway someone else that uses Airbombing would probably be a better person to respond to how to improve/fix airbombing. But I would like to know how mods that add new buildings and change the tech tree should reflect this in the XML so that airbombing works correctly.
 
Yes, you need to add those tags to BuildingInfos. ;) I've got it working in Merged Mod for a long time. You basically need to consider what type of mission would target any given building, and then add that value to the tag.
 
Man im so frustrated! I want to play but cant and ive invested so much time playing and trying to fix! I get crash to desktop when loading a game thats gone past roughly 1600AD. Its around the time I starting to build pentagon was last thing i remember on my 3 games ive played with this mod.

Im running Varietas Delectat and RevDCM together. I ran the Debug dll and this is what happened.

Now these errors happen when the RevolutionDCM mod is loading (click spoiler)

Spoiler :

Code:
Assert Failed

File:  CvXMLLoadUtilitySet.cpp
Line:  3806
Expression:  iIndex == -1
Message:  The <type>Modules_Main_1</type> of the "MLF_CIV4ModularLoadingControls.xml" in directory: "modules\Resources\" is already in use, please use an alternative <type> -name
Code:
Assert Failed

File:  CvXMLLoadUtilitySet.cpp
Line:  1548
Expression:  bSuccess
Message:  OWN TYPE - dependency not found: (null), in file: "NONE"
Code:
Assert Failed

File:  CvXMLLoadUtilitySet.cpp
Line:  1548
Expression:  bSuccess
Message:  OWN TYPE - dependency not found: (null), in file: "modules\Varietas Delectat\XML\UnitArtStyles&CivInfos\"
Code:
Assert Failed

File:  CvGlobals.cpp
Line:  3608
Expression:  strcmp(szType, "NONE")==0 || strcmp(szType, "")==0
Message:  type ARTSTYLE_EUROPEAN not found



I know why its giving errors for Resources and Varietas Delectat. It is because i put these folders in the modules folder. But they also have sub folders that have XML module loading controls. I did remove the subfolders and just combine them all together but it still gives crash to desktop. So I do not think this is the cause of the crash to desktop on my games, but please say if you think it is.

Now those errors happen when the RevolutionDCM mod is loading. The next is from when i attach the .exe file to the debug dll in visual C++ express edition 2005 and load either one of the 5 autosaves or 3 manual saves.


Code:
Assert Failed

File:  CvGame.cpp
Line:  5035
Expression:  getUnitClassCreatedCount(eIndex) <= GC.getUnitClassInfo(eIndex).getMaxGlobalInstances()
Message:  Index is expected to be within maximum bounds (invalid Index)

The code from disasembly was
Code:
009437F7  mov         edx,dword ptr [edi+2Ch]

This is the last few lines from the debug dll output
Code:
LoadCivXml (xml\Misc/Civ4QuestInfos.xml)
LoadCivXml (xml\Misc/Civ4TutorialInfos.xml)
LoadCivXml (xml\GameInfo/CIV4EspionageMissionInfo.xml)
The thread 'Win32 Thread' (0xddc) has exited with code 0 (0x0).
First-chance exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
Unhandled exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
First-chance exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
Unhandled exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
First-chance exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
Unhandled exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
First-chance exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
Unhandled exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
First-chance exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
Unhandled exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
The thread 'Win32 Thread' (0xb2c) has exited with code 0 (0x0).
First-chance exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
Unhandled exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
First-chance exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
Unhandled exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
First-chance exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
Unhandled exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
First-chance exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
Unhandled exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
First-chance exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
Unhandled exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
First-chance exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
Unhandled exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
First-chance exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
Unhandled exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
First-chance exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
Unhandled exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
First-chance exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
Unhandled exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
First-chance exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
Unhandled exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
First-chance exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
Unhandled exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
First-chance exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
Unhandled exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
First-chance exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
Unhandled exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
First-chance exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
Unhandled exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
First-chance exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
Unhandled exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
First-chance exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
Unhandled exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
First-chance exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
Unhandled exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
First-chance exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
Unhandled exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
First-chance exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
Unhandled exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
First-chance exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
Unhandled exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
First-chance exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
Unhandled exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
First-chance exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
Unhandled exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
First-chance exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
Unhandled exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
First-chance exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
Unhandled exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
First-chance exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
Unhandled exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
First-chance exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
Unhandled exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
First-chance exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
Unhandled exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
First-chance exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
Unhandled exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
First-chance exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
Unhandled exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
First-chance exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
Unhandled exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
First-chance exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
Unhandled exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
First-chance exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
Unhandled exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
First-chance exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
Unhandled exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
Warning: DirectSound playback reset due to non-moving playback cursor (buggy sound driver) time: 409855 play: 32928 write: 35572.
First-chance exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
Unhandled exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
First-chance exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
Unhandled exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
Warning: DirectSound playback reset due to non-moving playback cursor (buggy sound driver) time: 410420 play: 32928 write: 32928.
First-chance exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
Unhandled exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
First-chance exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
Warning: DirectSound playback reset due to non-moving playback cursor (buggy sound driver) time: 410627 play: 32928 write: 32928.
Unhandled exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
First-chance exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
Unhandled exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
Warning: DirectSound playback reset due to non-moving playback cursor (buggy sound driver) time: 410834 play: 32928 write: 32928.
First-chance exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
Warning: DirectSound playback reset due to non-moving playback cursor (buggy sound driver) time: 411195 play: 32928 write: 32928.
Unhandled exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.
.....

COULD KEEP GOING AND GOING! :(
I could keep pressing continue f5 to continue debugging but it keeps going.... The window has this information displayed
Code:
Unhandled exception at 0x009437f7 in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x0000002c.

Just :( :( :( Someone please help or i think im going to go crazy :( :( :(
 
The following code block is obsolete in CvMainInterface.py file since the CvUtil no longer has the "isOC_FOREIGN_INQUISITIONS" function:

Code:
elif CvUtil.isOC_FOREIGN_INQUISITIONS():
	#Foriegn Inquisition Check
	if ( pCity.getOwner( ) != pUnit.getOwner( ) ):
		iPlayerA = pUnit.getOwner( )
		iPlayerB = pCity.getOwner( )
		if CvUtil.hasOpenBordersAgreement(iPlayerA, iPlayerB):
			if CvUtil.hasMatchingStateReligion(iPlayerA, iPlayerB):
				ProceedWithInquisition = True
 
@Zapp
Thanks. It's a left over from the port of OrionVet's mod since RevDCM 1.00!

@Bobebrown
I feel your pain. Now you know what Zappara, Phungus and Keldath and others have to put up with on a regular basis. I can't fix your problem now, but whenever you modify RevDCM, you MUST RUN THROUGH AN AUTOPLAY game of your modification (CTRL-SHIFT-X) at least once but probably two or three times, or find out the hard way as you have done! There would be a few variations of VD around for RevDCM I think. Check out what Mamba has done and also the RoM forums that contain a lot of woc module activity that are apparently compatible with straight RevDCM.

Cheers.
 
@BobeBrown:

What exactly did you do to combine RevDCM and Varietas Delectat?
I moved the VD Module and .fpk from Quot Capita to RevDCM and did some xml editing to remove the extra modern era stuff and it seems to work fine.
Haven't done a lot of testing though.

Ulysses
 
@BobeBrown:

What exactly did you do to combine RevDCM and Varietas Delectat?
I moved the VD Module and .fpk from Quot Capita to RevDCM and did some xml editing to remove the extra modern era stuff and it seems to work fine.
Haven't done a lot of testing though.

Ulysses

I install VD 8.0 with modern era expansion and RevDCM.

Then merged what xml files collided together and added the VD xml files that were not present in RevDCM.

I also added Lead from behind and event images source code.
 
I install VD 8.0 with modern era expansion and RevDCM.

Then merged what xml files collided together and added the VD xml files that were not present in RevDCM.

I also added Lead from behind and event images source code.

Oh, ok. That sounds rather complicated, especially the last part.
Just wanted to point out that adding just the graphical changes of VD can be done easily.
 
Oh, ok. That sounds rather complicated, especially the last part.
Just wanted to point out that adding just the graphical changes of VD can be done easily.

Ok but please how do i do this? Really really really want to merge VD 8.0 with modern era expansion and revdcm.

I play tested it without lead from behind and it still give same problems.
 
Hi glider1,

dont know if anyone noticed that before, but i found a small bug in the civicsadvisor screen. in this case it's the environmentalism civic. the +2 :health: from the public transportation building is not in the advisor screen but in the sevopedia. this is also the case for the revolution settings.

see screens.

cheers
nudden
 
hi glider and jdog5000,


id like to suggest a bit of an addition to the revdcm code, or to be exact, to bbai.

we have in dune wars a code that allows transports - to be used by ai acroos all terrain - meaning - it will be possible to use air transports and land - with an all terrain setting that the guys on dune wars wrote, also, they added an ai setting that is used for an allterrain defined unit to be used properly by the ai.

this can be very useful to other mods that uses revdcm or bbai, and will allow better usge of units for all terrain in game.

:)

keep up the good work you guys.
 
I'd oppose that inclusion. That sounds more like it applies to specific mods and not to RevDCM as a whole.

As you all know, I opposed the WOC conversion, and I'll say again why: Bloat is bad. Adding that code to RevDCM adds nothing to RevDCM. If someone wants it for their mod, they're welcome to add it to their own version (such as LoR, etc)
 
I'd oppose that inclusion. That sounds more like it applies to specific mods and not to RevDCM as a whole.

As you all know, I opposed the WOC conversion, and I'll say again why: Bloat is bad. Adding that code to RevDCM adds nothing to RevDCM. If someone wants it for their mod, they're welcome to add it to their own version (such as LoR, etc)

That's a rather myopic way of thinking.

WoC added tons of ability of for modmoders to added new features and abilities. I know it never really took off with RevDCM, but for RoM, which uses RevDCM (un-altered RevDCM, Zappara is unwilling to make SDK changes), Modmods have took off.

If the ultimate goal of RevDCM is to get people to play RevDCM, yes, you're right code bloat is bad. But if the ultimate goal is to get people exposed to Revolutions, Barbarian Civ, and Better AI, then some extra features are really useful, and might I add, essential. Every player that plays RoM, Dune Wars, and LoR is also exposed to Revolutions, and all of us know what Revolutions are like? Would you like to restrict that? I thought the goal was more exposure, not less.

Your statements fly in the face of what almost every modder tries to do, expose other players to new ideas and mods.
 
Ok but please how do i do this? Really really really want to merge VD 8.0 with modern era expansion and revdcm.

I play tested it without lead from behind and it still give same problems.

Like i wrote above, you can take the VD module from Quot Capita (*). You also need the .fpk file from that mod; goes into the assets folder.
Then you have to do some xml editing to ensure its internal consistency, i.e. you either remove the modern units/graphics xml from the module or add modern techs etc..

This is all just copy'n'paste and xml editing; no SDK involved.
I think Quot Capita only contains VD 7.5 though but the difference shouldn't be that big.

No idea how to merge in lead from behind though, as i don't know how to do SDK modding. This might even be a candidate for being a part of RevDCM by default. I think it's quite an improvement, seeing how the AI always get their Warlords killed.



(*)also created by avain; includes RevDCM, VD and tons of other stuff. too much other stuff for my taste, that's why i did this merge.
other modules can be added as they are, ethnic citystyles for example, if you also add its .fpk.
 
@Ulysses81
Thanks for the help, one day I might add VD to my own personal build of RevDCM myself.

@Duuk, Afforess
Yeah the debate about woc is definitely over. Anyway, I wanted it for my own personal motivations as well :mischief: I cannot live without Dualism and Zoro.

The main thing now is to kneel and pray for the next 30 days as RevDCM goes into open heart surgery to get multiplayer working. The patient has been taken apart and bits are all over the table. :badcomp:

Cheers
 
@Ulysses81
Thanks for the help, one day I might add VD to my own personal build of RevDCM myself.

@Duuk, Afforess
Yeah the debate about woc is definitely over. Anyway, I wanted it for my own personal motivations as well :mischief: I cannot live without Dualism and Zoro.

The main thing now is to kneel and pray for the next 30 days as RevDCM goes into open heart surgery to get multiplayer working. The patient has been taken apart and bits are all over the table. :badcomp:

Cheers

We just need a :pray: emoticon. ;)
 
Back
Top Bottom