RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

SVN and Mondains Legacy

Yiffi

Wanderer
SVN and Mondains Legacy

I am considering updating my RunUO to the SVN. Does the latest SVN have support for Mondains Legacy?

*I posted this in the wrong forum, should be Server Support for Windows. Sorry about that*
 

SysError

Wanderer
I'm trying to compile server from runuo and ml sources
and getting this error

gmcs -d:MONO -unsafe+ -optimize- -t:exe -out:RunUO.exe -r:System.Drawing -recurse:Server/*.cs

in /Server/Item.cs
added
using System.Drawing;

Code:
Server/Item.cs(823,26): error CS0103: The name `Ultima' does not exist in the current context
Server/Item.cs(833,17): error CS0103: The name `Ultima' does not exist in the current context
Compilation failed: 2 error(s), 0 warnings


Code:
%mono -V
Mono JIT compiler version 1.2.5.1 (tarball)
Copyright (C) 2002-2007 Novell, Inc and Contributors. www.mono-project.com
        TLS:           normal
        GC:            Included Boehm (with typed GC)
        SIGSEGV:       altstack
        Architecture:  x86
        Disabled:      none
in mono config made

Code:
	<dllmap dll="zlib32" target="libz.so" os="!windows" />
	<dllmap dll="zlib32.dll" target="libz.so" os="!windows" />
	<dllmap dll="Ultima.dll" target="/usr/home/uo/Ultima.dll" os="!windows" />
        <dllmap dll="Ultima" target="/usr/home/uo/Ultima.dll" os="!windows" />

where is my fault?

Who know? help plz!
 

SysError

Wanderer
I have found where is my fault

I must add the reference to ultima.dll

like this:

gmcs -d:MONO -unsafe+ -optimize- -t:exe -out:RunUO.exe -r:System.Drawing,"/usr/home/uo/Ultima.dll" -recurse:Server/*.cs

=)
 

SysError

Wanderer
server eating all memory

using mono 1.2.5.1
get latest runuo svn and ml

done all in instruction

started the server and have this error

Code:
%mono /usr/home/uo/RunUO.exe --debug
RunUO - [www.runuo.com] Version 2.0, Build 2952.21674
Core: Running on .NET Framework Version 2.0.50727
Core: Unix environment detected
Scripts: Compiling C# scripts...Error:
System.Exception: Compiler failed to produce the assembly. Stderr='Scripts/Mondain's Legacy/Engines/Perless System/PeerlessAltar.cs(524,30): warning CS0472: Your code is *very* likely incorrect;   The result of comparing `System.TimeSpan' against null is always True;  mcs supports this to be compatible with the broken CSC behavior

GLib-ERROR **: gmem.c:172: failed to allocate 2097152 bytes
aborting...
Stacktrace:

  at (wrapper managed-to-native) System.Reflection.Emit.ModuleBuilder.build_metadata (System.Reflection.Emit.ModuleBuilder) <0x00004>
  at (wrapper managed-to-native) System.Reflection.Emit.ModuleBuilder.build_metadata (System.Reflection.Emit.ModuleBuilder) <0xffffffff>
  at System.Reflection.Emit.ModuleBuilder.Save () <0x004e7>
  at System.Reflection.Emit.AssemblyBuilder.Save (string,System.Reflection.PortableExecutableKinds,System.Reflection.ImageFileMachine) <0x0046b>
  at System.Reflection.Emit.AssemblyBuilder.Save (string) <0x00014>
  at Mono.CSharp.CodeGen.Save (string) <0x00038>
  at Mono.CSharp.Driver.MainDriver (string[]) <0x00d8a>
  at Mono.CSharp.Driver.Main (string[]) <0x00055>
  at (wrapper runtime-invoke) Mono.CSharp.Driver.runtime_invoke_int_string[] (object,intptr,intptr,intptr) <0xffffffff>
', Stdout=''
  at Mono.CSharp.CSharpCodeCompiler.CompileFromFileBatch (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) [0x00000]
  at Mono.CSharp.CSharpCodeCompiler.CompileAssemblyFromFileBatch (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) [0x00000]
  at System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) [0x00000]
  at Server.ScriptCompiler.CompileCSScripts (Boolean debug, Boolean cache, System.Reflection.Assembly& assembly) [0x00000]
  at Server.ScriptCompiler.Compile (Boolean debug, Boolean cache) [0x00000]
  at Server.Core.Main (System.String[] args) [0x00000]
This exception is fatal, press return to exit

when I using clean runuo I have no any errors.
 

ClanCC

Wanderer
SysError;736959 said:
using mono 1.2.5.1
get latest runuo svn and ml

done all in instruction

started the server and have this error

Code:
%mono /usr/home/uo/RunUO.exe --debug
RunUO - [www.runuo.com] Version 2.0, Build 2952.21674
Core: Running on .NET Framework Version 2.0.50727
Core: Unix environment detected
Scripts: Compiling C# scripts...Error:
System.Exception: Compiler failed to produce the assembly. Stderr='Scripts/Mondain's Legacy/Engines/Perless System/PeerlessAltar.cs(524,30): warning CS0472: Your code is *very* likely incorrect;   The result of comparing `System.TimeSpan' against null is always True;  mcs supports this to be compatible with the broken CSC behavior

GLib-ERROR **: gmem.c:172: failed to allocate 2097152 bytes
aborting...
Stacktrace:

  at (wrapper managed-to-native) System.Reflection.Emit.ModuleBuilder.build_metadata (System.Reflection.Emit.ModuleBuilder) <0x00004>
  at (wrapper managed-to-native) System.Reflection.Emit.ModuleBuilder.build_metadata (System.Reflection.Emit.ModuleBuilder) <0xffffffff>
  at System.Reflection.Emit.ModuleBuilder.Save () <0x004e7>
  at System.Reflection.Emit.AssemblyBuilder.Save (string,System.Reflection.PortableExecutableKinds,System.Reflection.ImageFileMachine) <0x0046b>
  at System.Reflection.Emit.AssemblyBuilder.Save (string) <0x00014>
  at Mono.CSharp.CodeGen.Save (string) <0x00038>
  at Mono.CSharp.Driver.MainDriver (string[]) <0x00d8a>
  at Mono.CSharp.Driver.Main (string[]) <0x00055>
  at (wrapper runtime-invoke) Mono.CSharp.Driver.runtime_invoke_int_string[] (object,intptr,intptr,intptr) <0xffffffff>
', Stdout=''
  at Mono.CSharp.CSharpCodeCompiler.CompileFromFileBatch (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) [0x00000]
  at Mono.CSharp.CSharpCodeCompiler.CompileAssemblyFromFileBatch (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) [0x00000]
  at System.CodeDom.Compiler.CodeDomProvider.CompileAssemblyFromFile (System.CodeDom.Compiler.CompilerParameters options, System.String[] fileNames) [0x00000]
  at Server.ScriptCompiler.CompileCSScripts (Boolean debug, Boolean cache, System.Reflection.Assembly& assembly) [0x00000]
  at Server.ScriptCompiler.Compile (Boolean debug, Boolean cache) [0x00000]
  at Server.Core.Main (System.String[] args) [0x00000]
This exception is fatal, press return to exit
when I using clean runuo I have no any errors.
try http://www.runuo.com/forums/server-support-mono/86152-server-startup-problem.html
 
Top