|
||
|
|||||||
| Custom Script Releases This forum is where you can release your custom scripts for other users to use. Please note: By releasing your scripts here you are submitting them to the public and as such agree to publish them under the GPL licensing terms. The RunUO Team has made its software GPL for you to use and enjoy you should do the same for anything based off of RunUO. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Expert
|
***TOTAL EDIT*** PLEASE REDOWNLOAD!!!
SHARD CONTROL ************************************************** ****** CHANGE LOG: 6/10/2007 Added the new AdvancedPlayerGate w/Shard Control, see this link: [2.0]NEW Advanced Player Gate w/Shard Control 5/4/2007 Totally rewritten, and added several features. Here are the things you can now control: m_StartGold ..... Amount of Starting Gold for new players. m_AccountsPerIP ...... Number of Accounts allowed per IP. m_TCEnabled ...... Test Center Enabled/Disabled on the fly. m_AAC ...... Automatic Account Creation for new Accounts. m_Delay ..... Delay in Minutes between Shard Saves. m_Warning ..... Warning time in Seconds before Saves. m_StatCap ..... Adjust all players Total Stat Cap on the fly. m_SkillsCap ..... Adjust all players Total Skills Cap on the fly. m_RegsEnabled ..... Turn on/off Use of Reagents for Spells. m_ResFullHealth ..... On/Off Full Health after Resurrection. m_PetResFullHealth ..... Full Health for Pets on Resurrection. m_ProfanityProtection ..... Turn On/Off Profanity Protection. m_ProfanityAction ..... Set Profanity Action on the fly. m_Gains ..... Set Skill Gains from Very Low to Automatic. Settings are now saved to XML format. (Thanks to ArteGordon for his XmlSpawner2 system, that helped with inspiration and much code.) NEW COMMANDS (** and what they do **): [Shard (** displays current settings. same as [shardcontrol **) [ShardControl (** displays current settings. Same as [shard **) [Shard Help (** displays the ShardControlGump. same as dblck the item **) [Shard Save {myfilename.xml} (** saves settings to {myfilename.xml} **) [Shard Load {myfilename.xml} (** loads settings from {myfilename.xml} **) [Shard Gains 3 (** sets Gains to C_Normal **) [SetWarning 30 (** sets Warning time to 30 seconds before Saves **) [SetDelay 25 (** sets Delay to 25 Minutes between Saves **) ************************************************** ****** This is a nifty little script. It takes common script change needs, and puts them all in an Item called the ShardControl. I just know some clever scripters are going to improve on this thing, and add all kinds of stuff to it. That's cool. There is a gump that has plenty of room to add more stuff to it. (Sorry, no control of the features through the gump in this release, so you have to [props it.) OK, as usual, back up your files, and only add this once you understand what files you are replacing and/or changing. Please don't mess up a file you spent a month perfecting with no backups!INSTALLATION If you prefer to make changes manually, here is the list of files, and what you might be able to do manually instead of installing the files included in the release. Look for #region code identifying what sections were changed or added for Shard Control: CharacterCreation.cs AccountHandler.cs SkillCheck.cs AutoSave.cs Spell.cs PetResurrectGump.cs ResurrectGump.cs These files are new or have been totally rewritten: ShardControl.cs TestCenter.cs THESE FILES WERE CREATED WITH RunUO 2.0 SVN 181. IF YOU HAVE A CLEAN INSTALL, OR DON'T MIND REPLACING YOUR EXISTING FILES, DROP THESE IN THE SCRIPTS FOLDER, OVERWRITING THE EXISTING FILES. (YES TO ALL)
__________________
Advanced Player Gate with Shard Control - My Master Runebook - Linked Books & Bags - Full Toolbar (Fubar) - XML Bible system - Music Box - Enhancement Deeds - House Paints - Light Switch Last edited by Lokai; 06-10-2007 at 05:55 PM. Reason: Many changes added. |
|
|
|
|
|
#5 (permalink) |
|
Forum Novice
Join Date: Jul 2005
Age: 33
Posts: 410
|
i cant wait to see what else will be added to this or made from this, thanks for sharing with the community, even though i pretty much have all the things this controls setup manually, but im sure it will become something even greater with the creative minds at work here.
PS + Karma
__________________
LoveTheGame...ClickHere. Owner Of SecretsOfClones Feel free to check it out so far... |
|
|
|
|
|
#8 (permalink) | |
|
Forum Novice
|
Quote:
LOL. Thanks for the re-release, it has killed off all my work :[ |
|
|
|
|
|
|
#9 (permalink) | |
|
Forum Expert
|
Quote:
You are welcome. Of course, I don't even know what FC or FCC rates are, nor did I do anything with Map rules yet, so if you have any additions that could be added, feel free. |
|
|
|
|
|
|
#10 (permalink) |
|
Forum Novice
Join Date: Feb 2004
Location: New Jersey
Age: 25
Posts: 243
|
I have just dropped your script in keeping proper structure and it's throwing this error.
Code:
+Misc/ShardControl.cs
CS0115: Line 90: 'Server.Misc.ShardControl.DisplayWeight': no suitable method found to override
|
|
|
|
|
|
#11 (permalink) |
|
Forum Expert
Join Date: Jan 2003
Location: California
Age: 41
Posts: 3,259
|
What SVN you using?
__________________
My Scripts: HoodableRobe CellarAddon SeigeUpdates Refresh/CloneMe Commands VooDoo Dolls Lost Alchemy SVN 187 Updates: Bard System + Upgrade Ultima VII |
|
|
|
|
|
#15 (permalink) |
|
Forum Expert
|
Look for #region code identifying what sections were changed or added for Shard Control in these files, and add them to your files in the same place: CharacterCreation.cs AccountHandler.cs SkillCheck.cs AutoSave.cs Spell.cs PetResurrectGump.cs ResurrectGump.cs These files are new or have been totally rewritten: ShardControl.cs TestCenter.cs In ShardControl.cs, comment out this method: PHP Code:
|
|
|
|
|
|
#16 (permalink) | |
|
Forum Novice
Join Date: Jun 2007
Posts: 367
|
Quote:
EDIT: Nvm found it Last edited by Flats; 06-21-2007 at 09:16 PM. Reason: Found Line |
|
|
|
|
|
|
#17 (permalink) |
|
Forum Novice
Join Date: Jun 2007
Posts: 367
|
Hi Tried to install and got this error
Code:
Errors: +Accounting/AccountHandler.cs CS0246: Line 225: The type or namespace name 'Hashtable' could not be found <are you missing a using directive or assembly reference?> CS0246: Line 227: The type or namespace name 'Hashtable' could not be found <are you missing a using directive or assembly reference?> |
|
|
|
|
|
#18 (permalink) | |
|
Forum Expert
|
Quote:
|
|
|
|
|
|
|
#19 (permalink) |
|
Newbie
Join Date: Jun 2006
Posts: 75
|
Code:
Errors:
+ Custom/ShardControl w-Advanced Player Gate/Misc/ShardControl.cs:
CS0115: Line 107: 'Server.Misc.ShardControl.DisplayWeight': no suitable meth
od found to override
Code:
public override bool DisplayWeight { get { return ResetProperties(); } }
#endregion
|
|
|
|
|
|
#20 (permalink) | |
|
Forum Expert
|
Quote:
Thanks. |
|
|
|
|
|
|
#21 (permalink) |
|
Forum Novice
Join Date: Sep 2004
Age: 33
Posts: 685
|
We installed the script (along with the Advanced Player Gate) and it's exactly what we need for our shard. Thank you, Lokai. Wonderful, wonderful
![]() One thing I did run into, though... not sure if this happens with others. After you install Shard Control, skill gains stopped until you reset the skill gain option in Shard Control. I tried fishing, mining, and other skills, all at 0.0, with no gain until I set the Shard Control to [shard gains 4, at which point the gains started. Also, [skill gains 3 is "fast", not "normal". No big deal, just wanted to note it. Thanks for the great script. It has allowed us to change a ton of things all at once that we wanted, and be able to keep track and do it on the fly.
__________________
Please don't preach to me. You won't convert me. You won't convince me. I am me and you are you. I will respect you because that's who I am. Disrespect me, and you've only proven who you really are. |
|
|
|
|
|
#24 (permalink) |
|
Lurker
Join Date: Oct 2004
Age: 31
Posts: 20
|
Ok I did that and I got all new errors
RunUO - [www.runuo.com] Version 2.0, Build 2357.32527 Core: Running on .NET Framework Version 2.0.50727 Scripts: Compiling C# scripts...failed (2 errors, 0 warnings) Errors: + Accounting/Account.cs: CS0117: Line 912: 'Server.Misc.AccountHandler' does not contain a definition for 'IPTables' CS0117: Line 913: 'Server.Misc.AccountHandler' does not contain a definition for 'IPTables' CS0117: Line 915: 'Server.Misc.AccountHandler' does not contain a definition for 'IPTables' CS0117: Line 915: 'Server.Misc.AccountHandler' does not contain a definition for 'IPTables' + Misc/CharacterCreation.cs: CS0117: Line 638: 'Server.Race' does not contain a definition for 'RequiredE xpansion' Scripts: One or more scripts failed to compile or no script files were found. - Press return to exit, or R to try again. |
|
|
|
|
|
#25 (permalink) |
|
Lurker
Join Date: Oct 2004
Age: 31
Posts: 20
|
ok this is the only error I have left if I comment it out it will make all char's have no bodys
RunUO - [www.runuo.com] Version 2.0, Build 2357.32527 Core: Running on .NET Framework Version 2.0.50727 Scripts: Compiling C# scripts...failed (1 errors, 0 warnings) Errors: + Misc/CharacterCreation.cs: CS0117: Line 638: 'Server.Race' does not contain a definition for 'RequiredE xpansion' Scripts: One or more scripts failed to compile or no script files were found. - Press return to exit, or R to try again. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|