Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 03:14

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Conquer Server running on Linux(Ubuntu)

Discussion on Conquer Server running on Linux(Ubuntu) within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2006
Posts: 24
Received Thanks: 1
Conquer Server running on Linux(Ubuntu)

Hey Guys,

im currently thinking about to start playing a bit with a ConquerServer.
Im still wondering bout that no guides are available to run one under a unix based System.

Is it possible to create a Conquer Server under Ubuntu and has maybe someone allready created a guide for ?

greetings
LeX
koh-lexus is offline  
Old 12/02/2011, 04:17   #2
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,376
Write a custom source using Java!

There's the possibility you could re-write existing sources to not use any native calls and then run it on linux but support for .net isn't very good on that OS. Regardless, you're going to need to have some reasonable programming knowledge rather then following some guide and copy/pasting small changes to make it work fully on a linux distro.

Best of luck.
pro4never is offline  
Old 12/02/2011, 05:50   #3
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,211
Received Thanks: 4,114
I'll convert one to Java when I have a free second. Finals are coming up so don't expect it soon.
Spirited is offline  
Old 12/02/2011, 08:47   #4
 
InfamousNoone's Avatar
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,012
Received Thanks: 2,882
Quote:
Originally Posted by pro4never View Post
Write a custom source using Java!

There's the possibility you could re-write existing sources to not use any native calls and then run it on linux but support for .net isn't very good on that OS. Regardless, you're going to need to have some reasonable programming knowledge rather then following some guide and copy/pasting small changes to make it work fully on a linux distro.

Best of luck.
You know that .NET is more portable that Java now in terms of Linux and Mac because of the Mono project (It comes pre-installed with the latest revision of Ubuntu now even). Is this a joke? Unless this person is coding hardcore as using the 4.0 features like XAML (which Mono has stated they have no intention of supporting) then it will likely run fine on the mono platform.
InfamousNoone is offline  
Old 12/02/2011, 09:18   #5
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,211
Received Thanks: 4,114
Quote:
Originally Posted by InfamousNoone View Post
You know that .NET is more portable that Java now in terms of Linux and Mac because of the Mono project (It comes pre-installed with the latest revision of Ubuntu now even). Is this a joke? Unless this person is coding hardcore as using the 4.0 features like XAML (which Mono has stated they have no intention of supporting) then it will likely run fine on the mono platform.
^
There you go. So if you're using Impulse's 5165 source or NewestCOServer, you're good.
Spirited is offline  
Old 12/02/2011, 10:17   #6


 
KraHen's Avatar
 
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 793
TBH I'd rather go with C++ on Linux, you can squeeze out pretty solid performance with the BSD socket API using a technique that is available only on this platform (hint given).
KraHen is offline  
Old 12/02/2011, 13:15   #7
 
elite*gold: 0
Join Date: Jul 2006
Posts: 24
Received Thanks: 1
So based on Mono under linux it should be useable? Becouse mono is not a 100 % working with evey .net based application
koh-lexus is offline  
Old 12/02/2011, 13:37   #8
 
InfamousNoone's Avatar
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,012
Received Thanks: 2,882
Let's put it like this. If you don't know what Mono is, you probably shouldn't even be using Linux in the first place.
InfamousNoone is offline  
Old 12/02/2011, 14:42   #9
 
elite*gold: 0
Join Date: Jul 2006
Posts: 24
Received Thanks: 1
i know what mono is, my question was how hard it will be to run it on it.

application like toomboy stickys or a small winkalender are 100 % working.
appication like paint.net are not .

so the will it work with more then less easy changes or will it be a nearly complette rewrite ?
koh-lexus is offline  
Old 12/02/2011, 15:03   #10
 
