Quantcast
Download
(88 Kb)
Download
Updated: 10/16/17 04:52 PM
Pictures
File Info
Compatibility:
Clockwork City (3.2)
Horns of the Reach (3.1)
Updated:10/16/17 04:52 PM
Created:07/05/15 09:52 AM
Monthly downloads:1,282
Total downloads:39,668
Favorites:46
MD5:
Categories:PvP, Info, Plug-in Bars
3.2
Cyrodiil Alert 2 - Keep Status and Campaign Queue  Popular! (More than 5000 hits)
Version: 2.3.1
by: Enodoc [More]
Tanthul's original Cyrodiil Alert add-on, updated for Imperial City with new options and features.

I always found Cyrodiil Alert very useful, and was sorry to see it fall into the Discontinued and Outdated category. When it no longer worked properly after Update 6, I decided to try and adapt and improve on the original and add a slew of new features in the process.

Note: It is advisable to uninstall the original Cyrodiil Alert before installing this add-on, in order to avoid any unintended conflicts.

Original features:
Features from the original Cyrodiil Alert, largely unchanged:
  • Alerts when attacks start and stop on keeps/resources.
  • Shows amount of attacking and defending sieges at the moment the attack registers on the map.
  • Alerts when a keep or resource is captured by another alliance.
  • Alerts about Coronations and Deposing of Emperors (Default is On).
  • Alerts about opening or closing of Gates (Default is On).
  • Alerts about claiming keeps for a guild (Default in On).
  • Alerts about scrolls (taken/dropped/captured) (Default is On).
  • Optional additional output to chat (Default is On).
  • Ability to disable On Screen Notifications and only output to chat tab.
  • Setting to turn off Notifications when out of Cyrodiil (in Settings menu and fast slash command toggle "/ca out").
  • All Notifications added as On/Off toggles in Settings.

New features:
  • Uses ESO's built-in notifications.
  • Alliance ownership shown by alliance colours in notifications (Default is On).
  • Shows amount of sieges by alliance when the attack registers (Default is On).
  • Option to show only notifications relevant to "My Alliance".
  • Alerts for individual keep flags (Apse and Nave) and outpost flags (Tower and Courtyard) being captured.
    • Optional extension to include individual resource flags.
    • Optional extension to show flags falling to the Neutral state during capture.
  • Alerts for Cyrodiil Town capture.
  • Alerts for Imperial City access being gained or lost, including whether the player currently has access or not.
  • Alerts for Imperial City District capture.
  • Alerts showing when position in the Campaign Queue changes (Default is On).
  • Alerts for Campaign Score Evaluation.
  • Alerts for Low Population Bonus.
  • New Lock/Unlock option to move the UI window - no more moving it around by accident!
  • Setting to turn off Notifications when in the Imperial City.
  • Settings Menu moved into the "Add-Ons" sub-menu of LibAddonMenu-2.0.
  • Current Status Output - Shows status of all keeps (or just those under attack) in the chat window, including current sieges, and summary of alliance and individual Imperial City access. Trigger this from the Settings menu, or slash command toggle "/ca status", "/ca attacks" or "/ca imperial".
  • Automatically enter Cyrodiil once the Campaign Queue pops (Default is Off).

Slash commands:
  • "/ca show" or "/ca hide": make the window visible so you can move it in mouse pointer mode (default key binding ".")
  • "/ca status": output status of all keeps to the chat box
  • "/ca attacks": output status of keeps under attack to the chat box
  • "/ca imperial": output Imperial City Access status, status of districts under attack, and status of Tel Var bonuses to the chat box
  • "/ca ic access": output Imperial City Access status to the chat box
  • "/ca ic districts": output status of Tel Var bonuses and districts under attack to the chat box
  • "/ca ic all": output Imperial City Access and status of all districts and Tel Var bonuses to the chat box
  • "/ca score": show the current campaign score
  • "/ca underpop": show the current status of the Low Population bonus
  • "/ca init": reinitialize the add-on
  • "/ca out": toggle notifications outside of Cyrodiil

