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
i_gold to Virtual gold
Author Message
ThatSide
Apprentice
*

Posts: 17
Likes Given: 5
Likes Received: 0 in 0 posts
Joined: Feb 2015
Reputation: 0



Post: #1
i_gold to Virtual gold
Hi, hello!

Haven't done anything with sphere scripts for years. I've been reading forum and sphere wiki to get the idea what has changed. Now I decided to fulfill my childhoods dream and started to convert my old scripts (from sphere 55i to 56b.)

What I want is to replace i_gold with virtual gold. (killing monsters gives the gold just like experience, karma etc. Something you have but can't see in your bag) Fist thing that crossed my mind was to create a tag.gold or somethin.. then i realized that it will make my life harder cos I will have to make dialogs for every vendor so I can sell and buy items and it affects only players tag.gold and doesn't require item i_gold.
Now I have discovered that I can change players gold amount with function .gold <amount>. I am able to buy items from vendors. Gold amount changes and it does not require actual item i_gold in my backpack or bankbox.
Is this safe way to do it? Any suggestions?
08-03-2015 06:43 AM
Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Messages In This Thread
i_gold to Virtual gold - ThatSide - 08-03-2015 06:43 AM
RE: i_gold to Virtual gold - escribano - 08-03-2015, 06:48 AM
RE: i_gold to Virtual gold - ThatSide - 08-03-2015, 07:06 AM
RE: i_gold to Virtual gold - escribano - 08-03-2015, 07:13 AM
RE: i_gold to Virtual gold - XuN - 08-03-2015, 05:40 PM
RE: i_gold to Virtual gold - ThatSide - 08-03-2015, 07:41 PM
RE: i_gold to Virtual gold - darksun84 - 08-03-2015, 08:06 PM
RE: i_gold to Virtual gold - ThatSide - 08-03-2015, 08:54 PM
RE: i_gold to Virtual gold - darksun84 - 08-03-2015, 09:06 PM
RE: i_gold to Virtual gold - ThatSide - 08-05-2015, 08:20 PM
RE: i_gold to Virtual gold - Ultima One - 08-05-2015, 11:54 PM
RE: i_gold to Virtual gold - ThatSide - 08-08-2015, 07:53 AM

Forum Jump:


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