elite*gold: 0
Join Date: May 2011
Posts: 1,769
Received Thanks: 756
Mono <3
BaussHacker is offline  
Old 12/02/2011, 15:30   #11
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,376
Quote:
Originally Posted by InfamousNoone View Post
You know that .NET is more portable that Java now in terms of Linux and Mac because of the Mono project (It comes pre-installed with the latest revision of Ubuntu now even). Is this a joke? Unless this person is coding hardcore as using the 4.0 features like XAML (which Mono has stated they have no intention of supporting) then it will likely run fine on the mono platform.
I was under the impression that native calls really screwed over mono.
pro4never is offline  
Old 12/02/2011, 15:54   #12
 
elite*gold: 0
Join Date: May 2011
Posts: 1,769
Received Thanks: 756
Quote:
Originally Posted by pro4never View Post
I was under the impression that native calls really screwed over mono.
And native calls are not necessary.
BaussHacker is offline  
Old 12/02/2011, 16:04   #13
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,376
Quote:
Originally Posted by BaussHacker View Post
And native calls are not necessary.
True... but just about every source I've seen public on epvp uses at least a few native calls which is why I said he'd need at least a decent knowledge of C# versus just following a simple copy/paste guide to get it working on linux.


I ofc have virtually zero knowledge of linux but just seems the bulk of it was still at least semi applicable. Aka: I confuzd!
pro4never is offline  
Old 12/03/2011, 02:32   #14
 
InfamousNoone's Avatar
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,012
Received Thanks: 2,882
Quote:
Originally Posted by koh-lexus View Post
i know what mono is, my question was how hard it will be to run it on it.

application like toomboy stickys or a small winkalender are 100 % working.
appication like paint.net are not .

so the will it work with more then less easy changes or will it be a nearly complette rewrite ?
Quote:
Originally Posted by InfamousNoone View Post
You know that .NET is more portable that Java now in terms of Linux and Mac because of the Mono project (It comes pre-installed with the latest revision of Ubuntu now even). Is this a joke? Unless this person is coding hardcore as using the 4.0 features like XAML (which Mono has stated they have no intention of supporting) then it will likely run fine on the mono platform.
^ ?????

Quote:
Originally Posted by pro4never View Post
True... but just about every source I've seen public on epvp uses at least a few native calls which is why I said he'd need at least a decent knowledge of C# versus just following a simple copy/paste guide to get it working on linux.


I ofc have virtually zero knowledge of linux but just seems the bulk of it was still at least semi applicable. Aka: I confuzd!
You're right, platform invoke does screw-over mono, but it's not like it's particularly hard to get around it. Here's an example (though memcpy is available on linux afaik).

Code:
	public static 
	#if !LINUX
		extern
	#endif
	int memcpy(void* dst, void* src, int length)
	#if !LINUX
		;
	#else
	{
	    // Simple implementation, in no way the most efficient.
            byte* ps = (byte*)src;
            byte* pt = (byte*)dst;
	    for (int i = 0; i < length; i++)
            {
                *pt = *ps;
                pt++;
                ps++;
            }
	}
	#endif
InfamousNoone is offline  
Thanks
1 User
Old 12/03/2011, 15:39   #15
 
Nullable's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 390
Received Thanks: 321
Quote:
Originally Posted by KraHen View Post
TBH I'd rather go with C++ on Linux, you can squeeze out pretty solid performance with the BSD socket API using a technique that is available only on this platform (hint given).
If you mean epoll(), then you should realize that Mono uses it whenever possible on Linux.
Nullable is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Running The Server On Linux
03/01/2010 - CO2 Private Server - 2 Replies
Is there ANY way to run the conquer source on a Linux(Ubuntu) server? I know C# is basically a windows only language but i was wondering is someone knew something that i didnt. Thanks -Kasene
[Question] linux(ubuntu) running
01/25/2010 - Dekaron Private Server - 4 Replies
linux(ubuntu) running on the server, is there a problem? :)
Help on Running Conquer on Linux
03/04/2007 - Conquer Online 2 - 1 Replies
I'm using SuSE Linux 9.3 and currently using "gfsgl" to run conquer on my linux box. Id did run and initialized, it even patched but as it loadds the main window, it flags an error. The log looks like this: GFSGL 0.92.1 (White Doll)...



All times are GMT +2. The time now is 03:14.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.