Known issues:
  • The add-on does not currently function properly outside of Cyrodiil, due to the game itself not correctly updating the Home Campaign information registered on the Map and Scoreboard.
  • CA will occasionally fail to initialize properly when first loading into Cyrodiil. "/reloadui" will reset the initialization process; alternatively, CA can be forced to reinitialize with "/ca init", and will otherwise fix itself when leaving the Border Gate area or using the Transitus network.
  • Some long notifications may be truncated when announcements are set to display as "Major" in the ESO UI. (This is more prevalent in the German localization, but exists in the other languages as well.) This is a limitation of the base UI's announcement system, and so cannot be addressed. However, setting the notification display to "Minor" will not truncate messages, so is the best available workaround.

Localization:
Japanese localization by Lionas. 日本語版: Lionas [ライオナス]
Before being added to the main release, Lionas' JP patches can be found here.

German localization by Scootworks.

Feel free to provide feedback and suggest features you would like to see.

Full credit for the original Cyrodiil Alert (prior to Version 1.0.0) goes to:
@Tanthul, Leader of the Dark Moon guild, operating on the European Scourge campaign.
(AKA: Nodens - Developer of RealBench for ASUS Republic of Gamers)

Version 2.3 developed by:
@Enodoc, Savant of the United Explorers of Scholarly Pursuits (UESP)
UESP: The Unofficial Elder Scrolls Pages - A collaborative source for all knowledge on the Elder Scrolls series since 1995. Find us at www.uesp.net
Version 2.3.1
  • Updated LibAddonMenu to r25
  • Reupload 16/10/17 - Corrected Version number

Version 2.3.0
  • Updated API version to 100021
  • Added a new option to automatically enter Cyrodiil once your position in the Campaign Queue reaches 0 (default OFF). This is configurable for 5-50 seconds. (Requested by Marazota.)
  • Suppression of the vanilla ESO notifications has been retired. It hasn't worked properly since the update to the announcement system, and that functionality will be available in the base ESO "Social" settings, as of Update 16.
Important Note: Due to limitations in its design, the original CyrodiilAlert custom UI window developed by Tanthul (called "CA UI" since version 2.0) is now considered deprecated, and new features will not be developed with CA UI support in mind. It is recommended that you switch to the "ESO UI" built-in announcement system for CyrodiilAlert if you are not already using it, and I will probably phase out the original custom alert window over the next few updates.


Version 2.2.4
  • Fixed a bug in colour definitions that was causing a UI error.

Version 2.2.3
  • Added API version 100020 (existing API 100019 continues to be supported)
  • Further reduced the number of Unknown Flags at Neutral

Version 2.2.2
  • Updated API version to 100019
  • Tweaked the coding for Flags at Neutral to significantly reduce the number of Unknowns
  • Note: There was an overhaul in the API for the center-screen ESO announcement panel, so there may be some issues that I haven't picked up on. Please report any bugs you find!

Version 2.2.1
  • Fixed a bug where the intended sounds were not playing for the Score Evaluation and Low Population Bonus notifications

Version 2.2.0
  • Updated API version to 100018
  • Added a new Score Evaluation notification, appears when the score is reevaluated
  • Added a new Low Population Bonus notification, appears when the underpop bonus is reevaluated
  • Individual flags falling to Neutral control now indicate which alliance has lost control
    • Known Issue - This actually does not work, as the API does not currently return the losing alliance or the capturing alliance for an objective at Netural. As a result, the impact of this change is currently only a rewording (from "x has fallen to No Control" to "Unknown has lost control of x")
  • Added two new slash commands:
    • "/ca score" shows the current campaign score
    • "/ca underpop" shows the current status of the Low Population bonus

Version 2.1.6 (unreleased)
  • Option for Under Attack notifications to be displayed in the ESO UI as a Major or Minor event (default Major)
  • Fixed a bug where towns under attack were not showing up in the ESO UI during initialization
  • Certain sounds played during ESO UI notifications are now more subtle:
    • Keep Capture when the notification is set as a Minor event
    • Individual flag notifications

