Shestak UI
Go Back   Shestak UI > Interface Forums > English Community > Bugs Reports

Bugs Reports Report any bugs or issues you come across with ShestakUI.

Advertising

 
Thread Tools
Old 22.09.2014, 20:02   #1
 Senior Member User Information

Ente's Avatar
Bug WoD beta build errors

Heyas,
is this the right place to post a lua error which I encounter on a lvl 100 shadow priest on WoD beta, using the github files from 21-Sep? The lua error occurs on every logon and everytime a shadow orb would be generated e.g. after casting Mind Blast. The shadow orb bar shows 3 'full' orbs regardless of how many orbs the char actually has generated at the time.

Code [Select]:
Message: ...ce\AddOns\ShestakUI\Libs\oUF\Elements\ShadowOrbs.lua:20: 'for' limit must be a number
Time: 09/22/14 18:40:17
Count: 1
Stack: ...ce\AddOns\ShestakUI\Libs\oUF\Elements\ShadowOrbs.lua:20: in function <...ce\AddOns\ShestakUI\Libs\oUF\Elements\ShadowOrbs.lua:9>
(tail call): ?
Interface\AddOns\ShestakUI\Libs\oUF\oUF.lua:143: in function <Interface\AddOns\ShestakUI\Libs\oUF\oUF.lua:134>
(tail call): ?
[C]: in function `Show'
Interface\FrameXML\SecureStateDriver.lua:83: in function <Interface\FrameXML\SecureStateDriver.lua:73>
Interface\FrameXML\SecureStateDriver.lua:137: in function <Interface\FrameXML\SecureStateDriver.lua:119>

Locals: self = oUF_Player {
 0 = <userdata>
 MasterLooter = <unnamed> {
 }
 PARTY_LOOT_METHOD_CHANGED = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\Elements\MasterLooter.lua:42
 UNIT_MAXPOWER = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\Elements\Power.lua:96
 UNIT_SPELLCAST_CHANNEL_START = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\Elements\CastBar.lua:178
 UNIT_MAXHEALTH = <table> {
 }
 UNIT_POWER_FREQUENT = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\Elements\Power.lua:96
 Reputation = oUF_Player_Reputation {
 }
 UNIT_SPELLCAST_NOT_INTERRUPTIBLE = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\Elements\CastBar.lua:126
 PLAYER_REGEN_DISABLED = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\Elements\Combat.lua:22
 UNIT_SPELLCAST_CHANNEL_UPDATE = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\Elements\CastBar.lua:231
 UNIT_EXITED_VEHICLE = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\oUF.lua:154
 UNIT_CONNECTION = <table> {
 }
 Debuffs = <unnamed> {
 }
 UNIT_POWER = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\Elements\ShadowOrbs.lua:33
 unit = "player"
 UNIT_SPELLCAST_DELAYED = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\Elements\CastBar.lua:140
 UNIT_SPELLCAST_STOP = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\Elements\CastBar.lua:160
 UNIT_AURA = <table> {
 }
 UPDATE_FACTION = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\Modules\Reputation.lua:18
 HealPrediction = <table> {
 }
 Combat = <unnamed> {
 }
 UNIT_ENTERED_VEHICLE = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\oUF.lua:154
 Leader = <unnamed> {
 }
 VengeanceBar = oUF_Player_VengeanceBar {
 }
 UNIT_SPELLCAST_INTERRUPTIBLE = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\Elements\CastBar.lua:112
 UNIT_HEALTH_FREQUENT = <table> {
 }
 __elements = <table> {
 }
 Power = oUF_Player_Power {
 }
 UNIT_DISPLAYPOWER = <table> {
 }
 DebuffHighlight = <unnamed> {
 }
 DebuffHighlightFilter = true
 UNIT_THREAT_SITUATION_UPDATE = <function> defined @Interface\AddOns\ShestakUI\Core\Functions.lua:1355
 Health = oUF_Player_Health {
 }
 UNIT_COMBAT = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\Modules\CombatFeedback.lua:64
 RAID_TARGET_UPDATE = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\Elements\RIcons.lua:26
 PARTY_LEADER_CHANGED = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\Elements\Leader.lua:23
 UNIT_POWER_BAR_SHOW = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\Elements\Power.lua:96
 PLAYER_ENTERING_WORLD = <table> {
 }
 PLAYER_ROLES_ASSIGNED = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\Elements\LFDRole.lua:23
 UNIT_SPELLCAST_START = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\Elements\CastBar.lua:26
 Castbar = oUF_Player_Castbar {
 }
 GROUP_ROSTER_UPDATE = <table> {
 }
 UNIT_FACTION = <table> {
 }
 backdrop = oUF_PlayerBackdrop {
 }
 PLAYER_REGEN_ENABLED = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\Elements\Combat.lua:22
 ShadowOrbsBar = oUF_Player_ShadowOrbsBar {
 }
 RaidIcon = <unnamed> {
 }
 PLAYER_TARGET_CHANGED = <function> defined @Interface\AddOns\ShestakUI\Core\Functions.lua:1355
 UNIT_HEAL_PREDICTION = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\Elements\HealPrediction.lua:42
 LFDRole = <unname
Says Thank:
Shestak (11.10.2014), Wetxius (23.09.2014)
Old 22.09.2014, 20:02   #1.5 - Disable Ads

Advertise on this site

Old 22.09.2014, 21:59   #2
Shestak
 Junior Member User Information

Shestak's Avatar
Try change all PRIEST_BAR_NUM_ORBS in Libs\oUF\Elements\ShadowOrbs.lua to PRIEST_BAR_NUM_SMALL_ORBS
Old 23.09.2014, 13:02   #3
Wetxius
 Assistant User Information

Wetxius's Avatar
https://github.com/Shestak/ShestakUI...84f59d2cb21b6d
Fixed.
Old 30.09.2014, 14:37   #4
Tryllemann
 Assistant User Information

Tryllemann's Avatar
WoD Priest ShadowOrb Bar

Didn't find any place to post WoD related errors, so just delete this if wrong.

ShestakUI version: WoD Beta


WoW version: WoD


Installed and running addons: Shestak alone


Screenshot(if that matters for error):


Lua error code(if that matters for error):
Code [Select]:
Message: ...ce\AddOns\ShestakUI\Libs\oUF\Elements\ShadowOrbs.lua:25: attempt to index field '?' (a nil value)
Time: 09/30/14 14:33:02
Count: 1
Stack: ...ce\AddOns\ShestakUI\Libs\oUF\Elements\ShadowOrbs.lua:25: in function <...ce\AddOns\ShestakUI\Libs\oUF\Elements\ShadowOrbs.lua:9>
(tail call): ?
Interface\AddOns\ShestakUI\Libs\oUF\oUF.lua:143: in function `func'
Interface\AddOns\ShestakUI\Libs\oUF\Events.lua:19: in function <Interface\AddOns\ShestakUI\Libs\oUF\Events.lua:17>
(tail call): ?

Locals: self = oUF_Player {
 0 = <userdata>
 MasterLooter = <unnamed> {
 }
 PARTY_LOOT_METHOD_CHANGED = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\Elements\MasterLooter.lua:42
 PLAYER_ENTERING_WORLD = <table> {
 }
 Leader = <unnamed> {
 }
 VengeanceBar = oUF_Player_VengeanceBar {
 }
 UNIT_SPELLCAST_INTERRUPTIBLE = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\Elements\CastBar.lua:112
 UNIT_HEALTH_FREQUENT = <table> {
 }
 UNIT_MAXHEALTH = <table> {
 }
 __elements = <table> {
 }
 UNIT_POWER_FREQUENT = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\Elements\Power.lua:96
 RAID_TARGET_UPDATE = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\Elements\RIcons.lua:26
 PARTY_LEADER_CHANGED = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\Elements\Leader.lua:23
 GROUP_ROSTER_UPDATE = <table> {
 }
 Castbar = oUF_Player_Castbar {
 }
 UNIT_DISPLAYPOWER = <table> {
 }
 DebuffHighlight = <unnamed> {
 }
 backdrop = oUF_PlayerBackdrop {
 }
 UNIT_THREAT_SITUATION_UPDATE = <function> defined @Interface\AddOns\ShestakUI\Core\Functions.lua:1357
 UNIT_MAXPOWER = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\Elements\Power.lua:96
 Power = oUF_Player_Power {
 }
 style = "Shestak"
 UNIT_POWER_BAR_SHOW = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\Elements\Power.lua:96
 UNIT_FACTION = <table> {
 }
 PLAYER_REGEN_DISABLED = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\Elements\Combat.lua:22
 UNIT_EXITED_VEHICLE = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\oUF.lua:154
 Combat = <unnamed> {
 }
 UNIT_CONNECTION = <table> {
 }
 Debuffs = <unnamed> {
 }
 UNIT_HEAL_PREDICTION = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\Elements\HealPrediction.lua:42
 UNIT_POWER = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\Elements\ShadowOrbs.lua:34
 UNIT_SPELLCAST_CHANNEL_STOP = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\Elements\CastBar.lua:254
 UNIT_SPELLCAST_CHANNEL_UPDATE = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\Elements\CastBar.lua:231
 UNIT_SPELLCAST_START = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\Elements\CastBar.lua:26
 UNIT_SPELLCAST_SENT = <function> defined @Interface\AddOns\ShestakUI\Modules\UnitFrames\Layout.lua:916
 UNIT_SPELLCAST_DELAYED = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\Elements\CastBar.lua:140
 UNIT_SPELLCAST_CHANNEL_START = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\Elements\CastBar.lua:178
 UNIT_SPELLCAST_NOT_INTERRUPTIBLE = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\Elements\CastBar.lua:126
 PLAYER_REGEN_ENABLED = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\Elements\Combat.lua:22
 ShadowOrbsBar = oUF_Player_ShadowOrbsBar {
 }
 RaidIcon = <unnamed> {
 }
 PLAYER_TARGET_CHANGED = <function> defined @Interface\AddOns\ShestakUI\Core\Functions.lua:1357
 UNIT_SPELLCAST_STOP = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\Elements\CastBar.lua:160
 Health = oUF_Player_Health {
 }
 DebuffHighlightAlpha = 1
 UNIT_THREAT_LIST_UPDATE = <function> defined @Interface\AddOns\ShestakUI\Core\Functions.lua:1357
 Assistant = <unnamed> {
 }
 UNIT_AURA = <table> {
 }
 HealPrediction = <table> {
 }
 UNIT_SPELLCAST_INTERRUPTED = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\Elements\CastBar.lua:94
 PLAYER_TALENT_UPDATE = <table> {
 }
 FlashInfo = FlashInfo {
 }
 UNIT_ENTERED_VEHICLE = <function> defined @Interface\AddOns\ShestakUI\Libs\oUF\oUF.lua:15
How to reproduce error:
Old 30.09.2014, 15:48   #5
Tryllemann
 Assistant User Information

Tryllemann's Avatar
I posted a bug report a hour ago. But found the solution. The problem is that the oUF layout itself isn't updated for 5 orbs. So the error comes when you have 5 orbs (lvl 100).

I made a fix for myself on this and works fine. Im sure it's a way better solotion to this but ...
Edited file: ShestakUI\Modules\UnitFrames\Layout.lua
Code [Select]:
		-- Shadow Orbs bar
		if C.unitframe_class_bar.shadow == true and T.class == "PRIEST" then
			local totalOrbs = (IsSpellKnown(SHADOW_ORB_MINOR_TALENT_ID) and 5) or 3
			self.ShadowOrbsBar = CreateFrame("Frame", self:GetName().."_ShadowOrbsBar", self)
			self.ShadowOrbsBar:CreateBackdrop("Default")
			self.ShadowOrbsBar:SetPoint("BOTTOMLEFT", self, "TOPLEFT", 0, 7)
			self.ShadowOrbsBar:SetSize(217, 7)

		if totalOrbs == 3 then
			for i = 1, 3 do
				self.ShadowOrbsBar[i] = CreateFrame("StatusBar", nil, self.ShadowOrbsBar)
				self.ShadowOrbsBar[i]:SetSize(215 / 3, 7)
				if i == 1 then
					self.ShadowOrbsBar[i]:SetPoint("BOTTOMLEFT", self, "TOPLEFT", 0, 7)
				else
					self.ShadowOrbsBar[i]:SetPoint("TOPLEFT", self.ShadowOrbsBar[i-1], "TOPRIGHT", 1, 0)
				end
				self.ShadowOrbsBar[i]:SetStatusBarTexture(C.media.texture)
				self.ShadowOrbsBar[i]:SetStatusBarColor(0.70, 0.32, 0.75)

				self.ShadowOrbsBar[i].bg = self.ShadowOrbsBar[i]:CreateTexture(nil, "BORDER")
				self.ShadowOrbsBar[i].bg:SetAllPoints()
				self.ShadowOrbsBar[i].bg:SetTexture(C.media.texture)
				self.ShadowOrbsBar[i].bg:SetVertexColor(0.70, 0.32, 0.75, 0.2)
			end
		else
			for i = 1, 5 do
				self.ShadowOrbsBar[i] = CreateFrame("StatusBar", nil, self.ShadowOrbsBar)
				self.ShadowOrbsBar[i]:SetSize((215-2) / 5, 7)
				if i == 1 then
					self.ShadowOrbsBar[i]:SetPoint("BOTTOMLEFT", self, "TOPLEFT", 0, 7)
				else
					self.ShadowOrbsBar[i]:SetPoint("TOPLEFT", self.ShadowOrbsBar[i-1], "TOPRIGHT", 1, 0)
				end
				self.ShadowOrbsBar[i]:SetStatusBarTexture(C.media.texture)
				self.ShadowOrbsBar[i]:SetStatusBarColor(0.70, 0.32, 0.75)

				self.ShadowOrbsBar[i].bg = self.ShadowOrbsBar[i]:CreateTexture(nil, "BORDER")
				self.ShadowOrbsBar[i].bg:SetAllPoints()
				self.ShadowOrbsBar[i].bg:SetTexture(C.media.texture)
				self.ShadowOrbsBar[i].bg:SetVertexColor(0.70, 0.32, 0.75, 0.2)
			end
		end	
		end
Old 01.10.2014, 16:01   #6
Wetxius
 Assistant User Information

Wetxius's Avatar
https://github.com/Shestak/ShestakUI...1fac3342e3dad3
Should be fixed for all lvl.
Says Thank:
Oz (04.10.2014), Shestak (01.10.2014)
Old 01.10.2014, 19:47   #7
Tryllemann
 Assistant User Information

Tryllemann's Avatar
Greate! Will check later.

Is there anyway to get more "air" in the bottom of tooltip? The bottom part get's so dense that it's hard to read. Even get health value to show above the healt bar.
Old 01.10.2014, 19:59   #8
Shestak
 Junior Member User Information

Shestak's Avatar
Quote:
Originally Posted by Frode View Post
Greate! Will check later.

Is there anyway to get more "air" in the bottom of tooltip? The bottom part get's so dense that it's hard to read. Even get health value to show above the healt bar.
Screenshot please.
Old 01.10.2014, 21:15   #9
Tryllemann
 Assistant User Information

Tryllemann's Avatar
Quote:
Screenshot please.
Here is one. See, there is no "air" in the bottom making it hard read.
Attached Images
 
Say Thank:
Shestak (04.10.2014)
Old 10.10.2014, 22:25   #10
Ente
 Senior Member User Information

Ente's Avatar
Thanks for the orb fix. Next issue:
Right click on player frame when in a group and NOT leader: 'View leader's garrison' menu option is missing, and - after using 'view leader's garrison'... the 'view your garrison' menu option is missing
Say Thank:
Shestak (11.10.2014)

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Errors Wetxius Spell/Item Filters 5 11.11.2012 12:28
[Fixed] Errors with latest commit jenderle7 Bugs Reports 20 18.02.2012 10:03
[Fixed] Actionbar errors in PTR tat2dawn Bugs Reports 2 12.11.2011 22:23
In 2.6 beta? Mania General Discussion 4 26.09.2010 09:53


Mobile Style Русский English Deutsch Italian Chinese