Ancient Middle East (+India and Greece) mod

I should even say:
Python: Platyping (110%), isenchine (-10%)!

I've actually simplified your stuff which nevertheless might be interesting, like the additional control of width and height.

I also did not retain the self.iScoreRows = 0 and the self.iScoreWidth = 100. The last one I hardcoded it at 300 (different layout) and the first one I did not understand it, especially this:
Code:
self.iScoreRows = max(0, min(self.iScoreRows, nRows - 1))
?

All things easy to put back. I just needed to strip it down to understand the thing better (with 100% B,S &T! then).
 
self.iScoreRows is a control to determine how many rows to hide.
Thus, it should never be negative, nor should it be more than max numbers of players to display.
 
It looks to me like it can only return 0 in all cases (since it's defined as 0 in the first place).

Edit: OK, it's linked to your control in the handleInput function. Since I took it out, that piece of code looked weird all alone!
 
I'm posting this to remember everyone this project is not dead. I haven't really worked on this project for a few months because I was playing other games. I apologize for my sudden disappearance and not letting anyone know. But I feel like playing and modding again now, so I'd like to work on it again the following week(s). However, I'm still stuck with the last problem which is quite annoying. Unfortunately, I forgot to download the file isenchine posted and it isn't there anymore.
isenchine? Is it possible you still have that file somewhere? Thanks!
EDIT: Oops. It seems you uploaded it in the database, that's great! I assume I can replace the old file with this one then?
 
Not really as:

1) you have some Platy modifications in the file
2) some of the previous Johny Smith code for scrolling scoreboard should be deleted

Here again is the file.
 
I'm going to release some kind of test version, the game is playable until about the Iron Age:1200 BC - 1000 BC (earlier if you play as larger civcs, later if you play as smaller civs...).
Could some people please play the game till 1200 BC - 1000 BC? Or just until they have researched the entire tech tree? When done, could those people report back? By this I mean say what happened during the game and maybe how the map looks around 1000 BC. Weird or strange occurences or events can also be reported, or just things that happened such as one civ conquering an other or wonders getting built in weird places.
Also, Buddhism, Canaanism, Anatolia, Judaism and Christianity get founded in random cities because I haven't programmed those religions yet to be founded at a certain date. I suggest placing their holy cities in Kusinara, Ugarit, Hattusa, Yerushalayim and some far away barbarian city for Christianity as it should be founded quite late in the game. Suggestions for things that should be added are also always welcome.
I probably forget to say something, but here is the link.
Spoiler :

