• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

[SOLVED] Stormwind Guards

Status
Not open for further replies.

oswin

Enthusiast
Ok i am wondering how the stormwind guard is coded for when they give you information on where the bank is etc.

i know its gossip npc but what i am looking for is where the text is stored

like when you click on bank they tell you about the bank that window pops up with the text

TrinityCore rev. db3b22c63e7e 2015-05-26 13:49:00 +0200 (3.3.5 branch)

Thanks for all the help!!!
 

oswin

Enthusiast
ty for the reply i got that part your right but the more i think about it. It most likely from the client that show that ending text. so i am thinking if i want to do what i want to do is make a npc c++ script then have it call the text that i want correct me if i am wrong
 

Tommy

Founder
ty for the reply i got that part your right but the more i think about it. It most likely from the client that show that ending text. so i am thinking if i want to do what i want to do is make a npc c++ script then have it call the text that i want correct me if i am wrong

What ending text? Client doesn't show gossip/npc/other text since text is store in the database server side.

You have:

npc_text
trinity_strings

Tables that have text in them. I'm assuming you're talking about the "npc text" that shows up when clicking gossip, trainers, etc (at the top of the window) and not gossip menus itself. Well, that is stored in npc_text table.
 

oswin

Enthusiast
ty again for the reply!!! what i am talking about is if you talk to a guard for example the stormwind guard for information and then click on the bank the guard tells your "Oh, you must mean the Stormwind Counting House. It's not far from gates after you enter Stormwind." <<<< that text i have looked all over for it in the DB btw that guard is in goldshire lol

Entry ID is 1423
gossip_menu_id is 3506

it gives me when i look that up just the option_text { bank, Gryphon Master etc... }

i can also find the broadcast_text but that too shows only the ^above text options
 

Rochet2

Moderator / Eluna Dev
creature_template.gossip_menu_id -> gossip_menu.text_id -> npc_text

More specificly
3506 menu_id has the bank option that opens the menu_id 3507 (see gossip_menu_option.action_menu_id)
and 3507 has the right npc_text entry 4260 in gossip_menu
npc_text entry 4260 column text1_0 has the text:
Oh, you must mean the Stormwind Counting House. It's not far from the gates after you enter Stormwind.

Easy to find stuff with using the filters etc:
http://prntscr.com/7akn49
 
Last edited:
Status
Not open for further replies.
Top