The Gold Road Chapter – which includes the Scribing system – and Update 42 is now available to test on the PTS! You can read the latest patch notes here: https://forums.elderscrollsonline.com/en/discussion/656454/
Maintenance for the week of April 22:
• PC/Mac: NA megaserver for maintenance – April 25, 6:00AM EDT (10:00 UTC) - 2:00PM EDT (18:00 UTC)
https://forums.elderscrollsonline.com/en/discussion/comment/8098811/#Comment_8098811

Addon API Version Format

Onigar
Onigar
✭✭✭
I am working on an addon and have noticed in some existing addons multiple API versions are identified.

Such as,

## APIVersion: 100021 100022 100023

Could someone please explain the reason behind this.

Thanks
PC EU
Addon Author:
Currency Manager: http://www.esoui.com/downloads/info1998
  • Easily_Lost
    Easily_Lost
    ✭✭✭✭✭
    I do not write addons. The only time I see multiple API Version numbers is when they update the version number for the next DLC release. It is so it will not be tagged as an Out Of Date addon for the current release number and the next release, so they do not have to wait for release day.
    PC - NA - AD
    started April 2015
    PVE & Solo only

    Meet the LOST family: CP 1250+
    Easily Lost Crafter - lvl 50 - Sorcerer Orc ( knows all traits and most styles )
    Easily Lost-W - lvl 50 - Warden Imperial
    Forever Lost - lvl 50 Sorcerer


    CROWN CRATES: It doesn't affect gameplay, it's not mandatory, it's cosmetic only. If it helps to support the game and ZOS, I support it! Say YES to crown crates.
  • Baertram
    Baertram
    ✭✭✭✭✭
    The APIversion on the manifest file is just a number which gets compared with the ingame API returned by function GetAPIVersion().
    If the game, upon loading, notices that the API was raised it disables ALL addons in the addon manager.
    It will only enable those again, where the API number equals to the one of the current game.
    Or if you enable this checkbox "Allow outdated addons" which will just allow the game to enable the addons where this silly number in the manifets txt file is "older"/"lower" than the current GetAPIVersion() func returns.

    So basically addons could work fine and all the game does is disable them because this number is lower... This sucks!
    And we addon devs always have to get annoyed user requests to "update the addon!!!!" but it's working fine and all you need to do is enable this f***g checkbox in the addon manager or change this API version in the txt file yourself by incrementing it by 1.

    It's taking sooo much time to update the files, update the version of the addon as Minion and esoui won't download the addon for you again if you just change the files but not the version (somehow Minion needs to know it got updated so it checks the version).
    And then put it into a ZIP archive and upload it, write changelog like "Just raised API" again and again and again.

    So what we do is put multiple API numbers after another into the txt file and we are happy the game accepts this and enables the addons automatically if a patch was raising the API.
    If the addons do not work afterwards (which we check befor at the PTS in most times and update them where needed, if we find the time) we can even fix them then.

    But we do not need to fix working stuff this way.
    Edited by Baertram on February 28, 2018 2:58PM
  • Onigar
    Onigar
    ✭✭✭
    Baertram wrote: »
    The APIversion on the manifest file is just a number which gets compared with the ingame API returned by function GetAPIVersion().
    If the game, upon loading, notices that the API was raised it disables ALL addons in the addon manager.
    It will only enable those again, where the API number equals to the one of the current game.
    Or if you enable this checkbox "Allow outdated addons" which will just allow the game to enable the addons where this silly number in the manifets txt file is "older"/"lower" than the current GetAPIVersion() func returns.

    So basically addons could work fine and all the game does is disable them because this number is lower... This sucks!
    And we addon devs always have to get annoyed user requests to "update the addon!!!!" but it's working fine and all you need to do is enable this f***g checkbox in the addon manager or change this API version in the txt file yourself by incrementing it by 1.

    It's taking sooo much time to update the files, update the version of the addon as Minion and esoui won't download the addon for you again if you just change the files but not the version (somehow Minion needs to know it got updated so it checks the version).
    And then put it into a ZIP archive and upload it, write changelog like "Just raised API" again and again and again.

    So what we do is put multiple API numbers after another into the txt file and we are happy the game accepts this and enables the addons automatically if a patch was raising the API.
    If the addons do not work afterwards (which we check befor at the PTS in most times and update them where needed, if we find the time) we can even fix them then.

    But we do not need to fix working stuff this way.

    Thank you very much for the detailed reply.

    It is now clear to me the multiple APIversion numbers provide a little forward thinking on the part of the Addon Author and if there is no issue after the update/patch then there is no reason to revisit the Addon just to update the APIversion number.

    I realise there are several Addon Authors who now have adopted a number of Addons from people who have left the ESO Game and as such anything, like this feature, which can reduce unnecessary workload is good.

    I will make use of this feature for my Addons.

    Also, I have now found the reference in the ESOUI wiki for this feature however there it shows the APIversion numbers comma +space separated rather than just space separated. I guess then both formats will work.
    PC EU
    Addon Author:
    Currency Manager: http://www.esoui.com/downloads/info1998
Sign In or Register to comment.