PDA

View Full Version : Merchants: Clockwork Merchant 2x the spells


Arkis
03-10-2011, 09:38 PM
There seems to be a few merchants in Ak'anon evil guild that sells twice or more of every spell

Loc: (2036, -398) and (2087, -374) and (2095, -405)

These were all the ones I could find. There could be more.

No big deal but made me look twice! (ha ha...)

Uthgaard
03-11-2011, 07:17 AM
The vendor listing is correct, looks like something is causing them to list twice (or three times in some cases). It's also like this on a fresh compile and reboot of the development server.

NpcIDs 55238, 55013, 55242, 55079

Haynar
03-11-2011, 12:17 PM
Interesting. I will investigate.

H

Haynar
03-11-2011, 12:51 PM
It is because of multiple merchants in the same zone sharing the same list. The merchant list loads up from the db, based on zone id. So for that merchant list, it got loaded 2 or 3 times, depending on how many of that merchant list shows in the zone.

But because i now renumber the lists, before sending initially, before it would send the same item 3 times, with the same slot. So noone knew. Now i renumber, so it sends the same item in 3 different slots.

Since we do want some merchants to have duplicate lists in the same zone, i will make adjustments in my renumber list code, to get rid of duplicates too.

H