Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] it's prob client?

[DiscordArchive] it's prob client?

[DiscordArchive] it's prob client?

rektbyfaith
Administrator
0
12-19-2020, 11:54 PM
#1
Archived author: Barbz • Posted: 2020-12-19T23:54:19.071000+00:00
Original source

it's prob client?
rektbyfaith
12-19-2020, 11:54 PM #1

Archived author: Barbz • Posted: 2020-12-19T23:54:19.071000+00:00
Original source

it's prob client?

rektbyfaith
Administrator
0
12-19-2020, 11:54 PM
#2
Archived author: Barbz • Posted: 2020-12-19T23:54:46.950000+00:00
Original source

----
i discovered smthg crazy. If i make a custom spell in the db, in spell_dbc table
then i assign it to an item ON USE, it never triggers.
u click item but it doesn't know it's "on USE" (client doesn't send the opcode)
isn't there a solution to fix that in the core so i didn't waste 3hrs making that spell/item?
rektbyfaith
12-19-2020, 11:54 PM #2

Archived author: Barbz • Posted: 2020-12-19T23:54:46.950000+00:00
Original source

----
i discovered smthg crazy. If i make a custom spell in the db, in spell_dbc table
then i assign it to an item ON USE, it never triggers.
u click item but it doesn't know it's "on USE" (client doesn't send the opcode)
isn't there a solution to fix that in the core so i didn't waste 3hrs making that spell/item?

rektbyfaith
Administrator
0
12-20-2020, 12:07 AM
#3
Archived author: Kitzunu • Posted: 2020-12-20T00:07:27.338000+00:00
Original source

I dont think so, since server side spells are not known to the client (I think)
rektbyfaith
12-20-2020, 12:07 AM #3

Archived author: Kitzunu • Posted: 2020-12-20T00:07:27.338000+00:00
Original source

I dont think so, since server side spells are not known to the client (I think)

rektbyfaith
Administrator
0
12-20-2020, 12:54 AM
#4
Archived author: Barbz • Posted: 2020-12-20T00:54:35.316000+00:00
Original source

but why clicking on an item with a script triggers the script too? something tells the client "u can click it"
rektbyfaith
12-20-2020, 12:54 AM #4

Archived author: Barbz • Posted: 2020-12-20T00:54:35.316000+00:00
Original source

but why clicking on an item with a script triggers the script too? something tells the client "u can click it"

rektbyfaith
Administrator
0
12-20-2020, 12:55 AM
#5
Archived author: Kitzunu • Posted: 2020-12-20T00:55:22.613000+00:00
Original source

fair point, honestly I dont know
rektbyfaith
12-20-2020, 12:55 AM #5

Archived author: Kitzunu • Posted: 2020-12-20T00:55:22.613000+00:00
Original source

fair point, honestly I dont know

rektbyfaith
Administrator
0
12-20-2020, 12:55 AM
#6
Archived author: FALL1N • Posted: 2020-12-20T00:55:38.079000+00:00
Original source

you can make it as an item script I guess, a hacky way but it will work, "OnGossipHello" then "CastSpell"
rektbyfaith
12-20-2020, 12:55 AM #6

Archived author: FALL1N • Posted: 2020-12-20T00:55:38.079000+00:00
Original source

you can make it as an item script I guess, a hacky way but it will work, "OnGossipHello" then "CastSpell"

rektbyfaith
Administrator
0
12-20-2020, 01:13 AM
#7
Archived author: Barbz • Posted: 2020-12-20T01:13:55.783000+00:00
Original source

yes fall1n, but i'm curious on how it works (and never made an item scrip, also i'd need to add a "cast spell" action to fake a visual effect, annoying for me not doing much cpp xD)
rektbyfaith
12-20-2020, 01:13 AM #7

Archived author: Barbz • Posted: 2020-12-20T01:13:55.783000+00:00
Original source

yes fall1n, but i'm curious on how it works (and never made an item scrip, also i'd need to add a "cast spell" action to fake a visual effect, annoying for me not doing much cpp xD)

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)