Go Back   RunUO - Ultima Online Emulation > RunUO > Custom Script Releases

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.

Reply
 
Thread Tools Display Modes
Old 08-25-2007, 04:25 PM   #26 (permalink)
Forum Expert
 
Lokai's Avatar
 
Join Date: Aug 2003
Location: Bergen, NY (Rochester)
Age: 42
Posts: 1,493
Send a message via ICQ to Lokai Send a message via MSN to Lokai Send a message via Yahoo to Lokai
Default

Quote:
Originally Posted by neuton View Post
I am new to RunUO, and I am still learning how to do things, I have installed the ML pack you put together Lokai and it works fine, however when I extracted the files from your other 2 zips ( AdvancedPlayer, ShardControl) I get a lot of errors when re-starting the server.

Is there a way for you to test them and see what you see from it, I didn't get a screenshot of the errors sorry, but they point to alot of the spells scripts.

If you need to see the errors then I can re-incorporate the files again and run the server and show you a screenshot then.

Thanks You for all the work you do for Runuo.
Neuton
You cannot simply extract the files from this system over Malganis' ML release, as it will overwrite stuff needed in Spell.cs, among other things probably.

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.
Lokai is offline   Reply With Quote
Old 11-12-2007, 08:02 PM   #27 (permalink)
Forum Novice
 
neuton's Avatar
 
Join Date: Oct 2006
Location: Westchester County, NY
Posts: 113
Send a message via ICQ to neuton Send a message via MSN to neuton Send a message via Yahoo to neuton
Default

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
neuton is offline   Reply With Quote
Old 11-13-2007, 07:24 AM   #28 (permalink)
Forum Expert
 
Lokai's Avatar
 
Join Date: Aug 2003
Location: Bergen, NY (Rochester)
Age: 42
Posts: 1,493
Send a message via ICQ to Lokai Send a message via MSN to Lokai Send a message via Yahoo to Lokai
Default

Quote:
Originally Posted by neuton View Post
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
Sorry, I should have made a friendlier gump or something. Here are all the commands that come with ShardControl:

"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.
Lokai is offline   Reply With Quote
Old 11-13-2007, 08:36 AM   #29 (permalink)
Forum Novice
 
neuton's Avatar
 
Join Date: Oct 2006
Location: Westchester County, NY
Posts: 113
Send a message via ICQ to neuton Send a message via MSN to neuton Send a message via Yahoo to neuton
Default

Thank So much Lokai this is what I need, I appreciate it alot. I believe alot of others would find it useful. :P
neuton is offline   Reply With Quote
Old 04-08-2008, 03:35 AM   #30 (permalink)
Newbie
 
Join Date: Dec 2007
Age: 27
Posts: 62
Send a message via ICQ to Elora
Default

*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.
Elora is offline   Reply With Quote
Old 04-08-2008, 12:58 PM   #31 (permalink)
Forum Expert
 
Lokai's Avatar
 
Join Date: Aug 2003
Location: Bergen, NY (Rochester)
Age: 42
Posts: 1,493
Send a message via ICQ to Lokai Send a message via MSN to Lokai Send a message via Yahoo to Lokai
Default

Quote:
Originally Posted by Elora View Post
*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
What version of RunUO are you using? This system was made with the SVN Server about revision 181. If you are using something much earlier or much later, there could be differences in the core scripts.

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?
Lokai is offline   Reply With Quote
Old 04-09-2008, 06:07 AM   #32 (permalink)
Newbie
 
Join Date: Dec 2007
Age: 27
Posts: 62
Send a message via ICQ to Elora
Default

Quote:
Originally Posted by Lokai View Post
What version of RunUO are you using? This system was made with the SVN Server about revision 181. If you are using something much earlier or much later, there could be differences in the core scripts.
I'm using RunUO 2.0 RC2. I'll attach the errors and warnings. Thanks for taking a look, I appreciate it.
Attached Files
File Type: txt warnings.txt (1.4 KB, 14 views)
File Type: txt Errors.txt (10.7 KB, 16 views)
Elora is offline   Reply With Quote
Old 04-09-2008, 06:21 AM   #33 (permalink)
Forum Expert
 
Lokai's Avatar
 
Join Date: Aug 2003
Location: Bergen, NY (Rochester)
Age: 42
Posts: 1,493
Send a message via ICQ to Lokai Send a message via MSN to Lokai Send a message via Yahoo to Lokai
Default

Quote:
Originally Posted by Elora View Post
I'm using RunUO 2.0 RC2. I'll attach the errors and warnings. Thanks for taking a look, I appreciate it.
Looks like Spell.cs was changed in RC2. You need to put the original RC2 version of that script back in place. If you want to use Shard Control to affect the use of reagents, then you only need to make 2 small additions to Spell.cs, and they will NOT produce those errors.

