Dawn of Light on Linux

A place to submit .patch fixes for the DOL SVN

Moderator: Developer Team

Re: Dawn of Light on Linux

Postby noyankiziltan » Wed Apr 15, 2009 6:41 pm

I read on mono website that mono works on solarisveven with sparc. THe only problem is can I run a server by just using a shell on terminal? if yes can you guys tell me how to?
noyankiziltan
DOL Initiate
 
Posts: 16
Joined: Wed Apr 15, 2009 4:32 am

Re: Dawn of Light on Linux

Postby alex_speed » Wed Apr 15, 2009 6:48 pm

mono dolserver.exe

You need to have mono executable in your path. I guess you'll need root rights in order to install it, maybe you can try to have a user space installation of mono.
alex_speed
Inactive Staff Member
 
Posts: 691
Joined: Sun Nov 21, 2004 5:37 pm

Re: Dawn of Light on Linux

Postby Graveen » Wed Apr 15, 2009 7:04 pm

You can run dol from a shell.
Of course, if the shell is remote, you should better run it as a daemon, and get rid of the console i/o.
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 » Fri Apr 17, 2009 11:59 pm

hmm, I guess I am not allowed to install anything. Can't we just compile the source code under any OS?
noyankiziltan
DOL Initiate
 
Posts: 16
Joined: Wed Apr 15, 2009 4:32 am

Re: Dawn of Light on Linux

Postby noyankiziltan » Sat Apr 18, 2009 4:10 am

oh, i see why know. It is written in C# ! Okay, i guess i will try converting the code to Java, then it will work on any platform.
noyankiziltan
DOL Initiate
 
Posts: 16
Joined: Wed Apr 15, 2009 4:32 am

Re: Dawn of Light on Linux

Postby Tired » Sat Apr 18, 2009 5:18 am

wow... that'll take awhile... a lonnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn *gasps for air* nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnng time to do that.
Database problem? Yea I can fix that.
User avatar
Tired
Server Team
 
Posts: 518
Joined: Thu Apr 20, 2006 5:29 am
Location: United States

Re: Dawn of Light on Linux

Postby noyankiziltan » Sat Apr 18, 2009 6:56 pm

or maybe use a cheap hosting solution? :) anybody knows what specs i need for a server with 100 player cap?
noyankiziltan
DOL Initiate
 
Posts: 16
Joined: Wed Apr 15, 2009 4:32 am

Re: Dawn of Light on Linux

Postby Krusck » Tue May 26, 2009 6:47 am

i cant install any emulator of windows or program in this machine becasue is an VPS .. i can only put on this the server folder .. how can i do ? :damm: this machine have installated Mysql and Mysql Remote Control .. :/
Image
Hurricane BETA Cooming
Krusck
DOL Follower
 
Posts: 426
Joined: Sat Jun 21, 2008 10:24 pm
Website: http://daoc.goa.com
Location: University of Sydney, Western Ave (Australia).

Re: Dawn of Light on Linux

Postby Dunnerholl » Tue May 26, 2009 9:37 pm

hmm, I guess I am not allowed to install anything. Can't we just compile the source code under any OS?
compile u can but u need the .net emulator aka mono
Dunnerholl
Developer
 
Posts: 1229
Joined: Mon Sep 08, 2008 8:39 pm

Re: Dawn of Light on Linux

Postby Dunnerholl » Fri Jun 26, 2009 9:41 am

i tried to run it under mono 2.4 unmodified svn.

i always get this and server stopps:
Code: Select all
2009-06-26 11:38:51,177 - [MAIN] - ERROR - DOL.WeakMulticastDelegate - InvokeSafe
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NotImplementedException: The requested feature is not implemented.
at System.Diagnostics.PerformanceCounterCategory.ReadCategory () [0x00000]
at DOL.GS.GameEvents.StatPrint.GetProcessCounterName () [0x00000]
at DOL.GS.GameEvents.StatPrint.OnScriptCompiled (DOL.Events.DOLEvent e, System.Object sender, System.EventArgs args) [0x00000]
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000]
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000]
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000]
at DOL.WeakMulticastDelegate.InvokeSafe (System.Object[] args) [0x00000]
Anybody knows how to fix it? is it the old multiprocessor problem?
Dunnerholl
Developer
 
Posts: 1229
Joined: Mon Sep 08, 2008 8:39 pm

Re: Dawn of Light on Linux

Postby Graveen » Fri Jun 26, 2009 2:09 pm

yes you remove the performance counter is DOLServer.exe. They are not available on mono (as i know)
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 » Fri Jun 26, 2009 3:01 pm

yes you remove the performance counter is DOLServer.exe. They are not available on mono (as i know)
apart from this, the log is not written consequently. it stops now for about 10 minutes to write, then writes a batch of lines thens tops again. whats the fix for this now?
Dunnerholl
Developer
 
Posts: 1229
Joined: Mon Sep 08, 2008 8:39 pm

Re: Dawn of Light on Linux

Postby Graveen » Fri Jun 26, 2009 9:30 pm

remove the color in log4net xml config file
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 mgX » Sun Jul 26, 2009 6:37 pm

consider that mono currently suck horribly...im seriously concerned with the GC, or the lack of it so to speak...I heard theyre working hard on this issue, and we might see some useful mono svn build soon... In any case, i suggest you use the svn build, and not releases, since theyre much further in terms of usability.
mgX
Inactive Staff Member
 
Posts: 235
Joined: Tue Jun 28, 2005 10:19 am
ICQ: 298828005
Yahoo Messenger: Insilopeh
Location: Denmark

Re: Dawn of Light on Linux

Postby Dinberg » Sun Jul 26, 2009 9:03 pm

Graveens got tom working on an automated nightly build system, which i hear works but they just havnt linked :(

Please get that up soon grav!
The Marvelous Contraption begins to stir...
User avatar
Dinberg
Inactive Staff Member
 
Posts: 4695
Joined: Sat Mar 10, 2007 9:47 am
Yahoo Messenger: dinberg_darktouch
Location: Jordheim


Return to “%s” DOL Code Contributions

Who is online

Users browsing this forum: No registered users and 1 guest