Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] Is any part of the NPC working or is it just the item thing?

[DiscordArchive] Is any part of the NPC working or is it just the item thing?

[DiscordArchive] Is any part of the NPC working or is it just the item thing?

Pages (2): Previous 1 2
rektbyfaith
Administrator
0
08-03-2022, 01:14 PM
#11
Archived author: buggedout • Posted: 2022-08-03T13:14:32.528000+00:00
Original source

i copied and existing unusued NPC
rektbyfaith
08-03-2022, 01:14 PM #11

Archived author: buggedout • Posted: 2022-08-03T13:14:32.528000+00:00
Original source

i copied and existing unusued NPC

rektbyfaith
Administrator
0
08-03-2022, 01:14 PM
#12
Archived author: buggedout • Posted: 2022-08-03T13:14:41.221000+00:00
Original source

yes i reload after every change
rektbyfaith
08-03-2022, 01:14 PM #12

Archived author: buggedout • Posted: 2022-08-03T13:14:41.221000+00:00
Original source

yes i reload after every change

rektbyfaith
Administrator
0
08-03-2022, 01:15 PM
#13
Archived author: Revision • Posted: 2022-08-03T13:15:08.238000+00:00
Original source

I would add prints in various locations within the functions to see what is and what isn't being triggered.
rektbyfaith
08-03-2022, 01:15 PM #13

Archived author: Revision • Posted: 2022-08-03T13:15:08.238000+00:00
Original source

I would add prints in various locations within the functions to see what is and what isn't being triggered.

rektbyfaith
Administrator
0
08-03-2022, 01:15 PM
#14
Archived author: Anchy • Posted: 2022-08-03T13:15:47.478000+00:00
Original source

whats the script look like in its current state
rektbyfaith
08-03-2022, 01:15 PM #14

Archived author: Anchy • Posted: 2022-08-03T13:15:47.478000+00:00
Original source

whats the script look like in its current state

rektbyfaith
Administrator
0
08-03-2022, 01:16 PM
#15
Archived author: buggedout • Posted: 2022-08-03T13:16:34.150000+00:00
Original source

after replacing Creature with Player in RegisterCreatureGossipEvent my dialogue options are gone btw
rektbyfaith
08-03-2022, 01:16 PM #15

Archived author: buggedout • Posted: 2022-08-03T13:16:34.150000+00:00
Original source

after replacing Creature with Player in RegisterCreatureGossipEvent my dialogue options are gone btw

rektbyfaith
Administrator
0
08-03-2022, 01:17 PM
#16
Archived author: buggedout • Posted: 2022-08-03T13:17:50.817000+00:00
Original source

besides changing AddItem and GossipEvent it's unmodified as on the github
rektbyfaith
08-03-2022, 01:17 PM #16

Archived author: buggedout • Posted: 2022-08-03T13:17:50.817000+00:00
Original source

besides changing AddItem and GossipEvent it's unmodified as on the github

rektbyfaith
Administrator
0
08-03-2022, 01:19 PM
#17
Archived author: Anchy • Posted: 2022-08-03T13:19:43.407000+00:00
Original source

```lua
function OnHardCore(event, player, unit, sender, initid, code)
if (initd == 2) then
player:GiveItem(hardCoreItem)
--else gossip ends
else
player:GossipComplete()
end
end```
rektbyfaith
08-03-2022, 01:19 PM #17

Archived author: Anchy • Posted: 2022-08-03T13:19:43.407000+00:00
Original source

```lua
function OnHardCore(event, player, unit, sender, initid, code)
if (initd == 2) then
player:GiveItem(hardCoreItem)
--else gossip ends
else
player:GossipComplete()
end
end```

rektbyfaith
Administrator
0
08-03-2022, 01:19 PM
#18
Archived author: Anchy • Posted: 2022-08-03T13:19:56.413000+00:00
Original source

you may have an issue here on your if statement which im unsure if you have fixed
rektbyfaith
08-03-2022, 01:19 PM #18

Archived author: Anchy • Posted: 2022-08-03T13:19:56.413000+00:00
Original source

you may have an issue here on your if statement which im unsure if you have fixed

rektbyfaith
Administrator
0
08-03-2022, 01:20 PM
#19
Archived author: Anchy • Posted: 2022-08-03T13:20:05.979000+00:00
Original source

unless there is a global named initd its named incorrectly
rektbyfaith
08-03-2022, 01:20 PM #19

Archived author: Anchy • Posted: 2022-08-03T13:20:05.979000+00:00
Original source

unless there is a global named initd its named incorrectly

rektbyfaith
Administrator
0
08-03-2022, 01:20 PM
#20
Archived author: buggedout • Posted: 2022-08-03T13:20:14.703000+00:00
Original source

It announces the kill in global, everything seems to function, except receiving the item. I don't receive any error msg or something and worldserver starts without and red errors
rektbyfaith
08-03-2022, 01:20 PM #20

Archived author: buggedout • Posted: 2022-08-03T13:20:14.703000+00:00
Original source

It announces the kill in global, everything seems to function, except receiving the item. I don't receive any error msg or something and worldserver starts without and red errors

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