Wisterwind / thrae-wow

Automatically exported from code.google.com/p/thrae-wow
0 stars 0 forks source link

Bug with questtracking in tooltips. Killcount doesn't show up correctly. #9

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
I'm not actually sure, since my buddy doesn't get the same error (I've been
having this for a few months on both my computers).
Anyways, to start of with, I'm running with the latest libraries from
svn.wowace.com (not releases, but the svn). Normally I'd guess this was
just a passing thing, but this bug has been there so long, I'm reporting it
anyways.

If you look at the attached screenshot:
The tooltip is from a hover on a "Heavy War Golem", and I'm currently on
the quest "Curse these fat fingers". The quest objective is to kill 20
Heavy War Golems. When this screenshot was taken I'd killed 15/20. As you
can see, the reported count in the tooltip is 0.99999xxxxxx. I've checked
Blizzards original tooltip and it's showing up there correctly, so it's not
the extraction from FuBar_QuestFu.

After doing some research, I've added some debug output to TipLib, as you
can see in the chatbox on the screenshot. This code is placed in the
beginning of the "TipLib.AddLine(args)" function. What it does is basically
print out all the args it get (textL, rL, gL, bL, aL and the same for
right). As you can see the output is the following:

Left::Text:Curse These Fat
Fingers-R:0.99999779462814-B:16/20-A:0.39999911189079
Right::Text:0.99999779462814-R:0-G:0.99999779462814

On the "Left::" line. The first field is the "textL" field, and that one is
correct (Questname). then in the "B" field (I'm guessing this is B in RGB)
it gets the value that *should* have been in "textR" (the number of killed
mobs). And then in "textR", it gets that 0.99999779462814 number again.

What version of the product are you using? On what operating system?
I'm running latest from the SVN. This error has been there for a long time.

Please provide any additional information below.
A temp fix I've made for myself is this:
In "TipLib-1.0.lua":
Line 84: Replace with: fsSetText(fsRight, bL)

Haven't really tested this fix alot yet, but it seems to be working for me.

If you got more questions, contact me at:
grapz666+wow at gmail.com

Original issue reported on code.google.com by grapz...@gmail.com on 11 Oct 2007 at 3:15

Attachments:

GoogleCodeExporter commented 8 years ago
Opps, my bad, I attached a screenshot with my hotfix active :p I'll see if I 
can't
conjure up one without the hotfix :)

Original comment by grapz...@gmail.com on 11 Oct 2007 at 4:08

GoogleCodeExporter commented 8 years ago
Old version of TT. New version doesn't use TipLib.

Original comment by genera...@gmail.com on 7 Feb 2008 at 1:22