ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   Wish List (https://www.esoui.com/forums/forumdisplay.php?f=177)
-   -   [implemented] ESO Client Version and ESO Client type (https://www.esoui.com/forums/showthread.php?t=6297)

Ayantir 05/26/16 03:39 PM

[implemented] ESO Client Version and ESO Client type
 
Lua Code:
  1. local localClientVersion = GetESOLocalVersion()
  2. -- ex : "2.4.4" (The version of the ESO Client).

(It could be interesting to push this info on the executable properties too at the compilation process).

Lua Code:
  1. local clientType = GetESOClientType()
  2. -- ex "WIN32", "WIN64", "MAC"

ZOS_ChipHilseberg 05/27/16 07:54 AM

These are probably possible. What is the use case you have in mind?

Ayantir 05/27/16 08:33 AM

GetESOLocalVersion() is mainly used for datamining and building websites as we cannot determinate the minor version of the game.
It permit to have a better system than have to build checking comparaison table based on dates which can be inacurrate due to NA/EU delayed changes.
You sometimes add features (items, skill revamp, boss changes) on minor revisions and with a base on APIVersion, it can be innapropriate to base our data with only the "major version".

I will personally use it for my eidetic dataminer in LoreBook addon, but the original need come from uesp.net and I greatly guess that eso-leaderoards.com will be interested, maybe other websites too.


GetESOClientType() is mainly used to determine the limit of our array sizes for savedvars (with eso64).

Some addons keep HUGE data in savedvariables and cannot be used with eso32 anymore when a certain amount of data is stored (the game simply crash).

It will permit to avoid this litte issue and avoid to use concatenated multiple savedvars into a single one.
The need is here also for dataminers in order to build websites, and maybe some other trading addons which keep a lot of data in memory.


I understand they are minor need, but still interesting to have.

ZOS_ChipHilseberg 05/31/16 04:16 PM

We added GetESOVersionString() and Is64BitClient() for the next update.


All times are GMT -6. The time now is 01:45 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI