| General | Hosted Sites | Civ5 | CivRev | Civ4Col | Civ4 | Civ3 | Civ2 | Civ1 | Misc | Marketplace |
![]() |
|
|
Welcome to Civilization Fanatics' Center. You are currently viewing our site as a guest which gives you limited access to our site features. By joining our free community, you will be able to participate in the discussions, search the forum, send private messages, vote in polls, upload your own screenshots to the gallery, and access many other special features. Registration is fast, simple and absolutely free, so sign up today! If you have any problems with the registration process or your account login, please contact support. |
|
|||||||
![]() |
|
|
Thread Tools |
|
|
#21 | |
|
Emperor
Join Date: Sep 2009
Posts: 1,127
|
Quote:
It sounds like the extra information of the XML are not used by the game. Did you merge the code into your personal dll or do you use the dll that comes with the download? Also, could you post the whole XML entry of the building you want to add the +10% bonus to?
__________________
ModComps: BonusCommerceModifier for Buildings, Native Amazons, Female Great People, Female Missionaries, More Missionaries, Female Modern Soldiers, Amazon Civilization Leaderheads: Leaderhead Collection, Variable Static Leaderhead Units: Units Graphic Collection and others: Billboard, Melee Combat for Rifleman, Redcoat and Infantry, Snowman Improvement, Rabbit, Sea Lion and Walrus resource |
|
|
|
|
|
|
#22 | |
|
Elephantary School.
Join Date: Nov 2010
Location: Holland.
Posts: 64
|
Quote:
I used the download DLL, and the XML of the bank is as following: Spoiler:
As you see, it's a regular code, like your included one. But I'm not such great person in adding a modcomp, so I could've made a mistake over there.
__________________
i rarely post but it's okay |
|
|
|
|
|
|
#23 | |
|
Emperor
Join Date: Sep 2009
Posts: 1,127
|
Quote:
![]() In fact, I've left a pretty messed up download file there. I guess you are the first one who really tries to use the files as they are instead of merging them with another dll, so this problem never came up till now. I've uploaded a repackt version of this modcomp, please try again with that version. Just make sure that in the end your file path looks like this and you should be alright: Code:
...\Beyond the Sword\Mods\BonusCommerceModifier\...
__________________
ModComps: BonusCommerceModifier for Buildings, Native Amazons, Female Great People, Female Missionaries, More Missionaries, Female Modern Soldiers, Amazon Civilization Leaderheads: Leaderhead Collection, Variable Static Leaderhead Units: Units Graphic Collection and others: Billboard, Melee Combat for Rifleman, Redcoat and Infantry, Snowman Improvement, Rabbit, Sea Lion and Walrus resource |
|
|
|
|
|
|
#24 |
|
Warlord
Join Date: Feb 2011
Posts: 233
|
Hello
I would like to know what is the latest updated version for this mod? SInce original entry in downloads is from 2009, and see there were updates made in 2011? http://forums.civfanatics.com/downlo...=file&id=13599 thank you! PS. Assuming the version is latest, another problem I have is I cannot get it to work. I am running BTS. Placed the mod folder into BTS/Mobs - when trying to load it, the game crashes update: nm got it working after updating to BTS 3.19
Last edited by ChaosSlayer; May 30, 2012 at 09:06 PM. |
|
|
|
|
|
#25 | |
|
Emperor
Join Date: Sep 2009
Posts: 1,127
|
Quote:
good to hear that you got it working. ![]() The downloadable version should be the newest one. And even if not, it should still be working alright, the only update I made to this mod was to fix this problem.
__________________
ModComps: BonusCommerceModifier for Buildings, Native Amazons, Female Great People, Female Missionaries, More Missionaries, Female Modern Soldiers, Amazon Civilization Leaderheads: Leaderhead Collection, Variable Static Leaderhead Units: Units Graphic Collection and others: Billboard, Melee Combat for Rifleman, Redcoat and Infantry, Snowman Improvement, Rabbit, Sea Lion and Walrus resource |
|
|
|
|
|
|
#26 |
|
Warlord
Join Date: Feb 2011
Posts: 233
|
Hello SaibotLieh
Sorry to bother you again, but looks like I got more problems. I got a weird intermitten issue with your add-on. I am making my own mod and your add on is the only thing I am using - the dll and the new building schema. My mod doesn't contain any other C or Python changes otherwise - only xml changes to things like unit stats and new techs. The problem I am getting is as following: -when I start a new custom game on a random map, and choose few specific leaders - I loose interface in the game and few other things pop up - screenshots below. However I get no problems running your add-on with other leaders. I have run your add-on with BUG and without BUG, and it seems that running your add-on with BUG produces similar errors as with my xml only mod. Since it reports similar errors within the C code, perhaps you could take a look at it. Some screenshots below: Spoiler:
if i click EXIT the game loads and i see this: Spoiler:
no interface ![]() with errors tracing: (with BUG turned on) Spoiler:
and this Spoiler:
this is what I get without the BUG: Spoiler:
again - the problem ONLY manifests when I choosing specific leaders - like Caesar or Hannibal, but everything works fine when I choose say Bismark. While I have a custom leaders xml, I also tested this with a base game leaders xml file - same thing awaiting your reply
Last edited by ChaosSlayer; Jul 29, 2012 at 07:30 PM. |
|
|
|
|
|
#27 |
|
Chieftain
Join Date: Oct 2009
Location: North Wales, UK
Posts: 65
|
@ChaosSlayer
Looking at the standard BTS python code for the Tech Advisor screen the error is being thrown by the screen.addDDSGFCat() call in the following block PHP Code:
You could also try opening up the Civilopedia when you first start up the game, before selecting whether to play single player etc. Try clicking through all the units/techs and see which ones throw an error. That could help you narrow down where the problem lies. When you open up the tech advisor during a game it tries to display all the techs at the same time so it is difficult to tell which tech is causing the problem. |
|
|
|
|
|
#28 |
|
Warlord
Join Date: Feb 2011
Posts: 233
|
thanks, I will try to experiment on that.
However i want to point you that - I normaly can view all and any units and techs in pedia before the game. Also the tech screen errors comes up after I start a new game but before it fully loads, AND, whats important tech screen works for other leaders. Also, I have looked at the leaders that game me troubles - indeed those were leader for whose civs I had unique buildings or units removed. But I don't see it would cause a problem. Also just tried to give them those units back - and still getting all the same errors.... still experimenting.. UPDATE: ok, the leaders who didn't work, after giving them their unique units/buildings back - still do not work. The leader who do work - still work fine even after taking units/buildings from them. So removed units seems to be not the issue... Last edited by ChaosSlayer; Aug 01, 2012 at 05:39 PM. |
|
|
|
|
|
#29 | |
|
Emperor
Join Date: Sep 2009
Posts: 1,127
|
Doesn't BUG need a dll on its own? I think that could cause a conflict with using my dll as well. Otherwise I'm rather clueless how my dll could cause the errors you get, since it is far away from touching these areas.
Maybe you could test if my dll is really the cause by removing it as well as the xml files that modify the buildings. This might trigger other errors, but maybe none that are lethal for the game. Quote:
__________________
ModComps: BonusCommerceModifier for Buildings, Native Amazons, Female Great People, Female Missionaries, More Missionaries, Female Modern Soldiers, Amazon Civilization Leaderheads: Leaderhead Collection, Variable Static Leaderhead Units: Units Graphic Collection and others: Billboard, Melee Combat for Rifleman, Redcoat and Infantry, Snowman Improvement, Rabbit, Sea Lion and Walrus resource |
|
|
|
|
|
|
#30 | |
|
Warlord
Join Date: Feb 2011
Posts: 233
|
Quote:
I did extensive testing last night and mostly solved my problem. The errors I was getting were coming from my own mod. I run my mod without your add-on and still got the same errors. The unit art xml file I used in my mod was from BTS 3.0 version, so when I updated to 3.19 it started giving troubles. I have reworked my unit art xml file to be based of 3.19 and it all working now At least I hope so.However, I must tell you that there is indeed a compatibility issue between your add-on and BUG. And no, the BUG doesn't have its own dll. Here are the errors produced by combining just BTS 3.19 BUG with your add on: Spoiler:
Hopefully you or the BUG team can find solution to these, so your mod and BUG can be run together ![]() thanks! |
|
|
|
|
|
|
#31 | |
|
Emperor
Join Date: Sep 2009
Posts: 1,127
|
Quote:
![]() I tried loading the BUG mod with my dll myself now and run into the same errors. Sadly I don't know what to do about it. However, strangly enough, it all loads well if I replace the dll file in the ...\Sid Meier's Civilization 4\Beyond the Sword\Assets folder with the BonusCommerceModifier dll. While I cannot recommend this solution, since replacing original files is not a good idea, it might be worthwhile for you to test this as well. Of course make sure to backup the original dll somewhere save.
__________________
ModComps: BonusCommerceModifier for Buildings, Native Amazons, Female Great People, Female Missionaries, More Missionaries, Female Modern Soldiers, Amazon Civilization Leaderheads: Leaderhead Collection, Variable Static Leaderhead Units: Units Graphic Collection and others: Billboard, Melee Combat for Rifleman, Redcoat and Infantry, Snowman Improvement, Rabbit, Sea Lion and Walrus resource |
|
|
|
|
|
|
#32 |
|
King
Join Date: Feb 2009
Location: UK
Posts: 889
|
Adding this to my wish list of future hopes for my mod
![]() Hi Saibot, I was wondering if I could beseech upon your talented and most generous soul to help me with a problem with merging your mod comp (it's all my fault I am stupid for trying these things when will I learn to leave well enough alone!) I am merging this with a kmod based mod, and I always have problems with the AI files when merging because k has revolutionised them! ![]() would you be so kind as to take a look at my CvCityAI.cpp and help me to try and merge it? (smiles sweetly and helplessly!) I got so far and then got confused! here are my errors: Spoiler:
I have added both mine and your file for your convenience, your's has the SL at the end. If you can help it would be much appreciated! I really want the science flexibility for my mod it will be great! Last edited by Lib.Spi't; Feb 26, 2013 at 02:27 PM. |
|
|
|
|
|
#33 |
|
King
Join Date: Feb 2009
Location: UK
Posts: 889
|
bump.. I forgot to post it in a new box
|
|
|
|
|
|
#34 |
|
Emperor
Join Date: Sep 2009
Posts: 1,127
|
Sorry, I must have missed your post somehow in the past.
![]() And sorry again, but I already struggled back in the days to get the code working with the BtS code. And since I haven't done any else sdk programming since then I won't be able to help you there within reasonable workload for myself. Best you ask somebody who works regulary with the source code from k. Hope it works out for you.
__________________
ModComps: BonusCommerceModifier for Buildings, Native Amazons, Female Great People, Female Missionaries, More Missionaries, Female Modern Soldiers, Amazon Civilization Leaderheads: Leaderhead Collection, Variable Static Leaderhead Units: Units Graphic Collection and others: Billboard, Melee Combat for Rifleman, Redcoat and Infantry, Snowman Improvement, Rabbit, Sea Lion and Walrus resource |
|
|
|
|
|
#35 |
|
Prince
Join Date: Oct 2010
Location: Brussels, Belgium
Posts: 442
|
@ Lib. Spi't: I see that here again you did not choose facility...
This file is so heavily edited by K-Mod that I wish you good luck in the merge. What I see in the file is this comment from Karadoc: "K-Mod. I've moved the declarations to where they are actually used - to reduce the likelihood of mistakes". Of course, he knows what he is doing but when you try to insert new code, those statements are not declared there. I'm talking about this, at the beginning of the original function CvCityAI::AI_buildingValueThreshold, now merged by Karadoc with CvCityAI::AI_buildingValue. Code:
int iTempValue; int iPass; int iI, iJ; I wish it would be that easy for you (but I sincerely doubt it). All the best. |
|
|
|
|
|
#36 |
|
King
Join Date: Feb 2009
Location: UK
Posts: 889
|
hehe yeah I doubt it too, I think I will just give up on this
It would have been a nice fitting addition, but i think I will let it go
|
|
|
|
|
|
#37 |
|
Prince
Join Date: Oct 2010
Location: Brussels, Belgium
Posts: 442
|
Well, either you get the help of Karadoc himself or, if you want BCM badly, you simply ignore all K-Mod's changes and try to revert to the original code + BCM. But we know by now it probably means undoing much more stuff than that...
|
|
|
|
|
|
#38 |
|
King
Join Date: Feb 2009
Location: UK
Posts: 889
|
Exactly
![]() I get a headache just thinking about the possibilities of the things that could possibly go wrong ![]() I think I will leave it alone and press on for my alpha release, who knows one day it might actually attract someone who has a clue what they are doing
|
|
|
|
![]() |
| Bookmarks |
|
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [GRAPHICS] New building art for 'base level/Zuul's More Buildings mod' buildings. | kaibayashi | Civ4Col - Age of Discovery II | 6 | Oct 01, 2009 06:07 AM |
| Too many buildings? | Solon70 | Civ4 - Strategy & Tips | 18 | Apr 09, 2008 08:53 AM |
| Wonders/Buildings: some "renaissance" buildings | Arne | Civ3 - Graphics Modpacks | 9 | Apr 01, 2005 10:26 AM |
| has some 1 made a buildings.pcx with all the buildings? | blunt3d | Civ3 - Creation & Customization | 2 | Feb 13, 2005 09:31 AM |
| problem with buildings-large.pcx and buildings-small.pcx | LAW_FREAK | Civ3 - Creation & Customization | 12 | Jul 18, 2004 06:33 PM |