Liambane
Rome's Praetorian
Hi All. I'm a newbie in Phyton so ask for your help:
I downloaded this Limited Religion Mod (works perfectly with vanilla CIV4)
http://forums.civfanatics.com/showthread.php?p=8233967#post8233967
And I merged the code with WINMERGE in my Earth 35 Civ Mod and had a strange BUG:
Limited Religions worked for Human Player, I can't found a second religion BUT no other players can if I still discovered that religious technology. Got what I mean?
Example i Discovered Meditation (and found 1 religion) then discover Polytheism (and Didn't found) = OK, that's how it should works.
Another civ discovered Polytheism and DIDN'T FOUND A RELIGION TOO!
In Vanilla CIV4 this Limited Religion works perfectly, why not in my mod!
Do I need to change something in the code?

Limited Religion Mod uses:
-CvEventManager.py
-CvGameUtils.py
In my Phyton are included:
- Jarm MOD (on CvMaininterface and CvReligionscreen, this should not give problem)
- An old Inquisitor mod (This use the same phyton files and all the others you will see)
- Main Screen Interface mod (on CvMaininterface, this should not give problem)
Any help will be very appriciated... I use Modular Civilizations, and a different Gamecore.dll if mean something...
Here's the phyton of my mod:
I downloaded this Limited Religion Mod (works perfectly with vanilla CIV4)
http://forums.civfanatics.com/showthread.php?p=8233967#post8233967
And I merged the code with WINMERGE in my Earth 35 Civ Mod and had a strange BUG:
Limited Religions worked for Human Player, I can't found a second religion BUT no other players can if I still discovered that religious technology. Got what I mean?
Example i Discovered Meditation (and found 1 religion) then discover Polytheism (and Didn't found) = OK, that's how it should works.
Another civ discovered Polytheism and DIDN'T FOUND A RELIGION TOO!
In Vanilla CIV4 this Limited Religion works perfectly, why not in my mod!
Do I need to change something in the code?


Limited Religion Mod uses:
-CvEventManager.py
-CvGameUtils.py
In my Phyton are included:
- Jarm MOD (on CvMaininterface and CvReligionscreen, this should not give problem)
- An old Inquisitor mod (This use the same phyton files and all the others you will see)
- Main Screen Interface mod (on CvMaininterface, this should not give problem)
Any help will be very appriciated... I use Modular Civilizations, and a different Gamecore.dll if mean something...
Here's the phyton of my mod: