|
||
|
|||||||
| Other Cant find a category above, use this one! Core mods not listed above go here! |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
Forum Newbie
|
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 |
|
|
|
|
|
#2 (permalink) |
|
Forum Newbie
|
# 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 Code:
sudo apt-get install subversion unzip Code:
sudo svn checkout http://svn.runuo.com/repos/runuo/devel/ cd devel # 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 Code:
sudo vi ./Scripts/Misc/DataPath.cs # ./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. |
|
|
|
|
|
#3 (permalink) |
|
Forum Newbie
|
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 |
|
|
|
|
|
#4 (permalink) |
|
Forum Newbie
|
Code:
#!/bin/bash mono /opt/games/runuo/runuo.exe > /var/log/runuo.log 2>&1 tail /var/log/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. |
|
|
|
|
|
#6 (permalink) |
|
Newbie
Join Date: Aug 2005
Age: 24
Posts: 41
|
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]
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??? |
|
|
|
|
|
#7 (permalink) | |
|
Newbie
Join Date: Nov 2003
Posts: 60
|
Quote:
|
|
|
|
|
|
|
#8 (permalink) |
|
Forum Newbie
|
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. |
|
|
|
|
|
#10 (permalink) |
|
Master of the Internet
Join Date: Oct 2005
Age: 45
Posts: 6,283
|
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 |
|
|
|
|
|
#11 (permalink) | |
|
Newbie
|
How can an IndexOutOfRangeException already happen on Compiling the Core-Files?!
I hope this just happens with Mono under Windows. Can anyone confirm? Quote:
|
|
|
|
|
|
|
#14 (permalink) | |
|
Forum Novice
|
Quote:
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
__________________
|
|
|
|
|
|
|
#15 (permalink) |
|
Lurker
Join Date: Aug 2006
Posts: 8
|
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. Last edited by BORNtobeNAMELESS; 06-15-2007 at 11:43 AM. Reason: missed ScriptCompiler.cs |
|
|
|
|
|
#16 (permalink) |
|
Newbie
|
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. |
|
|
|
|
|
#17 (permalink) | |
|
Newbie
Join Date: Aug 2005
Age: 24
Posts: 41
|
Quote:
|
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|