Category: Plug-Ins & Patches
Addon Information
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)
hipjipp's Portal Bug Reports Feature Requests

This file is a Addon for LynStats by ObbleYeah. You must have that installed before this Addon will work.

Author:
Version:
1.3
Date:
08-14-2008 01:24 PM
Size:
2.94 Kb
Downloads:
680
Favorites:
7
MD5:
Pictures
Click to enlarge
Example of Htrack with my modified LynStats
Htracking
Htracking

This addon is a LynStats like Tracking-icon substitute.

What does it do?
It creates a small fontstring showing your current tracking. Basically, it replaces your trackingbutton.

Why would i use this addon?
You might want to use this addon because you think lynstats is missing a tracking feature and you don't want to switch to SLDataText.
  Change Log - Htracking
1.3
---- Added a truncate function (Off by default)

1.2
---- Fixed the Button-Width to the String-Width.
---- Reset the damned font for real this time.

1.1
---- Hid the trackingframe and gave Htrack the default tooltip.
---- Made the button react like the normal tracking button.

1.0.1
---- Changed the font from my own to a general one.
  Comments - Htracking
Post A Reply Comment Options
Old 12-15-2008, 12:20 PM  
hipjipp
A Cliff Giant
 
hipjipp's Avatar
Interface Author - Click to view interfaces

Forum posts: 77
File comments: 191
Uploads: 9
Quote:
Originally posted by syrupk
Looking to add a line to the code of this and lynlocation to make the letters all lowercase. Is this possible and ifso could someone please help me out? Thankyou
Quote from lua-users wiki, the String Library Tutorial:
Quote:
String.lower(s)

s:lower()

Make uppercase characters lower case.

> = string.lower("Hello, Lua user!")
hello, lua user
Change the following:
Code:
if truncate == true then
    track_text:SetText(string.sub(text, 1, t_num))
else
    track_text:SetText(text)
end
to this:
Code:
if truncate == true then
    track_text:SetText(string.lower(string.sub(text, 1, t_num)))
else
    track_text:SetText(string.lower(text))
end
It's tested and it works, but please reply if something comes up =)
__________________
Roarcat will eat you! Roar! =)
hipjipp is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 12-15-2008, 11:06 AM  
syrupk
A Theradrim Guardian
 
syrupk's Avatar
Interface Author - Click to view interfaces

Forum posts: 68
File comments: 420
Uploads: 25
Looking to add a line to the code of this and lynlocation to make the letters all lowercase. Is this possible and ifso could someone please help me out? Thankyou
__________________
I guess my brain will never work right. At least I’m pretty.
syrupk is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-11-2008, 05:49 PM  
hipjipp
A Cliff Giant
 
hipjipp's Avatar
Interface Author - Click to view interfaces

Forum posts: 77
File comments: 191
Uploads: 9
Quote:
Originally posted by Jyniver
Hi

Just a question..
what did you write to make your money show like that?
In the LynStats core.lua;

Code:
local show_money = true    -- Money
local COLOR_COPPER = "eda55f"
local COLOR_SILVER = "c7c7cf"
local COLOR_GOLD = "ffd700"
local color, mail, hasmail, ticktack, lag, fps, ep, xp_cur, xp_max, text, blizz, memory, entry, i, nr, xp_rest, ep, money, gold, silver, copper, cash

  if show_money == true then
  money = GetMoney()
  gold = money / 10000
  silver = mod(money / 100, 100)
  copper = mod(money, 100)
   if money >= 10000 then
    cash = format("|cff%s%d|r |cff%s%d|r |cff%s%d|r", COLOR_GOLD, gold, COLOR_SILVER, silver, COLOR_COPPER, copper).."  "
   elseif money >= 100 then
    cash = format("|cff%s%d|r |cff%s%d|r", COLOR_SILVER, silver, COLOR_COPPER, copper).."  "
   else
    cash = format("|cff%s%d|r", COLOR_COPPER, copper).."  "
   end
 else
  cash = ""
end
The function "if show_money == true" etc etc is put inside the update function. Hope it helps.
__________________
Roarcat will eat you! Roar! =)
hipjipp is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-11-2008, 11:43 AM  
Jyniver
A Kobold Labourer

Forum posts: 0
File comments: 12
Uploads: 0
Hi

Just a question..
what did you write to make your money show like that?
Jyniver is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 07-12-2008, 05:53 PM  
hipjipp
A Cliff Giant
 
hipjipp's Avatar
Interface Author - Click to view interfaces

Forum posts: 77
File comments: 191
Uploads: 9
yeah, i think so too, but i don't think thats even possible, but if someone who reads your request is up for it, please do.. it'd be awesome.
__________________
Roarcat will eat you! Roar! =)
hipjipp is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 07-12-2008, 01:10 PM  
DJJoeJoe
A Murloc Raider
 
DJJoeJoe's Avatar

Forum posts: 5
File comments: 179
Uploads: 1
Quote:
Originally posted by hipjipp
I've been planning to add this, but i find it hard to make such a procedure simple and clean. But i'll be working on it when i have the time/energy to.
Clicking the name and having it grow a list upward of simple text based commands for tracking, no images or that jazz, just the names of the tracking extended upwards.

That would make this a real sexy-pants wearing addon, for sure.
__________________

