Attila's Mods

A nice thing to have would be a change in color of the number aside the luxury resource symbol, if there's a opportunity of a resource trade.
Then the gem icon could be used as a link to the diplomatic overview.
 
Hello,

I have heared so many people mention this mod I thought I would give it a try. I have noticed while adding this into another mod that you have an EntryPoint:-
<EntryPoint type="InGameUIAddin" file="Luxuries/Display.xml">
<Name>Luxury Resource Display</Name>
<Description>Displays luxury resources</Description>
</EntryPoint>

But there is no Folder Luxuries or an Display.xml included with this mod, is this part of a different mod? or is it refering to some vanilla stuff?
 
It's a remnant from when there was a separate file. It is now incorporated into the TopPanel.xml file.

I will remove the reference in the next release, which will be when we get a new patch.
 
I uploaded version 12 of this mod that is compatible with game version 1.0.1.135. I had to drop the apostrophe from the name as ModBuddy crashed when it tried to verify the name at uploading.
 
The top panel stuff doesn't seem to be functioning (question mark is there though). Grabbed your update from the browser. I'll fiddle a bit with my setup and post back. Could be me :confused:

edit: mod folder is still labeled v11 if that's relevant or not
 
I had some issues with the mod intermittently not working on my system. I tried a number of things, hence the jump to version 12.

I finally deleted all my versions of the mod, deleted the *.db files from the cache folder and downloaded the mod again. It seems to be working now.
 
Ok, thanks. I had already wiped my cache and reinstalled. No joy, but I'll try re-downloading. Are you saying that the folder and modinfo file should say v12?
 
After downloading, did you Install the mod?

I had it happen once that I downloaded the mod and I had no Install button. The mod was left with a hex file name in 7-zip format. You might want to see if this is what happened to you.
 
Yes, it installed correctly. The first download was v11 though. Now at v12, but still not functioning. Lua console is spitting out this:

Spoiler :
Runtime Error: [string "Assets/UI/InGame/InGame.lua"]:1063: attempt to index local 'addinFile' (a nil value)
Runtime Error: Error loading Assets/UI/InGame/InGame.lua.


I'm testing with a stripped down Economy mod (no UI mods, just xml and SQL) and PerfectWorld3 map script. I'll toss all that, clean up and try again.
 
Same here, I have the question mark replacing the help button, but nothing else is working. I didn't have any problems downloading or installing the mod btw.

p.s.
also since I am writing here, congratulations for this mod is excellent I always have it on
 
Something is up with the way this mod (all mods) are handled. I had the mod working as I started a new game, saved it and loaded it and had the top panel showing correctly.

So, on a whim, I decided to activate the Willards and a few other non-game changing mods and loaded an older save. No top-panel. Ok, deactivate all mods, load one that used to work, but now, no matter what I do, the top panel is not working, although I also have the question mark.
 
Hmm. Strange indeed. I cleared mod and cache folders, verified game files via Steam, re-downloaded and installed your mod, eyeballed the mod folder and started a new game. Lua console isn't saying much anymore, but it's still not working (except for the ? text change).

Odd that it works intermittently for you. Anyway, thanks for the effort at a quick update. Missing your changes. I'll keep fiddling and check back.

edit: I should have hash checked that v11 folder and compared to the v12. Maybe try uploading your files here to rule out browser/project upload nonsense, but as you're having issues too, that isn't likely.
 
Something is up with the way this mod (all mods) are handled. I had the mod working as I started a new game, saved it and loaded it and had the top panel showing correctly.

So, on a whim, I decided to activate the Willards and a few other non-game changing mods and loaded an older save. No top-panel. Ok, deactivate all mods, load one that used to work, but now, no matter what I do, the top panel is not working, although I also have the question mark.

Yeh I also use city-willard, it's the only other mod I have installed at the moment, maybe some conflict between these 2 mods ?
 
After some more testing, it appears that parts or all of this version of the mod are not loaded and the game falls back to the previous version of TopPanel.lua. Which is why I thought things were intermittent. As I was messing with caches and folders, at the end I had two versions installed and even though v12 was checked, it was v9 that was actually loaded.

So, for now, I removed the mod from the download page until I can find what's wrong.
 
V9 of your mod worked perfectly with the v1.0.1.135 patch as far as I could tell from last night. As you and the others have discovered v12 does not work. I am guessing that some change you made between the two versions is causing the problem as opposed to something that the latest patch has changed. Until this is resolved could you either upload v9 again or post it here as I have grown accustomed to having your wonderful mod running in my games and feel a bit lost without it.
 
I now know that ModBuddy, the program used to create the mods has made some changes to the .modinfo file and that is why the mod files are not loaded.

Specifically, import="0" was inserted into the code below.
Code:
  <Files>
    <File md5="00C67042623C0DB5CAC1D302A1E582D9" import="0">UI/InGame/Popups/SocialPolicyPopup.lua</File>
    <File md5="C0E3DF247FF532EE94357CD10FD5521A" import="0">UI/InGame/TopPanel.lua</File>

If you manually edit the .modinfo file and remove the import="0", the mod will work.

I don't know why these got added or what they do, nor how to get rid of them, short of manually editing the file. I am looking at it though and I will upload the new version.

V9 is no longer good, because you will not get the correct happiness and other things that were changed in the game as the old code does not know about these.
 
Thank you for your quick actions on our behalf.
 
Back
Top Bottom