Quantcast
[open] new globals - ESOUI
Thread Tools Display Modes
04/19/19, 04:22 PM   #1
Scootworks
 
Scootworks's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2014
Posts: 296
[open] new globals

simple wishes:
- MAX_ABILITY_ID
- MAX_ITEM_ID
- MAX_SET_ID


done:
- MAX_PLAYER_PET -> MAX_PET_UNIT_TAGS
- MAX_ZONE_ID (sirinsidiator, marlonbrando)


thanks
__________________
EU Server - SŁĄuGhTerHĜuSe

Last edited by Scootworks : 07/02/20 at 09:30 PM.
  Reply With Quote
04/20/19, 02:10 AM   #2
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,448
Great idea! MAX_ZONE_ID would also be cool.
__________________
https://www.imperialtradingcompany.eu/ - My Addons - The Vault (Early updates and experimental projects) - My patreon - My blog
>siri.exe MyAddon
Does your addon work? [y/n] n
There is a typo in there.
  Reply With Quote
04/20/19, 03:24 PM   #3
marlonbrando
AddOn Author - Click to view addons
Join Date: Dec 2015
Posts: 13
Originally Posted by sirinsidiator View Post
Great idea! MAX_ZONE_ID would also be cool.
Ditto, for all of the suggestions.
  Reply With Quote
03/27/20, 02:54 PM   #4
Scootworks
 
Scootworks's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2014
Posts: 296
well done! we got MAX_PET_UNIT_TAGS at least thanks
__________________
EU Server - SŁĄuGhTerHĜuSe
  Reply With Quote
03/28/20, 08:31 AM   #5
Keldor
 
Keldor's Avatar
AddOn Author - Click to view addons
Join Date: Jan 2015
Posts: 69
These globals are a great idea
__________________
ESO-Database.com | Character- and Guild Database [EN/DE] (System Status)
ESO-Skillfactory.com | ESO Build planer [EN/DE/FR]
ESO-LFG.com | The ESO Looking for Group Tool [EN/DE/FR]
ESO-Database Game Data API | API for AddOn developers to fetch game related data like Chest positions etc.
  Reply With Quote
03/30/20, 11:21 AM   #6
ZOS_DanBatson
ZOS Staff!
 
ZOS_DanBatson's Avatar
Yes this person is from ZeniMax!
Join Date: Jul 2015
Posts: 76
GetNumZones() will return the number of zones you can iterate zoneIndex over.
  Reply With Quote
03/30/20, 12:37 PM   #7
sirinsidiator
 
sirinsidiator's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 1,448
Oh nice. I somehow missed that function getting added.
__________________
https://www.imperialtradingcompany.eu/ - My Addons - The Vault (Early updates and experimental projects) - My patreon - My blog
>siri.exe MyAddon
Does your addon work? [y/n] n
There is a typo in there.
  Reply With Quote
07/02/20, 09:31 PM   #8
Scootworks
 
Scootworks's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2014
Posts: 296
are there any "hidden" or recently added function too for the other ones?
__________________
EU Server - SŁĄuGhTerHĜuSe
  Reply With Quote
07/06/20, 12:57 PM   #9
ZOS_DanBatson
ZOS Staff!
 
ZOS_DanBatson's Avatar
Yes this person is from ZeniMax!
Join Date: Jul 2015
Posts: 76
Unfortunately no. Zone happened to already have an iterating system available that let me easily expose the max to you. The other 3 we don't have any such system at the ready.
  Reply With Quote
11/11/20, 10:31 AM   #10
Baertram
 
Baertram's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 3,206
With the new set item collections, is a GetNumSets() function possible now or do we need to "iterate" the setIds via GetNextItemSetCollectionId() until it returns 0/nil ?

Edit:
An answer from ZOs:
There is no index one could use to build that function but the following data will return the number of given "reconstructable" setIds and is build before addons are loaded:

Lua Code:
  1. local numSetIds = NonContiguousCount(ITEM_SET_COLLECTIONS_DATA_MANAGER.itemSetCollections)

But this will only provide the number of "reconstructable" sets available (excluding craftable ones, and other sets), not the real "highest set number in the game"!

For a total set number and data you are currently able to use the library: LibSets

Last edited by Baertram : 11/12/20 at 04:48 PM.
  Reply With Quote
11/12/20, 04:30 PM   #11
ZOS_DanBatson
ZOS Staff!
 
ZOS_DanBatson's Avatar
Yes this person is from ZeniMax!
Join Date: Jul 2015
Posts: 76
And to be very specific, that only tells you how many reconstructable item sets there are, not all sets. Most notably, It doesn't account for crafted sets.
  Reply With Quote

ESOUI » Developer Discussions » Wish List » [open] new globals

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off