At the top of the script, BEFORE
Code:
 
 
namespace Server.Spells
{
Add this:

Code:
 

#region Added for Shard Control 1/2
using Server.Misc;
#endregion
And immediately AFTER this:

Code:
 

  public virtual bool ConsumeReagents()
  {
Add this:

Code:
#region Added for Shard Control 2/2
            if (!ShardControl.RegsEnabled)
                return true;
#endregion
Lokai is offline   Reply With Quote
Old 04-09-2008, 03:26 PM   #34 (permalink)
Newbie
 
Join Date: Dec 2007
Age: 27
Posts: 62
Send a message via ICQ to Elora
Default

Code:
#region Added for Shard Control 1/2
using Server.Misc;
#endregion
and
Code:
#region Added for Shard Control 2/2
            if (!ShardControl.RegsEnabled)
                return true;
#endregion
were already in spells.cs.
You wouldn't happen to have any other ideas, would you? Thank you for all your help.
Elora is offline   Reply With Quote
Old 04-09-2008, 03:32 PM   #35 (permalink)
Forum Expert
 
Lokai's Avatar
 
Join Date: Aug 2003
Location: Bergen, NY (Rochester)
Age: 42
Posts: 1,493
Send a message via ICQ to Lokai Send a message via MSN to Lokai Send a message via Yahoo to Lokai
Default

Quote:
Originally Posted by Elora View Post
Code:
#region Added for Shard Control 1/2
using Server.Misc;
#endregion
and
Code:
#region Added for Shard Control 2/2
            if (!ShardControl.RegsEnabled)
                return true;
#endregion
were already in spells.cs.
You wouldn't happen to have any other ideas, would you? Thank you for all your help.
No, they are NOT in the original spell.cs.

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?
Lokai is offline   Reply With Quote
Old 04-09-2008, 03:53 PM   #36 (permalink)
Newbie
 
Join Date: Dec 2007
Age: 27
Posts: 62
Send a message via ICQ to Elora
Default

Thank you for that! (I'm sorry, sometimes lack of sleep makes me miss things)
That fixed most of the errors, now there is only one dealing with spellweaving.

Again, thank you very much for your help.
Attached Files
File Type: txt Errors.txt (362 Bytes, 18 views)
Elora is offline   Reply With Quote
Old 04-09-2008, 04:05 PM   #37 (permalink)
Forum Expert
 
Lokai's Avatar
 
Join Date: Aug 2003
Location: Bergen, NY (Rochester)
Age: 42
Posts: 1,493
Send a message via ICQ to Lokai Send a message via MSN to Lokai Send a message via Yahoo to Lokai
Default

Quote:
Originally Posted by Elora View Post
Thank you for that! (I'm sorry, sometimes lack of sleep makes me miss things)
That fixed most of the errors, now there is only one dealing with spellweaving.

Again, thank you very much for your help.
OK. Here again, RC2 was not released when I made these, so these scripts are a good bit older than the ones from RC2 that you replaced with mine. Looks like PetResurrectGump and ResurrectGump both use different constructors than in my script. So, once again, put the original file back.

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.
Lokai is offline   Reply With Quote
Old 04-09-2008, 10:00 PM   #38 (permalink)
Newbie
 
Join Date: Dec 2007
Age: 27
Posts: 62
Send a message via ICQ to Elora
Default

Got it. Thank you, so much. And you're right. I am learning, slowly, but I'm enjoying it immensely. Thank you, for everything you do.
Elora is offline   Reply With Quote
Old 04-13-2008, 02:05 PM   #39 (permalink)
Newbie
 
Join Date: Dec 2005
Posts: 31
Default

Can you post as .rar? it seems as if these files are currupt as .zip to me. thanks! (anybody)
eric@wuurld.org is offline   Reply With Quote
Old 04-13-2008, 02:25 PM   #40 (permalink)
Forum Novice
 
Hotshot's Avatar
 
Join Date: Jan 2006
Posts: 221
Default

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.
Hotshot is offline   Reply With Quote
Old 04-13-2008, 03:10 PM   #41 (permalink)
Forum Expert
 
Lokai's Avatar
 
Join Date: Aug 2003
Location: Bergen, NY (Rochester)
Age: 42
Posts: 1,493
Send a message via ICQ to Lokai Send a message via MSN to Lokai Send a message via Yahoo to Lokai
Default

I recommend Izarc. It opens just about any compressed file. Go to izarc.org, or google it, and get it. If I have time to convert them to RAR, I will.
Lokai is offline   Reply With Quote
Old 01-03-2009, 01:51 PM   #42 (permalink)
Forum Novice
 
Join Date: Feb 2008
Posts: 223
Red face Help Please

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
CJCJDJ is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5