Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Database/World Building

Development::Database/World Building World Building forum, dedicated to the EQEmu MySQL Database. Post partial/complete databases for spawns, items, etc.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #11  
Old 01-28-2007, 04:00 AM
eq4me
Hill Giant
 
Join Date: Jul 2006
Posts: 166
Default

I've done some research on generation a new merchantlist from scratch this weekend and I have discovered that this will take quite some time. Unfortunately far more time I can spare in the the next few weeks.

So as an interim solution I am going back to trimming down the exisiting merchantlist table.

Provided you have both the peq-luclin-release file load_system.sql and my allowed_vendor_items.txt file in one directory on an Linux Box all you need to do is:

Code:
grep "merchantlist " load_system.sql > merchantlist.orig
for i in `cat allowed_vendor_items.txt| cut -d"," -f1` ; do grep ",$i)" merchantlist.orig ; done > merchantlist.new
The above will weed out any item id not listed in allowed_vendor_items.txt and write a new merchantlist table. Be aware that there is no change to the slot id.

Edit: Please be aware that the merchants in cshome and all customized adventure merchants and such will loose most to all of their inventory.

Last edited by eq4me; 01-28-2007 at 12:24 PM..
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 01:45 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3