Version 2.1.5
  • Updated LibAddonMenu to r23

Version 2.1.4
  • Updated API version to 100017

Version 2.1.3
  • Updated LibAddonMenu to r22
  • CA no longer stores Alliance Owner status in memory

Version 2.1.2
  • Updated German localization (thanks to Scootworks)

Version 2.1.1
  • Added German localization (thanks to Scootworks)
  • Updated LibAddonMenu to r21
  • Known Issue - Some long notifications may be truncated when announcements are set to display as "Major" in the ESO UI. (This is more prevalent in the German localization, but exists in the other languages as well.) This is a limitation of the announcement system, and so cannot be addressed. However, setting the notification display to "Minor" will not truncate messages, so is the best available workaround.

Version 2.1.0
  • Added Japanese localization (thanks to Lionas)
  • Most strings moved to string definition files (thanks again to Lionas)
  • Added an option to display Keeps Under Attack in the on-screen Initialization message when using ESO UI
  • Added a new Queue Ready notification
  • CA no longer stores Under Attack status in memory
  • All Imperial City notifications are disabled if you do not have the DLC (this can be temporarily overridden in the Settings)
  • All Imperial City notification settings moved to their own section in the Settings menu for clarity

Version 2.0.1
  • Fixed a bug that was causing Imperial City District notifications to appear regardless of the display setting (this definition now uses keepType instead of keepId)
  • Clarified some settings in the redesigned Settings menu

Version 2.0.0
  • Cyrodiil Alert now uses the base UI's announcement system by default
    • You can continue to use CA's custom UI by setting the "On-Screen Notifications" to "CA UI"
    • Alerts will no longer override each other when appearing in quick succession if using the ESO UI
    • Option to have ESO UI notifications with or without sound (default ON)
    • Option for Keep Capture to be displayed in the ESO UI as a Major or Minor event (default Major)
    • Note: You may wish to reduce your Notification Delay period if you use the ESO UI.
    • Note: The ESO announcement panel cannot be moved with this add-on, as it is a base UI element. To move around elements of the base UI, please use an alternative add-on such as Azurah.
  • Added API version 100016 (existing API 100015 continues to be supported)
  • Added support for Town Capture:
    • Added notifications for when a town is captured
    • Option to show individual town flags (default ON since each town has three flags)
    • Initialization message now shows Town Status
  • Changed how text strings are generated, to make it easier for anyone to work on localization (please let me know if you would like to localize the add-on for FR, DE, or JP)
  • Overhauled the Settings menu

Version 1.3.2 (unreleased)
  • Added option to hide Tel Var bonus changes on District Capture notifications

Version 1.3.1
  • Updated defaults:
    • "Show District Capture in Cyrodiil" defaults to OFF
    • Centered Horizontal Position compared to compass (default 560)
    • Lowered Vertical Position to go under updated Target Frames (default 180)

Version 1.3.0
  • Updated API version to 100015
  • Added support for District Capture:
    • Added notifications for when a district is captured, including changes to Tel Var bonus
    • Options to show District Capture only in Imperial City, or both in IC and in Cyrodiil
    • Option to show individual district flags (default OFF since each district only has one flag)
    • Initialization message now shows District Status
  • Updated Imperial City slash commands:
    • "/ca imperial" and "/ca ic" now show both Access status, and status of districts under attack
    • "/ca ic all" shows Access status and status of all districts and Tel Var bonuses
    • "/ca ic access" shows Access status
    • "/ca ic districts" shows status of Tel Var bonuses and districts under attack
  • Fixed a bug where "Under Attack" notifications would not show if neither Siege option was turned on

Version 1.2.5
  • Updated LibAddonMenu to r20

Version 1.2.4
  • Updated API version to 100014
  • Updated LibAddonMenu to r19

Version 1.2.3 (unreleased)
  • Streamlined initialization code
  • Recoloured Imperial City notifications

Version 1.2.2
  • Fixed a couple of typos in the colorDefs that were generating UI errors

