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
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 786 - File: showthread.php PHP 7.4.33-nmm7 (Linux)
File Line Function
/showthread.php 786 errorHandler->error






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New payment system
Author Message
golfin
Banned

Posts: 213
Likes Given: 2
Likes Received: 32 in 28 posts
Joined: Nov 2017

Eranova

Post: #1
New payment system
Hello,

I am solving one special problem. Sphere perceives the Gold Coin (i_gold) as a payment currency. I want to add two more coins to UO's. i_coin_silver and i_coin_copper. Thus: 1 gold coin = 10 silver coins, 10 silver coins = 100 copper coins. i_coin_silver and i_coin_copper have typedef t-coin, i_gold has t_gold. I don't quite understand how to force NPC traders to take i_coin_silver and i_coin_copper while trading. I don't understand, even though I read a wiki, what does typedef t_coin mean, what does it actually exist for? But I think you will need to set i_coin_silver and i_coin_copper to t_gold and create a special script. This system exists on one Czech shard, which was already running on 1.0 RC sphere and then on 56b sphere. But I don't know how to script it. Does anyone have any advice, please? Thank you.
(This post was last modified: 04-03-2019 03:03 AM by golfin.)
04-03-2019 03:01 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
New payment system - golfin - 04-03-2019 03:01 AM
RE: New payment system - golfin - 04-07-2019, 05:46 AM
RE: New payment system - Sirris - 05-14-2021, 12:36 AM
RE: New payment system - golfin - 05-15-2021, 12:06 PM
RE: New payment system - auwalushe - 04-13-2023, 04:06 AM

Forum Jump:


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