留言

BuBiBu · 2021-01-01 13:07:35

新年快樂 想幫忙除錯

5x ...oKey\LibObjectiveProgress-1.0-64\ProgressWeightData.lua:1779: attempt to index field '?' (a nil value)
[string "@yoKey\LibObjectiveProgress-1.0-64\ProgressWeightData.lua"]:1779: in function `LoadWeightDataByMap'
[string "@yoKey\LibObjectiveProgress-1.0\LibObjectiveProgress-1.0-64.lua"]:21: in function `GetNPCWeightByMap'
[string "@yoKey\AuraMarker.lua"]:48: in function <yoKey\AuraMarker.lua:29>

Locals:
self = <table> {
 GetNPCWeightByQuest = <function> defined @yoKey\LibObjectiveProgress-1.0\LibObjectiveProgress-1.0.lua:36
 GetNPCWeightByCurrentQuests = <function> defined @yoKey\LibObjectiveProgress-1.0\LibObjectiveProgress-1.0.lua:48
 LoadWeightDataByMap = <function> defined @yoKey\LibObjectiveProgress-1.0\ProgressWeightData.lua:16
 MapBasedWeights = <table> {
 }
 LoadWeightDataByQuest = <function> defined @yoKey\LibObjectiveProgress-1.0\ProgressWeightData.lua:1785
 GetNPCWeightByMap = <function> defined @yoKey\LibObjectiveProgress-1.0\LibObjectiveProgress-1.0.lua:19
}
(*temporary) = nil
(*temporary) = 1
(*temporary) = <table> {
 144303 = 2.500000
 151658 = 2.500000
 151476 = 5
 144296 = 3.125000
 151659 = 2.500000
 152442 = 2.500000
 144293 = 3.750000
 144301 = 0.625000
 152435 = 2.500000
 161243 = 2.500000
 152443 = 2.500000
 144294 = 2.500000
 144298 = 3.750000
 151773 = 2.500000
 151657 = 2.500000
 161241 = 2.500000
 161244 = 2.500000
 161124 = 2.500000
 144295 = 2.500000
 144299 = 2.500000
 151649 = 2.500000
}
(*temporary) = 3
(*temporary) = <table> {
 163089 = 0.369000
 170882 = 1.476010
 167538 = 7.380070
 169875 = 0.738010
 162763 = 2.952030
 163086 = 2.952030
 167534 = 7.380070
 167533 = 7.380070
 170690 = 1.476010
 174197 = 1.476010
 167536 = 7.380070
 169927 = 1.845020
 164506 = 1.845020
 164510 = 1.476010
 170838 = 1.476010
 167532 = 7.380070
 167994 = 1.476010
 170850 = 2.583030
 169893 = 2.214020
 160495 = 1.476010
 174210 = 1.476010
 162744 = 7.380070
 167998 = 2.952030
}
(*temporary) = <table> {
}
(*temporary) = 1.476010
(*temporary) = <table> {
 144303 = 2.083330
 151658 = 2.083330
 151476 = 4.166670
 144296 = 2.604170
 151659 = 2.083330
 152442 = 2.083330
 144293 = 3.125000
 144301 = 0.520830
 152435 = 2.083330
 161243 = 3.125000
 152443 = 2.083330
 144294 = 2.083330
 144298 = 3.125000
 151773 = 2.083330
 151657 = 2.083330
 161241 = 3.125000
 161244 = 3.125000
 161124 = 3.125000
 144295 = 2.083330
 144299 = 2.083330
 151649 = 2.083330
}
(*temporary) = 161244
(*temporary) = 3.125000
(*temporary) = "attempt to index field '?' (a nil value)"
LOP = <table> {
 GetNPCWeightByQuest = <function> defined @yoKey\LibObjectiveProgress-1.0\LibObjectiveProgress-1.0.lua:36
 GetNPCWeightByCurrentQuests = <function> defined @yoKey\LibObjectiveProgress-1.0\LibObjectiveProgress-1.0.lua:48
 LoadWeightDataByMap = <function> defined @yoKey\LibObjectiveProgress-1.0\ProgressWeightData.lua:16
 MapBasedWeights = <table> {
 }
 LoadWeightDataByQuest = <function> defined @yoKey\LibObjectiveProgress-1.0\ProgressWeightData.lua:1785
 GetNPCWeightByMap = <function> defined @yoKey\LibObjectiveProgress-1.0\LibObjectiveProgress-1.0.lua:19
}

Dololo · 2021-01-02 08:36:18

請更新彩虹ui,有修正哦!