使用WBE的时候出现报错RefreshPlayerSpellIconInfo
我是3.35。使用的是置顶帖中的WBE。打开游戏就出现报错GetNumGroupMembers。
=====================
报错内容:
Message: Interface\AddOns\WBE\WowBee.Functions.lua:39: attempt to call global 'GetNumGroupMembers' (a nil value)
Time: 07/20/18 21:49:36
Count: 1
Stack: Interface\AddOns\WBE\WowBee.Functions.lua:39: in function `GetNumPartyMembers'
Interface\FrameXML\PVPBattlegroundFrame.lua:271: in function `PVPBattlegroundFrame_UpdateGroupAvailable'
Interface\FrameXML\PVPBattlegroundFrame.lua:76: in function `updateFunction'
Interface\FrameXML\UIPanelTemplates.lua:241: in function `FauxScrollFrame_OnVerticalScroll'
Interface\FrameXML\PVPBattlegroundFrame.lua:226: in function <Interface\FrameXML\PVPBattlegroundFrame.lua:209>
Locals: (*temporary) = nil
(*temporary) = "attempt to call global 'GetNumGroupMembers' (a nil value)"
==============================
GetNumGroupMembers()的内容:
function GetNumRaidMembers()
return GetNumGroupMembers()
end
发现是关于团队的,于是屏蔽之。
==================================
新建脚本又出现新的报错。
=================
报错内容:
Message: Interface\AddOns\WBE\Library\LibRangeCheck-2.0.lua:443: attempt to call upvalue 'GetSpellBookItemName' (a nil value)
Time: 07/20/18 21:54:57
Count: 1
Stack: Interface\AddOns\WBE\Library\LibRangeCheck-2.0.lua:443: in function <Interface\AddOns\WBE\Library\LibRangeCheck-2.0.lua:440>
Interface\AddOns\WBE\Library\LibRangeCheck-2.0.lua:471: in function <Interface\AddOns\WBE\Library\LibRangeCheck-2.0.lua:465>
Interface\AddOns\WBE\Library\LibRangeCheck-2.0.lua:726: in function `init'
Interface\AddOns\WBE\Library\LibRangeCheck-2.0.lua:953: in function `initialOnUpdate'
Interface\AddOns\WBE\Library\LibRangeCheck-2.0.lua:1007: in function <Interface\AddOns\WBE\Library\LibRangeCheck-2.0.lua:1001>
Locals: spellName = "纳鲁的赐福"
i = 1
(*temporary) = nil
(*temporary) = 1
(*temporary) = "spell"
(*temporary) = "attempt to call upvalue 'GetSpellBookItemName' (a nil value)"
GetSpellBookItemName = nil
BOOKTYPE_SPELL = "spell"
Message: Interface\AddOns\WBE\Library\Frame.lua:1689: attempt to call global 'RefreshPlayerSpellIconInfo' (a nil value)
Time: 07/20/18 21:55:16
Count: 1
Stack: Interface\AddOns\WBE\Library\Frame.lua:1689: in function `ShowCustomAction'
Interface\AddOns\WBE\WowBee.Script.lua:1587: in function `AddFunc'
Interface\AddOns\WBE\Library\Frame.lua:1248: in function <Interface\AddOns\WBE\Library\Frame.lua:1244>
Locals: title = "新建方案名称和图标"
name = ""
icon = 1
resultfunc = <function> defined @Interface\AddOns\WBE\WowBee.Script.lua:1587
args = nil
icon = 1
i = nil
(*temporary) = nil
(*temporary) = "attempt to call global 'RefreshPlayerSpellIconInfo' (a nil value)"
==========================
感觉应该是框架出错了。
按提示找到了
lib.Scheme.AddFunc=function(self)
WowBeeFrame.ShowCustomAction(L["SCHEME_NEW_TITLE"],"",1,function(self,name,icon,args)
lib.Scheme:Func(name,icon)
end);
end
但是没有发现问题。
请问各位大神,如何解决?
学习学习·······················我也不懂 学习学习·····················虽然我也不懂,但还是顶一下LZ 你是用的我的修复版?我的修复版没这些问题 发表于 8 秒前 | 只看该作者
我粗略看了下
很多地方没搞好
而且用在pvp更加不好 liyyyliyyyliyyyliyyyliyyyliyyyliyyyliyyyliyyyliyyyliyyyliyyyliyyyliyyyliyyyliyyyliyyyliyyy 啊的官方发射点发生地方 安苏 WBE函数文件出问题了。。。。{:5_244:} 应该是函数库错了,我也碰到了 楼主,你解决这个问题了么
页:
[1]
2