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 04-29-2007, 08:21 PM   #1 (permalink)
Forum Newbie
 
Join Date: Apr 2007
Location: Nashville, TN
Posts: 8
Send a message via MSN to robotclown
Default RunUO 2.0 svn181 built by Linux for Linux

Here's RunUO 2.0 svn181 built on Ubuntu server (feisty) with the Mono JIT compiler version 1.2.3.1.

Binaries:

http://tonybierman.com/files/runuo/r...in_mono.tar.gz

Source:

http://tonybierman.com/files/runuo/r...rc_mono.tar.gz
robotclown is offline   Reply With Quote
Old 04-29-2007, 08:30 PM   #2 (permalink)
Forum Newbie
 
Join Date: Apr 2007
Location: Nashville, TN
Posts: 8
Send a message via MSN to robotclown
Default How I built RunUO 2.0 svn181 on Ubuntu Linux

# from Ubuntu (feisty) shell
# Assumes Mono JIT Compiler 1.2.3.1 or newer ( execute mono -V to see your version)

# Make a home for runuo
Code:
sudo mkdir /opt/games/runuo
cd /opt/games/runuo
# Stuff we'll need
Code:
sudo apt-get install subversion unzip
# Get latest runuo
Code:
sudo svn checkout http://svn.runuo.com/repos/runuo/devel/
cd devel
# Replace a few src files with kubutoUO latest files
# Get zip from from http://www.runuo.com/forums/other/74...</pre> </div>
Code:
sudo unzip kubuntUO-08MAR2007.zip
sudo cp -R ./ravontus/* ./
sudo rm -rf ./ravontus
# Set datapath to UO .mul files '/opt/games/uo'
Code:
sudo vi ./Scripts/Misc/DataPath.cs
# Modifications made to ravontus files
# ./Scripts/Accounting/Account.cs line 743

# Modifications made to svn181 files
# ./Scripts/Engines/Factions/Core/Election.cs line 462
# ./Scripts/Misc/ShardPoller.cs line 380
# ./Server/Network/NetState.cs line 519

# build
Code:
./build.sh

Last edited by robotclown; 04-29-2007 at 09:01 PM.
robotclown is offline   Reply With Quote
Old 04-29-2007, 09:03 PM   #3 (permalink)
Forum Newbie
 
Join Date: Apr 2007
Location: Nashville, TN
Posts: 8
Send a message via MSN to robotclown
Default build.sh - gmcs command to build RunUO.exe

Code:
#!/bin/bash

gmcs -out:../runuo.exe -d:MONO -optimize+ -unsafe -r:System,System.Configuration.Install,System.Data,System.Drawing,System.EnterpriseServices,System.Management,System.Runtime.Remoting,System.Runtime.Serialization.Formatters.Soap,System.Security,System.ServiceProcess,System.Web,System.Web.Services,System.Windows.Forms,System.Xml -nowarn:219 -recurse:Server/*.cs
robotclown is offline   Reply With Quote
Old 04-29-2007, 09:07 PM   #4 (permalink)
Forum Newbie
 
Join Date: Apr 2007
Location: Nashville, TN
Posts: 8
Send a message via MSN to robotclown
Default run.sh - start runuo.exe

Code:
#!/bin/bash

mono /opt/games/runuo/runuo.exe > /var/log/runuo.log 2>&1
tail /var/log/runuo.log
# output (runuo.log)

Code:
RunUO - [www.runuo.com] Version 2.0, Build 2675.27766
Core: Running on .NET Framework Version 2.0.50727
Scripts: Compiling C# scripts...done (0 errors, 0 warnings)
Scripts: Compiling VB.NET scripts...no files found.
Scripts: Verifying...done (2089 items, 497 mobiles)
Regions: Loading...done
World: Loading...done (0 items, 0 mobiles) (0.05 seconds)
This server has no accounts.
Creating Username: admin  Password: admin
Account created.
Address: 127.0.0.1:2593
Address: 192.168.10.213:2593
Core: Using standard save strategy
World: Saving...done in 0.19 seconds.
Core: Using standard save strategy
World: Saving...done in 0.02 seconds.
Core: Using standard save strategy
World: Saving...done in 0.01 seconds.
Core: Using standard save strategy
World: Saving...done in 0.03 seconds.
robotclown is offline   Reply With Quote
Old 04-30-2007, 04:54 AM   #5 (permalink)
Forum Newbie
 
Join Date: Aug 2004
Age: 25
Posts: 22
Default

Good job, works like a charm!
gacoperz is offline   Reply With Quote
Old 05-08-2007, 03:07 AM   #6 (permalink)
Newbie
 
Join Date: Aug 2005
Age: 24
Posts: 41
Default

great job
but I have some problems

Code:
RunUO - [www.runuo.com] Version 2.0, Build 2675.27766
Core: Running on .NET Framework Version 2.0.50727
Scripts: Compiling C# scripts...failed (4 errors, 0 warnings)
Errors:
 + /home/uo/TEST/Scripts/Commands/Generic/Extensions/WhereExtension.cs:
    CS1706: Line 11: Anonymous methods are not allowed in attribute declaration
 + /home/uo/TEST/Scripts/Commands/Generic/Extensions/LimitExtension.cs:
    CS1706: Line 9: Anonymous methods are not allowed in attribute declaration
 + /home/uo/TEST/Scripts/Commands/Generic/Extensions/DistinctExtension.cs:
    CS1706: Line 11: Anonymous methods are not allowed in attribute declaration
 + /home/uo/TEST/Scripts/Commands/Generic/Extensions/SortExtension.cs:
    CS1706: Line 11: Anonymous methods are not allowed in attribute declaration
Scripts: One or more scripts failed to compile or no script files were found.
 - Press return to exit, or R to try again.
Error:
System.NullReferenceException: A null value was found where an object instance was required.
  at System.TermInfoDriver.ReadKeyInternal () [0x00000]
  at System.TermInfoDriver.ReadKey (Boolean intercept) [0x00000]
  at System.ConsoleDriver.ReadKey (Boolean intercept) [0x00000]
  at System.Console.ReadKey (Boolean intercept) [0x00000]
  at Server.Core.Main (System.String[] args) [0x00000]
i'm using your distro
OS FreeBSD 6.2

Code:
Mono JIT compiler version 1.2.3.1, (C) 2002-2006 Novell, Inc and Contributors. www.mono-project.com
        TLS:           normal
        GC:            Included Boehm (with typed GC)
        SIGSEGV:       altstack
        Architecture:  x86
        Disabled:      none

maybe freeBSD mono package is different than linux???
I need some help, can anybody help me???
SysError is offline   Reply With Quote
Old 05-08-2007, 01:05 PM   #7 (permalink)
Newbie
 
Join Date: Nov 2003
Posts: 60
Default

Quote:
Originally Posted by SysError View Post
great job
but I have some problems

Code:
RunUO - [www.runuo.com] Version 2.0, Build 2675.27766
Core: Running on .NET Framework Version 2.0.50727
Scripts: Compiling C# scripts...failed (4 errors, 0 warnings)
Errors:
 + /home/uo/TEST/Scripts/Commands/Generic/Extensions/WhereExtension.cs:
    CS1706: Line 11: Anonymous methods are not allowed in attribute declaration
 + /home/uo/TEST/Scripts/Commands/Generic/Extensions/LimitExtension.cs:
    CS1706: Line 9: Anonymous methods are not allowed in attribute declaration
 + /home/uo/TEST/Scripts/Commands/Generic/Extensions/DistinctExtension.cs:
    CS1706: Line 11: Anonymous methods are not allowed in attribute declaration
 + /home/uo/TEST/Scripts/Commands/Generic/Extensions/SortExtension.cs:
    CS1706: Line 11: Anonymous methods are not allowed in attribute declaration
Scripts: One or more scripts failed to compile or no script files were found.
 - Press return to exit, or R to try again.
Error:
System.NullReferenceException: A null value was found where an object instance was required.
  at System.TermInfoDriver.ReadKeyInternal () [0x00000]
  at System.TermInfoDriver.ReadKey (Boolean intercept) [0x00000]
  at System.ConsoleDriver.ReadKey (Boolean intercept) [0x00000]
  at System.Console.ReadKey (Boolean intercept) [0x00000]
  at Server.Core.Main (System.String[] args) [0x00000]
i'm using your distro
OS FreeBSD 6.2

Code:
Mono JIT compiler version 1.2.3.1, (C) 2002-2006 Novell, Inc and Contributors. www.mono-project.com
        TLS:           normal
        GC:            Included Boehm (with typed GC)
        SIGSEGV:       altstack
        Architecture:  x86
        Disabled:      none

maybe freeBSD mono package is different than linux???
I need some help, can anybody help me???
FreeBSD is not Linux, itīs Unix system with many differences. If you can increase chance to compilation and successor run, use the source codes.
Viky is offline   Reply With Quote
Old 05-08-2007, 01:23 PM   #8 (permalink)
Forum Newbie
 
Join Date: Apr 2007
Location: Nashville, TN
Posts: 8
Send a message via MSN to robotclown
Default Started project for RunUO server on linux

See this post for RunUOS (RunUO server for Linux) project.

RunUOS - Ultima Online Server for Linux project

Debian package, Subversion source control, (including Debian package build script) available from the project site.
robotclown is offline   Reply With Quote
Old 05-15-2007, 06:04 PM   #9 (permalink)
Newbie
 
Join Date: Aug 2004
Location: Bochum, Germany
Age: 21
Posts: 56
Send a message via ICQ to Brutus5000 Send a message via Skype™ to Brutus5000
Default

Today, Mono 1.2.4 has been released. I will give it a try later this week.

Btw. what happend to the above mentioned thread?
Brutus5000 is offline   Reply With Quote
Old 05-15-2007, 06:06 PM   #10 (permalink)
Master of the Internet
 
Join Date: Oct 2005
Age: 45
Posts: 6,283
Default

I believe it was removed because it was advertising which is not allowed on these forums.
__________________
Why is it that I'm never as smart as I thought I was yesterday?
My vast knowledge is only surpassed by my infinite ignorance.
<TheOutkastDev> i might have to hire an assassin to killl mal so that i can jump in front of the bullet and piss on him
Malaperth is offline   Reply With Quote
Old 05-16-2007, 03:18 PM   #11 (permalink)
Newbie
 
Join Date: Aug 2004
Location: Bochum, Germany
Age: 21
Posts: 56
Send a message via ICQ to Brutus5000 Send a message via Skype™ to Brutus5000
Default

How can an IndexOutOfRangeException already happen on Compiling the Core-Files?!
I hope this just happens with Mono under Windows. Can anyone confirm?

Quote:
Unhandled Exception: System.IndexOutOfRangeException: Array index is out of range.
at Mono.CSharp.TypeManager.UnifyType (System.Type pt, System.Type at, System.Type[] inferred) [0x00000]
at Mono.CSharp.TypeManager.UnifyTypes (System.Type[] pts, System.Type[] ats, System.Type[] inferred) [0x00000]
at Mono.CSharp.TypeManager.UnifyType (System.Type pt, System.Type at, System.Type[] inferred) [0x00000]
at Mono.CSharp.TypeManager.InferTypeArguments (System.Type[] param_types, System.Type[] arg_types, System.Type[] inferred_types) [0x00000]
at Mono.CSharp.TypeManager.InferTypeArguments (Mono.CSharp.EmitContext ec, System.Collections.ArrayList arguments, System.Reflection.MethodBase& method) [0x00000]
at Mono.CSharp.MethodGroupExpr.OverloadResolve (Mono.CSharp.EmitContext ec, System.Collections.ArrayList Arguments, Boolean may_fail, Location loc) [0x00000]
at Mono.CSharp.MethodGroupExpr.OverloadExtensionResol ve (Mono.CSharp.EmitContext ec, System.Collections.ArrayList& arguments, Mono.CSharp.MethodGroupExpr& mg, Mono.CSharp.Expression expr, Location loc) [0x00000]
at Mono.CSharp.Invocation.DoResolve (Mono.CSharp.EmitContext ec) [0x00000]
at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext ec, ResolveFlags flags) [0x00000]
at Mono.CSharp.Expression.Resolve (Mono.CSharp.EmitContext ec) [0x00000]
at Mono.CSharp.Return.Resolve (Mono.CSharp.EmitContext ec) [0x00000]
at Mono.CSharp.Block.Resolve (Mono.CSharp.EmitContext ec) [0x00000]
at Mono.CSharp.EmitContext.ResolveTopBlock (Mono.CSharp.EmitContext anonymous_method_host, Mono.CSharp.ToplevelBlock block, Mono.CSharp.Parameters ip, IMethodData md, System.Boolean& unreachable) [0x00000]
at Mono.CSharp.EmitContext.EmitTopBlock (IMethodData md, Mono.CSharp.ToplevelBlock block) [0x00000]
at Mono.CSharp.MethodData.Emit (Mono.CSharp.DeclSpace parent) [0x00000]
at Mono.CSharp.Method.Emit () [0x00000]
at Mono.CSharp.TypeContainer.EmitType () [0x00000]
at Mono.CSharp.RootContext.EmitCode () [0x00000]
at Mono.CSharp.Driver.MainDriver (System.String[] args) [0x00000]
at Mono.CSharp.Driver.Main (System.String[] args) [0x00000]
Brutus5000 is offline   Reply With Quote
Old 05-20-2007, 08:02 PM   #12 (permalink)
Forum Newbie
 
Join Date: May 2007
Posts: 1
Default

I have the same error with mono 1.2.4 (gentoo x86)

Any ideas how to fix this problem?

Last edited by Bolsunovsky; 05-21-2007 at 12:55 PM.
Bolsunovsky is offline   Reply With Quote
Old 06-14-2007, 03:07 PM   #13 (permalink)
Lurker
 
Join Date: Aug 2006
Posts: 8
Default

I have the same error than Bolsunovsky and Brutus5000 and would realy like to get it working, too.
I have mono 1.2.4 on Gentoo.
Does anyone know something about this?

Thanks
BORNtobeNAMELESS is offline   Reply With Quote
Old 06-15-2007, 09:49 AM   #14 (permalink)
Forum Novice
 
RavonTUS's Avatar
 
Join Date: Aug 2004
Location: in a house.
Age: 39
Posts: 588
Send a message via ICQ to RavonTUS Send a message via AIM to RavonTUS
Default

Quote:
Originally Posted by BORNtobeNAMELESS View Post
I have the same error than Bolsunovsky and Brutus5000 and would realy like to get it working, too.
I have mono 1.2.4 on Gentoo.
Does anyone know something about this?

Thanks
Did the core scripts compile correctly? If they did, then your issue is with the core file "ScriptCompiler.cs". It is the program that compiles all the files in the individual scripts (\scripts folder).

I would guess that it is not reading the files correctly. Check to make sure your ScriptCompiler.cs contains a lot of IF MONO statements. Maybe there is a difference in the Geno vs Deb reads them.

-Ravon
__________________

Will RunUO work on Linux? Yes
RavonTUS is offline   Reply With Quote
Old 06-15-2007, 11:30 AM   #15 (permalink)
Lurker
 
Join Date: Aug 2006
Posts: 8
Default

No, it does not compile.
The errors Brutus5000 mentioned seem to come from the gmcs-compiler. They look like a Runtime-Error(in gmcs), not like a compile-error.

I downgraded mono from 1.2.4 to 1.2.3.1 and it compiles fine using gmcs with only a few "unused"-warnings. Looks like a mono bug.

I attached a patch for rev187 to compile on mono-1.2.3.1. Is it ok or did i something wrong? I only put the changes from robotclown's patched rev181 into rev187 and hope i didn't miss something.

Edit: uhh, i missed ScriptCompiler.cs. Should be in the patch now.
Attached Files
File Type: txt runuo2-rev187-compileable.diff.txt (4.9 KB, 27 views)

Last edited by BORNtobeNAMELESS; 06-15-2007 at 11:43 AM. Reason: missed ScriptCompiler.cs
BORNtobeNAMELESS is offline   Reply With Quote
Old 06-15-2007, 04:57 PM   #16 (permalink)
Newbie
 
Join Date: Aug 2004
Location: Bochum, Germany
Age: 21
Posts: 56
Send a message via ICQ to Brutus5000 Send a message via Skype™ to Brutus5000
Default

Quote:
Originally Posted by RavonTUS View Post
Did the core scripts compile correctly?
The error happens on compiling the Core Scripts. But there is no additional information what file exactly caused this error. So i think BORNtobeNAMELESS is right, it looks more like a runtime error and not like a compile-error.

I tested it on Mono for Windows 1.2.4, Windows XP SP2.

And as far as my team now rented a Windows 2003 server, I won't take a closer look. But since it's just interesting me I will test it with the next mono versions again. (Not only because right management in Windows sucks ^^)

Last edited by Brutus5000; 06-15-2007 at 05:01 PM.
Brutus5000 is offline   Reply With Quote
Old 06-20-2007, 02:17 AM   #17 (permalink)
Newbie
 
Join Date: Aug 2005
Age: 24
Posts: 41
Default

Quote:
Originally Posted by robotclown View Post
See this post for RunUOS (RunUO server for Linux) project.

RunUOS - Ultima Online Server for Linux project

Debian package, Subversion source control, (including Debian package build script) available from the project site.
plz send this links which removed to me by PM
SysError 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