Page 2 of 2
Re: Merchants actions with hailing
Posted: Thu May 23, 2019 3:14 pm
by Jabantiz
primary commands happen when you click on the npc, secondary commands you have to right click and select from the list. EQ2 supports multiple primary/secondary commands (at least according to packets) but the emu server only supports a single primary command as of now.
Re: Merchants actions with hailing
Posted: Fri May 24, 2019 7:08 pm
by tyrbo
It supports multiple primary? It looks like in the structs at least we only have the one 16bit String for a default command (primary), and then an array of commands for the right click list.
Re: Merchants actions with hailing
Posted: Fri May 24, 2019 9:50 pm
by Jabantiz
yea it does, though in the initial spawn packet i believe it was only one command for primary, in the update packet it was an array for primary i believe, has been so long since i looked at the packets for the commands.
Re: Merchants actions with hailing
Posted: Fri May 24, 2019 9:55 pm
by tyrbo
Do you remember what the update struct is? I see a WS_SetDefaultCommand, but that only supports one.
I know there's the entity verbs request and response, which happens for right clicks for entities that didn't have a command list specified (and perhaps ones who do as well? haven't checked), but nothing about the primary command there, just the list.
Re: Merchants actions with hailing
Posted: Fri May 24, 2019 10:15 pm
by Jabantiz
Offhand no, it was an update command but I don't think the name was very clear, I would have to dig around to find it.
Re: Merchants actions with hailing
Posted: Sun Jun 30, 2019 12:05 pm
by Eradani
on live:
if you (L)click on an NPC, it brings up its default action - for a merchant, that would be buy/sell/repair and also, i believe it does a Hail after. i think this is true because when you close merchant windows, there's the hail text there to walk away from.
if you R-click an NPC, you get the context menu from which you can select Hail
i usually use the r-click method if i don't want a merchant's buy/sell... window but i can imagine there's some people that just (L)click and close merchant window so there's 2 ways to Hail and people who don't like or know about context menus, they can always find Hail on a "normal" click.
an example of this is when people are very new and ask about moving from lvl 9 to 10 in crafting. the merchant that sells ts books is the one that lets you specialize with the Hail command. new people are probably going to find the Hail function after closing the merchant window
with regards to having merchant windows popping up when you walk by them ...... nooooooooo please

Re: Merchants actions with hailing
Posted: Sun Jun 30, 2019 5:09 pm
by Cynnar
Eradani wrote: Sun Jun 30, 2019 12:05 pm
with regards to having merchant windows popping up when you walk by them ...... nooooooooo please
Yup, not going to be doing that for sure. It's just the hail function and merchant window when you left click on the merchant.