Version 1.2.1
  • Updated API version to 100013
  • Advertisement - Please help test my new add-on, Scaling Alert, now in beta!

Version 1.2.0
  • Changed most uses of hex-code colours to use zo_colorDef functions
    • Now uses many existing in-game colours without redefining them
  • CA should now initialize consistently when entering a new zone -- Thanks Ayantir for the relevant function!
    • (The Known Issue from v1.1.5 should be fixed)
  • Compacted Imperial City Status output
  • Compacted a few other chat output calls which previously used multiple lines
  • Initialization message will now show Imperial City Status only if Imperial City Notifications are On (you can still trigger IC Status at any time with "/ca ic")

Version 1.1.6
  • Fixed the keep counter for majority control and open access campaigns (was inadvertently counting Home keeps instead of Controlled keeps)

Version 1.1.5
  • Fixed the keep counter for gated access campaigns (was inadvertently counting Emperor keeps instead of Imperial City keeps)
  • Known Issue - CA will occasionally fail to initialize properly when first loading into Cyrodiil. "/reloadui" will reset the initialization process; alternatively, CA can be forced to reinitialize with "/ca init", and will otherwise fix itself when leaving the Border Gate area or using the Transitus network.

Version 1.1.4
  • Updated alliance colours to match the changed colours in-game
  • Imperial City Status now shows number of controlled/required keeps for gated access campaigns added in ESO 2.1.7

Version 1.1.3
  • Updated API version to 100012
  • Re-enabled the disabled code from v1.1.1
  • Separated Imperial City Status from Keep Status - it now has its own output command "/ca ic"
  • Added the following slash commands:
    • /ca init - reinitialize the add-on
    • /ca imperial - output Imperial City Access status to chat
    • /ca ic - shorthand for "/ca imperial"
  • The Known Issue from v1.1.0 should be fixed

Version 1.1.2
  • Vanilla UI notifications are now only disabled outside of Cyrodiil by default if CA is actually in use outside of Cyrodiil
  • Added additional option to permanently disable the vanilla UI notifications outside of Cyrodiil
  • Added option to redirect disabled vanilla notifications to Chat (thanks again to Garkin for the related code)
  • Reversed the logical for disabling the vanilla UI notifications, for consistency with these additions; if previously you had "Use Default ESO Notifications" set to OFF, you will need to set "Disable Default ESO Notifications" to ON, and vice versa.

Version 1.1.1
  • Temporarily disabled part of the Imperial City code which was relying on something that doesn't yet exist, generating a cyclical error in the Initialization Message

Version 1.1.0
  • Preparation for Imperial City:
    • Added Imperial City to Current Status
    • Added notifications for Imperial City Access Gained/Lost
    • Option to disable notifications when inside Imperial City
  • Extended the vertical text area to reduce the number of truncated strings
  • Added option to disable the default (vanilla) UI notifications for Artifact Gates, Emperors, Elder Scrolls, and Imperial City, and use CA's own notifications instead. Many thanks to Garkin for the relevant code.
  • Known Issue - LibAddonMenu2.0 generates an error in chat due to one of the Imperial City settings not existing yet. This can be ignored, and will fix itself when Imperial City is released.

