funkydude / BadBoy

A simple spam blocker & reporter for World of Warcraft.
26 stars 7 forks source link

bad argument canreportplayer #108

Closed Phzzt closed 5 years ago

Phzzt commented 5 years ago

This is poping up a few times per minute after enabling "Show the button more frequently".

9x BadBoy\BadBoy-v8.1.5.lua:221: bad argument #1 to 'CanReportPlayer' (Usage: local canReport = C_ReportSystem.CanReportPlayer(playerLocation))
[C]: ?
BadBoy\BadBoy-v8.1.5.lua:221: in function <BadBoy\BadBoy.lua:218>
SharedXML\C_TimerAugment.lua:16: in function <SharedXML\C_TimerAugment.lua:14>

Locals:
(*temporary) = <table> {
 IsBattleNetGUID = <function> defined @FrameXML\ObjectAPI\PlayerLocation.lua:67
 SetGUID = <function> defined @FrameXML\ObjectAPI\PlayerLocation.lua:47
 IsCommunityData = <function> defined @FrameXML\ObjectAPI\PlayerLocation.lua:133
 IsBattlefieldScoreIndex = <function> defined @FrameXML\ObjectAPI\PlayerLocation.lua:103
 SetUnit = <function> defined @FrameXML\ObjectAPI\PlayerLocation.lua:75
 IsGUID = <function> defined @FrameXML\ObjectAPI\PlayerLocation.lua:63
 chatLineID = 22
 IsChatLineID = <function> defined @FrameXML\ObjectAPI\PlayerLocation.lua:91
 Clear = <function> defined @FrameXML\ObjectAPI\PlayerLocation.lua:148
 IsValid = <function> defined @FrameXML\ObjectAPI\PlayerLocation.lua:51
 SetVoiceID = <function> defined @FrameXML\ObjectAPI\PlayerLocation.lua:111
 IsVoiceID = <function> defined @FrameXML\ObjectAPI\PlayerLocation.lua:117
 GetBattlefieldScoreIndex = <function> defined @FrameXML\ObjectAPI\PlayerLocation.lua:107
 IsUnit = <function> defined @FrameXML\ObjectAPI\PlayerLocation.lua:79
 SetCommunityInvitation = <function> defined @FrameXML\ObjectAPI\PlayerLocation.lua:137
 GetVoiceID = <function> defined @FrameXML\ObjectAPI\PlayerLocation.lua:121
 IsCommunityInvitation = <function> defined @FrameXML\ObjectAPI\PlayerLocation.lua:143
 GetChatLineID = <function> defined @FrameXML\ObjectAPI\PlayerLocation.lua:95
 ClearAndSetField = <function> defined @FrameXML\ObjectAPI\PlayerLocation.lua:162
 GetGUID = <function> defined @FrameXML\ObjectAPI\PlayerLocation.lua:71
 GetUnit = <function> defined @FrameXML\ObjectAPI\PlayerLocation.lua:83
 SetChatLineID = <function> defined @FrameXML\ObjectAPI\PlayerLocation.lua:87
 SetBattlefieldScoreIndex = <function> defined @FrameXML\ObjectAPI\PlayerLocation.lua:99
 SetCommunityData = <function> defined @FrameXML\ObjectAPI\PlayerLocation.lua:125
}