Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] Im trying to create a new subcommand for npc, but Im having some troubles being able to test it out.

[DiscordArchive] Im trying to create a new subcommand for npc, but Im having some troubles being able to test it out.

[DiscordArchive] Im trying to create a new subcommand for npc, but Im having some troubles being able to test it out.

rektbyfaith
Administrator
0
06-07-2022, 05:22 PM
#1
Archived author: Marius • Posted: 2022-06-07T17:22:19.725000+00:00
Original source

Im trying to create a new subcommand for npc, but Im having some troubles being able to test it out.
I have added an item in RBAC.h file, and a new item in npcCommandTable in cs.npc.cpp, and also created a new handler function. In the DB, I added a row in rbac_permissions with the same ID as in the RBAC.h file. However, when I test out my command ingame, it still just lists all available npc commands, and my experimental one is not there.
Does anyone have any clue what I may be missing?
rektbyfaith
06-07-2022, 05:22 PM #1

Archived author: Marius • Posted: 2022-06-07T17:22:19.725000+00:00
Original source

Im trying to create a new subcommand for npc, but Im having some troubles being able to test it out.
I have added an item in RBAC.h file, and a new item in npcCommandTable in cs.npc.cpp, and also created a new handler function. In the DB, I added a row in rbac_permissions with the same ID as in the RBAC.h file. However, when I test out my command ingame, it still just lists all available npc commands, and my experimental one is not there.
Does anyone have any clue what I may be missing?

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