Really Advanced Setup

Thanks for the feedback MiNiMaL_FuSS.

I just released version 9. It fixes a bug where the map panel was blank for people using the vanilla version of Civ.
 
That's a good idea - I like it. I would have to look into the details to make sure but it might be possible to do that.

Back when I started this mod I added a few options that required changes in-game. These in-game changes can sometimes conflict with other mods so I'm trying to do my best not to add any new ones. If I can add this option without adding any more conflicts then I'll try to add it.
 
That's a good idea - I like it. I would have to look into the details to make sure but it might be possible to do that.

Back when I started this mod I added a few options that required changes in-game. These in-game changes can sometimes conflict with other mods so I'm trying to do my best not to add any new ones. If I can add this option without adding any more conflicts then I'll try to add it.

thanks not sure if it can be done with LUA - but one way where they might not raze is if they have a city-state only building that gives like 200 happiness or something. With that advanced startup maybe city-sttes only get that building if that option is chosen.
 
Hey General,

Played a game recently with your mod, the new India pack, expanded civlopedia and historical religions. I had happiness disabled, starting in the rennaisance era and disabled research. However Boudicca somehow built the Globe Theatre and Pocatello the Forbidden Palace although they shouldn't have been able to research the appropriate techs.
Thinking now, could they have built the oxford university to do so? Anyway, I'm pretty sure they weren't able to research any further. I thought as they had the tech I might be able to steal it with my spy, but this was not possible and I couldn't progress without reloading a previous save. Sharing this in case you think these are issues, it didn't impact my game too much.

And a suggestion if I may, would it be possible to customise the number of religions that are able to be founded? currently it's map size but I think it could be fun to play a large map with only a few civs or on a small map where everyone has their own religion. Great mod btw :)
 
Thanks for the feedback Beedie

Customizing religions is something that won't happen in the near future. But if I ever get support for whoward69's dll incorporated into my mod then it could probably be done.

The research disabled option is actually a "built in" game feature that is normally not available. I just made it available. All of the actual work is done within the game engine so I can't change anything. Please let me know if you have any more problems with it. If more serious problems show up I may have to consider disabling it.
 
Thinking now, could they have built the oxford university to do so?

It's a bug - if the AI gets a building/policy/unit that grants a free tech it can pick one when the No Research option is active. Never occurs in a Firaxis scenario as there are no buildings/policies/units in those that grant free techs, so they never found it and/or bothered to fix it.
 
Cool. Thanks for the update. It looks like the no research option is worth keeping.
 
When you think about it. Receiving a free tech is not the same as researching a new tech.
 
When you think about it. Receiving a free tech is not the same as researching a new tech.

Except if the player builds the Great Library or Oxford Uni, or completes the policy that grants a tech, they CAN'T choose a free tech - hence it's a bug.
 
OK. I see now. Thanks for the extra info.
 
map options bug..
and sometimes whenever i play w/o this mod.. science/religion/etc are still off..

help plz
 

Attachments

  • Untitled.png
    Untitled.png
    354.6 KB · Views: 186
I tried everything you mentioned in the previous posts including deleting the cache folder, heck i reinstalled the game and deleted all files related to the game before installing and i only use one mod but still the Map tab is blank. i don't use any other mod because this mod has it all so please help.
 
Anybody encountering an error where part or all of a panel is blank - I would be greatly interested in knowing what Lua errors are generated (if any). Finding these errors is relatively easy but requires a few steps as listed below.

Here are the steps required.
1. Enable logging: Open Documents\My Games\Sid Meier's Civilization 5\config.ini with a text editor. Change "LoggingEnabled = 0 to "LoggingEnabled = 1"

2. Start the game and mod as normal and go to the panel that is causing the problem. To be on the safe side go to another panel then return to the problem panel. That way the problem panel was opened twice.

3. Either open the log file with a text editor and inspect it or else just post it here. The log file is located at "Documents\My Games\Sid Meier's Civilization 5\Logs\Lua.log".


If you are checking out the file yourself then look for lines that start with something like "Runtime Error:" The game usually outputs several lines for a single error and it's possible for more than one group of lines to be located in a single log file. Here is an example:

[5853.999] Runtime Error: C:\Users\Documents\My Games\Sid Meier's Civilization 5\MODS\Really Advanced Setup (v 7)\UI Overrides\AdvancedSetup.lua:37: attempt to index global 'yik' (a nil value)
stack traceback:
C:\Users\Documents\My Games\Sid Meier's Civilization 5\MODS\Really Advanced Setup (v 7)\UI Overrides\AdvancedSetup.lua:37: in function 'OnPlayers'
C:\Users\Documents\My Games\Sid Meier's Civilization 5\MODS\Really Advanced Setup (v 7)\UI Overrides\AdvancedSetup.lua:223: in main chunk
=[C]: ?
[5853.999] Runtime Error: Error loading C:\Users\Documents\My Games\Sid Meier's Civilization 5\MODS\Really Advanced Setup (v 7)\UI Overrides\AdvancedSetup.lua.

.
 
ok i did as you mentioned General Tso and this is what came up

[183875.796] Initializing Lua 5.1.4
[183932.031] InstalledPanel: Refreshing Mods
[183932.031] InstalledPanel: GetModBrowserListings()
[183932.062] InstalledPanel: Refreshing Mods
[183932.062] InstalledPanel: GetModBrowserListings()
[183932.062] InstalledPanel: Refreshing Mods
[183932.062] InstalledPanel: GetModBrowserListings()
[184007.171] AdvancedSetup: (Really Advanced Setup) Version: 9 -------------------------------------------------------------------------------
[184008.687] Runtime Error: C:\Users\ali\Documents\My Games\Sid Meier's Civilization 5\MODS\Really Advanced Setup (v 9)\Lua\GTAS_Utilities.lua:280: attempt to call field 'Map_Sizes' (a nil value)
[184012.296] Runtime Error: C:\Users\ali\Documents\My Games\Sid Meier's Civilization 5\MODS\Really Advanced Setup (v 9)\Lua\GTAS_Utilities.lua:280: attempt to call field 'Map_Sizes' (a nil value)
[184047.593] Runtime Error: C:\Users\ali\Documents\My Games\Sid Meier's Civilization 5\MODS\Really Advanced Setup (v 9)\Lua\GTAS_Utilities.lua:280: attempt to call field 'Map_Sizes' (a nil value)
[184048.515] Runtime Error: C:\Users\ali\Documents\My Games\Sid Meier's Civilization 5\MODS\Really Advanced Setup (v 9)\Lua\GTAS_Utilities.lua:280: attempt to call field 'Map_Sizes' (a nil value)
[184049.609] Runtime Error: C:\Users\ali\Documents\My Games\Sid Meier's Civilization 5\MODS\Really Advanced Setup (v 9)\Lua\GTAS_Utilities.lua:280: attempt to call field 'Map_Sizes' (a nil value)
[184050.750] Runtime Error: C:\Users\ali\Documents\My Games\Sid Meier's Civilization 5\MODS\Really Advanced Setup (v 9)\Lua\GTAS_Utilities.lua:280: attempt to call field 'Map_Sizes' (a nil value)
 
The error messages are basically saying "Map_Sizes" doesn't exist. Map_Sizes is a standard part of the game that is just called by my mod. If you try using the standard Advanced Setup Screen without my mod you should end up with similar symptoms (you may need to make sure that the random maps option isn't selected for the problem to show up). Since no other mods are active and you cleared the cache the problem is probably caused by one or more corrupted or missing XML files. Since you just reinstalled the game I'm not sure what's happening but you might want to verify your Steam game files for Civ 5.

If you want to verify your files try this:
Right click on the Civ 5 in your Steam Library and select properties.
Click on the Local Files tab.
Click on Verify The Integrity Of The Game Cache.

This will verify the files in the Steam Game Cache not the Civ 5 cache which you tried before.

It's been awhile since I used this option so I forget exactly what it does but it may set various option back to there values when you bought the game (in the process of repairing files).
 
