merchant_type
Moderator: Team Members
Forum rules
READ THE FORUM STICKY THREADS BEFORE ASKING FOR HELP!
Most information can be found there, and if not, the posts will help you determine the information required to get assistance from the development team.
Incomplete Help Requests will be locked or deleted.
READ THE FORUM STICKY THREADS BEFORE ASKING FOR HELP!
Most information can be found there, and if not, the posts will help you determine the information required to get assistance from the development team.
Incomplete Help Requests will be locked or deleted.
- Gangrenous
- Posts: 812
- Joined: Sun Apr 24, 2016 6:54 am
- Characters: Dinsmoor
merchant_type
Working on the editor, does anyone know the possibilities for merchant_type and what the options mean? I think it is probably a tiny int column. Not finding much on the forum. Maybe someone can check the current editor ?
Resident Dirty Hippy
- Ememjr
- Team Member
- Posts: 975
- Joined: Wed Mar 15, 2017 9:41 am
- EQ2Emu Server: Perseverance
Re: merchant_type
here are the current merchant types they can be joined together
s0 a merchant type 5 would sell spells but will not buy stuff from you
#define MERCHANT_TYPE_NO_BUY 1
#define MERCHANT_TYPE_NO_BUY_BACK 2
#define MERCHANT_TYPE_SPELLS 4
#define MERCHANT_TYPE_CRAFTING 8
#define MERCHANT_TYPE_REPAIR 16
#define MERCHANT_TYPE_LOTTO 32
s0 a merchant type 5 would sell spells but will not buy stuff from you
#define MERCHANT_TYPE_NO_BUY 1
#define MERCHANT_TYPE_NO_BUY_BACK 2
#define MERCHANT_TYPE_SPELLS 4
#define MERCHANT_TYPE_CRAFTING 8
#define MERCHANT_TYPE_REPAIR 16
#define MERCHANT_TYPE_LOTTO 32
- Gangrenous
- Posts: 812
- Joined: Sun Apr 24, 2016 6:54 am
- Characters: Dinsmoor
- Ememjr
- Team Member
- Posts: 975
- Joined: Wed Mar 15, 2017 9:41 am
- EQ2Emu Server: Perseverance
Re: merchant_type
yes so
#define MERCHANT_TYPE_NO_BUY 1 bit 0 set
#define MERCHANT_TYPE_NO_BUY_BACK 2 bit 1 set
#define MERCHANT_TYPE_SPELLS 4 bit 3 set
#define MERCHANT_TYPE_CRAFTING 8 etc
#define MERCHANT_TYPE_REPAIR 16
#define MERCHANT_TYPE_LOTTO 32
and a regualr stard merchant would just by 0 no bits set
#define MERCHANT_TYPE_NO_BUY 1 bit 0 set
#define MERCHANT_TYPE_NO_BUY_BACK 2 bit 1 set
#define MERCHANT_TYPE_SPELLS 4 bit 3 set
#define MERCHANT_TYPE_CRAFTING 8 etc
#define MERCHANT_TYPE_REPAIR 16
#define MERCHANT_TYPE_LOTTO 32
and a regualr stard merchant would just by 0 no bits set
- Gangrenous
- Posts: 812
- Joined: Sun Apr 24, 2016 6:54 am
- Characters: Dinsmoor
Re: merchant_type
Yeah, I was on my phone so did not see all the text. I ran a group by query and saw 0,1,8,16,32 but I figured 4 had to be in there somewhere.
Resident Dirty Hippy
Who is online
Users browsing this forum: No registered users and 0 guests