Exotic Foreign Advisor

Doh! In 0.91, I'm getting the following error during loading:

Failed to load python module CvEventInterface

I tried loading it twice, each time clearing my cache manually prior to loading the game.
 
Mysterio10000 said:
Doh! In 0.91, I'm getting the following error during loading:

Failed to load python module CvEventInterface

I tried loading it twice, each time clearing my cache manually prior to loading the game.

I'm getting the same error :(
It's a great pity, ìcause the screenshots are great! :)

The error log says:

#####

Traceback (most recent call last):
File "<string>", line 1, in ?
File "<string>", line 52, in load_module
File "CvEventInterface", line 13, in ?
File "<string>", line 52, in load_module
File "CvEventManager", line 12, in ?
File "<string>", line 52, in load_module
File "CvScreensInterface", line 90, in ?
File "CvExoticForeignAdvisor", line 42, in __init__
NameError
:
global name 'help' is not defined

ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function showIntroMovie failed. Can't find module CvScreensInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface

#####
 
Cammagno said:
I'm getting the same error :(
It's a great pity, ìcause the screenshots are great! :)

The error log says:

#####

Traceback (most recent call last):
File "<string>", line 1, in ?
File "<string>", line 52, in load_module
File "CvEventInterface", line 13, in ?
File "<string>", line 52, in load_module
File "CvEventManager", line 12, in ?
File "<string>", line 52, in load_module
File "CvScreensInterface", line 90, in ?
File "CvExoticForeignAdvisor", line 42, in __init__
NameError
:
global name 'help' is not defined

ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface
ERR: Call function showIntroMovie failed. Can't find module CvScreensInterface
ERR: Call function onEvent failed. Can't find module CvEventInterface

#####

Argggh, sorry guys. Forgot to take out my help functions :p....

I'll post a new one up in a jiffy.

Req
 
Requies said:
Ok, just uploaded the file (though I didn't test it, just removed the help lines).
It should work assuming I kept the correct files in there :scan: .
Req

It works fine, now, thanks!
Great job :goodjob:

Only "problem" is that color coding doesn't work for me (all the numbers are white) but this isn't a great problem, it's a very minor one.
 
Requies said:
Ok, just uploaded the file (though I didn't test it, just removed the help lines).

It should work assuming I kept the correct files in there :scan:

Error's gone, Requies.

Mod looks good. I've noticed, though, that the "FOREIGN ADVISOR" text at the top of each screen and the content of the Relations screen aren't centered. I'm running at 1280x1024. Is it possible to center these, regardless of one's resolution?

Also, since your mod highlights this game feature ( :) ), I'll ask this quick gameplay question: how does a leader's favorite civic affect gameplay?
 
Cammagno said:
It works fine, now, thanks!
Great job :goodjob:

Only "problem" is that color coding doesn't work for me (all the numbers are white) but this isn't a great problem, it's a very minor one.

:confused: Hmmm, that's very odd. Could you post a screenshot or a savefile with that?

Thanks,
Req
 
Cammagno said:
Only "problem" is that color coding doesn't work for me (all the numbers are white) but this isn't a great problem, it's a very minor one.

For informational purposes, the color coding works fine on my system in 0.91.
 
Mysterio10000 said:
Error's gone, Requies.

Mod looks good. I've noticed, though, that the "FOREIGN ADVISOR" text at the top of each screen and the content of the Relations screen aren't centered. I'm running at 1280x1024. Is it possible to center these, regardless of one's resolution?

Hmmmm, it's possible. The Foreign Advisor stuff should be pretty doable, I'm less sure of the Relations screen as I'm currently just using the default stuff for that screen....

Mysterio10000 said:
Also, since your mod highlights this game feature ( :) ), I'll ask this quick gameplay question: how does a leader's favorite civic affect gameplay?

If you take the leader's favorite civic, you get a bonus in your relations with him. This can be fairly substantial (I've seen it go at least to +5).

Req
 
Requies said:
If you take the leader's favorite civic, you get a bonus in your relations with him. This can be fairly substantial (I've seen it go at least to +5).

Doh! That gameplay concept never crossed my mind. I was thinking maybe I got an upkeep discount for using my fav civic, or didn't suffer any anarchy penalties. Looks like it's a useless feature, then, in games without AI opponents.
 
Mysterio10000 said:
Doh! That gameplay concept never crossed my mind. I was thinking maybe I got an upkeep discount for using my fav civic, or didn't suffer any anarchy penalties. Looks like it's a useless feature, then, in games without AI opponents.

Ah, well, yes. That is true. :lol:

Req
 
Requies said:
:confused: Hmmm, that's very odd. Could you post a screenshot or a savefile with that?

Thanks,
Req

Of course.
Here there are both of them.
I use the Italian version (I don't know if this is important).

Question: may I ask you which of your files is "responsable" for color coding?

Edit: Removed Files
 
Cammagno said:
Of course.
Here there are both of them.
I use the Italian version (I don't know if this is important).

Edit: I can't upload the savegame of the first screenshot (it's too big even if zipped) so I have to upload a different one (and its screenshot too).

Question: may I ask you which of your files is "responsable" for color coding?

It's in CvExoticForeignAdvisor.py. The function is getAttitudeText.

I'll see what I can figure out. Thanks for the savefile!

Req
 
Cammagno said:
Of course.
Here there are both of them.
I use the Italian version (I don't know if this is important).

Edit: I can't upload the savegame of the first screenshot (it's too big even if zipped) so I have to upload a different one (and its screenshot too).

Question: may I ask you which of your files is "responsable" for color coding?

Ah.... I just realized what the problem is.... I'm actually searching for the English word for it, which is why there's a problem.....

Duh. :rolleyes: I sometimes miss the obvious.

I'll see if I can make a quick fix.

Sorry about that, Cammagno.

Req
 
Cammagno said:
Nothing at all, it's a very little bug, and your mod is very good, so... no problem! :)

Ok, just uploaded v 0.92. It has the centering for the Foreign Advisor title and the coloring SHOULD work for different languages :crazyeye:.

BTW, is the Italian translation for Glance decent? I just used an online dictionary :p.

Req
 
Cammagno said:
I use the Italian version (I don't know if this is important).

If you are interested (for future releases), here there is the
CIV4EnhancedTextInfos.xml file with the translated Italian strings.
Those in the CIV4AdvisorInfo.xml file are correct (there is only a mistype, the italian for Redraw is "Ridisegna" and not "RidisegnI" ).
 
Requies said:
Ok, just uploaded v 0.92. It has the centering for the Foreign Advisor title and the coloring SHOULD work for different languages :crazyeye:.

Thank you very much. I'll try it just after lunch. :)

Requies said:
BTW, is the Italian translation for Glance decent? I just used an online dictionary :p.Req

Oh, funny, I've just sent a message about Italian translation :lol:

The translation for "Glance" is a bit strange in this context, but I like it (it's a "flavorful" one), and I haven't been able to find a better one, so... I'll think about it, but for now I believe that it's good enough.

Thanks again for your work
 
Back
Top Bottom