Go Back   RunUO - Ultima Online Emulation > RunUO > Server Support on Windows

Server Support on Windows Get (and give) support on general questions related to the RunUO server itself.

Reply
 
Thread Tools Display Modes
Old 01-08-2003, 08:46 PM   #1 (permalink)
 
Join Date: Dec 2002
Age: 37
Posts: 395
Default Questions about CodeDOM and Linux.

I've read in various posts that the Mono project lacks CodeDOM, which prevents RunUO from running on Linux. My understanding is that CodeDOM is needed to compile the scripts 'on the fly' (on startup and [recompile). Once the scripts are compiled to the .dll, the server uses that, correct?

This is just an idea with my limited knowledge of things, but if we disabled the script compile at startup, and removed [recompile for "live" linux systems, we would only need the runuo.exe and scripts.dll file (and supporting .xml files). This means that you would have to do all development on a windows machine, and copy your scripts.dll to linux after compilation, but I could live with that. In fact, it might be nice to not have all your .cs files on your "live" server and just move the scripts.dll over as needed, kinda like just shipping the executable without sources.

Am I way off base here? I'd like to reiterate my disclaimer about not knowing anything
Phlegyas is offline   Reply With Quote
Old 01-08-2003, 11:48 PM   #2 (permalink)
Account Terminated
 
Join Date: Sep 2002
Age: 26
Posts: 3,846
Send a message via ICQ to Phantom Send a message via AIM to Phantom Send a message via MSN to Phantom
Default

Thats not going to happen.

That will prevent Linux shards from sharing their work. Everyone will have to wait for the Mono Team to finish the only thing stopping RunUO from working.

Seank has told or somebody posted that its around 85%, Seank is also working on the Mono team. I am sure we will know when it will be done. It cannot be the far off.

Remember we want Mono to be stable. We don't want it to be buggy. So allow the team to do the best job.
Phantom is offline   Reply With Quote
Old 01-09-2003, 03:38 AM   #3 (permalink)
 
Join Date: Oct 2002
Posts: 218
Default

Aye, I asked a similar question to phlegyas not too long ago, and I do have to agree with phantom here.

I know the wait is killing us lol, but it is probably best if we let the mono team get it right, rather than it being full of bugs that will probably end up biting us in the ass further down the line...

And 85% huh? thats not too bad , just wish we had some kind of release date to think about. As it stands I have all but put my current pol shard on hold (scripting wise) while we wait for mono

Anyways, Thanks guys keep up the good work,
DarthICE1 is offline   Reply With Quote
Old 01-09-2003, 04:34 AM   #4 (permalink)
Administrator
 
Zippy's Avatar
 
Join Date: Aug 2002
Location: Baltimore, MD
Age: 25
Posts: 4,870
Default

Yes, while it is possible for us to change things in runuo to work with things that mono doesn't support, we would rather wait for mono to support everything....

Once mono supports what runuo needs, we will Change whatever else runuo needs to work on linux, such as removing kernel32 calls and stuff like that.
__________________
Zippy, Razor Creator and RunUO Core Developer
The RunUO Software Team

"Intuition, like a flash of lightning, lasts only for a second. It generally comes when one is tormented by a difficult decipherment and when one reviews in his mind the fruitless experiments already tried. Suddenly the light breaks through and one finds after a few minutes what previous days of labor were unable to reveal."
~The Cryptonomicon

Zippy is offline   Reply With Quote
Old 01-09-2003, 02:54 PM   #5 (permalink)
 
Join Date: Dec 2002
Age: 37
Posts: 395
Default

Gotcha...I understand, my anxiousness just got the better of me. Anyway, thanks zippy, that's the answer I was looking for...there are other things that need to be done as well.

Out of curiousity, I tried it. I removed all scripts from the scripts folder and only left the Output folder in there, thinking that it wouldn't try to compile anything since there were no scripts to compile.

Here are the results:
[root@fafnir runuo]# mono RunUO.exe
World: Loading...
** (RunUO.exe:11553): WARNING **: exception inside UnhandledException handler!

Looks like it skipped script compilation and went on to loading the world...but didn't work.

I know, and I agree with what the others posted here, it's best to just wait...I just thought this post might save the curious (like myself) some time

Thanks,
Phlegyas
Phlegyas is offline   Reply With Quote
Old 01-09-2003, 03:01 PM   #6 (permalink)
Lost User
Guest
 
Posts: n/a
Default

Seank has written CodeDOM classes for mono.
  Reply With Quote
Old 01-09-2003, 03:12 PM   #7 (permalink)
 
Join Date: Sep 2002
Posts: 37
Default

Quote:
Originally Posted by Phlegyas
Here are the results:
[root@fafnir runuo]# mono RunUO.exe
World: Loading...
** (RunUO.exe:11553): WARNING **: exception inside UnhandledException handler!
That's most likely caused by the world reader, not the script compiler. There's a problem where BinaryReader turns null at some point when reading the world, this angers the RunUO gods... deleting your Save directory will do the trick. (you'll still get a NotImplementedException when you get to the script compiler though)

You can't just delete the script directory because RunUO expects a working assembly to be returned by the compiler, and it will throw an exception if it doesn't get one.

I'll let you know when Mono CVS has the new codedom code.
seank is offline   Reply With Quote
Old 01-09-2003, 07:26 PM   #8 (permalink)
 
Join Date: Oct 2002
Posts: 218
Default

Quote:
Originally Posted by seank
I'll let you know when Mono CVS has the new codedom code.
Thanks Seank! Looking forward to it. 8)
Have the mono guys got any release date in mind or they just taking it day by day?
DarthICE1 is offline   Reply With Quote
Old 01-10-2003, 06:22 PM   #9 (permalink)
 
Join Date: Sep 2002
Posts: 37
Default

CVS updated. The codedom code is now in the Mono CVS.

What this means: RunUO's script compiler now works under Mono... *however* we discovered a bug in mcs (the mono C# compiler).. so while the script compiler support is there.... it fails to compile some of the scripts. So you'll either need to delete the offending scripts, or wait until the mcs coders fix the bugs I've reported.

I'll be looking into the worldreader bugs next.
seank is offline   Reply With Quote
Old 01-10-2003, 07:48 PM   #10 (permalink)
 
Join Date: Oct 2002
Posts: 218
Default

Great news! 8)

