SNT Info

12 - Guild XP Tooltip is wrong

What does the provided patch do?

Fixes the guild xp tooltip information.

Please provide any additional information below.

function snt_info.gxp_module.gl_tooltip()
   local xp = GameData.Guild.m_GuildExpCurrent
   local xp_need = GameData.Guild.m_GuildExpNeeded
   Tooltips.CreateTextOnlyTooltip(i_gxp.wname.."_icon",nil)
   Tooltips.AnchorTooltip(Tooltips.ANCHOR_WINDOW_BOTTOM)
   TC(1,1,200,255,200)  TT(1,1,L"Guild XP Info")
   TC(2,1,255,255,000)  TT(2,1,L"---------------------------------------")   
   TC(3,1,050,200,050)  TT(3,1,L"XP")        TC(3,2,050,200,050) TT(3,2,towstring(xp))
   TC(4,1,050,200,100)  TT(4,1,L"Needed")    TC(4,2,050,200,100) TT(4,2,towstring(xp_need))
   TC(5,1,200,150,050)  TT(5,1,L"Remaining") TC(5,2,200,150,050) TT(5,2,towstring(xp_need-xp))
   Tooltips.Finalize()
end

Name Size MD5
gxp_module.lua 2.2 KiB c39fdc3b71bdbe21619f8a4e341e9c1c
User When Change
Gridgendal Sun, 15 Mar 2009 06:28:49

Added attachment gxp_module.lua

Gridgendal Sun, 15 Mar 2009 06:28:11 Create

You must login to post a comment. Don't have an account? Register to get one!

Facts

Last updated on
15 Mar 2009
Reported on
15 Mar 2009
Status
New - Issue has not had initial review yet.
Type
Patch - Source code patch for review
Priority
Medium - Normal priority.

Reported by

Possible assignees