HOF Mod Support/Suggestions

Status
Not open for further replies.
ruff_hi said:
I was playing a cultural victory the other day and I kept getting the 'will expand culturally' alert each turn after one of my cities hit legendary. I looked at the python code and it seems that the 'city.getCultureThreshold()' function returns 'legendary' even though you have breached that.

I'm assuming there is a getxml function that will return the legendary level from 'CIV4CultureLevelInfo.xml'. If so, then we could include a check if current city culture is greater than legendary and suppress the message if true.
I thought did something like that already. Which version are you looking at?
sanabas said:
Another one for the alerts. I had a city at 95/96 food in the box, but stagnant, to prevent it from growing into unhappiness. I was getting the 'st petersburg will become unhappy next turn' every single turn.
I thought I fixed that as well. which version?

I am wondering if an old version of the of one of the modules got into Warlords HOF Mod.
 
jesusin said:
Hi, a MapFinder question:

What should I write in the rules file in order to get a start in which my settler is on a PlainsHill?

Seems easy, but I have been unable to figure it out. Thank you in advance!
Select from combo types:
settler.png
 
Denniz - I'm fairly sure that I am looking at HOF 1.61.008 but the actual code is on my home pc.

Edit: I looked at the v.61.008 code and in includes this ...

PHP:
if (city.getCultureLevel() != gc.getNumCultureLevelInfos() - 1):
     if ((city.getCulture(loopPlayer) + city.getCommerceRate(CommerceTypes.COMMERCE_CULTURE)) > city.getCultureThreshold()):
          message = localText.getText("TXT_KEY_MORECIV4LERTS_CITY_TO_EXPAND",(city.getName(),))

I think that the get '.getculturelevel !=' part will take care of the warnings past legendary. I'll go back and check why my game keep reporting it.
 
One small suggestion/request. The alert to tell you you're nearing the domination limit gives both percentage, and actual tile count. But I can't find a tile count, either for my own territory, or for the domination limit, anywhere else. I can guesstimate by founding a city, and seeing the percentage change my new tiles cause, but if I'm planning on founding multiple cities to go from decent economy, 30% territory to FUBARred economy, 52% territory and a domination win, it would be nice to know exactly how many tiles were required. Without opening the game, I can't remember the highest domination alert, but putting an option in for 100% would let you check the limit, and your own tile count, anytime by simply checking the 'you are within 100% of the domination limit' option.
 
sanabas said:
One small suggestion/request. The alert to tell you you're nearing the domination limit gives both percentage, and actual tile count. But I can't find a tile count, either for my own territory, or for the domination limit, anywhere else. I can guesstimate by founding a city, and seeing the percentage change my new tiles cause, but if I'm planning on founding multiple cities to go from decent economy, 30% territory to FUBARred economy, 52% territory and a domination win, it would be nice to know exactly how many tiles were required. Without opening the game, I can't remember the highest domination alert, but putting an option in for 100% would let you check the limit, and your own tile count, anytime by simply checking the 'you are within 100% of the domination limit' option.
The options pages are a convenience. You can set the limit to anything you like if you open the ini file in notepad. ;)
 
sanabas said:
One small suggestion/request. The alert to tell you you're nearing the domination limit gives both percentage, and actual tile count. But I can't find a tile count, either for my own territory, or for the domination limit, anywhere else.
The demographic page gives your territory (or land size) in '000s of tiles. So, if it says 50,000 units, then you control 50 tiles. From that, and your current territory percentage, you can back into the number of land tiles on the map.
 
sanabas said:
Another one for the alerts. I had a city at 95/96 food in the box, but stagnant, to prevent it from growing into unhappiness. I was getting the 'st petersburg will become unhappy next turn' every single turn.
I found the cause of your bug. The bug I fixed was for turning off growth one turn from growing not for going stagnant. In the short term, use the governor option for no growth to get rid of the message. I am testing a fix for the next version.
 
Denniz said:
Select from combo types:
settler.png

Thank you, it was easy indeed.
However...
When I use the attached default.rul (intended to have a settler on a plains hill and a nearby farmable resource) then it never saves any game.
If I change the number of settlers on plainshill to be 1..999, then it saves every game where there is a farmable resource nearby and a plainshill nearby.

Am I doing something wrong?


Default.rul:
0,3,0,0,0
1,907,750,0,999
1,902,202,1,999
1,906,602,0,999
1,905,505,0,999
2,902,203,0,999
2,902,202,1,999
2,906,602,0,999
2,905,505,0,999
2,907,751,0,999
3,904,405,0,999
3,902,202,1,999
3,906,602,0,999
3,905,505,0,999
3,907,752,0,999
4,907,753,0,999
4,902,202,1,999
4,906,602,0,999
4,905,505,0,999
 
Ah, I would like to report a problem too.
When you open the aplication in which you see the saved maps, you have the option to delete them. When you have only 1 map left and you delete it, the application crashes to desktop.
 
jesusin said:
When I use the attached default.rul (intended to have a settler on a plains hill and a nearby farmable resource) then it never saves any game.
If I change the number of settlers on plainshill to be 1..999, then it saves every game where there is a farmable resource nearby and a plainshill nearby.

Am I doing something wrong?
I have looked at the code and nothing jumps out at me. Please make sure you have the lastest *.dat files and your HOF ini file is pointing to that directory for Map Finder.

jesusin said:
Ah, I would like to report a problem too.
When you open the aplication in which you see the saved maps, you have the option to delete them. When you have only 1 map left and you delete it, the application crashes to desktop.
Are you using the Override.txt option?
 
Denniz said:
I found the cause of your bug. The bug I fixed was for turning off growth one turn from growing not for going stagnant. In the short term, use the governor option for no growth to get rid of the message. I am testing a fix for the next version.

You can turn off growth in a city? So despite a full food box and a food surplus, your city will stay at the size you want? Nice.
 
Denniz said:
I have looked at the code and nothing jumps out at me. Please make sure you have the lastest *.dat files and your HOF ini file is pointing to that directory for Map Finder.

Are you using the Override.txt option?

The directories are correct, the behaviour changed when I changed from 0 settlers minimum to 1 settler minimum.

I am using the file Override.txt

Latest .dat? I am not sure. I downloaded the last versión some 3 weeks ago and I haven't seen any "new version announcement" since then.
 
jesusin said:
The directories are correct, the behaviour changed when I changed from 0 settlers minimum to 1 settler minimum.

I am using the file Override.txt

Latest .dat? I am not sure. I downloaded the last versión some 3 weeks ago and I haven't seen any "new version announcement" since then.
If you are using the override.txt option you would have to have the lastest files. You might try reinstalling the VB app just to be sure, though.

The Settler on plain behavior makes no sense. I will have to do some testing to figure it out.

The delete crash is probably a bug related to the overridden screen. It doesn't do it for the normal screen. I will have a look at it.
 
I keep getting a runtime error with 2.08.001 I didn't have this problem with 2.00.001 or 2.00.002. Anyone know why this might be? I'm not very computer literate like most of you. Thanks to anyone who can help!

Bryan
 
dmbryanb said:
I keep getting a runtime error with 2.08.001 I didn't have this problem with 2.00.001 or 2.00.002. Anyone know why this might be? I'm not very computer literate like most of you. Thanks to anyone who can help!

Bryan
Some questions:
Did you install Warlords 2.08 patch? It is required for 2.08.001 and vice versa.

When are you gettting the error? i.e. Does Warlords load okay without the mod? Can you load the mod from the advanced menu? Or is it a certain game that causes the error?
 
Problem was no 2.08 patch, I now better understsand how they are numbered. Well off to take my best chance at wotm 3. Thanks for you help Denniz,

Bryan
 
You can turn off growth in a city? So despite a full food box and a food surplus, your city will stay at the size you want? Nice.
Yep bottom right icon in the governor box but use with caution.

May I request adding an alert to the next mod update to warn you when the govenor option is set to no growth in any of your cities :lol:

[Actually I set myself a 5-10 turn reminder if I ever use this option which works just fine].
 
So I'll give you a reason to hurry the next Release :D:

MapFinder won't work for me in 2.08.001 - I startet it once now and on the first regeneration the attached PythonException popped up (yes I now keep Logging enabled :rolleyes:)


This bug is still there in .002 though the HOFUtil line now reads 246 instead of 245 :sad: - This time I remembered to change the MapFinder Path first thing I did with the new Mod, but forgot to exit to desktop before starting Mapfinder... It still calls the correct path in the Log but seems to look somewhere else in reality :smoke:

Edit: Just to avoid any misunderstanding - all works fine after the first restart after changing the MapFinder Path
 
Status
Not open for further replies.
Back
Top Bottom