Its nice to see some more progress from the mono guys Thanks for keeping us updated seank. Im sure the entire linux part of the community are relieved to see your post.

Anyways, nice to be onestep closer to a RunUO linux port, once again great work! and keep us updated 8)

Thanks,
DarthICE1 is offline   Reply With Quote
Old 01-11-2003, 12:10 AM   #11 (permalink)
Account Terminated
 
Join Date: Sep 2002
Age: 26
Posts: 3,846
Send a message via ICQ to Phantom Send a message via AIM to Phantom Send a message via MSN to Phantom
Default

Quote:
Originally Posted by DarthICE1
Great news! 8)

Its nice to see some more progress from the mono guys Thanks for keeping us updated seank. Im sure the entire linux part of the community are relieved to see your post.

Anyways, nice to be onestep closer to a RunUO linux port, once again great work! and keep us updated 8)

Thanks,
Wish people would not call it a port. Because it really isn't because I can't see the Dev Team sending Seank a special version of RunUO. However, I don't know what he is using to test.
Phantom is offline   Reply With Quote
Old 01-11-2003, 03:06 AM   #12 (permalink)
 
Join Date: Oct 2002
Posts: 218
Default

Quote:
Originally Posted by Phantom
Wish people would not call it a port. Because it really isn't because I can't see the Dev Team sending Seank a special version of RunUO. However, I don't know what he is using to test.
I didn't mean the port existed yet lol. I simply meant that every time mono makes a step forward we become onestep closer to the port being a reality.

As for seank, I should imagine he uses Wine (read about it at http://www.winehq.com) or something similar in order to test it. Wine is however CPU intensive, and can only be ran using a winX session, (which not all linux hosts provide to shell accounts), so a linux port is infinatly better.
DarthICE1 is offline   Reply With Quote
Old 01-11-2003, 03:30 AM   #13 (permalink)
 
Join Date: Sep 2002
Posts: 37
Default

Quote:
Originally Posted by DarthICE1
As for seank, I should imagine he uses Wine (read about it at http://www.winehq.com) or something similar in order to test it.
I'm using RunUO Beta 11 (the same exact one you can download from the download section) and have been running it under mono. If RunUO dies, I can use mono to trace it and find out where and why it's dying.

Then to test clients connecting, I use the UO Bot perl module to connect and do things.
seank is offline   Reply With Quote
Old 01-11-2003, 05:32 PM   #14 (permalink)
 
Join Date: Oct 2002
Posts: 218
Default

Quote:
Originally Posted by seank
CVS updated. The codedom code is now in the Mono CVS.
I'll be looking into the worldreader bugs next.
Ack I wasn't aware there were any worldreader bugs Is it anything serious, or just minor things? 8)
DarthICE1 is offline   Reply With Quote
Old 01-11-2003, 07:03 PM   #15 (permalink)
Account Terminated
 
Join Date: Sep 2002
Age: 26
Posts: 3,846
Send a message via ICQ to Phantom Send a message via AIM to Phantom Send a message via MSN to Phantom
Default

Quote:
Originally Posted by seank
Quote:
Originally Posted by DarthICE1
As for seank, I should imagine he uses Wine (read about it at http://www.winehq.com) or something similar in order to test it.
I'm using RunUO Beta 11 (the same exact one you can download from the download section) and have been running it under mono. If RunUO dies, I can use mono to trace it and find out where and why it's dying.

Then to test clients connecting, I use the UO Bot perl module to connect and do things.
Thats what I thought. Certain people in the channel says you have to rebuild programs under the systme you want it to run under. I thought that was wrong but they wouldn't drop the subject.

Thats what I thought .NET was about. Good to know I am right.
Phantom is offline   Reply With Quote
Old 01-12-2003, 02:31 AM   #16 (permalink)
 
Join Date: Oct 2002
Posts: 218
Default

Quote:
Originally Posted by Phantom
Thats what I thought .NET was about. Good to know I am right.
bah! Lucky guess! hehe Seems like I owe you a coke lol
DarthICE1 is offline   Reply With Quote
Old 01-12-2003, 02:52 AM   #17 (permalink)
Account Terminated
 
Join Date: Sep 2002
Age: 26
Posts: 3,846
Send a message via ICQ to Phantom Send a message via AIM to Phantom Send a message via MSN to Phantom
Default

Quote:
Originally Posted by DarthICE1
Quote:
Originally Posted by Phantom
Thats what I thought .NET was about. Good to know I am right.
bah! Lucky guess! hehe Seems like I owe you a coke lol
I paid $300 dollars to learn that. Its not lucky guess. Paid $60 for the book that came with that $300 class.
Phantom is offline   Reply With Quote
Old 01-12-2003, 03:09 AM   #18 (permalink)
 
Join Date: Oct 2002
Posts: 218
Default

Quote:
Originally Posted by Phantom
Thats what I thought .NET was about. Good to know I am right.
Quote:
Originally Posted by DarthICE1
bah! Lucky guess! hehe Seems like I owe you a coke lol
Quote:
Originally Posted by Phantom
I paid $300 dollars to learn that. Its not lucky guess. Paid $60 for the book that came with that $300 class.
I was jokeing lol, sorry If I caused offence :?
DarthICE1 is offline   Reply With Quote
Old 01-12-2003, 03:51 AM   #19 (permalink)
Account Terminated
 
Join Date: Sep 2002
Age: 26
Posts: 3,846
Send a message via ICQ to Phantom Send a message via AIM to Phantom Send a message via MSN to Phantom
Default

None taken at all man. I knew you were joking. Telling anyone that wanted to question my knowlege :-)

Any event I like Cherry Coke btw 8)
Phantom is offline   Reply With Quote
Old 01-12-2003, 06:38 AM   #20 (permalink)
 
Join Date: Oct 2002
Posts: 218
Default

Quote:
Originally Posted by Phantom
Any event I like Cherry Coke btw 8)
brr Cherry Coke.. yuk! *slides phantom a bottle of jack daniels* Here take this instead 8)
DarthICE1 is offline   Reply With Quote
Old 01-12-2003, 07:50 PM   #21 (permalink)
Icon of Vanity
 
