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!

Runuo & Mono & Nerun's and/or ML

Phr3d13

Sorceror
does anyone have a package that will work on mono that has Nerun's Distro and/or ML? or instructions on how to add neruns/ML to the runuo 2.1 for mono?
 

leaddore

Wanderer
Honestly it is no different then adding it to a windows server. I have mine running in mono on my debian machine, although I did use XMLSpawner to import from Nerun's and spawned the world that way.
 

Ixtabay

Sorceror
Hi Guys, would you mind elaborating on this a little? I have the latest Nerun's working great on Windows, but need to port to Linux (mono) and upload to host server. I get the latest mono server from the svn working, but when I copy over nerun's files I get errors like these:

Code:
Errors:
+ Customs/Nerun's Distro/ML/Mobiles/EliteNinjaWarrior.cs:
    CS0117: Line 23: `Server.Mobiles.AIType' does not contain a definition for `AI_Ninja'
    CS1502: Line 23: The best overloaded method match for `Server.Mobiles.BaseCreature.BaseCreature(Server.Mobiles.AIType, Server.Mobiles.FightMode, int, int, double, double)' has some invalid arguments
    CS1503: Line 23: Argument `#1' cannot convert `object' expression to type `Server.Mobiles.AIType'
+ Customs/Nerun's Distro/ML/Mobiles/Labyrinth/Makaar's Labyrinth Unreleased Mobiles/TormentedMinotaurStatuette.cs:
    CS0117: Line 11: `Server.Items.MonsterStatuetteType' does not contain a definition for `TormentedMinotaur'
    CS1502: Line 11: The best overloaded method match for `Server.Items.MonsterStatuette.MonsterStatuette(Server.Serial)' has some invalid arguments
    CS1503: Line 11: Argument `#1' cannot convert `object' expression to type `Server.Serial'
+ Customs/Nerun's Distro/ML/Mobiles/OrcScout/OrcScout.cs:
    CS0117: Line 15: `Server.Mobiles.AIType' does not contain a definition for `AI_OrcScout'
    CS1502: Line 15: The best overloaded method match for `Server.Mobiles.BaseCreature.BaseCreature(Server.Mobiles.AIType, Server.Mobiles.FightMode, int, int, double, double)' has some invalid arguments
    CS1503: Line 15: Argument `#1' cannot convert `object' expression to type `Server.Mobiles.AIType'
+ Customs/Nerun's Distro/New/Mobiles/Monsters/Humanoid/Magic/Spellbinder.cs:
    CS0117: Line 12: `Server.Mobiles.AIType' does not contain a definition for `AI_Spellbinder'
    CS1502: Line 12: The best overloaded method match for `Server.Mobiles.BaseCreature.BaseCreature(Server.Mobiles.AIType, Server.Mobiles.FightMode, int, int, double, double)' has some invalid arguments
    CS1503: Line 12: Argument `#1' cannot convert `object' expression to type `Server.Mobiles.AIType'

Any ideas?

Cheers!
 

Ixtabay

Sorceror
The errors are numerous when just trying to "mono RunUO.exe" a working copy of my Windows server.

Code:
 + Customs/Nerun's Distro/New/Commands/UnloadMaps.cs:
    CS0414: Line 78: The private field `Server.Gumps.UnloadTrammelGump.m_CommandEventArgs' is assigned but its value is never used
    CS0414: Line 467: The private field `Server.Gumps.UnloadFeluccaGump.m_CommandEventArgs' is assigned but its value is never used
    CS0414: Line 860: The private field `Server.Gumps.UnloadIlshenarGump.m_CommandEventArgs' is assigned but its value is never used
    CS0414: Line 1071: The private field `Server.Gumps.UnloadMalasGump.m_CommandEventArgs' is assigned but its value is never used
    CS0414: Line 1195: The private field `Server.Gumps.UnloadTokunoGump.m_CommandEventArgs' is assigned but its value is never used
    CS0414: Line 1310: The private field `Server.Gumps.UnloadTerMurGump.m_CommandEventArgs' is assigned but its value is never used
+ Engines/Doom/LeverPuzzle/LeverPuzzleRegions.cs:
    CS0414: Line 92: The private field `Server.Engines.Doom.LeverPuzzleRegion.Controller' is assigned but its value is never used
+ Engines/Doom/GauntletSpawner.cs:
    CS0414: Line 682: The private field `Server.Engines.Doom.GauntletRegion.m_Spawner' is assigned but its value is never used
+ Engines/Factions/Gumps/LeaveFactionGump.cs:
    CS0414: Line 13: The private field `Server.Factions.LeaveFactionGump.m_Faction' is assigned but its value is never used
+ Gumps/Go/GoGump.cs:
    CS0414: Line 66: The private field `Server.Gumps.GoGump.BackHeight' is assigned but its value is never used
+ Gumps/Properties/PropsGump.cs:
    CS0414: Line 75: The private field `Server.Gumps.PropertiesGump.BackHeight' is assigned but its value is never used
+ Gumps/CategorizedAddGump.cs:
    CS0414: Line 208: The private field `Server.Gumps.CategorizedAddGump.BackHeight' is assigned but its value is never used
+ Gumps/SkillsGump.cs:
    CS0414: Line 185: The private field `Server.Gumps.SkillsGump.TypeWidth' is assigned but its value is never used
    CS0414: Line 191: The private field `Server.Gumps.SkillsGump.BackHeight' is assigned but its value is never used
+ Gumps/WhoGump.cs:
    CS0414: Line 74: The private field `Server.Gumps.WhoGump.BackHeight' is assigned but its value is never used
    CS0414: Line 76: The private field `Server.Gumps.WhoGump.m_Owner' is assigned but its value is never used
+ Items/Weapons/Abilities/TalonStrike.cs:
    CS0414: Line 58: The private field `Server.Items.TalonStrike.InternalTimer.m_Attacker' is assigned but its value is never used
+ Misc/Gifts/Winter2004/PileOfGlacialSnow.cs:
    CS0414: Line 95: The private field `Server.Items.PileOfGlacialSnow.SnowTarget.m_Thrower' is assigned but its value is never used
    CS0414: Line 96: The private field `Server.Items.PileOfGlacialSnow.SnowTarget.m_Snow' is assigned but its value is never used
+ Misc/Gifts/Winter2004/SnowPile.cs:
    CS0414: Line 81: The private field `Server.Items.SnowPile.SnowTarget.m_Thrower' is assigned but its value is never used
    CS0414: Line 82: The private field `Server.Items.SnowPile.SnowTarget.m_Snow' is assigned but its value is never used
+ Spells/Fifth/Incognito.cs:
    CS0414: Line 142: The private field `Server.Spells.Fifth.IncognitoSpell.m_HairIDs' is assigned but its value is never used
    CS0414: Line 150: The private field `Server.Spells.Fifth.IncognitoSpell.m_BeardIDs' is assigned but its value is never used
+ Spells/Necromancy/MindRot.cs:
    CS0414: Line 137: The private field `Server.Spells.Necromancy.MRExpireTimer.m_Caster' is assigned but its value is never used
+ Spells/Necromancy/SummonFamiliar.cs:
    CS0414: Line 145: The private field `Server.Spells.Necromancy.SummonFamiliarGump.m_Table' is assigned but its value is never used
+ Spells/UnsummonTimer.cs:
    CS0414: Line 9: The private field `Server.Spells.UnsummonTimer.m_Caster' is assigned but its value is never used
 

Ixtabay

Sorceror
If I download a fresh copy of the latest Nerun's "RunUO-2.1 + Nerun'sDistro r11," it compiles and run without problems on windows, but gets tons of errors on ubuntu 11.4 using mono.

Code:
 + Engines/Doom/LeverPuzzle/LeverPuzzleRegions.cs:
    CS0414: Line 92: The private field `Server.Engines.Doom.LeverPuzzleRegion.Co                                                                                                                                                            ntroller' is assigned but its value is never used
+ Engines/Doom/GauntletSpawner.cs:
    CS0414: Line 682: The private field `Server.Engines.Doom.GauntletRegion.m_Sp                                                                                                                                                            awner' is assigned but its value is never used
+ Engines/Factions/Gumps/LeaveFactionGump.cs:
    CS0414: Line 13: The private field `Server.Factions.LeaveFactionGump.m_Facti                                                                                                                                                            on' is assigned but its value is never used
+ Gumps/Go/GoGump.cs:
    CS0414: Line 66: The private field `Server.Gumps.GoGump.BackHeight' is assig                                                                                                                                                            ned but its value is never used
+ Gumps/Properties/PropsGump.cs:
    CS0414: Line 75: The private field `Server.Gumps.PropertiesGump.BackHeight'                                                                                                                                                              is assigned but its value is never used
+ Gumps/CategorizedAddGump.cs:
    CS0414: Line 208: The private field `Server.Gumps.CategorizedAddGump.BackHei                                                                                                                                                            ght' is assigned but its value is never used
