Nilar is correct. There is coding involved (adding a tracking table for characters and thier ldon points, some database.cpp routines that actually retrieve and store the point data, and changes to client_process.cpp to refresh the ldon struct with that players points). We have LDoN merchants workin on the Lucid Vision PvP Server.
In a nutshell:
LDoN Merchants are class 61. So you can spawn them by doing a :
#spawn Mookie 1 65 3 10000 1
61 0 0
15
(don't spawn him just yet, set up his merchant items first - the merchant id just has to be an id that is not being used by a regular vendor - pulled that number out of thin air)
Notice the spawn has been given class #61, and Merchant ID #15
61 is the LDoN merchant class ID. 15 is his merchant ID. GO to the merchantlist table in your EQ database and add some entries for your ldon merchant so he actually has Phat l3wt to sell.
Entered values are merchantid, slot, and item id respectively
Code:
insert into merchantlist values (15, 1, 1001);
insert into merchantlist values (15, 2, 1002);
insert into merchantlist values (15, 3, 1003);
Now to set those item prices...
The ItemEditor (forget what version im using but it's the older one 1.7 i think) shows LDON points in the upper right corner. This is a misnomer. Below that field there is a field named "098:" thats the one to add an ldon merchant price for these items (not sure about the latest and greatest version but in the version im using , thats where ldon prices go). Find items 1001, 1002, and 1003 (or whatever item you entered into that merchant list) and set ldon vendor prices for them.
Go to the NPC_Types table and find your merchant (assuming you "created" and "added" him to your spawn tables - there are plenty of How TO #Spawn threads if you have questions go there). Update Mookies npc_types record -- put
15 in his "MerchantID" column.
Run your server.
Inspect your merchant, or spawn and inspect him. To buy your item for test purposes give yourself a few thousand LDoN adv points.
Target yourself, type GM command #setldonpoints (sorry i forget actual command name - last command in #help if your a GM with 200 status -- forgive me im at work and can't remember the command off the top of my mellon). Give yourself 2000 ldon points and go shopping.
This is all good - but as soon as you log out and in you won't have any points - because the functionality for tracking and refreshing those points is not in the code / database by default.
Anywhoo - this is all pretty worthless unless you're selling high end gear for pvp points, updating a characters pvp points in the kill code, and refreshing the ldon structure with spent points / current points / etc. For non PvP servers I imagine you'd want to have quest NPC give people LDoN points (that would be pretty cool actually) but it's still going to require some c++ coding and a little database work on your part to manage the point awarding, spending, tracking, etc.
As I said, we'll be releasing our 5.5DR1 code fixes (too many to mention - really), database, server rules description, and full source that should answer any and all LDoN merchant questions and provide necessary code / tables here in a week or so - once we pound out a few more bug fixes - so hang tight.
______________________________
(Closed Beta) Lucid Vision PvP Server
Ghecko the Vanquisher (65 monk - Rallos Zek)
"Any man can die for Jesus. We kill for him."
http://www.lucid-vision.org