Have "fun" (as far as that's possible with an incomplete mod)!
NOTE: THE RIGHT MAP IS "Ancient Greater Middle East 3000 BC", ALL THE OTHER MAPS ARE MISSING THINGS
 
I also got that, I'll have to find some other file hosting site then.
 
New link. First, please read the description.
I'm going to release some kind of test version, the game is playable until about the Iron Age:1200 BC - 1000 BC (earlier if you play as larger civcs, later if you play as smaller civs...).
Could some people please play the game till 1200 BC - 1000 BC? Or just until they have researched the entire tech tree? When done, could those people report back? By this I mean say what happened during the game and maybe how the map looks around 1000 BC. Weird or strange occurences or events can also be reported, or just things that happened such as one civ conquering an other or wonders getting built in weird places.
Also, Buddhism, Canaanism, Anatolia, Judaism and Christianity get founded in random cities because I haven't programmed those religions yet to be founded at a certain date. I suggest placing their holy cities in Kusinara, Ugarit, Hattusa, Yerushalayim and some far away barbarian city for Christianity as it should be founded quite late in the game. Suggestions for things that should be added are also always welcome.
I probably forget to say something, but here is the link.
Have "fun" (as far as that's possible with an incomplete mod)!
NOTE: THE RIGHT MAP IS "Ancient Greater Middle East 3000 BC", ALL THE OTHER MAPS ARE MISSING THINGS
http://www.gamefront.com/files/25082367/Ancient+Middle+East.rar
 
I got the following errors when I conquered a city. The last one just repeats and repeats.
Code:
Traceback (most recent call last):

  File "CvEventInterface", line 23, in onEvent

  File "CvEventManager", line 206, in handleEvent

  File "CvEventManager", line 1509, in onCityAcquired

RuntimeError: unidentifiable C++ exception
ERR: Python function onEvent failed, module CvEventInterface
Traceback (most recent call last):

  File "CvEventInterface", line 23, in onEvent

  File "CvEventManager", line 206, in handleEvent

  File "CvEventManager", line 952, in onUnitBuilt

AttributeError: 'CyTeam' object has no attribute 'isTrainVassalUU'
ERR: Python function onEvent failed, module CvEventInterface
Traceback (most recent call last):

  File "CvEventInterface", line 23, in onEvent

  File "CvEventManager", line 206, in handleEvent

  File "CvEventManager", line 952, in onUnitBuilt

AttributeError: 'CyTeam' object has no attribute 'isTrainVassalUU'
ERR: Python function onEvent failed, module CvEventInterface
Traceback (most recent call last):

  File "CvEventInterface", line 23, in onEvent

  File "CvEventManager", line 206, in handleEvent

  File "CvEventManager", line 952, in onUnitBuilt

AttributeError: 'CyTeam' object has no attribute 'isTrainVassalUU'
ERR: Python function onEvent failed, module CvEventInterface
Traceback (most recent call last):

  File "CvEventInterface", line 23, in onEvent

  File "CvEventManager", line 206, in handleEvent

  File "CvEventManager", line 952, in onUnitBuilt

AttributeError: 'CyTeam' object has no attribute 'isTrainVassalUU'
ERR: Python function onEvent failed, module CvEventInterface

I was palying the Old Kingdom of Egypt and was taking the city to the north.
 
So you enabled python exceptions? But you can still play, can't you?
 
So you enabled python exceptions? But you can still play, can't you?

Yes I did and yes I can but I get that isTrainVassalUU error every turn after I conquered and destroyed the city.

edit I started a new game and I am getting multiple occurrences of the isTrainVassalUU error every turn.
 
Can't you just disable python exceptions?

I have disabled the pop-up. Those errors still occur and show in the log.

Is this intended as a combat/war mod? All I could build as the Old Kingdom of Egypt was troops. I gave up at 1180BC when I had not been given the option to build any Pyramids even though Masonry was the second tech I studied. My first test for any mod is if the Pyramids can be built by 2500BC.
 
No that is not intended, I'll go check it out soon.
It seems it doesn't happen to me. That's unfortunate for you, try replacing the Eventmanager thing with this one here.
 

Attachments

I am now getting a "Failed to compress save data" when ever I try to save or when an autosave happens.

edit I keep getting the message "Slave market has provided two slaves" but nothing happens, I see no slaves.
 
That is very weird, slaves appear just fine with me. Can anyone else tell me if they're also experiencing this problem?
 
New link: http://www.gamefront.com/files/25086208/Ancient+Middle+East.rar
PLease read the description
Spoiler :
I'm going to release some kind of test version, the game is playable until about the Iron Age:1200 BC - 1000 BC (earlier if you play as larger civcs, later if you play as smaller civs...).
Could some people please play the game till 1200 BC - 1000 BC? Or just until they have researched the entire tech tree? When done, could those people report back? By this I mean say what happened during the game and maybe how the map looks around 1000 BC. Weird or strange occurences or events can also be reported, or just things that happened such as one civ conquering an other or wonders getting built in weird places.
Also, Buddhism, Canaanism, Anatolia, Judaism and Christianity get founded in random cities because I haven't programmed those religions yet to be founded at a certain date. I suggest placing their holy cities in Kusinara, Ugarit, Hattusa, Yerushalayim and some far away barbarian city for Christianity as it should be founded quite late in the game. Suggestions for things that should be added are also always welcome.
I probably forget to say something, but here is the link.
Have "fun" (as far as that's possible with an incomplete mod)!
NOTE: THE RIGHT MAP IS "Ancient Greater Middle East 3000 BC", ALL THE OTHER MAPS ARE MISSING THINGS

Also: Use the normal gamespeed, this is the only one that works at the moment.
 
It seems there is little interest in this mod; a little more input would be appreciated. But it's alive and kicking, I'm currently adding Iron Age wonders (1200-300 BC) and I've already added most techs and units. However, I seem to be lacking in Canaanite, Judaistic and Anatolian wonders. I currently have only the Temple of Solomon. I don't even know how the holy temples of Canaanite or Hittite religions were called (if there were any). So any wonders suggestions for those religions would be very helpful. A lot of civs should also have some unique units and buildings in this era, so any of those would be appreciated. Or unique powers, many civs still need unique powers (replacing traits). When I'm done with the Iron Age, I'll upload a new version of the mod for people to test.
Also, have any people succeeded in playing some civs or something with the versions I already uploaded?
(Is anybody ever checking out this thread or something, I don't want to give the appearance that I am talking to myself?)
I keep getting the message "Slave market has provided two slaves" but nothing happens, I see no slaves.
That's a side-effect (sorry for not adressing that issue). It comes up whenever some AI has also built a slave market, they will receive two slaves. I don't know how to make this change to "Player's name/AI's name has received..."
 
Some reasons you are getting very little feedback:

it's summer, the link to your mod doesn't work, and ..
most of the posted updates seem to be about a buggy WIP.

I hope you continue because these projects take tons of effort.

cheers
 
Back
Top Bottom