HOF Mod Support/Suggestions

Status
Not open for further replies.
Could someone tell me the purpose of the following change to the EventManager?

Code:
## HOF MOD V1.61.001
##		if (gc.getGame().getGameTurnYear() == gc.getDefineINT("START_YEAR")):
		for iPlayer in range(gc.getMAX_PLAYERS()):
			player = gc.getPlayer(iPlayer)
			if (player.isAlive() and player.isHuman()):
				popupInfo = CyPopupInfo()
				popupInfo.setButtonPopupType(ButtonPopupTypes.BUTTONPOPUP_PYTHON_SCREEN)
				popupInfo.setText(u"showDawnOfMan")
				popupInfo.addPopup(iPlayer)
## above section unindented once
## end HOF MOD V1.61.001

I am interested for several reasons:

1 - trying to figure out Python and modding practice

2 - the commented out line didn't seem to do anything, as the event is OnGameStart so isn't the year the start year to begin with? But it seemed to do something as you found it necessary to remove it.

3 - It kinda violates Dr. Jiggle's event management as it goes into the EventManager code directly. Would it be better to just create a new function without that line and override the event. That way no change to CvEventManager would be necessary.
 
pholtz said:
Could someone tell me the purpose of the following change to the EventManager?
It causes the dawn of man popup to appear for all games, not just Ancient era ones. The dawn of man popup is the one that warns about HOF settings problems, so we wanted that to appear for all games.
 
