Log in

View Full Version : ETA for merchant item lists?


Drawde
02-02-2002, 02:06 AM
First, congrats to the developers for all the bugfixes and improvements in 0.2.1 (deities, illusion spells, combat improvements, no NPC bouncing, etc). You've done a really great job.
However I have a question on when item lists for shopkeepers will be implemented (so they don't just sell grapes)? I'd like to work on adding the actual lists, once the feature is implemented in the emulator and DB. Darvik's shopkeeper code included example DB structs for this.
I also noted a bug with selling things to shopkeepers, when you zone or die all the items you sold are returned to your inventory, and you lose all the gold you got from selling them!

Zeitgeist
02-02-2002, 03:22 AM
*drools at the thought of more drawde dbs, pokes drawde 'til he gives up the new spawn data* ehhe cheers, bro!

darvik
02-02-2002, 03:33 AM
The reason your stuff is returned to you is because the server probably didn't save. I know in my base code that I posed, there was no server-side save for when you sold an item .. although there should be :)

I've been working on some code that reads the shopkeeper data into an array, kinda like npc data and item data does currently.. although I"m thinking it *should* read off the fly, since we should save memory for quest info (when implemented).. of course the other thing is this crap should only be loaded once, instead of for each instance of the zone server.

But I havn't had a whole lot of time to work on new stuff, my primary focus is figuring out the structs and opCodes for a few other things .. like when you view an item a merchant is selling, and it closes the merchant window - and a few other mystery things. ;) I might have a new code post in a few days with some better functionality with the merchants.. although I woulnd't doubt if someone else is working on it too.

Drawde
02-02-2002, 04:34 AM
The old data (0.3) is compatible with 0.2.1, as there haven't been any DB changes in the npc/spawn structs.
However I'll hopefully release 0.4 later today. It mainly includes more loot data, a few bug fixes, some Z-axis fixes (though "bouncing" is now fixed in the emulator, so getting the exact Z coordinates in outdoor zones isn't necessary anymore) and also some zone points (not all of them work though)

Gino
02-02-2002, 09:10 AM
Im almost done with a complete overhauled zone list and faction table.

Regards

Gino

Yodason
02-03-2002, 02:49 PM
get on irc and talk to me they going in next version (KINDOF) they kindof work.... see my post on dev forum to see what im talking about hopefully I can get merchant id working by next version else we jus thave a global def merchant list for next version... (sound confusing? talk to me on irc =p)

Zeitgeist
02-04-2002, 03:06 AM
*watches yoda herd people to irc by being completely incomprehensible on the board* You sound like that Boomhauer guy on King of the Hill. *laugh*

Yodason
02-04-2002, 08:55 AM
erm currently this is just what i think the table will be...
id merchantid slot quanity item...
PROBLEM is rightnow merchant id is same for all merchants =) If you don't know what that means, go bug me on irc.....
ONCE AGAIN Thats just what i THINK it will be, if you do work and it changes DONT BLAME ME!

Zeitgeist
02-04-2002, 09:28 AM
le sigh, ignored by yoda =)

Sin
02-04-2002, 02:27 PM
Drawde, great work on the spawn db. There are still some spawns that need more accurate zloc information in outdoor zones, namely, people in buildings. Right now they drop onto the roofs of the buildings. =)