D
Dupre
Guest
Dupre's Token System
Summary:
A complete Token System. See Description for more details
*READ THIS!*
There was a bug in the scripts which created "double token" syndrome, from version 1.8 to 1.8g, the system created tokens which didnt appear in the world.
1.8h fixes that
To Remove the "double tokens" type this at command line
[global delete where Tokens Map = internal
*UPDATED* 18th May 2004 v1.8i - RunUO 1.0RC0
1.8i
+Added new instructions for dropping tokens, fixes the "multiple drops" bug, also posted a new BaseCreature script to reflect that change.
+Added Places_Thousand and Places_Million into Settings so you can define the Extended Currency format to certain decimal places.
+Added the gump for the "spell" books, but no working code behind them yet.
1.8h
+MAJOR BUG FIXED! see above
+Added a command for [WorldTokens which displays all the tokens in the world, so you can tier rewards accordingly
+Tweaked the distrobution of tokens to be a little more tier'd
1.8g
+Added a version command, just type [tokver and it will display the version you are using.
+Rearranged the directories to make it easier for me to find the scripts i need.
1.8f
+Migrated the setting for the Token System "colour" to the Settings.cs file
1.8e
+Added a Gump option for the Abacus
+Added an option for the gump in Settings.cs
1.8d
+Added a Settings.cs file, which will allow you to alter the system alot more easily
+Version History is now contained in VersionHistory, README has instructions in now.
1.8c
+Added an Abacus to tally up tokens players have in there backpack and there bankboxes, and give a total.
1.8b
+Added a Static Token Stone for people to put at banks etc.
1.8a
+Fixed the TokenStone Gump to only show 1 instance.
1.8
+Token STACKING now works, pretty much perfectly (tested as much as i can)
+Fixed the deeds menu to show in the right order.
1.7
+Updated the Installation instructions to work with RC0.
+User sees a message when they receive tokens.
+Tweaked the Token amounts so minimum is 6 tokens now.
+"Multiple Bags" bug is fixed, players should only get 1 load of tokens regardless how many bags the have.
+Added Test Shard to UOG UOG Link
+-+ If you have any bugs relating to the RC0 version of RunUO, please post, im not looking to fix anything for Beta36 anymore. When i think all the relative bugs are out, ill post 2.0
Description:
This package contains:
Tokens - These are the babies that do the job
TokenBag - This is a bag players can carry, which will store there tokens (0 weight) ONLY tokens may go into this bag, they also spawn automatically in there with the inclusion of extra code (see Installation)
TokenStone - This is the portable stone that players can carry so they can choose rewards while not in a central location.
TokenStoneGump - The gumps for the TokenStone.
TokenVendor - Doesnt quite work, he accepts gold AND tokens for purchases.
TokenBankCheck - If your going to set tokens to have a weight, or theres a low limit on bag storage, these are helpful to avoid HUGE piles of tokens.
Abacus - Tally's up the tokens players have in there backpack and bank, and gives a grand total.
Rewards:
Dragon Head Trophy - Like the Taxidermy kit trophies, but you dont need to go out and kill a dragon to get one
Black/White Shroud - These "dye" the player and there armour (if knight) an "ethereal" colour.
Black/White KnightArmour - These are a facility where the Shrouds can give full "ethereal" hue, and a player can still wear armour.
ItemBlessDeed - not my script, just added to bulk up the rewards.
SkillBall - not my script, just added to bulk up the rewards.
Installation:
Unzip to custom folder
*YOU ONLY NEED THE BASECREATURE.CS if you have a clean install of RunUO 1.0 or an untouched one*
if you want tokens to drop on "ALL" monsters add this code to your BaseCreature script:
First find the OnDeath method, inside that method find the lines
DIRECTLY under that code put this code
Summary:
A complete Token System. See Description for more details
*READ THIS!*
There was a bug in the scripts which created "double token" syndrome, from version 1.8 to 1.8g, the system created tokens which didnt appear in the world.
1.8h fixes that
To Remove the "double tokens" type this at command line
[global delete where Tokens Map = internal
*UPDATED* 18th May 2004 v1.8i - RunUO 1.0RC0
1.8i
+Added new instructions for dropping tokens, fixes the "multiple drops" bug, also posted a new BaseCreature script to reflect that change.
+Added Places_Thousand and Places_Million into Settings so you can define the Extended Currency format to certain decimal places.
+Added the gump for the "spell" books, but no working code behind them yet.
1.8h
+MAJOR BUG FIXED! see above
+Added a command for [WorldTokens which displays all the tokens in the world, so you can tier rewards accordingly
+Tweaked the distrobution of tokens to be a little more tier'd
1.8g
+Added a version command, just type [tokver and it will display the version you are using.
+Rearranged the directories to make it easier for me to find the scripts i need.
1.8f
+Migrated the setting for the Token System "colour" to the Settings.cs file
1.8e
+Added a Gump option for the Abacus
+Added an option for the gump in Settings.cs
1.8d
+Added a Settings.cs file, which will allow you to alter the system alot more easily
+Version History is now contained in VersionHistory, README has instructions in now.
1.8c
+Added an Abacus to tally up tokens players have in there backpack and there bankboxes, and give a total.
1.8b
+Added a Static Token Stone for people to put at banks etc.
1.8a
+Fixed the TokenStone Gump to only show 1 instance.
1.8
+Token STACKING now works, pretty much perfectly (tested as much as i can)
+Fixed the deeds menu to show in the right order.
1.7
+Updated the Installation instructions to work with RC0.
+User sees a message when they receive tokens.
+Tweaked the Token amounts so minimum is 6 tokens now.
+"Multiple Bags" bug is fixed, players should only get 1 load of tokens regardless how many bags the have.
+Added Test Shard to UOG UOG Link
+-+ If you have any bugs relating to the RC0 version of RunUO, please post, im not looking to fix anything for Beta36 anymore. When i think all the relative bugs are out, ill post 2.0
Description:
This package contains:
Tokens - These are the babies that do the job
TokenBag - This is a bag players can carry, which will store there tokens (0 weight) ONLY tokens may go into this bag, they also spawn automatically in there with the inclusion of extra code (see Installation)
TokenStone - This is the portable stone that players can carry so they can choose rewards while not in a central location.
TokenStoneGump - The gumps for the TokenStone.
TokenVendor - Doesnt quite work, he accepts gold AND tokens for purchases.
TokenBankCheck - If your going to set tokens to have a weight, or theres a low limit on bag storage, these are helpful to avoid HUGE piles of tokens.
Abacus - Tally's up the tokens players have in there backpack and bank, and gives a grand total.
Rewards:
Dragon Head Trophy - Like the Taxidermy kit trophies, but you dont need to go out and kill a dragon to get one
Black/White Shroud - These "dye" the player and there armour (if knight) an "ethereal" colour.
Black/White KnightArmour - These are a facility where the Shrouds can give full "ethereal" hue, and a player can still wear armour.
ItemBlessDeed - not my script, just added to bulk up the rewards.
SkillBall - not my script, just added to bulk up the rewards.
Installation:
Unzip to custom folder
*YOU ONLY NEED THE BASECREATURE.CS if you have a clean install of RunUO 1.0 or an untouched one*
if you want tokens to drop on "ALL" monsters add this code to your BaseCreature script:
First find the OnDeath method, inside that method find the lines
Code:
Titles.AwardFame( ds.m_Mobile, totalFame, true );
Titles.AwardKarma( ds.m_Mobile, totalKarma, true );
DIRECTLY under that code put this code
Code:
TokenValidate.TokenTest(m,this);