Joetest - Ner'Zhul - Disciples of Death
DJJoeJoe is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 07-03-2008, 07:17 AM  
hipjipp
A Cliff Giant
 
hipjipp's Avatar
Interface Author - Click to view interfaces

Forum posts: 77
File comments: 191
Uploads: 9
Quote:
Originally posted by Pjotr
It doesn't anchor to LynStats for me. I tried everything that I could figure on the .lua file (Which is terribly little) but could only get it next to LynStats with OffSets. That doesn't work as when a thing on LynStats changes the cap between LynStats and Htracking changes too

Help mee
(Copy Paste from my reply to you on the LynStats)

The easiest thing would be either to hook the lynstats frame to Htracking witch you anchor to the corner, or you could hook the Htracking frame to the bottom of the UIParent.. It's up to you.. Please post a pm if you have more questions about it.
__________________
Roarcat will eat you! Roar! =)

Last edited by hipjipp : 07-03-2008 at 08:56 AM.
hipjipp is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 07-02-2008, 01:57 PM  
Pjotr
A Kobold Labourer

Forum posts: 0
File comments: 18
Uploads: 1
Re: Re: gPeen and Htracking

It doesn't anchor to LynStats for me. I tried everything that I could figure on the .lua file (Which is terribly little) but could only get it next to LynStats with OffSets. That doesn't work as when a thing on LynStats changes the cap between LynStats and Htracking changes too

Help mee
Pjotr is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 06-26-2008, 01:43 PM  
hipjipp
A Cliff Giant
 
hipjipp's Avatar
Interface Author - Click to view interfaces

Forum posts: 77
File comments: 191
Uploads: 9
Re: gPeen and Htracking

Quote:
Originally posted by SquishyMage
These two addons are on top of each other. Anyone know what to do to make them share the screen instead of fighting for the same spot?
Since all both addons hook LynStats as a global and puts itself after how LynStats is placed, you could edit either code (Htracking or gPeen) to hook the other one, thus not causing them to land on the same relativepoint.

the line should look something like this if you edit Htracking to hook gPeen;
Code:
self:SetPoint("BOTTOMRIGHT", _G["gPeen"], "BOTTOMLEFT", -20, 0)
I'll upload next verision with minor tweaks and improvements.

Have a good one,
Hipjipp

P.S.: I thought i edited the font to be "fonts\\ARIALN.ttf" in this verision, but perhaps i didnt.
__________________
Roarcat will eat you! Roar! =)
hipjipp is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 06-26-2008, 01:25 PM  
SquishyMage
A Deviate Faerie Dragon

Forum posts: 17
File comments: 40
Uploads: 0
gPeen and Htracking

These two addons are on top of each other. Anyone know what to do to make them share the screen instead of fighting for the same spot?
SquishyMage is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Old 06-26-2008, 12:10 PM  
Sec
A Murloc Raider

Forum posts: 6
File comments: 91
Uploads: 0
Quote:
Originally posted by hipjipp
I've been planning to add this, but i find it hard to make such a procedure simple and clean. But i'll be working on it when i have the time/energy to.
Thanks for the update! Here's an error I got upon initial install; I fixed it by telling Htracking to pull the font from my minimap addon since it tries to grab font from pMinimap by default. Aside from this initial bug, the addon is working as intended - kudos!

Code:
Interface\AddOns\Htracking\Htrack.lua:64: <unnamed>:SetText(): Font not set
Count: 99

Call Stack:
[C]: ?
[C]: in function `SetText'
Interface\AddOns\Htracking\Htrack.lua:64: in function <Interface\AddOns\Htracking\Htrack.lua:43>
Sec is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 06-25-2008, 05:35 PM  
hipjipp
A Cliff Giant
 
hipjipp's Avatar
Interface Author - Click to view interfaces

Forum posts: 77
File comments: 191
Uploads: 9
Quote:
Originally posted by Sec
I sincerely hope you add a click-to-switch for tracking.
I've been planning to add this, but i find it hard to make such a procedure simple and clean. But i'll be working on it when i have the time/energy to.
__________________
Roarcat will eat you! Roar! =)
hipjipp is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 06-25-2008, 03:31 PM  
Sec
A Murloc Raider

Forum posts: 6
File comments: 91
Uploads: 0
I sincerely hope you add a click-to-switch for tracking.
Sec is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 06-25-2008, 09:40 AM  
hipjipp
A Cliff Giant
 
hipjipp's Avatar
Interface Author - Click to view interfaces

Forum posts: 77
File comments: 191
Uploads: 9
thanks mate, love to have you as a "coder guide" ^^ :P
__________________
Roarcat will eat you! Roar! =)
hipjipp is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 06-25-2008, 09:12 AM  
eiszeit
A Fallenroot Satyr
 
eiszeit's Avatar
Interface Author - Click to view interfaces

Forum posts: 29
File comments: 200
Uploads: 9
ah, i'll add the frame name next version.. so you dont need to edit it.
__________________
IF HOME IS WHERE THE HEART IS... WHERE DO YOU GO WHEN YOU DON'T HAVE A HEART?
ALSO KNOWN AS: LYN
eiszeit is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Post A Reply



Category Jump:




The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOInterface | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


©2009 MMOUI / ZAM Network
vBulletin - Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.