+ Gumps/SkillsGump.cs:
    CS0414: Line 185: The private field `Server.Gumps.SkillsGump.TypeWidth' is a                                                                                                                                                            ssigned but its value is never used
    CS0414: Line 191: The private field `Server.Gumps.SkillsGump.BackHeight' is                                                                                                                                                              assigned but its value is never used
+ Gumps/WhoGump.cs:
    CS0414: Line 74: The private field `Server.Gumps.WhoGump.BackHeight' is assi                                                                                                                                                            gned but its value is never used
    CS0414: Line 76: The private field `Server.Gumps.WhoGump.m_Owner' is assigne                                                                                                                                                            d but its value is never used
+ Items/Weapons/Abilities/TalonStrike.cs:
    CS0414: Line 58: The private field `Server.Items.TalonStrike.InternalTimer.m                                                                                                                                                            _Attacker' is assigned but its value is never used
+ Misc/Gifts/Winter2004/PileOfGlacialSnow.cs:
    CS0414: Line 95: The private field `Server.Items.PileOfGlacialSnow.SnowTarge                                                                                                                                                            t.m_Thrower' is assigned but its value is never used
    CS0414: Line 96: The private field `Server.Items.PileOfGlacialSnow.SnowTarge                                                                                                                                                            t.m_Snow' is assigned but its value is never used
+ Misc/Gifts/Winter2004/SnowPile.cs:
    CS0414: Line 81: The private field `Server.Items.SnowPile.SnowTarget.m_Throw                                                                                                                                                            er' is assigned but its value is never used
    CS0414: Line 82: The private field `Server.Items.SnowPile.SnowTarget.m_Snow'                                                                                                                                                              is assigned but its value is never used
+ Spells/Fifth/Incognito.cs:
    CS0414: Line 142: The private field `Server.Spells.Fifth.IncognitoSpell.m_Ha                                                                                                                                                            irIDs' is assigned but its value is never used
    CS0414: Line 150: The private field `Server.Spells.Fifth.IncognitoSpell.m_Be                                                                                                                                                            ardIDs' is assigned but its value is never used
+ Spells/Necromancy/MindRot.cs:
    CS0414: Line 137: The private field `Server.Spells.Necromancy.MRExpireTimer.                                                                                                                                                            m_Caster' is assigned but its value is never used
+ Spells/Necromancy/SummonFamiliar.cs:
    CS0414: Line 145: The private field `Server.Spells.Necromancy.SummonFamiliar                                                                                                                                                            Gump.m_Table' is assigned but its value is never used
+ Spells/UnsummonTimer.cs:
    CS0414: Line 9: The private field `Server.Spells.UnsummonTimer.m_Caster' is                                                                                                                                                              assigned but its value is never used
Scripts: One or more scripts failed to compile or no script files were found.
- Press return to exit, or R to try again.
 

Ixtabay

Sorceror
Ok, I figured it out. I'll post instructions here in case someone else is struggling with the same thing.

These instructions make a few assumtions

1) Your Linux user is 'runuo' and your home folder is /home/runuo

2) Your UO files are located in /home/runuo/UO

3) You have mono, subversion, and prerequisites installed

Code:
# Change to runuo home

cd /home/runuo

# Get RunUO v2.1 for Mono

wget http://svn.runuo.com/RunUO-2.1-R605-MONO.tar.gz

# Extract

tar -xvf RunUO-2.1-R605-MONO.tar.gz

# Check out nerun's latest

svn checkout http://runuo-nerun-distro.googlecode.com/svn/trunk/ runuo-nerun-distro-read-only

# Copy Nerun's Data over the default Data

cp -rf /home/runuo/runuo-nerun-distro-read-only/Distro\ for\ RunUO\ 2.1/Data /home/runuo/RunUO/Data

# Copy Nerun's Scripts over the default Scripts

cp -rf /home/runuo/runuo-nerun-distro-read-only/Distro\ for\ RunUO\ 2.1/Scripts /home/runuo/RunUO/Scripts

#Get the dll files
cd /home/runuo/RunUO

wget http://www.runuo.com/mark/zlib32.dll

wget http://www.runuo.com/mark/zlib64.dll

Now set your UO folder in DataPath.cs

Code:
vi /home/runuo/RunUO/Scripts/Misc/DataPath.cs

Find

Code:
private static string CustomPath = null;

Replace with

Code:
private const string CustomPath = @"/home/runuo/UO";

(Note: If you are new to vi, cursor down to the line you need to edit, then press 'i' to insert, do your edit, then press 'Esc' followed by ':wq' and 'Enter')

Now launch RunUO and do your thing :)

Code:
mono RunUO.exe
 
Top