LenweSaralonde / Musician

Add-on for World of Warcraft to perform music in game.
https://musician.lenwe.io
GNU General Public License v3.0
11 stars 4 forks source link

[Bug] Lua error when playing in instances #98

Closed keyboardturner closed 9 months ago

keyboardturner commented 9 months ago

Description

207x bad argument #1 to '?' (outside of expected range -2147483648 to 2147483647 - Usage: local uiMapID, mapPosition = C_Map.GetMapPosFromWorldPos(continentID, worldPosition [, overrideUiMapID])) string "=[C]": in function `GetMapPosFromWorldPos' [string "@Musician/modules/MusicianMap/MusicianMap.lua"]:40: in function <Musician/modules/MusicianMap/MusicianMap.lua:38> [string "@Musician/modules/MusicianMap/MusicianMap.lua"]:117: in function <Musician/modules/MusicianMap/MusicianMap.lua:93>

[string "@DataStore/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:19: in function <...ore/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:15> [string "@DataStore/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:54: in function SendMessage' [string "@Musician/core/Musician.Comm.lua"]:472: in functionProcessChunk' [string "@Musician/core/Musician.Comm.lua"]:581: in function <Musician/core/Musician.Comm.lua:556>

[string "@DataStore/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:19: in function <...ore/libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:15> [string "@DataStore/libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:54: in function `Fire' [string "@DataStore/libs/AceComm-3.0-12/AceComm-3.0.lua"]:260: in function <...ceDataStore/libs/AceComm-3.0/AceComm-3.0.lua:242>

Locals: (*temporary) = "bad argument #1 to '?' (outside of expected range -2147483648 to 2147483647 - Usage: local uiMapID, mapPosition = C_Map.GetMapPosFromWorldPos(continentID, worldPosition [, overrideUiMapID]))"

Reproduction steps

  1. Sit in Valdrakken, probably when somebody is trying to play music somewhere

Actual behavior

error

Expected behavior

no error

Screenshots

image

World of Warcraft flavor

Retail

World of Warcraft version

10.2.5.52902

Add-on version

1.9.8.9

Have you tried disabling all your other add-ons to ensure only this add-on causes the issue?

No

Additional context

bingus

LenweSaralonde commented 9 months ago

This occurs when someone is playing music in an instance.