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-nmm6 (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-nmm6 (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-nmm6 (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
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
golfin
Banned

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

Eranova

Post: #2
RE: New payment system
Answered by admin Andaria.cz, I will try to translate it using google.
Quote:The system is all about the price of meditation. When somewhere to find out how much ma has a figure of gold, silver and copper with each other, they will make 100, silver 10, and all of it. It determines how much you carry a total of money in medacich, from that subtract or pricte price according to whether kupujes or prodavas and then again turn to golds (divided by a hundred rounded down to the whole number of mine). .) and medics. All old money will be deleted and the new ones will be added.
Darksun, You described it, I mean something similar.


But, I'm not a scriptwriter. I can not. But I guess I have to create TYPEDEF on T_GOLD, which allows me to use all three coins. Perhaps I'm right.
(This post was last modified: 04-07-2019 05:48 AM by golfin.)
04-07-2019 05:46 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Sirris
Apprentice
*

Posts: 1
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: May 2021
Reputation: 0



Post: #3
RE: New payment system
Have you made it?! I know about the Czech shard, I have seen it for a couple of times, however I am not really sure about how to use it, and even how to script it. A friend of mine has been working on that for a while, and he told me that it is one of the toughest scripts that he has ever worked on. He said that due to that complexity, this payment system is really great, and reliable. I am looking for the best adult payment gateways as I am looking to set up my own website, and I have been thinking about trying out that script.
(This post was last modified: 05-18-2021 02:21 AM by Sirris.)
05-14-2021 12:36 AM
Find all posts by this user Like Post Quote this message in a reply
golfin
Banned

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

Eranova

Post: #4
RE: New payment system
No, I still don't have a new payment system. I didn't have time to do it.
05-15-2021 12:06 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
auwalushe
Banned

Posts: 1
Likes Given: 0
Likes Received: 0 in 0 posts
Joined: Apr 2023



Post: #5
RE: New payment system
I just stumbled upon your post and found it really interesting. I'm not really familiar with the script you mentioned, but I can imagine it must be pretty complex to make a payment system work like that. As for the TYPEDEF on T_GOLD, I think you're on the right track.
04-13-2023 04:06 AM
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)