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 09.07.2010, 21:37   #1
 Junior Member User Information

chubidu's Avatar
Post Bug LiteStats core.lua

Installed new shestak2.2.0 today and got an error in litestats core.lua

Old 09.07.2010, 21:37   #1.5 - Disable Ads

Advertise on this site

Old 09.07.2010, 21:49   #2
Shestak
 Junior Member User Information

Shestak's Avatar

Clean install?
What to do?
What changed in the files?
For a detailed description.

Screenshot and error code I did not say anything, because when correctly installed, this interface is no error.
Old 09.07.2010, 21:51   #3
chubidu
 Junior Member User Information

chubidu's Avatar
ya it was a clean install, but i changed something in config.lua, will install the config again

ok, the error is comming from the changes in config.lua

you can set the thread as fixed :|
Old 09.07.2010, 21:54   #4
Shestak
 Junior Member User Information

Shestak's Avatar
This error leads to a block of code:
LiteStats\core.lua
Code [Select]:
-- Set profile
if profiles then for _,p in ipairs{class,format("%s - %s",char,realm)} do
	if profiles[p] then for k,v in pairs(profiles[p]) do
		for _k,_v in pairs(v) do modules[k][_k] = _v end
	end end
end profiles = nil end
and LiteStats\config.lua:
Code [Select]:
LPSTAT_PROFILES = {
	["Вершок - Страж Смерти"] = {
		Experience = { enabled = false },
	},
	["Черешок - Страж Смерти"] = {
		Experience = { enabled = false },
	},
	["Гребешок - Страж Смерти"] = {
		Experience = { enabled = false },
	},
	["Ремешок - Страж Смерти"] = {
		Experience = { enabled = false },
	},
	["Обушок - Страж Смерти"] = {
		Experience = { enabled = false },
		Durability = { gfunds = false },
	},
	MAGE = { 
		Stats = { spec1fmt = class"SP:".."[spellpower]"..class" Crit:".."[spellcrit]%"..class" Hit:".."[spellhit]%",
				  spec2fmt = class"SP:".."[spellpower]"..class" Crit:".."[spellcrit]%"..class" Hit:".."[spellhit]%",}
	},
	PRIEST = { 
		Stats = { spec1fmt = class"SP:".."[spellpower]"..class" Crit:".."[spellcrit]%"..class" Hit:".."[spellhit]%",
				  spec2fmt = class"SP:".."[spellpower]"..class" Crit:".."[spellcrit]%"..class" Hit:".."[spellhit]%",}
	},
	WARLOCK = { 
		Stats = { spec1fmt = class"SP:".."[spellpower]"..class" Crit:".."[spellcrit]%"..class" Hit:".."[spellhit]%",
				  spec2fmt = class"SP:".."[spellpower]"..class" Crit:".."[spellcrit]%"..class" Hit:".."[spellhit]%",}
	},
	HUNTER = {
		Stats = { spec1fmt = class"AP:".."[rangedap]"..class" Crit:".."[rangedcrit]%"..class" Hit:".."[rangedhit]%",
		spec2fmt = class"AP:".."[rangedap]"..class" Crit:".."[rangedcrit]%"..class" Hit:".."[rangedhit]%",}
	},
	ROGUE = {
		Stats = { spec1fmt = class"AP:".."[ap]"..class" ArP:".."[armorpen]%"..class" Exp:".."[expertise]%",
		spec2fmt = class"AP:".."[ap]"..class" ArP:".."[armorpen]%"..class" Exp:".."[expertise]%",}
	},
	WARRIOR = {
		Stats = { spec1fmt = class"Def:".."[defense]"..class" Armor:".."[armor]"..class" Avoid:".."[avoidance]%",
		spec2fmt = class"AP:".."[ap]"..class" Crit:".."[meleecrit]%"..class" Hit:".."[meleehit]%",}
	},
}
Try clean "LPSTAT_PROFILES" block in config file.

Posted in 1 minute
Encoding config file should be UTF8.

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Fixed] LiteStats and Mail Sitatunga Bugs Reports 1 01.08.2010 19:01
Сокращения для LiteStats Shestak General Discussion 0 10.07.2010 02:39
[BugFixed]DBM-Core Chat Announce ianchan Technical Support 0 09.07.2010 03:41
LiteStats и устойчивость Viajero Technical Support 2 19.06.2010 16:53
Range Check for DBM Core joellane Technical Support 5 08.06.2010 03:10


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