Installed the 1.61.003 mod but when I started my second game I noticed a HoF warning. Went back and reloaded the original save from my first game and the warning is there as well. :( Don't know what I'm doing wrong. For the first game I had the mod in C:\Documents and Settings\stacks\My Documents\My Games\Sid Meier's Civilization 4\MODS\HOF-1.61.003. That's the place it is in the screenshot of the mod download page. The victory screen warning says the mod must be installed in C:\Program Files\Firaxis Games\Sid Meier's Civilization 4\Mods\HOF-1.61.003 so I redownloaded it and reinstalled it there. (Still have it in the original place as well.) But I'm still getting the warning. Anyone know what I'm doing wrong?

(Yes, I'm going to advanced, picking the mod and restarting the game). Then I go to single player, custom game. Trying to start a small pangea map game on settler difficulty and normal speed with 4 rivals. I'm picking Ghandi and leaving the opponents random.
 
donsig said:
For the first game I had the mod in C:\Documents and Settings\stacks\My Documents\My Games\Sid Meier's Civilization 4\MODS\HOF-1.61.003. That's the place it is in the screenshot of the mod download page. The victory screen warning says the mod must be installed in C:\Program Files\Firaxis Games\Sid Meier's Civilization 4\Mods\HOF-1.61.003 so I redownloaded it and reinstalled it there. (Still have it in the original place as well.) But I'm still getting the warning. Anyone know what I'm doing wrong?

(Yes, I'm going to advanced, picking the mod and restarting the game). Then I go to single player, custom game. Trying to start a small pangea map game on settler difficulty and normal speed with 4 rivals. I'm picking Ghandi and leaving the opponents random.
"C:\Program Files\Firaxis Games\Sid Meier's Civilization 4\Mods\HOF-1.61.003" is the correct place. (I think you are seeing a cached image from the previous version. See attached.) You should delete the one in My Documents. It is probably giving you the warning because it is either seeing or using that one.
 

Attachments

  • location.png
    location.png
    12.5 KB · Views: 124
Denniz said:
"C:\Program Files\Firaxis Games\Sid Meier's Civilization 4\Mods\HOF-1.61.003" is the correct place. (I think you are seeing a cached image from the previous version. See attached.) You should delete the one in My Documents. It is probably giving you the warning because it is either seeing or using that one.

That seems to work. Thanks very much!
 
I never played with mods, so I thought I'd start with the HOF... I downloaded the HOF-1.61.003 file in the Hall of fame Section, put the exe file in the Program Files/Firaxis/Sid Meier,s Civilization IV/Mods folder, unzipped the file.

Then, I start the game, select Advanced/Load a Mod and select the HOF mod.

As of this point, no problem...

The problem is with the restart. It crashes at the point where it loads the XML. I use Windows XP and never loaded a Mod or modified the ini.

Can someone help? Thanks!
 
Wanderer13 said:
I never played with mods, so I thought I'd start with the HOF... I downloaded the HOF-1.61.003 file in the Hall of fame Section, put the exe file in the Program Files/Firaxis/Sid Meier,s Civilization IV/Mods folder, unzipped the file.

Then, I start the game, select Advanced/Load a Mod and select the HOF mod.

As of this point, no problem...

The problem is with the restart. It crashes at the point where it loads the XML. I use Windows XP and never loaded a Mod or modified the ini.

Can someone help? Thanks!
Could you go into your CivilizationIV.ini file and turn on logging?


Code:
; Enable the logging system
LoggingEnabled = 1

; Enable synchronization logging
SynchLog = 1

; Overwrite old network and message logs
OverwriteLogs = 1

Start up the mod and let it crash again. Then go to the Logs folder and zip up what you find and send it to hof@civfanatics.net.

Also, download this utility. Extract it from the zip file and run it. Click on "Check". When that completes click on "Save Results" and save the .csv file somewhere, then send that .csv file, too.
 
Mutineer said:
If I would use your definition I can write an emulator of the city and by request of user suggest optimum build/research/ worker action order corresponded to user define criteria, or offer him a different wariants.
I would use only information that avalible in game, just reducing amount of time, logic and intuition user need to spend in order to make a decision (Execly what you are doing). By your definition it should be a valid mod.

Sure, that sounds like a good idea. It's the equivalent of the blue circles that indicate favorable tiles for workers to improve or settlers to settle on. If you can come up with ways for the game to make additional suggestions, that are useful to some players, I would have no problem with incorporating them into a mod of this type. The only problem is making them so that people find them useful---I personally think that most "automated" suggestions are likely to be so inferior that they won't really be useful.

As for you not wanting to make it easier and quicker to collect the information already available in the game, well, you're outvoted by about 100 to 1, fortunately.
 
Is it possible to have the in game hall of fame display games played with the Hall Of Fame MOD and Games played without it? I noticed that after i installed the mod my hall of fame was blank. When i start civ without the MOD the hall of fame has all my old replays. i know the replays are stored in the same for folder for games played with and without the mod. Any idea why the don't display together? Thanks for any help you can provide.
 
Is it possible to make the mod so you can only chose legal maps and options? Like automatically enabling Lock Modified Assets.
 
dutchfire said:
Is it possible to make the mod so you can only chose legal maps and options? Like automatically enabling Lock Modified Assets.
I don't believe we should limit how people us the mod. There warnings on the Dawn of Man Screen at startup. And Setting tab of the Victory Conditions screen has warning as well.

Also, as of ver 1,61, all the custom game options are remembered via the Civ4 ini file. If you set Lock Modified Assets it should stay set.
 

Attachments

  • 27_DawnOfMan.PNG
    27_DawnOfMan.PNG
    183.7 KB · Views: 132
  • 28_VictoryConditions_Settings.PNG
    28_VictoryConditions_Settings.PNG
    391.5 KB · Views: 111
I don't know if you consider this common knowledge, but I thought it might be worth mentioning, since it's not on the HoF page:

You can also start Civ4 with a command line argument specifying the mod you want to load, for the HoF-Mod this would be:

Civilization4.exe mod= HOF-1.61.003

Note that the blank after the = is necessary, it seems to miss the first character otherwise.
I have recently started using this, to easily be able to start a vanilla version for multiplayer or SGs, and just as easy the HoF for SP games. Simply leave the line in the .ini at 0, and create one shortcut to the Civ4.exe, and another with the command line parameter, then you can just click on whatever you want, without .ini editing each time or restarting the game.
 
I just wanted to say thank you for all your hard work on this mod - I really love the mod components and it definitely makes the game much more playable. Thanks, guys! (And gals!)
 
I am having trouble uploading my game submissions - they keep timing out and I get the white error page after 4-5 minutes. I know I've seen on some forum somewhere about this problem, but can't find that posting to see what you said to them...
Q: Is there an email address I can send submissions to while I figure out why my connection speed is so slow that they error out?
I've tried 10-15 times a day over 12-15 hours from early morning to late at night and can't get the games through. The last two games I've had to leave off 1 or 2 of the middle files of the four to even get anything through for a submission.

Cheers... ...JungleIII
 
Previously when players have had trouble it was with Civ3 due to trying to upload uncompressed autosaves. In Civ4 all saves are compressed though, so that won't be the problem here. Are these files big? What sort of size? Are you on a dialup connection?

If you're really can't get the submission form to work you can email them to hof@civfanatics.net, making it clear in the email who the submission is from. However we would much rather you use the normal submission system if possible as it saves work and bandwidth for us.
 
Dianthus said:
Previously when players have had trouble it was with Civ3 due to trying to upload uncompressed autosaves. In Civ4 all saves are compressed though, so that won't be the problem here. Are these files big? What sort of size? Are you on a dialup connection?

If you're really can't get the submission form to work you can email them to hof@civfanatics.net, making it clear in the email who the submission is from. However we would much rather you use the normal submission system if possible as it saves work and bandwidth for us.

Thanks Dianthus -

I'm guessing it's my satellite connection - which uses a dial-up modem for the uploading side of the connection, and it's been awful for weeks.:mad: Anyway, I'll email if I haven't got it to go through by the end of the day.:goodjob:

Cheers... ...JungleIII:king:
 
I have a lot of other mods that work, but this one wont seem to work. When I Load it, the loading screen (the one at first with "Loading..." in 5 different languages) appears, but before the other one comes up, it says: "There has been a problem and we need to close. If you have not saved your work, then it has been lost. Sorry for the inconvenience."

What's with that? Is it faulty?

Moderator Action: Moved to the the HOF mod support thread as that's more appropriate.
 
That's definitely not right. Which version of the HOF mod are you using? Are you absolutely sure you've installed it to the correct location (as per these install instructions)? I assume you've changed the "Mod = " line in the CivilizationIV.ini file. Do you also get the problem if you change that back to "Mod = 0" and load the mod via the "Advanced->Load a mod" screen?
 
I was trying to play some Gauntlet 2 games and all went well (other than getting smacked around on Diety....) and then I started having this show up everytime I started to play. I tried rebooting to no avail.

I am thinking perhaps the mod hates me for losing with the best start position ever! (see screenshot 2...about 2500 BC this city was visited by 4 chariots and a couple archers)
 

Attachments

  • error0000.JPG
    error0000.JPG
    78.2 KB · Views: 126
  • Please don't F up0000.JPG
    Please don't F up0000.JPG
    139.6 KB · Views: 129
aurum said:
I was trying to play some Gauntlet 2 games and all went well (other than getting smacked around on Diety....) and then I started having this show up everytime I started to play. I tried rebooting to no avail.

I am thinking perhaps the mod hates me for losing with the best start position ever! (see screenshot 2...about 2500 BC this city was visited by 4 chariots and a couple archers)
Make sure the HOF Mod is installed in the Civ4 install path's Mods folder (usually "C:\Program Files\Firaxis Games\Sid Meier's Civilization 4\Mods") rather than one in "My Documents\My Games\Sid Meier's Civilization 4".
 
Status
Not open for further replies.
Back
Top Bottom