Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] What ya trying to do?

[DiscordArchive] What ya trying to do?

[DiscordArchive] What ya trying to do?

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
06-01-2025, 10:51 PM
#1
Archived author: Saty • Posted: 2025-06-01T22:51:53.929000+00:00
Original source

What ya trying to do?
rektbyfaith
06-01-2025, 10:51 PM #1

Archived author: Saty • Posted: 2025-06-01T22:51:53.929000+00:00
Original source

What ya trying to do?

rektbyfaith
Administrator
0
06-01-2025, 10:58 PM
#2
Archived author: Stelmo • Posted: 2025-06-01T22:58:38.662000+00:00
Original source

Trying to get the respective SpellID for the item currently held by the cursor, so I can save it via my addon.
It seems like it should be possible to get it directly via built in lua (https://wowpedia.fandom.com/wiki/API_GetItemSpell) but that isn't working for me, so I'm looking for functions/addresses I could call via dll instead
rektbyfaith
06-01-2025, 10:58 PM #2

Archived author: Stelmo • Posted: 2025-06-01T22:58:38.662000+00:00
Original source

Trying to get the respective SpellID for the item currently held by the cursor, so I can save it via my addon.
It seems like it should be possible to get it directly via built in lua (https://wowpedia.fandom.com/wiki/API_GetItemSpell) but that isn't working for me, so I'm looking for functions/addresses I could call via dll instead

rektbyfaith
Administrator
0
06-01-2025, 10:59 PM
#3
Archived author: Saty • Posted: 2025-06-01T22:59:57.788000+00:00
Original source

Yeah that fandom link probably not for 3.3.5, you gotta have to dig for old api stuff
rektbyfaith
06-01-2025, 10:59 PM #3

Archived author: Saty • Posted: 2025-06-01T22:59:57.788000+00:00
Original source

Yeah that fandom link probably not for 3.3.5, you gotta have to dig for old api stuff

rektbyfaith
Administrator
0
06-01-2025, 11:01 PM
#4
Archived author: [GLFY] Mitche • Posted: 2025-06-01T23:01:28.858000+00:00
Original source

`/run print(GetItemSpell(>id>))`
rektbyfaith
06-01-2025, 11:01 PM #4

Archived author: [GLFY] Mitche • Posted: 2025-06-01T23:01:28.858000+00:00
Original source

`/run print(GetItemSpell(>id>))`

rektbyfaith
Administrator
0
06-01-2025, 11:01 PM
#5
Archived author: [GLFY] Mitche • Posted: 2025-06-01T23:01:35.508000+00:00
Original source

Pretty sure that isn't in 3.3.5a though as Saty said
rektbyfaith
06-01-2025, 11:01 PM #5

Archived author: [GLFY] Mitche • Posted: 2025-06-01T23:01:35.508000+00:00
Original source

Pretty sure that isn't in 3.3.5a though as Saty said

rektbyfaith
Administrator
0
06-01-2025, 11:01 PM
#6
Archived author: Stelmo • Posted: 2025-06-01T23:01:53.867000+00:00
Original source

Yeah fair. But admittedly fandom has proven useful for a bunch of other lua I've needed, and it didn't mention any patches, so I was hopeful haha
rektbyfaith
06-01-2025, 11:01 PM #6

Archived author: Stelmo • Posted: 2025-06-01T23:01:53.867000+00:00
Original source

Yeah fair. But admittedly fandom has proven useful for a bunch of other lua I've needed, and it didn't mention any patches, so I was hopeful haha

rektbyfaith
Administrator
0
06-01-2025, 11:02 PM
#7
Archived author: [GLFY] Mitche • Posted: 2025-06-01T23:02:05.989000+00:00
Original source

Try running the print twice and see if it outputs
rektbyfaith
06-01-2025, 11:02 PM #7

Archived author: [GLFY] Mitche • Posted: 2025-06-01T23:02:05.989000+00:00
Original source

Try running the print twice and see if it outputs

rektbyfaith
Administrator
0
06-01-2025, 11:02 PM
#8
Archived author: [GLFY] Mitche • Posted: 2025-06-01T23:02:19.070000+00:00
Original source

Won't get it for the item in hand, but will tell you if it's 3.3.5a or not
rektbyfaith
06-01-2025, 11:02 PM #8

Archived author: [GLFY] Mitche • Posted: 2025-06-01T23:02:19.070000+00:00
Original source

Won't get it for the item in hand, but will tell you if it's 3.3.5a or not

rektbyfaith
Administrator
0
06-01-2025, 11:02 PM
#9
Archived author: [GLFY] Mitche • Posted: 2025-06-01T23:02:42.971000+00:00
Original source

I found mentioons of it going back to 09', so it probably is in
rektbyfaith
06-01-2025, 11:02 PM #9

Archived author: [GLFY] Mitche • Posted: 2025-06-01T23:02:42.971000+00:00
Original source

I found mentioons of it going back to 09', so it probably is in

rektbyfaith
Administrator
0
06-01-2025, 11:04 PM
#10
Archived author: Saty • Posted: 2025-06-01T23:04:12.465000+00:00
Original source

If you can use direct calls, look at Lua_GetItemSpell (0x00517100) directly, as it get's the spell id in there.
[Image: 02_01_04_04_ida.png?ex=690c80ac&is=690b2...d6d07f073&]
rektbyfaith
06-01-2025, 11:04 PM #10

Archived author: Saty • Posted: 2025-06-01T23:04:12.465000+00:00
Original source

If you can use direct calls, look at Lua_GetItemSpell (0x00517100) directly, as it get's the spell id in there.
[Image: 02_01_04_04_ida.png?ex=690c80ac&is=690b2...d6d07f073&]

Pages (2): 1 2 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)