Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] where is the stat selectet ?

[DiscordArchive] where is the stat selectet ?

[DiscordArchive] where is the stat selectet ?

Pages (4): Previous 1 2 3 4 Next
rektbyfaith
Administrator
0
02-11-2024, 08:19 PM
#11
Archived author: ᴋɪʟʟꜱᴇᴛ • Posted: 2024-02-11T20:19:45.878000+00:00
Original source

i figure it out but its not this
rektbyfaith
02-11-2024, 08:19 PM #11

Archived author: ᴋɪʟʟꜱᴇᴛ • Posted: 2024-02-11T20:19:45.878000+00:00
Original source

i figure it out but its not this

rektbyfaith
Administrator
0
02-11-2024, 08:20 PM
#12
Archived author: Rymercyble • Posted: 2024-02-11T20:20:17.112000+00:00
Original source

oh wait
rektbyfaith
02-11-2024, 08:20 PM #12

Archived author: Rymercyble • Posted: 2024-02-11T20:20:17.112000+00:00
Original source

oh wait

rektbyfaith
Administrator
0
02-11-2024, 08:20 PM
#13
Archived author: ᴋɪʟʟꜱᴇᴛ • Posted: 2024-02-11T20:20:20.297000+00:00
Original source

was actually the misc value
rektbyfaith
02-11-2024, 08:20 PM #13

Archived author: ᴋɪʟʟꜱᴇᴛ • Posted: 2024-02-11T20:20:20.297000+00:00
Original source

was actually the misc value

rektbyfaith
Administrator
0
02-11-2024, 08:20 PM
#14
Archived author: Rymercyble • Posted: 2024-02-11T20:20:27.563000+00:00
Original source

misc value then
rektbyfaith
02-11-2024, 08:20 PM #14

Archived author: Rymercyble • Posted: 2024-02-11T20:20:27.563000+00:00
Original source

misc value then

rektbyfaith
Administrator
0
02-11-2024, 08:55 PM
#15
Archived author: cyberpro98 • Posted: 2024-02-11T20:55:47.041000+00:00
Original source

I think i found the error, one of mine lua scripts have active in spell table
rektbyfaith
02-11-2024, 08:55 PM #15

Archived author: cyberpro98 • Posted: 2024-02-11T20:55:47.041000+00:00
Original source

I think i found the error, one of mine lua scripts have active in spell table

rektbyfaith
Administrator
0
02-11-2024, 08:56 PM
#16
Archived author: cyberpro98 • Posted: 2024-02-11T20:56:05.423000+00:00
Original source


[Image: IMG_1191.png?ex=690c62a5&is=690b1125&hm=...a400a494c&]

[Image: IMG_1192.png?ex=690c62a5&is=690b1125&hm=...207bf77e2&]
rektbyfaith
02-11-2024, 08:56 PM #16

Archived author: cyberpro98 • Posted: 2024-02-11T20:56:05.423000+00:00
Original source


[Image: IMG_1191.png?ex=690c62a5&is=690b1125&hm=...a400a494c&]

[Image: IMG_1192.png?ex=690c62a5&is=690b1125&hm=...207bf77e2&]

rektbyfaith
Administrator
0
02-11-2024, 08:57 PM
#17
Archived author: cyberpro98 • Posted: 2024-02-11T20:57:18.195000+00:00
Original source

function Vip.setVipAllCharAccount(event, selectTarget)
--Give VIP to all characters on account if they have the item or spell
local account = selectTarget:GetAccountId()
local hasSpellQuery = CharDBQuery(
"SELECT characters.guid FROM characters JOIN character_spell ON characters.guid = character_spell.guid WHERE characters.account = " ..
account .. " AND character_spell.spell = " .. Vip.SpellId)
if (hasSpellQuery) then
-- account has spell, add it to new character
local guid = selectTarget:GetGUIDLow()
local hasSpellQuery2 = CharDBQuery("SELECT 1 FROM character_spell WHERE guid = " ..
guid .. " AND spell = " .. Vip.SpellId)
if (not hasSpellQuery2) then
CharDBExecute("INSERT INTO character_spell (guid, spell, active, disabled) VALUES (" ..
guid .. ", " .. Vip.SpellId .. ", 1, 0)")
end
end
end
rektbyfaith
02-11-2024, 08:57 PM #17

Archived author: cyberpro98 • Posted: 2024-02-11T20:57:18.195000+00:00
Original source

function Vip.setVipAllCharAccount(event, selectTarget)
--Give VIP to all characters on account if they have the item or spell
local account = selectTarget:GetAccountId()
local hasSpellQuery = CharDBQuery(
"SELECT characters.guid FROM characters JOIN character_spell ON characters.guid = character_spell.guid WHERE characters.account = " ..
account .. " AND character_spell.spell = " .. Vip.SpellId)
if (hasSpellQuery) then
-- account has spell, add it to new character
local guid = selectTarget:GetGUIDLow()
local hasSpellQuery2 = CharDBQuery("SELECT 1 FROM character_spell WHERE guid = " ..
guid .. " AND spell = " .. Vip.SpellId)
if (not hasSpellQuery2) then
CharDBExecute("INSERT INTO character_spell (guid, spell, active, disabled) VALUES (" ..
guid .. ", " .. Vip.SpellId .. ", 1, 0)")
end
end
end

rektbyfaith
Administrator
0
02-11-2024, 08:58 PM
#18
Archived author: stevej • Posted: 2024-02-11T20:58:40.970000+00:00
Original source

<@376752492656066562> Excellent. There is the cause.
rektbyfaith
02-11-2024, 08:58 PM #18

Archived author: stevej • Posted: 2024-02-11T20:58:40.970000+00:00
Original source

<@376752492656066562> Excellent. There is the cause.

rektbyfaith
Administrator
0
02-11-2024, 08:59 PM
#19
Archived author: cyberpro98 • Posted: 2024-02-11T20:59:33.688000+00:00
Original source

Because i remember myself i used more times command #vip update and the command updates all characters on acc
rektbyfaith
02-11-2024, 08:59 PM #19

Archived author: cyberpro98 • Posted: 2024-02-11T20:59:33.688000+00:00
Original source

Because i remember myself i used more times command #vip update and the command updates all characters on acc

rektbyfaith
Administrator
0
02-11-2024, 09:00 PM
#20
Archived author: cyberpro98 • Posted: 2024-02-11T21:00:16.747000+00:00
Original source

I will try it tomorrow oncce more, i will delete active and the ,1 and it should be done xD maybe the script wont work good but then need to be fixed
rektbyfaith
02-11-2024, 09:00 PM #20

Archived author: cyberpro98 • Posted: 2024-02-11T21:00:16.747000+00:00
Original source

I will try it tomorrow oncce more, i will delete active and the ,1 and it should be done xD maybe the script wont work good but then need to be fixed

Pages (4): Previous 1 2 3 4 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)