[DiscordArchive] Server or client side?
[DiscordArchive] Server or client side?
Archived author: conFIGured • Posted: 2022-03-27T15:01:03.777000+00:00
Original source
unkowwn gonna explain it better
Archived author: Nelnamara • Posted: 2022-03-27T15:01:13.304000+00:00
Original source
How do I call the hello function in the GetEntry event? Do I place the entire function after the
if(target and target:GetEntry() == CreatureID) then
Archived author: MasterUnknown • Posted: 2022-03-27T15:01:49.138000+00:00
Original source
so atm its basicly an addon that needs to get the stats from for example the helmet and display it, so if the helmet have 120 strength then the addon displays that the helmet has 120 strength
Archived author: Foe • Posted: 2022-03-27T15:02:31.830000+00:00
Original source
You specify the function like you normally would in gossip, then under that entry check, you add as an example:
OnGossipHello(_, player, target)
Archived author: MasterUnknown • Posted: 2022-03-27T15:02:32.358000+00:00
Original source
and easiest would be to get the itemid which i already got, and run it through a query to the server and get what stats that id has and then display it
Archived author: Foe • Posted: 2022-03-27T15:03:10.898000+00:00
Original source
You should do that with tooltip parsing from client item cache instead
Archived author: Foe • Posted: 2022-03-27T15:03:25.113000+00:00
Original source
instead of sending all that data
Archived author: Foe • Posted: 2022-03-27T15:03:45.450000+00:00
Original source
the client API can handle 90% of that without any form of communication other than the default item cache packets
Archived author: Foe • Posted: 2022-03-27T15:04:01.275000+00:00
Original source
or 100% even ♂️
Archived author: Foe • Posted: 2022-03-27T15:04:32.200000+00:00
Original source
https://wowwiki-archive.fandom.com/wiki/...tItemStats
[Embed: API GetItemStats]
← WoW API < GetItemStats Returns a table of stats for an item. stats = GetItemStats(itemLink, [statTable]) itemLink String - An item link for which to get stats. statTable Table - An optional...
https://wowwiki-archive.fandom.com/wiki/...tItemStats