Godlike CritSounds

Godlike CritSounds

4.3k Downloads

error @r11.0.2_b

Closed this issue ยท 3 comments

commented

My Locale is "zhCN", the addon can't work, here is the error:

5x Godlike/Core.lua:97: attempt to concatenate global 'GL_TEXT_OPT_SETAUTO' (a nil value)
[string "@Godlike/Core.lua"]:97: in main chunk

Locals:
AC =

{
}
ACD =
{
tooltip = AceConfigDialogTooltip {
}
BlizOptions =
{
}
popup = Frame {
}
OpenFrames =
{
}
Status =
{
}
frame = Frame {
}
}
THIS_VERSION = "11.0.0"
defaults =
{
profile =
{
}
}
(*temporary) =
{
type = "group"
name = "Godlike Settings 11.0.0"
handler =
{
}
}
(*temporary) =
{
isAuto =
{
}
isSoundEnabled =
{
}
header =
{
}
isEnabled =
{
}
isMessageEnabled =
{
}
}
(*temporary) =
{
type = "range"
order = 6
}
(*temporary) = nil
(*temporary) = " % Auto Critical Value"
(*temporary) = "attempt to concatenate global 'GL_TEXT_OPT_SETAUTO' (a nil value)"

commented

My Locale is "zhCN", the addon can't work, here is the error:

5x Godlike/Core.lua:97: attempt to concatenate global 'GL_TEXT_OPT_SETAUTO' (a nil value) [string "@Godlike/Core.lua"]:97: in main chunk

Locals: AC =
{
}
ACD =
{
tooltip = AceConfigDialogTooltip {
}
BlizOptions =
{
}
popup = Frame {
}
OpenFrames =
{
}
Status =
{
}
frame = Frame {
}
}
THIS_VERSION = "11.0.0"
defaults =
{
profile =
{
}
}
(*temporary) =
{
type = "group"
name = "Godlike Settings 11.0.0"
handler =
{
}
}
(*temporary) =
{
isAuto =
{
}
isSoundEnabled =
{
}
header =
{
}
isEnabled =
{
}
isMessageEnabled =
{
}
}
(*temporary) =
{
type = "range"
order = 6
}
(*temporary) = nil
(*temporary) = " % Auto Critical Value"
(*temporary) = "attempt to concatenate global 'GL_TEXT_OPT_SETAUTO' (a nil value)"

I don't think godlike supports chinese locale, but let me see if I can push a fix to resolve your issue. Can you tell me what version of WoW this is in? Retail? Classic?

commented

Try now, I added a zhCN locale file but it is in english just so it doesn't give you the error. Let me know if it works since I can't try it so I can close this issue.

commented

Awesome! The plugin is working perfectly. I've used it for a while and basically understand its operating logic; it's quite interesting. However, I'm concerned that in specific scenarios, such as during vulnerability or when massive critical hits occur, it might affect the automatic critical hits. I'll test it out for a while first. Also, I've made a simple translation of the zhCN file, which you can include in future updates. Thank you for creating this plugin.

localization_zhCN.zip