|
||
|
|||||||
| 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 make them public domain. 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) |
|
ConnectUO Creator
Join Date: Jan 2004
Age: 27
Posts: 4,881
|
Hi guys, It's been along time since I've released anything here, and I hadn't planned on releasing anything else. But, since I needed to use RunUO to grade the competition entries and was getting sick of waiting for the scripts to compile, I wrote this enhancement to help me.
Description The Extensions Scripts modification allows you to specify seperate folders to put scripts in within the root of the RunUO directory. Each specified folder will be compiled and cached within its own directory just as RunUO does with the Scripts directory. Pros:
Installation Copy and overwrite ScriptCompiler.cs and Main.cs into your RunUO Core Project and compile the Core. Create a file in /Data/ called extensions.cfg. Add the name of each directory you wish to compile seperately into extensions.cfg. Extensions.cfg Example My RunUO Directory has 4 folders in it. Data, Scripts, ScriptExtensions, and ScriptCompetitions directories. My extensions.cfg file looks like the following Code:
ScriptExtensions ScriptCompetitions Code:
RunUO - [www.runuo.com] Version 2.0, Build 3159.19932 Core: Running on .NET Framework Version 2.0.50727 Core: Optimizing for 2 64-bit processors Scripts: Compiling C# scripts (Scripts)...done (cached) Scripts: Skipping VB.NET Scripts...done (use -vb to enable) Scripts: Compiling C# scripts (ScriptExtensions)...done (0 errors, 0 warnings) Scripts: Skipping VB.NET Scripts...done (use -vb to enable) Scripts: Compiling C# scripts (ScriptCompetitions)...done (cached) Scripts: Skipping VB.NET Scripts...done (use -vb to enable) Scripts: Verifying...done (2120 items, 500 mobiles) Regions: Loading...done World: Loading...done (22 items, 1 mobiles) (0.62 seconds) ServerList: Auto-detecting public IP address...done (69.17.103.204) Restricting client version to 6.0.9.2. Action to be taken: LenientKick If you have several different extension folders and one of the folders references objects in another, the folder with the referenced items needs to be before the other in the extensions.cfg. Example: ExtensionsA has object NewItem. ExtensionsB has an object NewerItem and is inhereted from NewItem. When specifying these folders in the extensions.cfg you need to add ExtensionsA, then ExtensionsB Disclaimer I am currently using this to test scripts that are submitted for Scripting Competitions. I will provide any and all fixes that I find in my testing, or and big issues that are found from you the user. Unless I'm in a fairly decent mood, you won't see much support for installing this. This is a Core Mod and RunUO's official policy is no support for Core Mods...If you do not have the know-how to install this yourself, learn to use C# outside of RunUO and it should make sense later. Additionally there is no Support for VB scripts with this Mod and since I do not need it, I will not be introducing it. Updates
__________________
Jeff Boulanger ConnectUO - Core Developer Want to help make ConnectUO better? Click here to submit your ideas/requests Use your talent to compete against other community members in RunUO hosted coding competitions If you know XNA (even if its just a little) or are a good artist(2d or 3d) and are interested in making games for a hobby send me a pm or drop by #xna in irc.runuo.com. I'm looking to put together a small game development team. Please do not pm me for support. If you are having issues please post in the appropriate forum. Thanks for your continued support of both ConnectUO and RunUO Last edited by Jeff; 08-26-2008 at 07:33 PM. |
|
|
|
|
|
#3 (permalink) |
|
ConnectUO Creator
Join Date: Jan 2004
Age: 27
Posts: 4,881
|
Updated 1.01
__________________
Jeff Boulanger ConnectUO - Core Developer Want to help make ConnectUO better? Click here to submit your ideas/requests Use your talent to compete against other community members in RunUO hosted coding competitions If you know XNA (even if its just a little) or are a good artist(2d or 3d) and are interested in making games for a hobby send me a pm or drop by #xna in irc.runuo.com. I'm looking to put together a small game development team. Please do not pm me for support. If you are having issues please post in the appropriate forum. Thanks for your continued support of both ConnectUO and RunUO |
|
|
|
|
|
#4 (permalink) |
|
ConnectUO Creator
Join Date: Jan 2004
Age: 27
Posts: 4,881
|
Updated 1.02
__________________
Jeff Boulanger ConnectUO - Core Developer Want to help make ConnectUO better? Click here to submit your ideas/requests Use your talent to compete against other community members in RunUO hosted coding competitions If you know XNA (even if its just a little) or are a good artist(2d or 3d) and are interested in making games for a hobby send me a pm or drop by #xna in irc.runuo.com. I'm looking to put together a small game development team. Please do not pm me for support. If you are having issues please post in the appropriate forum. Thanks for your continued support of both ConnectUO and RunUO |
|
|
|
|
|
#6 (permalink) |
|
Forum Expert
Join Date: Sep 2005
Location: A-Town Baby
Age: 19
Posts: 620
|
Nice job Jeff but I have one error when compiling the core
Error1: 'Server.ScriptCompiler' does not contain a definition for 'VerifyingAndLoad'C:\Documents and Settings\Asmir\My Documents\Visual Studio 2008\Projects\RunUO\RunUO\Main.cs
__________________
![]() Now open - uo15.net - The best in Publish 15 emulation |
|
|
|
|
|
#7 (permalink) | |
|
ConnectUO Creator
Join Date: Jan 2004
Age: 27
Posts: 4,881
|
Quote:
you can either change that line that says VerifyingAndLoad to VerifyAndLoad or redownload it, I've fixed it in the zip.
__________________
Jeff Boulanger ConnectUO - Core Developer Want to help make ConnectUO better? Click here to submit your ideas/requests Use your talent to compete against other community members in RunUO hosted coding competitions If you know XNA (even if its just a little) or are a good artist(2d or 3d) and are interested in making games for a hobby send me a pm or drop by #xna in irc.runuo.com. I'm looking to put together a small game development team. Please do not pm me for support. If you are having issues please post in the appropriate forum. Thanks for your continued support of both ConnectUO and RunUO |
|
|
|
|
|
|
#9 (permalink) | |
|
Forum Master
Join Date: Feb 2005
Location: ShatteredSosaria.com
Posts: 9,260
|
Idk if this is good...
Quote:
Another thing is, if the custom folder doesn't contain any files, it throws an error. |
|
|
|
|
|
|
#10 (permalink) | |
|
ConnectUO Creator
Join Date: Jan 2004
Age: 27
Posts: 4,881
|
Quote:
. Ya, i figured no one was dumb enough to leave the folder empty....my mistake.
__________________
Jeff Boulanger ConnectUO - Core Developer Want to help make ConnectUO better? Click here to submit your ideas/requests Use your talent to compete against other community members in RunUO hosted coding competitions If you know XNA (even if its just a little) or are a good artist(2d or 3d) and are interested in making games for a hobby send me a pm or drop by #xna in irc.runuo.com. I'm looking to put together a small game development team. Please do not pm me for support. If you are having issues please post in the appropriate forum. Thanks for your continued support of both ConnectUO and RunUO |
|
|
|
|
|
|
#12 (permalink) |
|
ConnectUO Creator
Join Date: Jan 2004
Age: 27
Posts: 4,881
|
__________________
Jeff Boulanger ConnectUO - Core Developer Want to help make ConnectUO better? Click here to submit your ideas/requests Use your talent to compete against other community members in RunUO hosted coding competitions If you know XNA (even if its just a little) or are a good artist(2d or 3d) and are interested in making games for a hobby send me a pm or drop by #xna in irc.runuo.com. I'm looking to put together a small game development team. Please do not pm me for support. If you are having issues please post in the appropriate forum. Thanks for your continued support of both ConnectUO and RunUO |
|
|
|
|
|
#13 (permalink) |
|
Forum Novice
|
The concept is taken from SunUO. SunUO has this for years now.
It's in deed very handy but i prefer a more advanced system like in SunUO. I don't understand why the core team don't include this very good modification from max (sunuo). An XML config to enable/disable the "extension scripts" like in SunUO is very handy and also a legacy overlay system for required "script folder" modifications. Via XML config you can also handle dependencys from extension scripts. You should take a look at ;-).
__________________
http://crankgaming.blogspot.com/ | http://schattenkind.net/ | http://www.iris2.de/ | http://freedsa.schattenkind.net/
Last edited by SiENcE; 10-08-2008 at 06:14 AM. |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|