Version 1.0.2
  • Second attempted fix for a nil value error in Scroll Notifications (last one didn't work)
  • Added Scroll Returned to Base to Scroll Notifications
  • Added Scroll Returned by Timer to Scroll Notifications

Version 1.0.1
  • Attempted fix for a nil value error in Scroll Notifications
Optional Files (1)
File Name
Version
Size
Author
Date
Type
2.0.1
21kB
07/06/16 08:23 AM
Patch


Archived Files (32)
File Name
Version
Size
Author
Date
2.3.1
88kB
Enodoc
09/30/17 10:00 AM
2.3.0
85kB
Enodoc
09/27/17 04:28 PM
2.2.4
85kB
Enodoc
08/16/17 05:42 PM
2.2.3
85kB
Enodoc
07/24/17 04:15 PM
2.2.2
85kB
Enodoc
05/23/17 10:50 AM
2.2.1
84kB
Enodoc
04/09/17 08:14 AM
2.2.0
84kB
Enodoc
02/05/17 02:23 PM
2.1.5
73kB
Enodoc
10/31/16 01:34 PM
2.1.4
77kB
Enodoc
10/05/16 11:14 AM
2.1.3
77kB
Enodoc
08/08/16 01:01 PM
2.1.2
79kB
Enodoc
08/04/16 02:16 PM
2.1.1
79kB
Enodoc
08/03/16 11:15 AM
2.1.0
72kB
Enodoc
07/09/16 05:12 PM
2.0.1
58kB
Enodoc
07/05/16 04:23 PM
2.0.0
58kB
Enodoc
07/04/16 01:37 PM
1.3.1
57kB
Enodoc
06/01/16 02:47 PM
1.3.0
57kB
Enodoc
06/01/16 01:35 PM
1.2.5
56kB
Enodoc
03/31/16 11:47 AM
1.2.4
51kB
Enodoc
03/10/16 12:53 PM
1.2.2
51kB
Enodoc
11/03/15 11:59 AM
1.2.1
51kB
Enodoc
11/02/15 01:40 PM
1.2.0
51kB
Enodoc
10/30/15 05:56 PM
1.1.6
50kB
Enodoc
10/20/15 12:33 PM
1.1.5
50kB
Enodoc
09/24/15 06:23 PM
1.1.4
50kB
Enodoc
09/21/15 11:20 AM
1.1.3
50kB
Enodoc
08/31/15 05:19 PM
1.1.2
50kB
Enodoc
08/13/15 10:55 AM
1.1.1
50kB
Enodoc
08/11/15 05:04 PM
1.1.0
50kB
Enodoc
08/11/15 12:05 PM
1.0.2
48kB
Enodoc
07/16/15 04:48 PM
1.0.1
48kB
Enodoc
07/15/15 04:30 PM
1.0.0
48kB
Enodoc
07/05/15 09:52 AM


Post A Reply Comment Options
Unread 10/06/17, 03:51 PM  
Enodoc
AddOn Author - Click to view AddOns

Forum posts: 43
File comments: 68
Uploads: 4
Originally Posted by NBrookus
On some characters (but not all), I get IC district notifications even though I have them turned off. I have tried turning them on and then back off again; no luck.

Is anyone else experiencing this issue, and how did you resolve it?
That's a bit strange, there shouldn't be anything that sometimes works and sometimes doesn't. I'll keep an eye out for that happening for me too. Do you have any reproducible steps? For example:
  • Are you in Imperial City, or in Cyrodiil?
  • What are your settings for:
    • Enable Cyrodiil Notifications Inside Imperial City
    • Show Initialization Message
    • Enable Imperial City Access Notifications
    • Enable District Capture Notifications
    • Show District Capture in Cyrodiil
    • Show Tel Var Capture Bonus
    • Enable Individual Flag Notifications
    • Show District Flags
    • Imperial City DLC Collectible
  • Do you own Imperial City, or do you have ESO Plus (or both)?
Thanks!
__________________
ESOTU Community Ambassador

UESP: The Unofficial Elder Scrolls Pages - A collaborative source for all knowledge on the Elder Scrolls series since 1995
Report comment to moderator  
Reply With Quote
Unread 09/29/17, 07:18 AM  
NBrookus

Forum posts: 0
File comments: 6
Uploads: 0
On some characters (but not all), I get IC district notifications even though I have them turned off. I have tried turning them on and then back off again; no luck.

Is anyone else experiencing this issue, and how did you resolve it?
Report comment to moderator  
Reply With Quote
Unread 09/20/17, 06:54 PM  
Enodoc
AddOn Author - Click to view AddOns

Forum posts: 43
File comments: 68
Uploads: 4
Originally Posted by Marazota
since tweakit is abandoned
can we have a feature to AUTO accept when queue ready to join campaigns in this addon? ty
Auto-accept the queue? I'll have a look and see if that's doable. I don't see it as a feature of TweakIt, but I'll see what I can do.

Originally Posted by Daeymon
For a while now this addon no longer supresses the default ESO notifications. Does anyone else have this issue?
Yeah I think that's been like that since the change in the API for CENTER_SCREEN_ANNOUNCE. I got the original code for that from No, Thank You and I haven't seen if anyone's updated that yet.
Although it shouldn't be an issue much longer anyway, as that functionality is being added to the base UI in Update 16. So what I'll actually be doing is just removing the remnants of that feature from the add-on.
__________________
ESOTU Community Ambassador

UESP: The Unofficial Elder Scrolls Pages - A collaborative source for all knowledge on the Elder Scrolls series since 1995
Report comment to moderator  
Reply With Quote
Unread 09/16/17, 09:25 AM  
Daeymon

Forum posts: 0
File comments: 129
Uploads: 0
For a while now this addon no longer supresses the default ESO notifications. Does anyone else have this issue?
Report comment to moderator  
Reply With Quote
Unread 09/08/17, 02:11 AM  
Marazota

Forum posts: 25
File comments: 243
Uploads: 0
since tweakit is abandoned
can we have a feature to AUTO accept when queue ready to join campaigns in this addon? ty
Report comment to moderator  
Reply With Quote
Unread 08/16/17, 05:45 PM  
Enodoc
AddOn Author - Click to view AddOns

Forum posts: 43
File comments: 68
Uploads: 4
Re: Re: Lua Error

Originally Posted by FWSWBN

and

after installing the new patch.
Originally Posted by Daeymon
Edited this comment to remove the error message now that FWSWBN is menitoning both errors which I'm also getting.
Originally Posted by Enodoc
Hmm, that's a pain. It was working fine on PTS...
The error should be fixed with v2.2.4. Let me know if you're still having problems!
__________________
ESOTU Community Ambassador

UESP: The Unofficial Elder Scrolls Pages - A collaborative source for all knowledge on the Elder Scrolls series since 1995
Report comment to moderator  
Reply With Quote
Unread 08/16/17, 04:39 PM  
Enodoc
AddOn Author - Click to view AddOns

Forum posts: 43
File comments: 68
Uploads: 4
Re: Lua Error

Originally Posted by FWSWBN
user:/AddOns/CyrodiilAlert/CyrodiilAlert.lua:210: attempt to index a nil value
stack traceback:
user:/AddOns/CyrodiilAlert/CyrodiilAlert.lua:210: in function 'CA.InitKeeps'
EsoUI/Libraries/Globals/globalapi.lua:195: in function '(anonymous)'
and
Checking type on argument interfaceColorType failed in GetInterfaceColor_lua
stack traceback:
[C]: in function 'GetInterfaceColor'
EsoUI/Libraries/Utility/ZO_ColorDef.lua:46: in function 'ZO_ColorDef.FromInterfaceColor'
user:/AddOns/CyrodiilAlert/CyrodiilAlert.lua:134: in function 'CA.Initialise'
after installing the new patch.
Hmm, that's a pain. It was working fine on PTS...
__________________
ESOTU Community Ambassador

UESP: The Unofficial Elder Scrolls Pages - A collaborative source for all knowledge on the Elder Scrolls series since 1995
Report comment to moderator  
Reply With Quote
Unread 08/14/17, 09:14 AM  
Daeymon

Forum posts: 0
File comments: 129
Uploads: 0
Re: Lua Error

Edited this comment to remove the error message now that FWSWBN is menitoning both errors which I'm also getting.
Last edited by Daeymon : 08/14/17 at 09:31 AM.
Report comment to moderator  
Reply With Quote
Unread 08/14/17, 09:09 AM  
FWSWBN
 
FWSWBN's Avatar

Forum posts: 8
File comments: 194
Uploads: 0
Lua Error

user:/AddOns/CyrodiilAlert/CyrodiilAlert.lua:210: attempt to index a nil value
stack traceback:
user:/AddOns/CyrodiilAlert/CyrodiilAlert.lua:210: in function 'CA.InitKeeps'
EsoUI/Libraries/Globals/globalapi.lua:195: in function '(anonymous)'
and

Checking type on argument interfaceColorType failed in GetInterfaceColor_lua
stack traceback:
[C]: in function 'GetInterfaceColor'
EsoUI/Libraries/Utility/ZO_ColorDef.lua:46: in function 'ZO_ColorDef.FromInterfaceColor'
user:/AddOns/CyrodiilAlert/CyrodiilAlert.lua:134: in function 'CA.Initialise'
after installing the new patch.
Last edited by FWSWBN : 08/14/17 at 09:14 AM.
Report comment to moderator  
Reply With Quote
Unread 06/06/17, 12:29 PM  
Enodoc
AddOn Author - Click to view AddOns

Forum posts: 43
File comments: 68
Uploads: 4
Re: Re: LUA Error

Originally Posted by entropy43
Originally Posted by Rothry
First of all, of course: Thanks for supporting this addon ;-)
since morrowind i get this message:

user:/AddOns/CyrodiilAlert/CyrodiilAlert.lua:1731: operator # is not supported for # nil
stack traceback:
user:/AddOns/CyrodiilAlert/CyrodiilAlert.lua:1731: in function 'CA.HookAvAMessages'
user:/AddOns/CyrodiilAlert/CyrodiilAlert.lua:76: in function 'CA.Initialise'

is this fixable?
I found this temporary fix. In CyrodiilAlert.lua, replace all instances of
Code:
    CENTER_SCREEN_ANNOUNCE.m_displayQueue
with
Code:
   CENTER_SCREEN_ANNOUNCE.displayQueue
(this was an API change in Morrowind)

This removes the error.

I also read about the following API changes and made these changes in CyrodiilAlert.lua. They're working fine for me so far:
1. Replace CSA_EVENT_COMBINED_TEXT with CSA_CATEGORY_LARGE_TEXT
2. Replace CSA_EVENT_SMALL_TEXT with CSA_CATEGORY_SMALL_TEXT
3. Replace CSA_EVENT_LARGE_TEXT with CSA_CATEGORY_LARGE_TEXT
Didn't I do all of that already in the last update?
__________________
ESOTU Community Ambassador

UESP: The Unofficial Elder Scrolls Pages - A collaborative source for all knowledge on the Elder Scrolls series since 1995
Report comment to moderator  
Reply With Quote
Unread 06/01/17, 09:50 PM  
entropy43

