HOF Mod Support/Suggestions

Status
Not open for further replies.
OK. I still get the hang in MapFinder, but with python exceptions turned on I see this:
Python exception
Traceback
File CvScreensInterface line 640 in forceScreenUpdate
File CvMainInterface line 798 in UpdateScreen
File HOFUtil lin 242 in MapFinderCheckMap
NameError: global name 'IMaxX' is not defined.

I hope this helps.
 
Markus5 said:
OK. I still get the hang in MapFinder, but with python exceptions turned on I see this:
Python exception
Traceback
File CvScreensInterface line 640 in forceScreenUpdate
File CvMainInterface line 798 in UpdateScreen
File HOFUtil lin 242 in MapFinderCheckMap
NameError: global name 'IMaxX' is not defined.

I hope this helps.
Yes, it does. It will be fixed with the next version of the mod. Thanks. :goodjob:
 
Can I patch the code? I'm not a python guy, but I am a competant programmer and can try a few things. Since this happens about once every 5 minutes (it seems) to me, I can test your fixes.
 
Markus5 said:
Can I patch the code? I'm not a python guy, but I am a competant programmer and can try a few things. Since this happens about once every 5 minutes (it seems) to me, I can test your fixes.
It is just a typo. "IMaxX" and IMaxY" should have had lower case "i"'s. While you could easily fix it, that would change CRCs so that they would no longer match and the games wouldn't be acceptable for HOF. We will have a new version soon.

I suspect it hits the typos more often on certain map sizes/types. I have run hundreds of maps without hitting the typo. I would suggest trying different settings until the new release. I have done a lot of small and standard size continents and pangaea maps without seeing it. Some Great Plains as well.
 
I'll backup HOFUtil.py and tweek the code. I'm not playing the MOD in order to submit to the HOF. If it runs and doesn't go belly up, I'm happy.

Hey thanks for the support.
 
I patched up HOFUtil.py and everything works great.
 
DaveMcW said:
Is there a mod that will keep track of how much gold/beakers/hammers I have spent during the game? And if not, can this be added to the HOF mod? :)
Doesn't gold=beakers? I guess one of those is supposed to be food?

I believe food/hammers per turn are in the histogram already as Crop Yield/Mfg Goods, so it would be easy enough to aggregate those if you want the total at the end of each turn.

Gold is nearly there. The GPT is yield - cost. I *think* that yield is the amount from cities, so not including trade in, and cost also includes everything except trade out. I guess it might be useful to have the yield stored separately, and maybe also the trade in/out gpt. I haven't seen a mod that does this, but I don't think it would be all that hard to do.
 
My real goal is to determine a conversion formula. If I need 100,000 hammers and 300,000 beakers and 100,000 gold to win the game, I know that my average tile must produce 1:hammers: 3:science: 1:gold: or some multiple of that.
 
DaveMcW said:
My real goal is to determine a conversion formula. If I need 100,000 hammers and 300,000 beakers and 100,000 gold to win the game, I know that my average tile must produce 1:hammers: 3:science: 1:gold: or some multiple of that.

I'm skeptical of this line of thinking, because if you take the total over the course of the game, almost all of it will come at the end, when your output is typically much greater. So it may not be at all representative of what you generate or need in the first 50% (or even 80%) of the game.
 
Denniz said:
No really sure what's causing that. There was a workaround added for a Civ4 bug where the CRCs weren't being created. Maybe something to do with that. I would check the game on the start file page (login required). If it passes don't worry about the message. We'll take a look at it for the next release.

This CRC thing now hit again - and the start file page rejects that start file:

 
ori said:
This CRC thing now hit again - and the start file page rejects that start file:
Could you download and run >> this utility <<? You'll most likely have to point it at the correct dir for the HOF mod. Click the check button. When that completes click on Save Results and send the .csv file to me at hof@civfanatics.net and I'll take a look. Maybe send me an example .civ4savedgame file as well, just a Duel one will do to keep the file size small.
 
