Thread Tools Display Modes
05/24/19, 04:43 PM   #1
BSKCorp
AddOn Author - Click to view addons
Join Date: Sep 2017
Posts: 12
New Guild ID calls

Ok so trying to help some fellow guildies and with the change of how Guild ID's work, the add on can not pull the list of guilds. Does anyone know how the new API works with this? Any help would be great to trouble shoot as no errors are even showing up. Just nothing pops up on the drop down list for guilds.
  Reply With Quote
05/24/19, 05:04 PM   #2
Rhyono
AddOn Author - Click to view addons
Join Date: Sep 2016
Posts: 659
You used to just use 1, 2, 3, etc.
Now, you need to use GetGuildId(2) to get the REAL id.
  Reply With Quote
05/24/19, 05:48 PM   #3
BSKCorp
AddOn Author - Click to view addons
Join Date: Sep 2017
Posts: 12
Forgive me because ima seem real stupid but im still learning lua. Ima just post what seems to be the getGuild fuction for the drop down list.

https://i.gyazo.com/653ab634d059bf10...a8d2e6a42f.png

Im really learning as I go and am trying to help them out hahaha So with the reoky above this one. Where woiuld I add in the getGuildId(2) to have this actually pull the guild ID and get the info?
  Reply With Quote
05/24/19, 06:44 PM   #4
Rhyono
AddOn Author - Click to view addons
Join Date: Sep 2016
Posts: 659
The 2 was just an example; not a hardcoded value. Looking at your code, where you put it, place the GetNumGuilds() then change GetGuildId(guildId) to GetGuildId(guild)
  Reply With Quote
05/24/19, 08:26 PM   #5
BSKCorp
AddOn Author - Click to view addons
Join Date: Sep 2017
Posts: 12
Thanks Rhyono for the help but so far everything I have tired, it just refuses to read any guild ID. no clue at all what is going on. going to make a dummy guild list add on tomorrow just to see if it is something else besides that piece of code. Again thanks.
  Reply With Quote
05/24/19, 08:58 PM   #6
Rhyono
AddOn Author - Click to view addons
Join Date: Sep 2016
Posts: 659
Take a look at my addon's code that does a bunch of guild things: https://www.esoui.com/downloads/info...dDataDump.html
  Reply With Quote

ESOUI » AddOns » AddOn Help/Support » New Guild ID calls

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