You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
d("|cFF00FFWarning: 'LibDataShare' is now disabled due to API restrictions in Update 46. The MapPing API only allows one ping every 10 seconds, and this library is no longer functional. Please uninstall it to avoid seeing this message.|r")
485
-
end, 5000)
486
-
487
-
-- remove functionality of the addon completely by overwriting all functions of the Library
488
-
MapHandler.QueueData=function() end
489
-
MapHandler.SendData=function() end
490
-
lib.PrepareMap=function() returnfalseend
491
-
lib.IsEnabled=function() returnfalseend
492
-
lib.GetMapPing=function() return0, 0end
493
-
lib.SetMapPing=function() end
494
-
lib.ResolveConflicts=function() end
495
-
OnMapPing=function() end
496
-
MapStateChange=function() end
497
-
498
-
return-- exit Initialize function here to not load the OnPlayerActivated function
499
-
end
500
-
501
-
502
-
-- set the ping rate to every 10seconds because of API changes in U46
503
-
PING_RATE=10200
504
-
zo_callLater(function()
505
-
d("|cFF00FFImportant: Please remove 'LibDataShare' from your add-ons! The MapPing API has been rate-limited in Update 46, allowing only one ping every 10 seconds. Continuing to use this library may result in being kicked from the server.|r")
506
-
end, 5000)
507
-
end
508
-
478
+
localfunctionLegacy_MapPing_OnPlayerActivated()
509
479
-- Unregister map ping handler.
510
480
EM:UnregisterForEvent(NAME, EVENT_MAP_PING)
511
481
@@ -529,18 +499,20 @@ local function OnPlayerActivated()
## Description: Deprecated Library for sharing small amounts of data between group members. Originally created for HodorReflexes. Please use LibGroupBroadcast after U45 instead of this Library.
0 commit comments