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

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

Advertising

 
Thread Tools
Old 21.04.2014, 11:51   #1
 Elder Member User Information

Sakaras's Avatar
Exclamation In combat, an error occurs when open all bags

I like Manual arrange my bags, So turn off the Bag options.
Here is the error message:
------------------------------------------------------------------------------
ShestakUI version: 4.57
WoW version: 50400
Installed and running addons: ShestakUI and Baud Error Frame
Lua error code(if that matters for error):
lua Code [Select]:
Interface\FrameXML\ContainerFrame.lua:603: script ran too long
Count: 1

Call Stack:
[C]: in function `Show'
Interface\FrameXML\ContainerFrame.lua:603: in function `ContainerFrame_GenerateFrame'
Interface\FrameXML\ContainerFrame.lua:201: in function `OpenBag'
Interface\FrameXML\ContainerFrame.lua:898: in function `ToggleAllBags'
[string "OPENALLBAGS"]:1: in function <[string "OPENALLBAGS"]:1>

How to reproduce error:
1. C.bag.enable in GUI, This option is false.
2. Container skin is true.
3. Is in combat lockdown.
An this error occurs when you open all bags, And can not open all bags.

Old 21.04.2014, 11:51   #1.5 - Disable Ads

Advertise on this site

Old 21.04.2014, 12:55   #2
Wetxius
 Assistant User Information

Wetxius's Avatar
Can't reproduce. Try to comment off this lines https://github.com/Shestak/ShestakUI...er.lua#L11-L52 and post result.
Old 21.04.2014, 14:28   #3
Sakaras
 Elder Member User Information

Sakaras's Avatar
Quote:
Originally Posted by Wetxius View Post
First thanks Wetxius !
I have seen this line but I no start, so I submit this question now.
I'll try find some new clues.
Old 21.04.2014, 19:01   #4
Wetxius
 Assistant User Information

Wetxius's Avatar
Reproduced the error. First open bag in combat with a lot of items.
https://github.com/Shestak/ShestakUI...er.lua#L26-L40
Change this line to
Code [Select]:
		local skin
		frame:HookScript("OnShow", function(self)
			if not skin then
				for j = 1, MAX_CONTAINER_ITEMS do
					local item = _G["ContainerFrame"..i.."Item"..j]
					local icon = _G["ContainerFrame"..i.."Item"..j.."IconTexture"]
					local quest = _G["ContainerFrame"..i.."Item"..j.."IconQuestTexture"]
					item:SetNormalTexture(nil)
					item:StyleButton()
					if not InCombatLockdown() then
						item:SetTemplate("Default")
						skin = true
					end

					icon:SetTexCoord(0.1, 0.9, 0.1, 0.9)
					icon:ClearAllPoints()
					icon:SetPoint("TOPLEFT", 2, -2)
					icon:SetPoint("BOTTOMRIGHT", -2, 2)

					quest:SetAlpha(0)
				end
			end
		end)
If first open in combat skin no full. Reopen in non-combat and skin will be full forever untill reload.
Says Thank:
Sakaras (22.04.2014), Shestak (22.04.2014)
Old 22.04.2014, 09:25   #5
Sakaras
 Elder Member User Information

Sakaras's Avatar
Quote:
Originally Posted by Wetxius View Post
Reproduced the error. First open bag in combat with a lot of items.
Change this line to
Code [Select]:
	local skin ......
If first open in combat skin no full. Reopen in non-combat and skin will be full forever untill reload.

Oh!!! I finally understand. A habit to solve problems. Thank you resolve my doubts.
And I like this changes. No empty buttons in the battle, I can more easily find items.
Unfortunately, only the first time. Ha ha ha ha ...

Tags
bags

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Fixed] Small Bags pu2i7y Bugs Reports 4 21.06.2013 11:56
Question about bags Rheya Technical Support 3 28.11.2012 16:50
The fonts of item_Num in bags and bank is too small Gin General Discussion 1 05.02.2011 15:05
Help with Bags Vamphyri Technical Support 2 19.12.2010 22:19
[Fixed] Bags & Raid UI hmyz Bugs Reports 1 19.11.2010 18:16


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