Forum posts: 0
File comments: 1
Uploads: 0
Re: LUA Error

Originally Posted by Rothry
First of all, of course: Thanks for supporting this addon ;-)
since morrowind i get this message:

user:/AddOns/CyrodiilAlert/CyrodiilAlert.lua:1731: operator # is not supported for # nil
stack traceback:
user:/AddOns/CyrodiilAlert/CyrodiilAlert.lua:1731: in function 'CA.HookAvAMessages'
user:/AddOns/CyrodiilAlert/CyrodiilAlert.lua:76: in function 'CA.Initialise'

is this fixable?
I found this temporary fix. In CyrodiilAlert.lua, replace all instances of
Code:
    CENTER_SCREEN_ANNOUNCE.m_displayQueue
with
Code:
   CENTER_SCREEN_ANNOUNCE.displayQueue
(this was an API change in Morrowind)

This removes the error.

I also read about the following API changes and made these changes in CyrodiilAlert.lua. They're working fine for me so far:
1. Replace CSA_EVENT_COMBINED_TEXT with CSA_CATEGORY_LARGE_TEXT
2. Replace CSA_EVENT_SMALL_TEXT with CSA_CATEGORY_SMALL_TEXT
3. Replace CSA_EVENT_LARGE_TEXT with CSA_CATEGORY_LARGE_TEXT
Last edited by entropy43 : 06/01/17 at 09:51 PM.
Report comment to moderator  
Reply With Quote
Unread 05/23/17, 04:41 AM  
Enodoc
AddOn Author - Click to view AddOns

