Merchants actions with hailing
Moderator: Team Members
-
Jabantiz
- Lead Developer
- Posts: 2912
- Joined: Wed Jul 25, 2007 2:52 pm
- Location: California
Re: Merchants actions with hailing
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.
-
tyrbo
- Team Member
- Posts: 271
- Joined: Thu Feb 18, 2016 12:33 pm
Re: Merchants actions with hailing
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.
-
Jabantiz
- Lead Developer
- Posts: 2912
- Joined: Wed Jul 25, 2007 2:52 pm
- Location: California
Re: Merchants actions with hailing
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.
-
tyrbo
- Team Member
- Posts: 271
- Joined: Thu Feb 18, 2016 12:33 pm
Re: Merchants actions with hailing
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.
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.
-
Jabantiz
- Lead Developer
- Posts: 2912
- Joined: Wed Jul 25, 2007 2:52 pm
- Location: California
Re: Merchants actions with hailing
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.
- Eradani
- Posts: 192
- Joined: Wed May 05, 2010 6:25 am
- Location: Saskatchewan
Re: Merchants actions with hailing
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
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
my client version: 12682L, 2016/06/06
last one that will run on XP cause i'm just a stick-in-the-mud
last one that will run on XP cause i'm just a stick-in-the-mud
- Cynnar
- Project Leader
- Posts: 738
- Joined: Sat Sep 27, 2014 1:22 am
- EQ2Emu Server: Eq2emulator
- Characters: Vlash
Veinlash
Taragak
Cynnar
Re: Merchants actions with hailing
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.Eradani wrote: Sun Jun 30, 2019 12:05 pm with regards to having merchant windows popping up when you walk by them ...... nooooooooo please
[ 01000011 01111001 01101110 01101110 01100001 01110010 ]
Follow on:
Twitter Facebook
Contact me:
PM Discord chat email
Hardware: the parts of a computer that can be kicked
Follow on:
Twitter Facebook
Contact me:
PM Discord chat email
Hardware: the parts of a computer that can be kicked
Who is online
Users browsing this forum: No registered users and 0 guests