Dawn of Light on Linux

A place to submit .patch fixes for the DOL SVN

Moderator: Developer Team

Dawn of Light on Linux

Postby Merec » Thu Sep 18, 2008 4:43 pm

Hi,

I started a test - and it works....
Now I started DOL on my Linux mashine using Mono, everything seems to work. And the basic start, compiled from the server, took about 5 seconds (on windows it took about 20).

Are there interests on running DOL with Linux?
If yes, I will create some howtos and suggest some things that have to be editied in the Server.

bye Merec
Merec
Developer
 
Posts: 428
Joined: Thu Mar 08, 2007 8:58 am
Website: http://www.merec.org
Location: NRW, Germany

Re: Dawn of Light on Linux

Postby Graveen » Thu Sep 18, 2008 4:48 pm

I see it definitively as a solution to reduce hosting cost.

Yes it is interesting to run it on Mono. You compiled with monodevelop or it is the binary pasted on linux ?

The log4net is ported under mono ?


Yes, it is interesting if you state about 'DoL under linux' :)
Image
* pm me to contribute in Dawn of Light: code, database *
User avatar
Graveen
Project Leader
 
Posts: 12660
Joined: Fri Oct 19, 2007 9:22 pm
Location: France

Re: Dawn of Light on Linux

Postby Merec » Thu Sep 18, 2008 5:08 pm

Temporary I just pasted the binary on linux and using mono to start it.

Log4net is one of that things that needs to be edited, maybe a new Project called "DOLServerMono" which is not using the colored console.
The next thing is to compile the hole server with linux.

Monodevelop it not one of my favourite IDE, VS08 is a much better there.

I'll have a look, I'm working on....

bye
Merec
Developer
 
Posts: 428
Joined: Thu Mar 08, 2007 8:58 am
Website: http://www.merec.org
Location: NRW, Germany

Re: Dawn of Light on Linux

Postby Graveen » Thu Sep 18, 2008 6:29 pm

I agree, it can become a complete solution on linux.

Iirc it compiled with mono and w/o log4net but it is very very very slow
Image
* pm me to contribute in Dawn of Light: code, database *
User avatar
Graveen
Project Leader
 
Posts: 12660
Joined: Fri Oct 19, 2007 9:22 pm
Location: France

Re: Dawn of Light on Linux

Postby Dunnerholl » Thu Sep 18, 2008 7:53 pm

i had always freezes about 1 year ago because monos garbage colelctor wasnt working too good
Dunnerholl
Developer
 
Posts: 1229
Joined: Mon Sep 08, 2008 8:39 pm

Re: Dawn of Light on Linux

Postby elcholachica » Tue Feb 03, 2009 9:48 am

Hi, sorry about the necropost but this post is on the first page so I though it isn't too old, I'm really really interested in running DoL at Linux, the hosting cost is so different, I have some questions:

Could it run with Wine? How is the DataBase being loaded here at Linux? (I mean if there is any bugs or something else).

Thanks
elcholachica
DOL Novice
 
Posts: 64
Joined: Fri Nov 30, 2007 10:19 pm
Location: Canary Islands, Spain

Re: Dawn of Light on Linux

Postby Graveen » Tue Feb 03, 2009 11:49 am

1) No, you can't. But you can with mono

2) mysql, like windows. But there are some issues on table name, they should be in lowercase
Image
* pm me to contribute in Dawn of Light: code, database *
User avatar
Graveen
Project Leader
 
Posts: 12660
Joined: Fri Oct 19, 2007 9:22 pm
Location: France

Re: Dawn of Light on Linux

Postby Dunnerholl » Tue Feb 03, 2009 7:02 pm

1) No, you can't. But you can with mono

2) mysql, like windows. But there are some issues on table name, they should be in lowercase
mysql server can be configured to ignore case as i recall.

anyway i had always heavy problems running it on linux when a few clients were connected....freeze freeze freeze :)
Dunnerholl
Developer
 
Posts: 1229
Joined: Mon Sep 08, 2008 8:39 pm

Re: Dawn of Light on Linux

Postby Graveen » Tue Feb 03, 2009 8:12 pm

yes you can. But the linux default is case sensitive, while windows is not.
Image
* pm me to contribute in Dawn of Light: code, database *
User avatar
Graveen
Project Leader
 
Posts: 12660
Joined: Fri Oct 19, 2007 9:22 pm
Location: France

Re: Dawn of Light on Linux

Postby elcholachica » Tue Feb 03, 2009 8:14 pm

Yeh... on Windows "FiLe" is the same as "file", in linux they are so different things.
elcholachica
DOL Novice
 
Posts: 64
Joined: Fri Nov 30, 2007 10:19 pm
Location: Canary Islands, Spain

Re: Dawn of Light on Linux

Postby masterfreek64 » Sun Mar 01, 2009 4:45 pm

you can also run the .NET 2.0 SDK under WINE and it is said to work like a charm
masterfreek64
DOL Acolyte
 
Posts: 101
Joined: Sat Apr 21, 2007 3:02 pm
Location: Stuttgart,Germany

Re: Dawn of Light on Linux

Postby alex_speed » Mon Mar 02, 2009 3:37 pm

It runs fine on Mono. The only problem is that every mysql dumps were created on windows so you have table name account instead of Account, which is not the same on linux, sure you can disable MySQL case sensitiveness, but only if you're running dol database, you don't know the behaviour of other software using mysql.

As for WINE, we should make a performance benchmark to see the overhead of this solution.
alex_speed
Inactive Staff Member
 
Posts: 691
Joined: Sun Nov 21, 2004 5:37 pm

Re: Dawn of Light on Linux

Postby Graveen » Mon Mar 02, 2009 3:58 pm

Yes Alex, and i notice you changed them in your pkey changes. Thx !
Image
* pm me to contribute in Dawn of Light: code, database *
User avatar
Graveen
Project Leader
 
Posts: 12660
Joined: Fri Oct 19, 2007 9:22 pm
Location: France

Re: Dawn of Light on Linux

Postby noyankiziltan » Wed Apr 15, 2009 4:42 am

heya,
can someone telll me what to do and if I am able to do host a dol server?

Got a Sparc Solaris 8 machine which I have access to, I am not a super user, admin or etc.. just have regular user priviliges, I use putty to connect. Do you think I can run dol on that server, and how?
noyankiziltan
DOL Initiate
 
Posts: 16
Joined: Wed Apr 15, 2009 4:32 am

Re: Dawn of Light on Linux

Postby Graveen » Wed Apr 15, 2009 6:15 am

i don't heard mono ported to a sparc arch, but i don't really got an eye on the project, perhaps it compiles ?
Image
* pm me to contribute in Dawn of Light: code, database *
User avatar
Graveen
Project Leader
 
Posts: 12660
Joined: Fri Oct 19, 2007 9:22 pm
Location: France


Return to “%s” DOL Code Contributions

Who is online

Users browsing this forum: No registered users and 1 guest