when i try to load the new mod, i get the popup that civ has to be restarted (as usual) but it do not restart. i get back to desktop with no error message.

004 worked fine and i checked that 005 is installed in the right directory.

Any suggestions how to get this working or how to generate an error message?
 
bostich said:
when i try to load the new mod, i get the popup that civ has to be restarted (as usual) but it do not restart. i get back to desktop with no error message.

004 worked fine and i checked that 005 is installed in the right directory.

Any suggestions how to get this working or how to generate an error message?
Change the following in your CivilizationIV.ini file:

Code:
; Set to 1 for no python exception popups
HidePythonExceptions = 0

; Enable the logging system
LoggingEnabled = 1

; Overwrite old network and message logs
OverwriteLogs = 1

; Enable message logging
MessageLog = 1
 
terrasol said:
Hi all,

I like to play this mod, cause it have most things i need for playing.

Unfortunally i have a problem with the autolog. In german we have letters like this: ß, ö, ü , ä

Any text with letters above produce an error while logging.

Now my Question: Is it possible to try fixing this error in one of the next Updates?

Greetings from Berlin
terrasol

Denniz said:
We will see what we can do. :)

Thanks, now with 005 there are no more problems for me. :)
 
Denniz said:
Change the following in your CivilizationIV.ini file:

Code:
; Set to 1 for no python exception popups
HidePythonExceptions = 0

; Enable the logging system
LoggingEnabled = 1

; Overwrite old network and message logs
OverwriteLogs = 1

; Enable message logging
MessageLog = 1

The following text is in the logfile:

[Jul 30, 2006 - 12:38:35] Messages while processing 'Resource/Themes/Civ4.thm'

Error : Decl - ('Civ4Theme_Common.thm', Ln:401, Col:13) Assignment source propertyId 'SF_CtrlTheme_Civ4_Control_Font_Size3_Italic' not found
Error : Decl - ('Civ4Theme_Common.thm', Ln:402, Col:13) Assignment source propertyId 'SF_CtrlTheme_Civ4_Control_Font_Size3_BoldItalic' not found
Error : Decl - ('Civ4Theme_Common.thm', Ln:408, Col:13) Assignment source propertyId 'SF_CtrlTheme_Civ4_Control_Font_Size1_Bold' not found
Error : Decl - ('Civ4Theme_Window.thm', Ln:3048, Col:9) Assignment source propertyId 'SF_CtrlTheme_Civ4_Control_Font_Size1_Bold' not found
 
bostich said:
The following text is in the logfile:

[Jul 30, 2006 - 12:38:35] Messages while processing 'Resource/Themes/Civ4.thm'

Error : Decl - ('Civ4Theme_Common.thm', Ln:401, Col:13) Assignment source propertyId 'SF_CtrlTheme_Civ4_Control_Font_Size3_Italic' not found
Error : Decl - ('Civ4Theme_Common.thm', Ln:402, Col:13) Assignment source propertyId 'SF_CtrlTheme_Civ4_Control_Font_Size3_BoldItalic' not found
Error : Decl - ('Civ4Theme_Common.thm', Ln:408, Col:13) Assignment source propertyId 'SF_CtrlTheme_Civ4_Control_Font_Size1_Bold' not found
Error : Decl - ('Civ4Theme_Window.thm', Ln:3048, Col:9) Assignment source propertyId 'SF_CtrlTheme_Civ4_Control_Font_Size1_Bold' not found
I don't think that would be your problem unless you changed something else on your system. Which of the log files was that from?

The logging writes to "My Programs\My Games\Sid Meier's Civilization 4\Logs". Could you zip up what you see there and send it to hof@civfanatics.net?
 
i have send the logfiles.
the quoted text is from the file ThemeParseLog.txt in the main folder of civ.
 
Status
Not open for further replies.
Back
Top Bottom