The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
BUY and SELL VALUES
Author Message
WRWR
Journeyman
*

Posts: 212
Likes Given: 30
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 1



Post: #1
BUY and SELL VALUES
How it work? Where i can regulate diferences in price between SELL and BUY values?
For example if my ingot set value=10
blacksmith sell it for 11 and buy it for 9
how i can regulate it?
08-05-2012 11:59 PM
Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: BUY and SELL VALUES
TAG.VENDORMARKUP

This value is added to the markup percentage that vendors apply to their buy and sell prices. Since the default markup is 15%, this means that a vendor will sell something worth 100gp at 115gp and buy it back for 85gp. If you set this tag to -15 the markup will be cancelled out to 0%, or you can raise/lower it if you want your vendor to sell things at a higher/lower price. If the vendor has this tag set directly on them then this region TAG will not be used.
08-06-2012 01:08 AM
Find all posts by this user Like Post Quote this message in a reply
WRWR
Journeyman
*

Posts: 212
Likes Given: 30
Likes Received: 1 in 1 posts
Joined: Mar 2012
Reputation: 1



Post: #3
RE: BUY and SELL VALUES
Is it possible to make different prices for each players?
or this TAG override on RESTOCK only?
08-06-2012 02:24 AM
Find all posts by this user Like Post Quote this message in a reply
Gil Amarth
Journeyman
*

Posts: 189
Likes Given: 2
Likes Received: 1 in 1 posts
Joined: May 2012
Reputation: 0



Post: #4
RE: BUY and SELL VALUES
What I do is return a percentage of the price, if his skill "Commerce" is so high.

So if a sword costs 100 gold coins, I return to the player a part of the price on @ITEMBUY trigger, between 10 or 20 gold coins. You can do the same with factions, reputation or character skills, it´s not different prices, but very similar at the end. Smile
(This post was last modified: 08-06-2012 07:11 PM by Gil Amarth.)
08-06-2012 07:09 PM
Find all posts by this user Like Post Quote this message in a reply
Handred
Apprentice
*

Posts: 28
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Jul 2012
Reputation: 0



Post: #5
RE: BUY and SELL VALUES
I have a problem with ITEMBUY and ITEMSELL.

ARGN will return the amount of the item I currently have (or that the vendor has, on ITEMBUY) instead of the amount I am trying to sell or buy.
08-10-2012 10:46 PM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)