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

Archive::Database/World Building Archive area for General Discussion's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 02-23-2004, 07:45 AM
Celebril
Fire Beetle
 
Join Date: Feb 2004
Location: Tecumseh, ON
Posts: 7
Default Partial fix for 0 cost items at merchants

This doesn't fix all of the items (less than 100 or so) that are being sold by merchants for free (using the MWnpcmov db), but I thought I would share this with everyone. This will remove any free items from merchants which can be looted from creatures.
Code:
DELETE merchantlist.* FROM items, merchantlist, lootdrop_entries WHERE cost = 0 AND items.id  = merchantlist.item AND items.id = lootdrop_entries.item_id;
On that same topic, I'm trying to come up with (somewhat ) accurate prices of items (weapons are a priority) to somewhere around where they should be for their power. I was thinking of a formula, maybe something like
Code:
 (20 * (damage/delay))^2 * (damage/delay) * 5000
to get the items price in cp. That seems to work alright for 2H weapons (except for the really weak ones like Rusty, Tarnished, etc). Has anybody done this already/has a better idea? Any input would be appreciated.[/code]
Reply With Quote
  #2  
Old 02-23-2004, 04:22 PM
badk0re
Fire Beetle
 
Join Date: Feb 2004
Posts: 26
Default

Wonderful work =)
Reply With Quote
  #3  
Old 02-23-2004, 04:40 PM
samandhi's Avatar
samandhi
Demi-God
 
Join Date: Aug 2003
Posts: 1,056
Default

Quote:
Code:
DELETE merchantlist.* FROM items, merchantlist, lootdrop_entries WHERE cost = 0 AND items.id = merchantlist.item AND items.id = lootdrop_entries.item_id;
Hmm what about those same items that the NPC's will not pay YOU anything for? In other words, if you buy it from them (which will now cost pp, will they buy it back for pp?) I have noticed that they will give you 0 pp for an item that they sell for 0pp, even if you dont get it from them, but from a loot drop.. Follow me?
__________________

Quote:
Analysis paralysis will keep you from failing, but it will also keep you from succeeding.
  • L.L. CoolJ
Reply With Quote
  #4  
Old 02-23-2004, 09:53 PM
wize_one
Dragon
 
Join Date: Jan 2004
Location: LasShithole, NV
Posts: 520
Default

i believe by defualt merchants will not buy no drop no rent items..that fix was to allow selling of no drop items on merchants
__________________
Perfect quote from another site: it's immature pricks who refuse to read the numerous stickies in every forum pointing out what to do and what not to do that get flamed. Grow up and learn to do your fucking homework before opening your cake hole, junior. EQEmu doesn't like you anymore, and that's why you're getting errors. So go away.
__________________
Reply With Quote
  #5  
Old 02-24-2004, 01:40 AM
Celebril
Fire Beetle
 
Join Date: Feb 2004
Location: Tecumseh, ON
Posts: 7
Default

I just discovered the updated dumpeditems.sql script from this site last night... I was using the version from sourceforge before that (dated from December). I guess there's not much point updating the item prices with new releases of that coming out all the time That was just a "bandaid" fix anyway.
The best way to fix the problem would be to have all those items that merchants normally don't sell be put into the proper loot tables, then to remove them from merchants' inventories. This would negate the need to "balance" their prices altogether. Unfortunately, I don't have an eqlive account anymore, so I cannot contribute to getting those loot drops accurate :(
Does anybody know of a site which might have such data easily available (which creatures drop which items, I mean)?
Reply With Quote
Reply


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 05:22 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