|
||
|
|||||||
| 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 |
|
|
#26 (permalink) | |
|
Forum Expert
|
Quote:
What you need to do instead is find out what changes I made to each script, and add those to your scripts. I think for Spell, it was pretty simple, I just added an "if" condition to see if the "NoRegs" option was turned on. |
|
|
|
|
|
|
#27 (permalink) |
|
Forum Novice
|
Ok I finally got the scripts merged with no error, however I am trying out the commands like m_TCEnabled and nothing happens. I have tried it like [shard m_TCEnabled, [m_TCEnabled and nothing works. I do [shard and it still says the Test Center settings off
|
|
|
|
|
|
#28 (permalink) | |
|
Forum Expert
|
Quote:
"Shard Help" - displays the settings in a gump (no edit capability yet) "Shard Save filename.xml" - saves the settings to an xml file. "Shard Load filename.xml" - loads the settings saved earlier. "Shard Delay 30" - sets the delay between saves to 30 minutes. "Shard Warning 30" - sets the warning before saves to 30 seconds. "Shard TCEnabled true" - turns on Test Center. "Shard StartGold 20000" - sets the start gold in the pack to 20000. "Shard accounts 3" - sets the number of accounts per IP to 3. "Shard AAC true" - turns ON auto account creation of new accounts. "Shard Indiv 125" - sets the default individual statcap to 125. "Shard statcap 350" - sets all players statcaps to 350. "Shard skillscap 7000" - sets the skills cap of all players to 700.0. "Shard RegsEnabled true" - sets Reagent use ON, meaning regs are needed. "Shard ResFullHealth true" - means when you resurrect you are full health. "Shard PetResFullHealth true" - means pets are full health when resurrected. "Shard protection true" - enables Profanity Protection. "Shard action 4" - Disconnects players who violate the Profanity Protection. "Shard gains 2" - Sets skill gains to 'C_Normal'. "Shard" - displays settings (not in a gump, just on the screen.) "ShardControl" - same as "Shard" "StatCaps" - Any player can use this command to display individual statcaps. NOTE: Individual Stat Caps can NOT be adjusted using Shard Control by itself, which was why I created the AdvancedPlayerGate, which makes use of the Dictionary of values which are stored in the ShardControl stone. WARNING: if you create a 2nd ShardControl, it will wipe out all previous settings including individual statcaps. Individual stat caps for players will be cleared, and the default setting will be used. Individual Player's stat caps are NOT stored in the XML files which are saved and loaded using the Shard command. |
|
|
|
|
|
|
#30 (permalink) |
|
Newbie
|
*waves* hello.
I was wondering if I could get a big push in the right direction with these warnings and errors. I'm a complete newbie with RunUO and the C# language. I followed the install directions. Then went searching for answers to the errors I was receiving. so far, I haven't been able to pull a rabbit out of my... anyway, I haven't quite figured out how to fix the errors and warnings. The warnings are talking about adding a new keyword for magery spells, the errors are saying "type must be 'int' to match overridden member." I'm learning as I go, and I'm excited to. Any help at all would be greatly appreciated. Thanks, ~Elora Last edited by Elora; 04-08-2008 at 03:37 AM. |
|
|
|
|
|
#31 (permalink) | |
|
Forum Expert
|
Quote:
When you run the Server, the Command window (or Console) has a menu in the top left corner at the icon. If you click the icon, choose Edit -> then select "Mark" you should be able to drag to highlight sections of the window, and copy them using the Edit menu again, or by pressing ENTER. Once copied, you can then Paste into any Windows program. If you don't mind, could you try that, and paste the exact error here? |
|
|
|
|
|
|
#33 (permalink) | |
|
Forum Expert
|
Quote:
At the top of the script, BEFORE Code:
namespace Server.Spells
{
Code:
#region Added for Shard Control 1/2 using Server.Misc; #endregion Code:
public virtual bool ConsumeReagents()
{
Code:
#region Added for Shard Control 2/2
if (!ShardControl.RegsEnabled)
return true;
#endregion
|
|
|
|
|
|
|
#34 (permalink) |
|
Newbie
|
Code:
#region Added for Shard Control 1/2 using Server.Misc; #endregion Code:
#region Added for Shard Control 2/2
if (!ShardControl.RegsEnabled)
return true;
#endregion
You wouldn't happen to have any other ideas, would you? Thank you for all your help. |
|
|
|
|
|
#35 (permalink) | |
|
Forum Expert
|
Quote:
I told you, replace mine with the original spell.cs that you backed up before you put mine in, or if you didn't back it up, get a copy of RC2, and copy spell.cs from there to your RunUO folder, then make the additions that I showed. OK? |
|
|
|
|
|
|
#37 (permalink) | |
|
Forum Expert
|
Quote:
Once you have the original file back, do the same thing you did before. Find the sections that I added in mine, and copy them to the corresponding locations in the originals. If you can't figure it out, post again, and I will be more specific. But, I think you will learn something about scripting if you can figure out the correct way to merge my changes into the original script. Let me know. |
|
|
|
|
|
|
#40 (permalink) |
|
Forum Novice
Join Date: Jan 2006
Posts: 221
|
Eric, You can get a Free version of WinRar, If it still says File when you D/L it and save it to Custom Scripts, then right click on it again and click on open with, then chose WinRar, then Click on Extract Files in Folder.
I hope i helped :-)
__________________
You Can Make a Good Living working for someone else, you can make a fortune working for yourself. |
|
|
|
|
|
#42 (permalink) |
|
Forum Novice
Join Date: Feb 2008
Posts: 223
|
Hi every 1 please help me ive tried run uo 1.0 and 2.0 and i cant get either of them to work with the shard control i have never made a succsefull shard before i cant script that well. My problem is that when i download runuo 1.0 it works fine but then i try to download the shard control download works fine i just cant get it to overwrite the files so it wont work any help. It is the same problem with runuo 2.0 ? please help/ And thanks. :
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Ok i think i solved that 1 but with run uo 1.0 it says im using encrypted client then it dissconects me. I am getting this info from the server box. Thanks to all who help me [edited] Ok Solved thanks every 1 solved that 1 altleast thanks who read Last edited by CJCJDJ; 01-03-2009 at 03:23 PM. Reason: Problem solved |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|