Forum posts: 43
File comments: 68
Uploads: 4
Re: LUA Error

Originally Posted by Rothry
First of all, of course: Thanks for supporting this addon ;-)
since morrowind i get this message:

user:/AddOns/CyrodiilAlert/CyrodiilAlert.lua:1731: operator # is not supported for # nil
stack traceback:
user:/AddOns/CyrodiilAlert/CyrodiilAlert.lua:1731: in function 'CA.HookAvAMessages'
user:/AddOns/CyrodiilAlert/CyrodiilAlert.lua:76: in function 'CA.Initialise'

is this fixable?
Yeah sorry, I've got the patch ready to go but haven't had time to upload it yet! Due to the change in the API for CENTER_SCREEN_ANNOUNCE there may be a few things I didn't catch too.
__________________
ESOTU Community Ambassador

UESP: The Unofficial Elder Scrolls Pages - A collaborative source for all knowledge on the Elder Scrolls series since 1995
Report comment to moderator  
Reply With Quote
Unread 05/23/17, 02:21 AM  
Rothry

Forum posts: 0
File comments: 25
Uploads: 0
LUA Error

First of all, of course: Thanks for supporting this addon ;-)
since morrowind i get this message:

user:/AddOns/CyrodiilAlert/CyrodiilAlert.lua:1731: operator # is not supported for # nil
stack traceback:
user:/AddOns/CyrodiilAlert/CyrodiilAlert.lua:1731: in function 'CA.HookAvAMessages'
user:/AddOns/CyrodiilAlert/CyrodiilAlert.lua:76: in function 'CA.Initialise'

is this fixable?
Report comment to moderator  
Reply With Quote
Unread 05/22/17, 05:29 AM  
Enodoc
AddOn Author - Click to view AddOns

Forum posts: 43
File comments: 68
Uploads: 4
Originally Posted by PaulScelus
Originally Posted by Enodoc
Originally Posted by PaulScelus
Hi,

I noticed today that the "Individual Flag Notifications" > "Show Flags at Neutral" option, when enabled, has been outputting "Unknown" as the source. Here is what I mean:



I haven't done any PvP in a long while so by "today" I don't mean it hasn't happened at all in this update. Just that I was in PvP today and saw it occur

Thanks for your time!
Yeah, sorry, that's a known issue with the API, so there's not really much I can do about it. The API is currently returning two blank Alliance values when a flag goes to Neutral, instead of returning the ID of the capturing alliance in one parameter and the ID of the losing alliance in the other. Your best bet for now would be to just turn off the Neutral display, since it's rather useless if that info is not being given.
Ah. That's a shame. Thanks for the info!
It doesn't sound like the API for this will be changing any time soon, so I've changed the way I get the info from the API instead. In today's patch you will hopefully see less Unknowns, but as a trade off I had to use a bit more lua memory as a result.
__________________
ESOTU Community Ambassador

UESP: The Unofficial Elder Scrolls Pages - A collaborative source for all knowledge on the Elder Scrolls series since 1995
Last edited by Enodoc : 05/22/17 at 05:31 AM.
Report comment to moderator  
Reply With Quote
Unread 05/06/17, 03:58 PM  
PaulScelus
 
PaulScelus's Avatar

Forum posts: 0
File comments: 17
Uploads: 0
Originally Posted by Enodoc
Originally Posted by PaulScelus
Hi,

I noticed today that the "Individual Flag Notifications" > "Show Flags at Neutral" option, when enabled, has been outputting "Unknown" as the source. Here is what I mean:



I haven't done any PvP in a long while so by "today" I don't mean it hasn't happened at all in this update. Just that I was in PvP today and saw it occur

Thanks for your time!
Yeah, sorry, that's a known issue with the API, so there's not really much I can do about it. The API is currently returning two blank Alliance values when a flag goes to Neutral, instead of returning the ID of the capturing alliance in one parameter and the ID of the losing alliance in the other. Your best bet for now would be to just turn off the Neutral display, since it's rather useless if that info is not being given.
Ah. That's a shame. Thanks for the info!
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: