|
||
|
|||||||
| Server Support on Mono Forum dedicated to RunUO 2.0 on Mono. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) | ||
|
Forum Expert
|
Greetings,
I had someone ask me, "How do I put all this stuff together and make RunUO run on Linux." I said, "It's all in the forums." and then I searched for it. Uh, I really could find one page that said how to do it. ![]() So here it is... Intall Linux - I am a kubuntu 7.10 junky so that's the one I suggest (BSD is not Linux, but you can try). Install Mono v1.2.6 or better - I used the one from there web page "Other Linuxes" Install Wine 0.9.46 or better Install UO ML (install on the server using Wine) Download RunUO v2 RC2 or SVN282 (or better) Download the latest little fixes form RunUO Forge (here) Now let the fun begin... Copy the RunUO Forge files over the RC2/SVN files. Type the following command to compile the server... Quote:
If things go well, the server should start to compile and finally ask you to create an admin account. Note: Do not add your custom scripts or world saves till you get to this point. Then only add them in small amounts. Note: If you have problems, you can run either Mono or RunUO in DEBUG mode by typing in one of the following... Quote:
![]() -Ravon UPDATE 23JUL2008: Since RunUOForge is down, please try and use the attached file. Unfortunately, I do not know if it will work with Mono 1.9.x. UPDATE 24JUL2008: kubuntu 8.04 has Mono 1.2.6 in the repository. Choose the following - mono-runtime, mono-gmcs, libmono-microsoft-build2.0-cil and libmono-microsoft8.0-cil.
__________________
Last edited by RavonTUS; 07-24-2008 at 10:35 AM. Reason: Updating file. |
||
|
|
|
|
|
#2 (permalink) | ||||
|
Lurker
Join Date: Mar 2008
Posts: 3
|
Hi, thank you for this How-To. But I'm a total stupid Newbie in Linux, so I have some problems to follow your instructions.
Quote:
Quote:
Quote:
Where can I download it? I tried the 'Download'-Link at the mainpage RunUO.com - The RunUO Gaming Network , but there I only get the message "Page not found". Some Google and searching later I found this site: Revision 295: /devel But is there an easy way to download all the stuff? Quote:
Is this Shell-Command only one single very long line? I hope you can understand my buggy English. :-) Happy Easter. :-) |
||||
|
|
|
|
|
#4 (permalink) | |
|
Lurker
Join Date: Mar 2008
Posts: 3
|
I get the following errors:
Quote:
|
|
|
|
|
|
|
#6 (permalink) |
|
Forum Novice
Join Date: Nov 2007
Posts: 108
|
Ravon, thanks for the excellent guide. I'm new to both linux (ubuntu) and RunUO. I have gotten to the part about compiling the server, received the following error, and don't have a clue about how to start troubleshooting it.
gca@gca-server:~$ sudo gmcs -out:../runuo.exe -d:MONO -optimize+ -unsafe -r:System,System.Configuration.Install,System.Data, System.Drawing,System.EnterpriseServices,System.Ma nagement,System.Security,System.ServiceProcess,Sys tem.Web,System.Web.Services,System.Windows.Forms,S ystem.Xml -nowarn:219 -recurse:*.cs error CS0006: cannot find metadata file `System.Windows.Forms' Compilation failed: 1 error(s), 0 warnings Could you possibly shed some light on how to fix this? Thanks!! [EDIT] Didn't have all the components I needed for mono. Mono install wasn't intact. See post below for resolution. Last edited by GhostRiderGrey; 04-10-2008 at 03:50 PM. Reason: Found issue |
|
|
|
|
|
#8 (permalink) |
|
Forum Novice
Join Date: Nov 2007
Posts: 108
|
Well, this has been quite the learning experience. I am now on my 4th wipe and reinstall of Ubuntu (Gutsy 7.10 i386). As it turns out, Gutsy comes with a version of Mono installed (1.2.4). The default respositories do not have any updates for this. I found instructions on the web for ways to uninstall it and install 1.2.6 (and also to install a parallel copy of 1.2.6), but these proved to be unsatisfactory and, in the end, just made a mess of things.
What I finally ended up doing (after a fresh Gutsy Install) was adding the following to my /etc/apt/sources.list Code:
deb http://debian.meebey.net/etch-backports / At this point, I have the following installed and running well: Ubuntu 7.10, Mono 1.2.6, Wine 0.9.58, UO ML (updated to 5.0.6a). I have downloaded RunUO RC2 and the Forge patches, and copied the RunUO Forge files over the RC2 files. Now I attempt to compile the RunUO server, and end up with 1260 errors I must be doing something wrong, and in that vein, have a few install questions:1. Do the RunUO RC2 files (the ones I downloaded) need to pe put in a particular location? i.e. in the Wine C_Drive, in the root, in the home folder, or can they be anywhere? 2. When you execute the shell command in terminal, where do you need to be located? I mean, do you need to navigate in terminal to the folder with the RunUO files before execution? 3. Where do the compiled files end up? Back in the RunUO RC2 folder? 4. In your shell line, it looks you have a space in "System.Ma nagement" and "System.Xm l" Are these spaces supposed to be there? Thanks for the help!! GhostRiderGrey [Linux newbie, RunUO newbie] Last edited by GhostRiderGrey; 04-10-2008 at 01:02 PM. Reason: Added 3rd & 4th questions |
|
|
|
|
|
#9 (permalink) | ||||
|
Forum Expert
|
Quote:
Quote:
Quote:
NOTE: You can also use "mono --debug runuo.exe" to debug mono or "mono runuo.exe -debug" to debug runuo.exe Quote:
-Ravon
__________________
|
||||
|
|
|
|
|
#10 (permalink) |
|
Forum Novice
Join Date: Nov 2007
Posts: 108
|
Ravon, Thanks for the quick response. I just tried to compile again and now have 1290 errors (soo many that they scroll up out of the terminal window and I cant see them all). Here is a sampling:
Code:
./Scripts/Spells/Third/Unlock.cs(29,48): error CS0246: The type or namespace name `Target' could not be found. Are you missing a using directive or an assembly reference? ./Scripts/Spells/Third/WallOfStone.cs(91,46): error CS0246: The type or namespace name `Item' could not be found. Are you missing a using directive or an assembly reference? ./Scripts/Spells/Third/WallOfStone.cs(171,55): error CS0246: The type or namespace name `Timer' could not be found. Are you missing a using directive or an assembly reference? ./Scripts/Spells/Third/WallOfStone.cs(188,48): error CS0118: `Server.Spells.Third.WallOfStoneSpell.Target' is a `method' but a `type' was expected ./Scripts/Targets/BladedItemTarget.cs(12,41): error CS0246: The type or namespace name `Target' could not be found. Are you missing a using directive or an assembly reference? ./Scripts/Targets/MoveTarget.cs(9,35): error CS0246: The type or namespace name `Target' could not be found. Are you missing a using directive or an assembly reference? ./Scripts/Targets/PickMoveTarget.cs(9,39): error CS0246: The type or namespace name `Target' could not be found. Are you missing a using directive or an assembly reference? ./Server/Serialization.cs(76,52): error CS0246: The type or namespace name `Item' could not be found. Are you missing a using directive or an assembly reference? ./Server/Serialization.cs(138,62): error CS0246: The type or namespace name `Item' could not be found. Are you missing a using directive or an assembly reference? Compilation failed: 1290 error(s), 0 warnings Thanks!! |
|
|
|
|
|
#11 (permalink) | |
|
Forum Expert
|
Quote:
-Ravon
__________________
|
|
|
|
|
|
|
#12 (permalink) |
|
Forum Novice
Join Date: Nov 2007
Posts: 108
|
Yes, my mistake, missed the instruction to move to the Server folder within the RunUO-2.0-RC folder. Have done that and compiled with the following errors (at least its 3 now instead of 1290
)Code:
gca@gca-desktop:~/RunUO-2.0-RC2/Server$ gmcs -out:../runuo.exe -d:MONO -optimize+ -unsafe -r:System,System.Configuration.Install,System.Data,System.Drawing,System.EnterpriseServices,System.Management,System.Security,System.ServiceProcess,System.Web,System.Web.Services,System.Windows.Forms,System.Xml -nowarn:219 -recurse:*.cs ./Serialization.cs(33,14): error CS0234: The type or namespace name `Guilds' does not exist in the namespace `Server'. Are you missing an assembly reference? ./Serialization.cs(33,1): error CS0246: The type or namespace name `Server.Guilds' could not be found. Are you missing a using directive or an assembly reference? ./Serialization.cs(138,62): error CS0246: The type or namespace name `Item' could not be found. Are you missing a using directive or an assembly reference? Compilation failed: 3 error(s), 0 warnings Could I be missing a part of mono or monodevelop? Do you need to be sudo when you compile? The initial instructions were to "copy the RunUO Forge files over the RC2/SVN files" -- This was meant to replace the exisiting files, not merge with them, correct? Thanks for all the help, Ghostridergrey Last edited by GhostRiderGrey; 04-10-2008 at 05:09 PM. |
|
|
|
|
|
#13 (permalink) |
|
Forum Novice
Join Date: Nov 2007
Posts: 108
|
*Bangs head against desk, 'cause it shouldn't be this difficult*
I can't use "mono --debug runuo.exe" to debug, because mono says "Cannot open assembly runuo.exe" Ravon, my setup looks to be almost identical to yours, so I don't understand why this is not compiling?? Could you please point me in the right direction? Is there something I can read that would explain how to fix this? I'm happy to learn, but don't know where those resources are to start. Thanks, GhostRiderGrey Last edited by GhostRiderGrey; 04-11-2008 at 03:36 PM. |
|
|
|
|
|
#14 (permalink) |
|
Forum Novice
|
it seems the runuo forge site is being worked on.
can anyone toss me the fixes perhaps? gracias n.n *GhostRiderGrey has offerd to email me the files no worrys.
__________________
♥, Deraj
Last edited by Deraj_88; 04-15-2008 at 02:53 PM. Reason: posting objective met. |
|
|
|
|
|
#15 (permalink) |
|
Forum Novice
Join Date: Nov 2007
Posts: 108
|
OK, making some headway. I have abandoned the RC2 files, and have instead grabbed the SVN 295 files. Turns out there were alot of things missing in the RC2 package that were included in the SVN. For those who want to know what I did to get the svn:
Create a folder within your Home folder, cd to that folder, then from terminal: Code:
svn co http://svn.runuo.com/repos/runuo/devel/ Go to server folder (within devel folder) and compile with Ravon's long string. Fix datapath.cs in scripts/misc with proper datapath of your UOML install. Run server with “mono runuo.exe” I have now been able to compile and start my server!! Next I'll have to figure out why, when I connect with the UO client and begin to move a character around, does it cause the server to crash. ![]() |
|
|
|
|
|
#16 (permalink) |
|
Forum Novice
Join Date: Nov 2007
Posts: 108
|
Finally got the server to compile and run
but was crashing as soon as I tried to type anything. Crashes were related to libz,Code:
Error: System.DllNotFoundException: libz Changes in mono config (located at /etc/mono/config): Code:
<dllmap dll="libz.so" target="libz.so.1" /> <dllmap dll="zlib32" target="libz.so" os="!windows" /> <dllmap dll="zlib32.dll" target="libz.so" os="!windows" /> Code:
sudo ln -s /usr/lib/libz.so.1 /usr/lib/libz.so Now for some script additions!! ![]() Question: What is the latest version of the client I can use? 6.0.6.1?? Thanks!! -GhostRiderGrey Last edited by GhostRiderGrey; 04-16-2008 at 12:32 PM. Reason: Added question |
|
|
|