AutoTip loading

Currently running CiVUP 2.2.7 and InfoTooltipInclude.lua as attached in the OP and tooltips now work correctly :)
 
I'm getting the same problems. With Civup v2.2.6 & Gem v1.11.5 only installed. Cleard cache and MUD as usual.

Spoiler :
drf50z.jpg


Spoiler :
http://i46.tinypic.com/34oepo2.jpg


Spoiler :
http://i46.tinypic.com/2e3x648.jpg


Spoiler :
http://i50.tinypic.com/2itpnd4.jpg
 
Have you tried updating to CiVUP 2.2.7 and using the InfoTooltipInclude.lua file from the OP? Those used in conjunction fixes it for me.
 
Is it working with the changes attached to post #1? You can tell if it's working if it takes about 1 second to start a game on a tiny map. If it does not work, it takes at least 40 seconds to start games.
 
Is it working with the changes attached to post #1? You can tell if it's working if it takes about 1 second to start a game on a tiny map. If it does not work, it takes at least 40 seconds to start games.

Yup, it works with that single line of code changed ;)
 
It works with the faster version now?

I just figured out the confusion: when I had the faster version enabled, the tech tree tooltips showed up okay. That's what I was checking to see if things worked. I started a game with the fast-version and saw the problems with the left-side production and tech panels... strange thing is, after starting a second fast-version game I don't see the problem there anymore either. This is really weird. :think:
 
I attached a new fast-version to the first post. When you have time, please confirm if that new version works. I think I might have found the problem!
 
Confirmed. The new fast version of InfoTooltipInclude.lua works as well!

EDIT: I spoke too soon... the tooltips broke about 30 turns into a new game. I will post a new log file later.
 
Weirdly enough, this still happens to me with regular CivUp and GEM, without modifying InfoTooltipInclude.lua. The tooltips start off fine, but at some point, the building tooltips start omitting much information. After playing a few games, checking the tooltips each turn, I think I've found it: the tooltips go nuts on the turn I meet a new civilization! Weird, right?

Attaching a lua log for one game, where I quit the game just after the tooltips broke.
 

Attachments

That's the way the bug used to work when civup was first being updated as I recall. Tooltips worked until diplomatic contacts occurred.
 
I can confirm that the partly missing building tooltips bug still appears on CiVUP 2.2.7 the same way described above.
 
Yup, meeting another civ breaks the tooltips.

Here's a new log file where I reproduced the problem. CiVUP 2.2.7 + the latest InfoTooltipInclude.lua file as of this post.
 

Attachments

Just started a new game. Added the new file.

Standard game took about 12 - 13 seconds to start up. Narrator was only about half way through his speach. Probably twice as fast as i am used to.

1st turn appears that the tool tips are working.

However it says 3 turns to create a Monument or Mentors Hall in a stadard speed game?
Also after I clickerd on the monument city said 27 turns until turn 1 passed now it says 2 turns remaining.
Perhaps I need to delete cache?

Now that monument built in 3 turns Mentors Hall says 27 turns. Strange.
Tool tips for everything still good.

Turn 5 about to discover a new Civ (Saved game before moving). I can see the edge of thier territory marked in the fog.
I checked the Tool Tips just before meeting them (Japan). Moved my unit then checked the tool tips again. Still good.

Turn 6 Once the turn turned over to turn 6 the Tool Tips are Broken.


Edit #1: I reloaded the save and the Tooltips are OK.

Edit #2: I reloaded the game and avoided meeting Japan. On turn 7 I met Lisbon. Turn 8 and the Tool Tips are still OK. So CS's do not appear to be effecting the Tooltips.

Edit #3: AFter pressing Next Turn for Turn 8 William appeared out of nowhere. The tool tips are corrupted again on turn 9. So it doesn't matter if I meet the other Civ or they meet me, Tooltips are still corrupted.

Edit #4: After meeting William I went over to meet Japan again. No Change after meeting the second Civ.

FYI the tooltips in the Full Technology Tree View are still ok.
 
Tested a game as Mongolia and got the same results. The tooltips didn't crash when I met a CS, but as soon as I met Atilla they crashed.
 
Dunkah's description of the issue was exactly what I experienced back when GK and its patch first came out months ago. The problem seemed to be caused by diplomacy with major civs (meeting, alliances, peace deals, etc) and would still work okay in the tech tree but not the city screens. And would be usually confined to buildings and wonders.
 
Thank you, the diplomacy information finally gives me a starting point to figure out the problem! :goodjob:

How would meeting a civ require changes to building tooltips, in a way that differs between the vanilla game and G&K? The first thing which comes to mind is religion. Religion can spread to foreign cities, beliefs can affect buildings, and those beliefs can change the tooltips of buildings. That would be true of citystates too, however... so I don't think that's it.

It might be it's not a problem with my tooltip code at all... hmm...

I looked through the InfoTooltipInclude file and noticed that in addition to building tooltips, that file also creates the mood tooltips for the diplomacy panel. Maybe the mood tooltips break the whole file, and the building tooltips are just catching collateral damage from a mistake with mood calculations. Firaxis DID dramatically change the way mood tooltips display in G&K. This could be it!

I will quarantine the mood part into its own file to see if it's causing the problem. I'm very suspicious of this because much of the diplomacy code is poorly written and frequently buggy. The file also makes religion tooltips, which is new to G&K, so that might also be causing the symptoms. I'll split it into a separate file as well.
 
I narrowed down the problem. When we meet a major civ, the game can no longer access any lua functions or tables. For example, print("Hello!") returns an error message that print does not exist. The tooltips disappear because in this circumstance I told it to just stop processing. I didn't expect that code to ever run, and do not know how it could actually happen.

This is far beyond my realm of knowledge, so I posted a question about it to the main modding forum.
 
I moved some things around the files and gave it another try. I don't really know what might have done it, but the tooltips continued to work after meeting another major civ. Please try the new attachment in the original post to see if anything changes for you.
 
Twas the night before Christmas and all through the house, not a creature was stirring except for my Mongolian army storming the great wall of china.

The updated attachment in the OP works, I didn't get any tooltip bugs. But I reloaded the game 3 times and I always got a peninsula start on my own subcontinent. I'll just chalk that up to bad luck.
 
Back
Top Bottom