Jump to content
Returning Members: Password Reset Required ×

[5187] Market ShopFlag numbering system


Recommended Posts

Posted

At some point in 2.0 TQ added numbered labels above each of the ShopFlags in market, likely in response to players complaining that they had a hard time finding a particular market stall when somebody in trade chat said "come market 159, 189".

I discovered three things while trying to get all the ShopFlags numbered:

First is that the number that appears above the ShopFlag is directly related to the ID you give it in the server-side NPC database table.

Second is that the numbers don't go in any pattern/order in the slightest. It's pure chaos.

Third is that nobody seems to have documented this quirky nonsense anywhere on the internet, so here we go.

After a bit of trial and error, I was able to get all of the flags correctly numbered, in order.

EdCnBkR.png

Below is the matching NPC IDs and ShopFlag numbers:

npc_id    shop_flag_num
186    1
187    2
188    3
189    4
190    5
191    6
192    7
193    8
194    9
196    10
197    11
122    12
210    13
211    14
212    15
213    16
214    17
215    18
216    19
217    20
218    21
219    22
220    23
221    24
198    25
199    26
200    27
201    28
202    29
203    30
204    31
205    32
206    33
207    34
208    35
209    36
174    37
175    38
176    39
177    40
178    41
179    42
180    43
181    44
182    45
183    46
184    47
185    48
116    49
117    50
118    51
119    52
120    53
121    54
110    55
111    56
112    57
113    58
114    59
115    60
104    61
105    62
106    63
107    64
108    65
109    66
98    67
99    68
100    69
101    70
102    71
103    72
168    73
169    74
170    75
171    76
172    77
173    78
162    79
163    80
164    81
165    82
166    83
167    84
156    85
157    86
158    87
159    88
160    89
161    90
150    91
151    92
152    93
153    94
154    95
155    96
86    97
87    98
88    99
89    100
90    101
91    102
92    103
93    104
94    105
95    106
96    107
97    108
74    109
75    110
76    111
77    112
78    113
79    114
80    115
81    116
82    117
83    118
84    119
85    120
62    121
63    122
64    123
65    124
66    125
67    126
68    127
69    128
70    129
71    130
72    131
73    132
50    133
51    134
52    135
53    136
54    137
55    138
56    139
57    140
58    141
59    142
60    143
61    144

As an added bonus, if you want to change what those numbers look like, all the UI component images can be found in this directory of the client: \data\interface\Style01\Stall\

Posted
Thanks for sharing this, I had no idea this was added... or I just don't remember. I'm surprised it's on that patch.
  • 2 months later...
Posted

While poking around this morning I came across "booth.ini" in the \ini\ directory. Turns out that file has a mapping between NPC ID and ShopFlag number and I never had to trial-and-error my way to that info in the first place. Haven't tested it, but presumably you can just edit this file to the NPC IDs you're using and call it a day.

[boothNumber]
50=133
51=134
52=135
53=136
...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...