resike / gladius Goto Github PK
View Code? Open in Web Editor NEWGladius
Home Page: http://www.curse.com/addons/wow/gladius
Gladius
Home Page: http://www.curse.com/addons/wow/gladius
No clue why as of yet.
The classes are displayed incorrectly on the unit frame. Specialization is working as intended.
Seeing a 3.0.5 release on Curse but the code here still seems stuck on 3.0.4. Makes it hard to contributors to stay in sync :)
Currently only one of the templates are available. Should fix or remove those.
18x Gladius/Modules/Racial.lua:348: attempt to index field '?' (a nil value)
[string "@Gladius/Modules/Racial.lua"]:348: in function ?' [string "@Gladius/Gladius.lua"]:68: in function
Call'
[string "@Gladius/Gladius.lua"]:777: in function ShowUnit' [string "@Gladius/Gladius.lua"]:507: in function
?'
[string "@Gladius/Gladius.lua"]:51: in function <Gladius/Gladius.lua:43>
Locals:
self =
Just something that caught my eye is that the options are taking up a lot of code lines. Not really a real issue but I think a lot of it could be turned into reusable functions. For instance a generatePositionOptions()
function would make a lot of sense.
Thanks for your great work, Gladius has helped me several years.
Now I'm reading the source code, but I get confused in Drtracker module.
When the GladiusDRTrackerFrameCat[drCat][unit]Icon texture was built, I could not find the definition . just showed in following picture.
the print sentence was added by me for debugging. In DRTracker:DRFaded function the Icon texture was built just after CreateFrame, and used in function DRTracker:UpdateIcon.
Sorry, I just can't find your email,so raise the question hear.
What do you think about replicating the blizzard shield icon functionality on casts that can't be interrupted? I mean this: http://puu.sh/a451w/7d54b7d53c.jpg.
I already did something similar with an old version of gladius.. here the screen : http://puu.sh/a0DHI/5a44a2e07a.jpg
But as you can see i only changed the texture with the one i have created, i think i'll add the shield soon.
If you like the idea tell me if you want to see my code so you can adjust it to your gladius.
Cheers
1347x Gladius/Modules/Racial.lua:133: attempt to index field '?' (a nil value)
[string "@Gladius/Modules/Racial.lua"]:133: in function `AutoFixAll'
[string "@Gladius/Modules/Racial.lua"]:159: in function `?'
[string "@Gladius/Gladius.lua"]:109: in function <Gladius/Gladius.lua:106>
Locals:
self = <table> {
UpdateRacial = <function> defined @Gladius/Modules/Racial.lua:197
messages = <table> {
}
Enable = <function> defined @Gladius/Gladius.lua:127
AutoFixAll = <function> defined @Gladius/Modules/Racial.lua:126
GetRacialCD = <function> defined @Gladius/Modules/Racial.lua:190
UpdateColors = <function> defined @Gladius/Modules/Racial.lua:239
CreateFrame = <function> defined @Gladius/Modules/Racial.lua:220
enabled = true
UNIT_NAME_UPDATE = <function> defined @Gladius/Modules/Racial.lua:113
eventHandler = Frame {
}
GetOptions = <function> defined @Gladius/Modules/Racial.lua:401
attachTo = true
name = "Racial"
IsEnabled = <function> defined @Gladius/Gladius.lua:143
Disable = <function> defined @Gladius/Gladius.lua:135
RegisterMessage = <function> defined @Gladius/Gladius.lua:147
Update = <function> defined @Gladius/Modules/Racial.lua:243
isBarOption = false
templates = <table> {
}
SendMessage = <function> defined @Gladius/Gladius.lua:151
UNIT_AURA = <function> defined @Gladius/Modules/Racial.lua:141
OnDisable = <function> defined @Gladius/Modules/Racial.lua:94
GetAttachTo = <function> defined @Gladius/Modules/Racial.lua:101
OptionsLoad = <function> defined @Gladius/Modules/Racial.lua:390
RegisterEvent = <function> defined @Gladius/Gladius.lua:112
IsDetached = <function> defined @Gladius/Modules/Racial.lua:105
UNIT_SPELLCAST_SUCCEEDED = <function> defined @Gladius/Modules/Racial.lua:158
defaults = <table> {
}
GetFrame = <function> defined @Gladius/Modules/Racial.lua:109
OnEnable = <function> defined @Gladius/Modules/Racial.lua:84
UnregisterAllEvents = <function> defined @Gladius/Gladius.lua:123
Show = <function> defined @Gladius/Modules/Racial.lua:343
Test = <function> defined @Gladius/Modules/Racial.lua:381
frame = <table> {
}
UnregisterEvent = <function> defined @Gladius/Gladius.lua:119
Reset = <function> defined @Gladius/Modules/Racial.lua:359
}
_ = true
instanceType = "arena"
(for index) = 3
(for limit) = 3
(for step) = 1
i = 3
unit = "arena3"
_ = "Dracthyr"
race = "DRACTHYR"
(*temporary) = <function> defined =[C]:-1
(*temporary) = nil
(*temporary) = "DRACTHYR"
(*temporary) = <function> defined =[C]:-1
(*temporary) = GladiusRacialFramearena2Icon {
0 = <userdata>
}
(*temporary) = 135726
(*temporary) = "attempt to index field '?' (a nil value)"
IsInInstance = <function> defined =[C]:-1
UnitRace = <function> defined =[C]:-1
string = <table> {
split = <function> defined =[C]:-1
match = <function> defined =[C]:-1
gmatch = <function> defined =[C]:-1
upper = <function> defined =[C]:-1
gsub = <function> defined =[C]:-1
format = <function> defined =[C]:-1
lower = <function> defined =[C]:-1
sub = <function> defined =[C]:-1
gfind = <function> defined =[C]:-1
rep = <function> defined =[C]:-1
char = <function> defined =[C]:-1
rtgsub = <function> defined @FrameXML/RestrictedInfrastructure.lua:618
join = <function> defined =[C]:-1
reverse = <function> defined =[C]:-1
byte = <function> defined =[C]:-1
trim = <function> defined =[C]:-1
len = <function> defined =[C]:-1
find = <function> defined =[C]:-1
}
GetSpellInfo = <function> defined =[C]:-1
unitRaceCDs = <table> {
VOIDELF = <table> {
}
DWARF = <table> {
}
PANDAREN = <table> {
}
MAGHARORC = <table> {
}
DARKIRONDWARF = <table> {
}
HUMAN = <table> {
}
DRAENEI = <table> {
}
GNOME = <table> {
}
LIGHTFORGEDDRAENEI = <table> {
}
ZANDALARITROLL = <table> {
}
VULPERA = <table> {
}
NIGHTELF = <table> {
}
HIGHMOUNTAINTAUREN = <table> {
}
KULTIRAN = <table> {
}
WORGEN = <table> {
}
NIGHTBORNE = <table> {
}
SCOURGE = <table> {
}
BLO
There's a bug where sometimes auras aren't displayed until a new UNIT_AURA event is fired. Probably related to aura chaining.
Never mind got mine working.
Would also be nice to impelment an interrupt module to show enemy getting kicked :)
Gladius is not updating correctly when entering/leaving arena, meaning:
Opponents are unknown until they get out of stealth or similar (they are not displayed until they're targetable)
Opponents are unknown while in the starting room (showing old history or if there is no history, shows nothing)
When leaving arena gladius does not hide, displaying previous opponents (it does hide when relogging)
Thanks for the update!! But the dr tracker seems not working in arenas.
Hi there, i can't add [GetSpellInfo(31117)] = 8, -- Unstable Affliction silence debuff
in the Auras.lua file, because if i do this i end up in game with the classIcon of the enemy arena unit always covered up by the Unstable Affliction Icon of the Dot and not of the Silence debuff you get when you dispell UA.
This is happening because you are using Names and not Ids for the auras so in the Classicon.lua File this IF:
if (Gladius.db.aurasFrameAuras[name] and Gladius.db.aurasFrameAuras[name] >= self.frame[unit].priority) then
is actually true even for the Dot part of the Unstable Affliction because it has the same name as the silence debuff you get by dispelling it (31117), but i don't wan't to show the Dot just the silence debuff named "Unstable Affliction".
I guess there can be more of this type of bugs if you handle the auras with Names rather than Ids
10x Gladius/Modules/CastBar.lua:449: attempt to index field '?' (a nil value)
[string "@Gladius/Modules/CastBar.lua"]:449: in function ?' [string "@Gladius/Gladius.lua"]:68: in function
Call'
[string "@Gladius/Gladius.lua"]:833: in function ResetUnit' [string "@Gladius/Gladius.lua"]:569: in function
HideFrame'
[string "@Gladius/Gladius.lua"]:454: in function LeftArena' [string "@Gladius/Gladius.lua"]:405: in function
?'
[string "@Gladius/Gladius.lua"]:51: in function <Gladius/Gladius.lua:43>
Locals:
self =
When I use Gladiusex, it shows the enemy class/specs in the start room, so I have no need for the default arena enemy frame.
With Gladius v3, it's blank until the gates are open.
lately this error seems to popup quite frequently ... maybe you can fix :-)
ty
6x Gladius/Modules/Racial.lua:346: attempt to index field '?' (a nil value)
[string "@Gladius/Modules/Racial.lua"]:346: in function `?'
[string "@Gladius/Gladius.lua"]:68: in function `Call'
[string "@Gladius/Gladius.lua"]:777: in function `ShowUnit'
[string "@Gladius/Gladius.lua"]:507: in function `?'
[string "@Gladius/Gladius.lua"]:51: in function <Gladius/Gladius.lua:43>
Locals:
self = <table> {
UpdateRacial = <function> defined @Gladius/Modules/Racial.lua:197
messages = <table> {
}
Enable = <function> defined @Gladius/Gladius.lua:127
AutoFixAll = <function> defined @Gladius/Modules/Racial.lua:126
GetRacialCD = <function> defined @Gladius/Modules/Racial.lua:190
UpdateColors = <function> defined @Gladius/Modules/Racial.lua:239
CreateFrame = <function> defined @Gladius/Modules/Racial.lua:220
enabled = true
UNIT_NAME_UPDATE = <function> defined @Gladius/Modules/Racial.lua:113
eventHandler = Frame {
}
GetOptions = <function> defined @Gladius/Modules/Racial.lua:401
attachTo = true
name = "Racial"
IsEnabled = <function> defined @Gladius/Gladius.lua:143
Disable = <function> defined @Gladius/Gladius.lua:135
RegisterMessage = <function> defined @Gladius/Gladius.lua:147
Update = <function> defined @Gladius/Modules/Racial.lua:243
isBarOption = false
templates = <table> {
}
SendMessage = <function> defined @Gladius/Gladius.lua:151
UNIT_AURA = <function> defined @Gladius/Modules/Racial.lua:141
OnDisable = <function> defined @Gladius/Modules/Racial.lua:94
GetAttachTo = <function> defined @Gladius/Modules/Racial.lua:101
OptionsLoad = <function> defined @Gladius/Modules/Racial.lua:390
RegisterEvent = <function> defined @Gladius/Gladius.lua:112
IsDetached = <function> defined @Gladius/Modules/Racial.lua:105
UNIT_SPELLCAST_SUCCEEDED = <function> defined @Gladius/Modules/Racial.lua:158
defaults = <table> {
}
GetFrame = <function> defined @Gladius/Modules/Racial.lua:109
OnEnable = <function> defined @Gladius/Modules/Racial.lua:84
UnregisterAllEvents = <function> defined @Gladius/Gladius.lua:123
Show = <function> defined @Gladius/Modules/Racial.lua:343
Test = <function> defined @Gladius/Modules/Racial.lua:381
frame = <table> {
}
UnregisterEvent = <function> defined @Gladius/Gladius.lua:119
Reset = <function> defined @Gladius/Modules/Racial.lua:359
}
unit = "arena4"
testing = false
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index field '?' (a nil value)"
Gladius = <table> {
GetColorOption = <function> defined @Gladius/Options.lua:149
defaults = <table> {
}
testCount = 0
instanceType = "arena"
OnInitialize = <function> defined @Gladius/Gladius.lua:225
NewModule = <function> defined @Gladius/Gladius.lua:100
EnableModule = <function> defined @Gladius/Gladius.lua:196
modules = <table> {
}
GetModule = <function> defined @Gladius/Gladius.lua:210
ARENA_PREP_OPPONENT_SPECIALIZATIONS = <function> defined @Gladius/Gladius.lua:523
UpdateColors = <function> defined @Gladius/Gladius.lua:562
CreateButton = <function> defined @Gladius/Gladius.lua:852
anchor = GladiusButtonAnchor {
}
UNIT_NAME_UPDATE = <function> defined @Gladius/Gladius.lua:469
UpdateFrame = <function> defined @Gladius/Gladius.lua:543
OnProfileChanged = <function> defined @Gladius/Gladius.lua:390
eventHandler = Frame {
}
background = GladiusButtonBackground {
}
buttons = <table> {
}
UNIT_HEALTH = <function> defined @Gladius/Gladius.lua:941
GetUnitFrame = <function> defined @Gladius/Gladius.lua:961
LSM = <table> {
}
test = false
UnregisterAllEvents = <function> defined @Gladius/Gladius.lua:96
SetTemplate = <function> defined @Gladius/Options.lua:54
DisableModule = <function> de
There are many identical options in the different modules. Every module doesn't need a unique name/description. For instance, the options "Power Bar Attach To" and "HealthBar Attach To" could just as well both be called "Attach To". Same goes for the descriptions.
This would make it easier for translators (less unique strings to translate) and would clean up the options UI somewhat.
Hi, i noticed that the change of the dr category for this 2 spells is not implemented in the DR-Tracker: https://worldofwarcraft.com/en-us/news/20478238/hotfixes-february-13 This changes happened on 17th. January:
Guardian:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.