- Added real time compile error while writing a custom script.

- Added protection on compiling a custom script to show in the window, an error text should be printed to chat window.
- Added events: COMM_EVENT_RECEIVED and COMM_EVENT_SENT.
- When options panel is not in the screen, the script will attempt to fix the position.
- While doing a sync on guild statistics, more information about the download is shown.
This commit is contained in:
Tercio
2018-02-09 11:33:02 -02:00
parent 521fee8ba7
commit 0b38e849bc
10 changed files with 211 additions and 88 deletions
+7 -4
View File
@@ -56,9 +56,10 @@
["BUFF_UPDATE_DEBUFFPOWER"] = {},
--> network
["REALM_CHANNEL_ENTER"] = {},
["REALM_CHANNEL_LEAVE"] = {},
["REALM_CHANNEL_ENTER"] = {}, --deprecated (realm channels are disabled)
["REALM_CHANNEL_LEAVE"] = {}, --deprecated
["COMM_EVENT_RECEIVED"] = {}, --added on core 129
["COMM_EVENT_SENT"] = {}, --added on core 129
}
local function AlreadyRegistred (_tables, _object)
@@ -109,6 +110,8 @@ local common_events = {
["ZONE_TYPE_CHANGED"] = true,
["REALM_CHANNEL_ENTER"] = true,
["REALM_CHANNEL_LEAVE"] = true,
["COMM_EVENT_RECEIVED"] = true,
["COMM_EVENT_SENT"] = true,
}
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
@@ -228,7 +231,7 @@ local common_events = {
--> Send Event
function _detalhes:SendEvent (event, object, ...)
--> send event to all registred plugins
if (event == "PLUGIN_DISABLED" or event == "PLUGIN_ENABLED") then