Giter Site home page Giter Site logo

picoguild's Introduction

picoGuild is a small LibDataBroker based info addon. It provides a simple guild display, with a tooltip that shows detailed information about guildies online.

picoguild's People

Contributors

hughescr avatar tekkub avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

picoguild's Issues

5.0.1 Bug

From Version: 4.1.0.10-Beta

Message: Interface\AddOns\picoGuild\picoGuild.lua:93: Division by zero
Time: 07/02/12 18:58:01
Count: 45
Stack: Interface\AddOns\picoGuild\picoGuild.lua:93: in function <Interface\AddOns\picoGuild\picoGuild.lua:89>
(tail call): ?

Locals: self = <unnamed> {
0 = <userdata>
CHAT_MSG_SYSTEM = <function> defined @Interface\AddOns\picoGuild\picoGuild.lua:84
GUILD_XP_UPDATE = <function> defined @Interface\AddOns\picoGuild\picoGuild.lua:89
GUILD_ROSTER_UPDATE = <function> defined @Interface\AddOns\picoGuild\picoGuild.lua:89
}
total = 916
online = 72
currentXP = 0
remainingXP = 0
dailyXP = nil
maxDailyXP = nil
(*temporary) = 25
(*temporary) = 0
(*temporary) = 25
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "Division by zero"
dataobj = <table> {
}
L = <table> {
Not in a guild = "Not in a guild"
online = "[%s] has come online."
No Guild = "No Guild"
offline = "(.+) has gone offline."
has come online = "has come online"
has gone offline = "has gone offline"
}

Possible Rounding Bug?

I'm a member of a very small guild, so it takes us a long time to level the guild. I noticed that as soon as the guild passed a small way into level 3.9 picoguild already began showing the guild level as 4.0. Even though it took us three more days to go from level 3.9 to level 4.0, the level was showing as 4.0 all this time. Possibly a rounding error?

Show Grouped Guildmates

When forming up guild groups it is immensely helpful to know who's missing at a glance. Below is a diff for a very simple change to insert a new column and populate it with the @ symbol if the unit is in your group/raid. Note: Because you are always in your group, you will always have the symbol by your name. I didn't feel it necessary to detect this.

99c99

< local tip = LibStub("tektip-1.0").new(7, "LEFT", "LEFT", "CENTER", "RIGHT", "RIGHT", "RIGHT")

local tip = LibStub("tektip-1.0").new(6, "LEFT", "LEFT", "CENTER", "RIGHT", "RIGHT", "RIGHT")
121,123c121,122
< local grouped =((UnitInParty(name) or UnitInRaid(name)) and true) and "@" or ""
< tip:AddMultiLine(grouped, (level < 10 and "0" or "")..level, name, area or "???", note, officernote, rank,

< 1,1,0, lr,lg,lb, cc.r,cc.g,cc.b, ar,ag,ab, nil,nil,nil, 1,1,0, .7,.7,1)

          tip:AddMultiLine((level < 10 and "0" or "")..level, name, area or "???", note, officernote, rank,
              lr,lg,lb, cc.r,cc.g,cc.b, ar,ag,ab, nil,nil,nil, 1,1,0, .7,.7,1)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.