Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] For what eluna?

[DiscordArchive] For what eluna?

[DiscordArchive] For what eluna?

Pages (3): Previous 1 2 3 Next
rektbyfaith
Administrator
0
05-31-2018, 11:47 AM
#11
Archived author: Kaev • Posted: 2018-05-31T11:47:29.072000+00:00
Original source

Easiest way would probably be via AIO
rektbyfaith
05-31-2018, 11:47 AM #11

Archived author: Kaev • Posted: 2018-05-31T11:47:29.072000+00:00
Original source

Easiest way would probably be via AIO

rektbyfaith
Administrator
0
05-31-2018, 11:48 AM
#12
Archived author: Kaev • Posted: 2018-05-31T11:48:13.061000+00:00
Original source

Otherwise you could change the item packet that it will always add the GUID to the description
rektbyfaith
05-31-2018, 11:48 AM #12

Archived author: Kaev • Posted: 2018-05-31T11:48:13.061000+00:00
Original source

Otherwise you could change the item packet that it will always add the GUID to the description

rektbyfaith
Administrator
0
05-31-2018, 11:48 AM
#13
Archived author: Kaev • Posted: 2018-05-31T11:48:33.219000+00:00
Original source

I'm not sure if you can access the GUID via Client Lua API
rektbyfaith
05-31-2018, 11:48 AM #13

Archived author: Kaev • Posted: 2018-05-31T11:48:33.219000+00:00
Original source

I'm not sure if you can access the GUID via Client Lua API

rektbyfaith
Administrator
0
05-31-2018, 11:49 AM
#14
Archived author: ayase • Posted: 2018-05-31T11:49:42.797000+00:00
Original source

I searched wow addons wiki.I didn't find this API.
rektbyfaith
05-31-2018, 11:49 AM #14

Archived author: ayase • Posted: 2018-05-31T11:49:42.797000+00:00
Original source

I searched wow addons wiki.I didn't find this API.

rektbyfaith
Administrator
0
05-31-2018, 11:50 AM
#15
Archived author: ayase • Posted: 2018-05-31T11:50:29.565000+00:00
Original source

There is no good way to get an itemguid.
rektbyfaith
05-31-2018, 11:50 AM #15

Archived author: ayase • Posted: 2018-05-31T11:50:29.565000+00:00
Original source

There is no good way to get an itemguid.

rektbyfaith
Administrator
0
05-31-2018, 11:57 AM
#16
Archived author: Kaev • Posted: 2018-05-31T11:57:28.779000+00:00
Original source

I think the client doesn't even know about the item GUID
rektbyfaith
05-31-2018, 11:57 AM #16

Archived author: Kaev • Posted: 2018-05-31T11:57:28.779000+00:00
Original source

I think the client doesn't even know about the item GUID

rektbyfaith
Administrator
0
05-31-2018, 11:59 AM
#17
Archived author: ayase • Posted: 2018-05-31T11:59:16.347000+00:00
Original source

I currently use aio.Use bag and slot.
rektbyfaith
05-31-2018, 11:59 AM #17

Archived author: ayase • Posted: 2018-05-31T11:59:16.347000+00:00
Original source

I currently use aio.Use bag and slot.

rektbyfaith
Administrator
0
05-31-2018, 11:59 AM
#18
Archived author: ayase • Posted: 2018-05-31T11:59:30.054000+00:00
Original source

```
local headGameTooltipOnTooltipSetItemScript = GameTooltip:GetScript("OnTooltipSetItem")

local function GetGuidByPos(bag,slot)
ItemGuidMatch[bag] = ItemGuidMatch[bag] or {}
return ItemGuidMatch[bag][slot]
end

local function headGameTooltipOnTooltipSetItem(self)
local _, ItemLink = self:GetItem()
if ItemLink then
local owner = self:GetOwner()
if (owner~=nil) then
local bag,slot = GetItemSlotInfo(owner)
if (bag and slot) then
if (GetGuidByPos(bag,slot)==nil) then
AIO.Handle("AyaseCore_Addons_Query","GetItemGuid",bag,slot)
else
handleItemGuidInfo(self,GetGuidByPos(bag,slot))
end
end
end
end
return headGameTooltipOnTooltipSetItemScript(self)
end

function ItemGuidHandle.SetItemGuid(player,bag,slot,guid)
--print(guid,entry,name)
ItemGuidMatch[bag] = ItemGuidMatch[bag] or {}
ItemGuidMatch[bag][slot] = guid
end
```
rektbyfaith
05-31-2018, 11:59 AM #18

Archived author: ayase • Posted: 2018-05-31T11:59:30.054000+00:00
Original source

```
local headGameTooltipOnTooltipSetItemScript = GameTooltip:GetScript("OnTooltipSetItem")

local function GetGuidByPos(bag,slot)
ItemGuidMatch[bag] = ItemGuidMatch[bag] or {}
return ItemGuidMatch[bag][slot]
end

local function headGameTooltipOnTooltipSetItem(self)
local _, ItemLink = self:GetItem()
if ItemLink then
local owner = self:GetOwner()
if (owner~=nil) then
local bag,slot = GetItemSlotInfo(owner)
if (bag and slot) then
if (GetGuidByPos(bag,slot)==nil) then
AIO.Handle("AyaseCore_Addons_Query","GetItemGuid",bag,slot)
else
handleItemGuidInfo(self,GetGuidByPos(bag,slot))
end
end
end
end
return headGameTooltipOnTooltipSetItemScript(self)
end

function ItemGuidHandle.SetItemGuid(player,bag,slot,guid)
--print(guid,entry,name)
ItemGuidMatch[bag] = ItemGuidMatch[bag] or {}
ItemGuidMatch[bag][slot] = guid
end
```

rektbyfaith
Administrator
0
05-31-2018, 12:00 PM
#19
Archived author: ayase • Posted: 2018-05-31T12:00:06.886000+00:00
Original source

But it's not a good idea.
rektbyfaith
05-31-2018, 12:00 PM #19

Archived author: ayase • Posted: 2018-05-31T12:00:06.886000+00:00
Original source

But it's not a good idea.

rektbyfaith
Administrator
0
05-31-2018, 12:31 PM
#20
Archived author: Kaev • Posted: 2018-05-31T12:31:35.213000+00:00
Original source

http://wowwiki.wikia.com/wiki/API_GameTooltip_AddLine
[Embed: API GameTooltip AddLine]
→ MethodsContents[show] ← Widget API ← GameTooltip  AddLine GameTooltip:AddLine(text [, red, green, blue [, wrapText]]); Appends a line of text to tooltip. Arguments text  string - text which will...
http://wowwiki.wikia.com/wiki/API_GameTooltip_AddLine
rektbyfaith
05-31-2018, 12:31 PM #20

Archived author: Kaev • Posted: 2018-05-31T12:31:35.213000+00:00
Original source

http://wowwiki.wikia.com/wiki/API_GameTooltip_AddLine
[Embed: API GameTooltip AddLine]
→ MethodsContents[show] ← Widget API ← GameTooltip  AddLine GameTooltip:AddLine(text [, red, green, blue [, wrapText]]); Appends a line of text to tooltip. Arguments text  string - text which will...
http://wowwiki.wikia.com/wiki/API_GameTooltip_AddLine

Pages (3): Previous 1 2 3 Next
Recently Browsing
 
Recently Browsing