Not work correctly tooltips for the units (3641) [SOLVED]

This is for troubleshooting of problems with the FAF client and Forged Alliance game.

Moderator: PhilipJFry

Not work correctly tooltips for the units (3641)

Postby fakels » 14 Jul 2015, 13:07

Translate text.
After the last update(3641/3642), ceased to appear in the tooltips when you hover your mouse over the unit, both in game and in replays for the observer. :evil: Tooltips only appear when you select units.
No UI-Mod's is not installed.

Spoiler: show
После последнего обновления, перестали правильно отображаться подсказки при наведении мышки над юнитом, как в игре так и в реплеи для наблюдателя. Подсказки появляются только при выборе юнитов.
fakels
 
Posts: 5
Joined: 14 Jul 2015, 12:43
Has liked: 0 time
Been liked: 0 time

Re: Not work correctly tooltips for the units (3641)

Postby nine2 » 14 Jul 2015, 15:55

There are three settings, full, off and some other one ... limited? As far as i can tell only 'full' and 'off' work
nine2
Councillor - Promotion
 
Posts: 2416
Joined: 16 Apr 2013, 10:10
Has liked: 285 times
Been liked: 515 times
FAF User Name: Anihilnine

Re: Not work correctly tooltips for the units (3641)

Postby fakels » 14 Jul 2015, 16:08

Anihilnine wrote:There are three settings, full, off and some other one ... limited? As far as i can tell only 'full' and 'off' work

Not in the settings thing!

The problem sits in unitview.lua if you disable a piece of code in functions, and enable the option "Single Unit Selected Info" then the problem is solved.
Spoiler: show
Проблема сидит в unitview.lua если отключить кусок кода в функции, и включить опцию "Single Unit Selected Info" то проблема решается.

Code: Select all
function OnSelection(units)
    --if units and table.getn(units) == 1 then
    --    selectedUnit = units[1]
    --else
    --    selectedUnit = nil
    --end
    UpdateUnitInfo()
end

In general, expect from modders version 3643 HotFix ;)
fakels
 
Posts: 5
Joined: 14 Jul 2015, 12:43
Has liked: 0 time
Been liked: 0 time

Re: Not work correctly tooltips for the units (3641)

Postby nine2 » 14 Jul 2015, 16:30

i know right
nine2
Councillor - Promotion
 
Posts: 2416
Joined: 16 Apr 2013, 10:10
Has liked: 285 times
Been liked: 515 times
FAF User Name: Anihilnine

Re: Not work correctly tooltips for the units (3641)

Postby Saxxon » 15 Jul 2015, 06:44

I noticed this problem also and that having a unit selected enabled the mouseover tooltop to work. Good job on finding the issue, I hope it is patched soon (its very annoying).
Saxxon
Avatar-of-War
 
Posts: 95
Joined: 28 Dec 2014, 13:56
Has liked: 1 time
Been liked: 4 times
FAF User Name: Saxxon

Re: Not work correctly tooltips for the units (3641)

Postby ckitching » 15 Jul 2015, 10:34

This problem has now been fixed. We'll be publishing the change as soon as Sheeo wakes up.
User avatar
ckitching
Avatar-of-War
 
Posts: 229
Joined: 03 Jan 2015, 12:51
Has liked: 2 times
Been liked: 69 times
FAF User Name: ckitching

Re: Not work correctly tooltips for the units (3641)

Postby fakels » 15 Jul 2015, 13:54

For those who irritates this bug, you can fix it yourself.
Put the corrected file in any UI-Mod path: hook\lua\ui\game\unitview.lua, or make ui-mod itself.
unitview.lua
(23.32 KiB) Downloaded 27 times

After the official fixes do not forget to delete the file.
fakels
 
Posts: 5
Joined: 14 Jul 2015, 12:43
Has liked: 0 time
Been liked: 0 time

Re: Not work correctly tooltips for the units (3641)

Postby BenDover » 15 Jul 2015, 14:14

Or you could set Single Unit Selected Info option to on in game settings and restart the game.
User avatar
BenDover
Avatar-of-War
 
Posts: 280
Joined: 05 May 2012, 14:46
Has liked: 3 times
Been liked: 47 times

Re: Not work correctly tooltips for the units (3641)  [SOLVED]

Postby ckitching » 15 Jul 2015, 14:33

In any case, both now work correctly. Sheeo appears to be hibernating, but will presumably wake up before dinnertime :P
User avatar
ckitching
Avatar-of-War
 
Posts: 229
Joined: 03 Jan 2015, 12:51
Has liked: 2 times
Been liked: 69 times
FAF User Name: ckitching


Return to Tech Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron