Go Back   RunUO - Ultima Online Emulation > RunUO > Core Modifications > Other

Other Cant find a category above, use this one! Core mods not listed above go here!

Reply
 
Thread Tools Display Modes
Old 06-20-2006, 07:37 AM   #1 (permalink)
Forum Expert
 
Join Date: Nov 2002
Location: Shawinigan, Québec, Canada
Age: 25
Posts: 344
Lightbulb RunUO 2.0 RC1: Enable the use of virtually any .Net 2 compiler

I used the original ScriptCompiler.cs which I have heavily refactored and modified. I merged much of the duplicated code of this class (example of this in CompileCSScripts and CompileVBScripts in original file).

To sum everything up, a list of compiler is loaded at startup and then used to compile specified files.

As an example file, I have included the two compilers that were already there, C# et VB.Net, but it would be easy to add another like Boo or any other that provides 2.0 compatible CodeDomProvider.

Not much more added value to this, but since I had nothing much to do tonight. Got me back in the game (at least a little).

Update 20-06-2006 18h16:
! Fixed dll extensions (hashing should now work properly)
* Moved most of the literals to constant.

ZixThree
Attached Files
File Type: zip ScriptCompiler.zip (5.3 KB, 33 views)

Last edited by ZixThree; 06-20-2006 at 06:18 PM. Reason: Typo in RC number - Updates
ZixThree is offline   Reply With Quote
Old 06-20-2006, 12:28 PM   #2 (permalink)
Forum Expert
 
Join Date: Jul 2005
Location: Istanbul/Turkey
Age: 27
Posts: 425
Default

happy birthday
__________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it."
noobie is offline   Reply With Quote
Old 06-20-2006, 02:05 PM   #3 (permalink)
Forum Expert
 
Join Date: Dec 2005
Posts: 465
Default

any of em faster than csc? =]
snicker7 is offline   Reply With Quote
Old 06-20-2006, 06:26 PM   #4 (permalink)
Forum Expert
 
Join Date: Nov 2002
Location: Shawinigan, Québec, Canada
Age: 25
Posts: 344
Default

Don't think so, but it was meant as a feature not really as a speed improvement. Now, as a first try, someone could try to add J# support.

btw, thanks noobie

ZixThree
ZixThree 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 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5