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-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
  #2  
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
  #3  
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 06:24 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