Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 09-03-2007, 01:31 PM
sonicintuition
Hill Giant
 
Join Date: Jan 2005
Posts: 124
Default Editing Item Price

Hello all,


I have searched high and low about editing item price in the database, and I figured it out ...column "price" and the number you put in is the amount of copper ...so 500 would be 5 gold. Great ...however there's a small problem ..when I enter in a price, say, 15000, which should be 15 plat, the price doesn't work in game - it ends up being more or less than 15 plat, by quite a bit in most cases. What am I doing wrong, or is this by design?

Regards,
Sonic
Reply With Quote
  #2  
Old 09-04-2007, 01:08 AM
soulshot
Hill Giant
 
Join Date: Jun 2006
Posts: 142
Default

Last time I checked you are able to set COST of items in the database but you are unable to modify the sell to npc price/percentage. Is this still the case?

-Mard
Reply With Quote
  #3  
Old 09-04-2007, 05:51 AM
sonicintuition
Hill Giant
 
Join Date: Jan 2005
Posts: 124
Default

I'm referring to the price field. The value in the price field is what determines how much an NPC will sell the item for, in this format:

1=1cp
10=1sp
100=1gp
1000=1pp

So if I plugged in a value of 350000, that *should* be 350 plat. But in game, it isn't ...it ends up being about 20-30 platinum off, usually higher than 350. That's what I'm trying to figure out.


Regards,
Sonic

Last edited by sonicintuition; 09-04-2007 at 01:54 PM.. Reason: Grammar
Reply With Quote
  #4  
Old 09-04-2007, 07:42 AM
sfisque
Hill Giant
 
Join Date: Oct 2006
Posts: 248
Default

IIRC the price is the base value of the object before adjusting for "merchant profit", faction, charisma, etc. you'll probably never see an item on an npc for the exact value plugged into the database.

from client_process.cpp:

inst->SetPrice(item->Price*127/100);

so it seems all items undergo a merchant markup of 27%. which isnt too bad. IIRC macy's used to have a 300% markup. :-P

== sfisque
Reply With Quote
  #5  
Old 09-04-2007, 10:44 AM
sonicintuition
Hill Giant
 
Join Date: Jan 2005
Posts: 124
Default

Ahhh, okay ..I figured that might have something to do with that. Evidently, it does. Thanks for clearing that up.

Regards,
Sonic
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 08:12 AM.


 

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