和alachat_classic插件冲突。
1、开了alachat_classic插件后,LM插件不能加载,聊天栏输入/lm或 /lootmonitor 不能打开设置页面。
出错信息:
点击展开
Interface\AddOns\LootMonitor\LootMonitor.lua:408: attempt to index global 'LootMonitorDB' (a nil value)
Count: 1
Call Stack:
Interface\AddOns\LootMonitor\LootMonitor.lua:408: in function <Interface\AddOns\LootMonitor\LootMonitor.lua:401>
(tail call): ?
[C]: ?
[string "safecall Dispatcher[1]"]:3: in function <[string "safecall Dispatcher[1]"]:3>
[C]: ?
[string "safecall Dispatcher[1]"]:9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?
Interface\AddOns\!!!163UI!!!\163UI.lua:1130: in function <Interface\AddOns\!!!163UI!!!\163UI.lua:1075>
[C]: in function `pcall'
Interface\AddOns\!!!163UI!!!\163UI.lua:1070: in function `U1LoadAddOn'
Interface\AddOns\!!!163UI!!!\163UI.lua:1223: in function `U1ToggleAddon'
Interface\AddOns\!!!163UI!!!\163UIUI.lua:234: in function `ClickAddonCheckBox'
Interface\AddOns\!!!163UI!!!\163UIUI.lua:944: in function <Interface\AddOns\!!!163UI!!!\163UIUI.lua:943>
点击展开
Interface\AddOns\LootMonitor\LootMonitor.lua:654: attempt to call method 'IsShown' (a nil value)
Count: 10
Call Stack:
Interface\AddOns\LootMonitor\LootMonitor.lua:654: in function `?'
Interface\FrameXML\ChatFrame.lua:4695: in function `ChatEdit_ParseText'
Interface\FrameXML\ChatFrame.lua:4356: in function `ChatEdit_SendText'
Interface\FrameXML\ChatFrame.lua:4392: in function `ChatEdit_OnEnterPressed'
[string "*:OnEnterPressed"]:1: in function <[string "*:OnEnterPressed"]:1>
2、登录时,先不加载alachat_classic插件,只加载LM插件,进游戏后,/lm进设置后,再加载alachat_classic插件,两插件好像都可以使用了。(没进副本测试)
使用此方法登录后,即使退出游戏,再进游戏,两插件都加载,也都可以加载成功了。。(搜索发现,是因为先加载LM,建立了\_classic_\WTF\Account\111111111#1\SavedVariables\LootMonitor.lua文件,两插件就都可以正常使用了。)