Lokai
Knight
Lokai Versioning (Workbench Mod)
LOKAI Versioning.
NEW!
Just added to this post 2 new downloads, one for 1.0, and another for 2.0 RC2 (or SVN 286.)
Both use the new system discussed later in this thread. When you start your Server with one or more of the switches, it will look for files with *.cs extensions located in folders called Scripts.LV1, Scripts.LV2, etc. It will only compile the ones you have selected with switches enabled. I recommend you use the attached Lokai RunUO Menu.bat batch file, which will make running the Server easier, since it will turn on the switches for you.
One Note: "debug" and other modes used in the batch file were NOT tested with the 1.0 version, so use caution on those other switches.
CHANGE LOG:
4/7/2008
Added RunUO 1.0 Lokai Versioning system. Tested.
Added Lokai Versioning for RunUO 2.0 RC2. Tested.
8/15/2007
Lokai RunUO Menu. Batch file to process various switches.
11/17/2009
Added Lokai Versioning SVN 346.zip to the downloads.
This concept is really an expansion of the idea put forth by Ashlar, in:
http://www.runuo.com/forums/other/72338-2-0-workbench-scripts-wb-dll-faster-compile-times.html
The idea is to compile the scripts in separate entities so that compile time is less. This is particularly useful for people that make hundreds of small changes to scripts, and compile the Server each time to make sure it works.
This idea expands on that, and introduces a new concept, which for lack of a better term, I call "Lokai Versioning" for simplicity. With this modification, you can choose at Run-time which scripts to include or exclude based on which extensions they have.
LV1 scripts have .lv1 extensions, etc.
When run, here are examples of what you might see, depending on what parameters you pass to the Compiler:
LOKAI Versioning.
NEW!
Just added to this post 2 new downloads, one for 1.0, and another for 2.0 RC2 (or SVN 286.)
Both use the new system discussed later in this thread. When you start your Server with one or more of the switches, it will look for files with *.cs extensions located in folders called Scripts.LV1, Scripts.LV2, etc. It will only compile the ones you have selected with switches enabled. I recommend you use the attached Lokai RunUO Menu.bat batch file, which will make running the Server easier, since it will turn on the switches for you.
One Note: "debug" and other modes used in the batch file were NOT tested with the 1.0 version, so use caution on those other switches.
CHANGE LOG:
4/7/2008
Added RunUO 1.0 Lokai Versioning system. Tested.
Added Lokai Versioning for RunUO 2.0 RC2. Tested.
8/15/2007
Lokai RunUO Menu. Batch file to process various switches.
11/17/2009
Added Lokai Versioning SVN 346.zip to the downloads.
This concept is really an expansion of the idea put forth by Ashlar, in:
http://www.runuo.com/forums/other/72338-2-0-workbench-scripts-wb-dll-faster-compile-times.html
The idea is to compile the scripts in separate entities so that compile time is less. This is particularly useful for people that make hundreds of small changes to scripts, and compile the Server each time to make sure it works.
This idea expands on that, and introduces a new concept, which for lack of a better term, I call "Lokai Versioning" for simplicity. With this modification, you can choose at Run-time which scripts to include or exclude based on which extensions they have.
LV1 scripts have .lv1 extensions, etc.
When run, here are examples of what you might see, depending on what parameters you pass to the Compiler:
Server.exe -LV1 -LV2 -LV3 -LV4 -LV5 said:RunUO - [www.runuo.com] Version 2.0, Build 2745.21656
Core: Running on .NET Framework Version 2.0.50727
Core: Running with arguments: -lv1 -lv2 -lv3 -lv4 -lv5
Core: Optimizing for 2 processors
Scripts: Compiling C# scripts...done (cached)
Scripts: Compiling VB.NET scripts...no files found.
Scripts: Compiling Lokai Version-1 C# scripts...done (0 errors, 0 warnings)
Scripts: Compiling Lokai Version-2 C# scripts...done (0 errors, 0 warnings)
Scripts: Compiling Lokai Version-3 C# scripts...done (0 errors, 0 warnings)
Scripts: Compiling Lokai Version-4 C# scripts...done (0 errors, 0 warnings)
Scripts: Compiling Lokai Version-5 C# scripts...done (0 errors, 0 warnings)
Scripts: Verifying...done (2705 items, 743 mobiles)
Regions: Loading...done
World: Loading...done (0 items, 0 mobiles) (0.05 seconds)
Server.exe -LV2 -LV4 -LV5 said:RunUO - [www.runuo.com] Version 2.0, Build 2745.22469
Core: Running on .NET Framework Version 2.0.50727
Core: Running with arguments: -lv2 -lv4 -lv5
Core: Optimizing for 2 processors
Scripts: Compiling C# scripts...done (cached)
Scripts: Compiling VB.NET scripts...no files found.
Scripts: Compiling Lokai Version-2 C# scripts...done (0 errors, 0 warnings)
Scripts: Compiling Lokai Version-4 C# scripts...done (0 errors, 0 warnings)
Scripts: Compiling Lokai Version-5 C# scripts...done (0 errors, 0 warnings)
Scripts: Verifying...done (2678 items, 742 mobiles)
Regions: Loading...done
World: Loading...done (0 items, 0 mobiles) (0.01 seconds)