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): 1 2 Next
rektbyfaith
Administrator
0
08-03-2022, 01:08 PM
#1
Archived author: Revision • Posted: 2022-08-03T13:08:12.851000+00:00
Original source

Is any part of the NPC working or is it just the item thing?
rektbyfaith
08-03-2022, 01:08 PM #1

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

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

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

I think your event ids are wrong, which is why I'm asking before assuming
rektbyfaith
08-03-2022, 01:08 PM #2

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

I think your event ids are wrong, which is why I'm asking before assuming

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

I added both NPC and Item with SQL (both id90000 as in script), i spawned the NPC, it cycles through the dialogue as expected but it never gives the item. I can use GM to .additem and it will work as intended
rektbyfaith
08-03-2022, 01:09 PM #3

Archived author: buggedout • Posted: 2022-08-03T13:09:38.689000+00:00
Original source

I added both NPC and Item with SQL (both id90000 as in script), i spawned the NPC, it cycles through the dialogue as expected but it never gives the item. I can use GM to .additem and it will work as intended

rektbyfaith
Administrator
0
08-03-2022, 01:09 PM
#4
Archived author: Revision • Posted: 2022-08-03T13:09:51.572000+00:00
Original source

I just realized too that you're using RegisterCreatureGossipEvent but it should be RegisterPlayerGossipEvent
rektbyfaith
08-03-2022, 01:09 PM #4

Archived author: Revision • Posted: 2022-08-03T13:09:51.572000+00:00
Original source

I just realized too that you're using RegisterCreatureGossipEvent but it should be RegisterPlayerGossipEvent

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

Ok...again i just started this...kinda assumed that the scripts on AC were kinda "plug and play" ^^
rektbyfaith
08-03-2022, 01:10 PM #5

Archived author: buggedout • Posted: 2022-08-03T13:10:30.666000+00:00
Original source

Ok...again i just started this...kinda assumed that the scripts on AC were kinda "plug and play" ^^

rektbyfaith
Administrator
0
08-03-2022, 01:10 PM
#6
Archived author: Revision • Posted: 2022-08-03T13:10:33.934000+00:00
Original source

`RegisterPlayerGossipEvent(1, eventId, functionToCall)` - that's the one I used for my lua scripts.
rektbyfaith
08-03-2022, 01:10 PM #6

Archived author: Revision • Posted: 2022-08-03T13:10:33.934000+00:00
Original source

`RegisterPlayerGossipEvent(1, eventId, functionToCall)` - that's the one I used for my lua scripts.

rektbyfaith
Administrator
0
08-03-2022, 01:11 PM
#7
Archived author: Revision • Posted: 2022-08-03T13:11:17.845000+00:00
Original source

I'm curious why you're getting gossip though
rektbyfaith
08-03-2022, 01:11 PM #7

Archived author: Revision • Posted: 2022-08-03T13:11:17.845000+00:00
Original source

I'm curious why you're getting gossip though

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

I initially just followed the three steps mentioned
rektbyfaith
08-03-2022, 01:13 PM #8

Archived author: buggedout • Posted: 2022-08-03T13:13:32.970000+00:00
Original source

I initially just followed the three steps mentioned

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

Add NPC with gossip flag, Add Item and confirmed IDs were correct
rektbyfaith
08-03-2022, 01:14 PM #9

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

Add NPC with gossip flag, Add Item and confirmed IDs were correct

rektbyfaith
Administrator
0
08-03-2022, 01:14 PM
#10
Archived author: Revision • Posted: 2022-08-03T13:14:31.301000+00:00
Original source

Did you reload the script after changing to to AddItem rather than GiveItem?
rektbyfaith
08-03-2022, 01:14 PM #10

Archived author: Revision • Posted: 2022-08-03T13:14:31.301000+00:00
Original source

Did you reload the script after changing to to AddItem rather than GiveItem?

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