Join Date: Dec 2002
Age: 29
Posts: 871
Default

This is very good news indeed. I have a question though. I'm not extremely familiar with mono as a whole. I run NetBSD on several of my server boxes across my network that all have linux compatibility compiled into the kernel. Using this, I would be able to install mono and run RunUO through mono? If there is a FAQ or something retarded I'm missing please don't hesitate to point me in that direction. Thanks alot.
__________________





Where am I? Follow my microblog:
http://www.twitter.com/salamando

Salamando
UO Gamers: Divinity - Lead Administrator and Designer
salamando@uogamers.com
You don't like me?
I don't care.
Salamando is offline   Reply With Quote
Old 01-12-2003, 08:00 PM   #22 (permalink)
Account Terminated
 
Join Date: Sep 2002
Age: 26
Posts: 3,846
Send a message via ICQ to Phantom Send a message via AIM to Phantom Send a message via MSN to Phantom
Default

Quote:
Originally Posted by salamando
This is very good news indeed. I have a question though. I'm not extremely familiar with mono as a whole. I run NetBSD on several of my server boxes across my network that all have linux compatibility compiled into the kernel. Using this, I would be able to install mono and run RunUO through mono? If there is a FAQ or something retarded I'm missing please don't hesitate to point me in that direction. Thanks alot.
That would be a good question to ask on the Mono Sourceforge site, why don't you go check there :-) and seek there for help. Since most of them are linux users.
Phantom is offline   Reply With Quote
Old 01-12-2003, 08:01 PM   #23 (permalink)
Icon of Vanity
 
Join Date: Dec 2002
Age: 29
Posts: 871
Default

I will roll over there right now and do just that. Thanks alot.
__________________





Where am I? Follow my microblog:
http://www.twitter.com/salamando

Salamando
UO Gamers: Divinity - Lead Administrator and Designer
salamando@uogamers.com
You don't like me?
I don't care.
Salamando is offline   Reply With Quote
Old 01-12-2003, 08:04 PM   #24 (permalink)
Account Terminated
 
Join Date: Sep 2002
Age: 26
Posts: 3,846
Send a message via ICQ to Phantom Send a message via AIM to Phantom Send a message via MSN to Phantom
Default

Your welcome :-)

The chances of getting your answer about a linux question here, is about 10:4000 :-)
Phantom is offline   Reply With Quote
Old 01-12-2003, 08:14 PM   #25 (permalink)
Icon of Vanity
 
Join Date: Dec 2002
Age: 29
Posts: 871
Default

Once I get the info, I can be the 1:4001 NetBSD support.
__________________





Where am I? Follow my microblog:
http://www.twitter.com/salamando

Salamando
UO Gamers: Divinity - Lead Administrator and Designer
salamando@uogamers.com
You don't like me?
I don't care.
Salamando 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