Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] Is this made by Chat GPT?

[DiscordArchive] Is this made by Chat GPT?

[DiscordArchive] Is this made by Chat GPT?

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
02-12-2024, 04:54 PM
#1
Archived author: Honey • Posted: 2024-02-12T16:54:37.402000+00:00
Original source

Is this made by Chat GPT?
rektbyfaith
02-12-2024, 04:54 PM #1

Archived author: Honey • Posted: 2024-02-12T16:54:37.402000+00:00
Original source

Is this made by Chat GPT?

rektbyfaith
Administrator
0
02-12-2024, 04:57 PM
#2
Archived author: cyberpro98 • Posted: 2024-02-12T16:57:40.921000+00:00
Original source

Well i tried it by myself and i had errors so i tried fixing it by use of blackbox
rektbyfaith
02-12-2024, 04:57 PM #2

Archived author: cyberpro98 • Posted: 2024-02-12T16:57:40.921000+00:00
Original source

Well i tried it by myself and i had errors so i tried fixing it by use of blackbox

rektbyfaith
Administrator
0
02-12-2024, 04:58 PM
#3
Archived author: cyberpro98 • Posted: 2024-02-12T16:58:26.891000+00:00
Original source

on eluna documentation are no examples how a itemsumm script should look like its too much complicated for me without examples :X
rektbyfaith
02-12-2024, 04:58 PM #3

Archived author: cyberpro98 • Posted: 2024-02-12T16:58:26.891000+00:00
Original source

on eluna documentation are no examples how a itemsumm script should look like its too much complicated for me without examples :X

rektbyfaith
Administrator
0
02-12-2024, 05:02 PM
#4
Archived author: Honey • Posted: 2024-02-12T17:02:15.563000+00:00
Original source

Your first and biggest mistake is that you're not using the global function `RegisterPlayerEvent`. Instead you try to `:register` a function to a `player` object, which does not exist.
rektbyfaith
02-12-2024, 05:02 PM #4

Archived author: Honey • Posted: 2024-02-12T17:02:15.563000+00:00
Original source

Your first and biggest mistake is that you're not using the global function `RegisterPlayerEvent`. Instead you try to `:register` a function to a `player` object, which does not exist.

rektbyfaith
Administrator
0
02-12-2024, 05:02 PM
#5
Archived author: cyberpro98 • Posted: 2024-02-12T17:02:42.518000+00:00
Original source

okay
rektbyfaith
02-12-2024, 05:02 PM #5

Archived author: cyberpro98 • Posted: 2024-02-12T17:02:42.518000+00:00
Original source

okay

rektbyfaith
Administrator
0
02-12-2024, 05:02 PM
#6
Archived author: cyberpro98 • Posted: 2024-02-12T17:02:43.367000+00:00
Original source

so
rektbyfaith
02-12-2024, 05:02 PM #6

Archived author: cyberpro98 • Posted: 2024-02-12T17:02:43.367000+00:00
Original source

so

rektbyfaith
Administrator
0
02-12-2024, 05:03 PM
#7
Archived author: cyberpro98 • Posted: 2024-02-12T17:03:05.734000+00:00
Original source

local itemEntry = 100156

local function OnUseItem(event, player, item)
if player:IsInCombat() or player:IsInArena() or player:IsInBattleGround() then
player:SendBroadcastMessage("You cannot use this item while in combat or in an arena/battleground.")
return
end

player:Teleport(1, 4635.839844, -3823.530029, 943.051025, 1.199600) -- replace with your coordinates
end

local function OnItemUse(event, player, item)
if item:GetEntry() == itemEntry then
OnUseItem(event, player, item)
end
end

RegisterPlayerEvent( 100156, 2, 0)
rektbyfaith
02-12-2024, 05:03 PM #7

Archived author: cyberpro98 • Posted: 2024-02-12T17:03:05.734000+00:00
Original source

local itemEntry = 100156

local function OnUseItem(event, player, item)
if player:IsInCombat() or player:IsInArena() or player:IsInBattleGround() then
player:SendBroadcastMessage("You cannot use this item while in combat or in an arena/battleground.")
return
end

player:Teleport(1, 4635.839844, -3823.530029, 943.051025, 1.199600) -- replace with your coordinates
end

local function OnItemUse(event, player, item)
if item:GetEntry() == itemEntry then
OnUseItem(event, player, item)
end
end

RegisterPlayerEvent( 100156, 2, 0)

rektbyfaith
Administrator
0
02-12-2024, 05:03 PM
#8
Archived author: Foe • Posted: 2024-02-12T17:03:28.008000+00:00
Original source

Read the RegisterPlayerEvent documentation
rektbyfaith
02-12-2024, 05:03 PM #8

Archived author: Foe • Posted: 2024-02-12T17:03:28.008000+00:00
Original source

Read the RegisterPlayerEvent documentation

rektbyfaith
Administrator
0
02-12-2024, 05:04 PM
#9
Archived author: cyberpro98 • Posted: 2024-02-12T17:04:04.038000+00:00
Original source

lua_scripts/hyjalitemsummon.lua:18: bad argument #1 to 'RegisterPlayerEvent' (number expected, got string)
rektbyfaith
02-12-2024, 05:04 PM #9

Archived author: cyberpro98 • Posted: 2024-02-12T17:04:04.038000+00:00
Original source

lua_scripts/hyjalitemsummon.lua:18: bad argument #1 to 'RegisterPlayerEvent' (number expected, got string)

rektbyfaith
Administrator
0
02-12-2024, 05:05 PM
#10
Archived author: cyberpro98 • Posted: 2024-02-12T17:05:32.099000+00:00
Original source

well that´s what i dont understand
rektbyfaith
02-12-2024, 05:05 PM #10

Archived author: cyberpro98 • Posted: 2024-02-12T17:05:32.099000+00:00
Original source

well that´s what i dont understand

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