[124136.672] Initializing Lua 5.1.4
[124595.003] InstalledPanel: Refreshing Mods
[124595.003] InstalledPanel: GetModBrowserListings()
[124595.518] InstalledPanel: Refreshing Mods
[124595.518] InstalledPanel: GetModBrowserListings()
[124595.861] InstalledPanel: Refreshing Mods
[124595.861] InstalledPanel: GetModBrowserListings()
[124599.386] InstalledPanel: Refreshing Mods
[124599.386] InstalledPanel: GetModBrowserListings()
[124689.461] AdvancedSetup: (Really Advanced Setup) Version: 9 -------------------------------------------------------------------------------
[124690.600] Runtime Error: C:\Users\Sonny\Documents\My Games\Sid Meier's Civilization 5\MODS\Really Advanced Setup (v 9)\Lua\GTAS_Utilities.lua:280: attempt to call field 'Map_Sizes' (a nil value)
[124709.461] Runtime Error: C:\Users\Sonny\Documents\My Games\Sid Meier's Civilization 5\MODS\Really Advanced Setup (v 9)\Lua\GTAS_Utilities.lua:280: attempt to call field 'Map_Sizes' (a nil value)
[124710.678] Runtime Error: C:\Users\Sonny\Documents\My Games\Sid Meier's Civilization 5\MODS\Really Advanced Setup (v 9)\Lua\GTAS_Utilities.lua:280: attempt to call field 'Map_Sizes' (a nil value)
[124713.454] Runtime Error: C:\Users\Sonny\Documents\My Games\Sid Meier's Civilization 5\MODS\Really Advanced Setup (v 9)\Lua\GTAS_Utilities.lua:280: attempt to call field 'Map_Sizes' (a nil value)


ill try the cache thing 1st
 
Sounds good.
 
[124136.672] Initializing Lua 5.1.4
[124595.003] InstalledPanel: Refreshing Mods
[124595.003] InstalledPanel: GetModBrowserListings()
[124595.518] InstalledPanel: Refreshing Mods
[124595.518] InstalledPanel: GetModBrowserListings()
[124595.861] InstalledPanel: Refreshing Mods
[124595.861] InstalledPanel: GetModBrowserListings()
[124599.386] InstalledPanel: Refreshing Mods
[124599.386] InstalledPanel: GetModBrowserListings()
[124689.461] AdvancedSetup: (Really Advanced Setup) Version: 9 -------------------------------------------------------------------------------
[124690.600] Runtime Error: C:\Users\Sonny\Documents\My Games\Sid Meier's Civilization 5\MODS\Really Advanced Setup (v 9)\Lua\GTAS_Utilities.lua:280: attempt to call field 'Map_Sizes' (a nil value)
[124709.461] Runtime Error: C:\Users\Sonny\Documents\My Games\Sid Meier's Civilization 5\MODS\Really Advanced Setup (v 9)\Lua\GTAS_Utilities.lua:280: attempt to call field 'Map_Sizes' (a nil value)
[124710.678] Runtime Error: C:\Users\Sonny\Documents\My Games\Sid Meier's Civilization 5\MODS\Really Advanced Setup (v 9)\Lua\GTAS_Utilities.lua:280: attempt to call field 'Map_Sizes' (a nil value)
[124713.454] Runtime Error: C:\Users\Sonny\Documents\My Games\Sid Meier's Civilization 5\MODS\Really Advanced Setup (v 9)\Lua\GTAS_Utilities.lua:280: attempt to call field 'Map_Sizes' (a nil value)


ill try the cache thing 1st

I took a look at the Game files and located probably what your mod calls from the line 280: attempt to call field 'Map_Sizes' (a nil value). Couldn't find Map_Sizes ... but I found in Civilization V\Assets\Gameplay\XML\GameInfo\CIV5Worlds.xml

I took a shot and changed in your mod the line 280 from "280: for row in GameInfo.Map_Sizes() do" ... to "280: for row in GameInfo.Worlds() do"

turned on Logging and created a game ... It works! (for me) ... but Log Lua now throws 2 error which has no effect because it truly creates mine desired map size to quote Log Lua:
"[1714234.125] GTAS_CivSetup: (#1) mapScript = Assets\Maps\Continents.lua worldSize = 5"

I'll post the 2 new errors it throws here too and I think you can take care of the problem:

"[1714133.000] GTAS_MapSetup: C:\Users\Wellkey\Documents\My Games\Sid Meier's Civilization 5\MODS\Really Advanced Setup (v 9)\Lua\GTAS_Utilities.lua:282: Cannot find key - FileName"

"[1714133.000] Runtime Error: C:\Users\Wellkey\Documents\My Games\Sid Meier's Civilization 5\MODS\Really Advanced Setup (v 9)\UI\GTAS_MapSetup.lua:299: attempt to call field 'Map_Sizes' (a nil value)"

Good Luck and thanks for this awesome MOD
 
Back
Top Bottom