Zantonius Hamm
Gay anime communist
Oh, right. Same thing.
Just a preview of things to come. Civ specific events:
Spoiler :
FYI, since this will rely on Whoward's DLL (or the Community Patch), I will be releasing this as an additional add-on as opposed to integrating it directly into E&D.
I already have.Hehe, I can see Gauls leader icon there.
Btw, Sukritact do you plan connect some of decisions with your MCIS mod? For example Venetian arsenale decision.
I already have.
The latest update reworked San Marco's Basilica (Rescue the Relics of St. Mark); which now provides 10% of the culture of cities which have a trade route with it. It uses MCIS.
You should be able to paste it on pastebin. Then post a link here.Saw this on the Reddit thread and decided to give it a try. Really like it, but I can't seem to make it past the second event without the game crashing. I'll put the lua.log below, taken immediately after the crash. Also, if it makes a difference, I'm playing on a Mac through Steam (as Austria), the only other mod being used is EUI. Not sure what you're looking for, but here's the entire log:
Edit: The log is too long to post, are there areas of it that I can omit?
Are you using Tomatekh's mods, if so are you using the latest version? I think Jan had a problem like that before, which cleared up on deleting the cache and updating to the latest version.Anyone having a problem with "Hold a Holy Festival"?
It's the second time I've got a CTD and the last line of the log was about that - this doesn't mean it HAVE to be Decisions, though, just an indication.
Sounds like a mod conflict somewhere; or problem with the cache. Make sure you have the latest version and clear the cache before trying again.Hallo. I found these errors in my lua :
Runtime Error: C:\Users\Peter\Documents\My Games\Sid Meier's Civilization 5\MODS\Events and Decisions\Lua\EventsAndDecisions_Utilities.lua:307: attempt to index field '?' (a nil value)
stack traceback:
C:\Users\Peter\Documents\My Games\Sid Meier's Civilization 5\MODS\Events and Decisions\Lua\EventsAndDecisions_Utilities.lua:307: in function 'HookDecisionCivilizationIcon'
C:\Users\Peter\Documents\My Games\Sid Meier's Civilization 5\MODS\Events and Decisions\Core\Decisions\Civ Decisions\CivDecisions.lua:355: in main chunk
=[C]: in function 'include'
C:\Users\Peter\Documents\My Games\Sid Meier's Civilization 5\MODS\Events and Decisions\Lua/UI/EnactDescisionsPopup.lua:58: in main chunk
=[C]: ?
C:\Users\Peter\Documents\My Games\Sid Meier's Civilization 5\MODS\Events and Decisions\Lua\Sukritact_SaveUtils.lua:32: bad argument #2 to 'SetValue' (Must be of type boolean, nil, number, or string)
The last one apears a lot of times
Updated; hopefully this helps solve some crashing issues.
local iTech = pPlayer:GetCurrentResearch()
I wasn't aware of this. Thanks for bringing it to my attention; I'll look into it and see where it might be causing crashes specifically.I'm seeing a crash that I believe is related to E&D while debugging the CP. In short, I believe one or more events/decisions from E&D are passing a bad value on to the science functions in the dll.
For example, in your core decisions lua file, you have:
Code:local iTech = pPlayer:GetCurrentResearch()
You grab iTech here, which is fine, however if the player has no research, and you pass iTech on to other functions (like setCurrentResearch()), it passes a -1 into the dll, which causes a crash (especially if the DLL is trying to grab the attribute of a tech, where the tech is -1).
You may already know about this problem - if so, feel free to disregard. I'm fairly positive it is coming from E&D, as the call stack for the crash starts in the DLL's lua, and E&D is the only mod I'm debugging with that calls on research functions from lua.
Cheers,
G