Register for your free account! | Forgot your password?

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

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

Advertisement



CO server in Linux VPS?

Discussion on CO server in Linux VPS? within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
iJoyce's Avatar
 
elite*gold: 0
Join Date: Mar 2016
Posts: 7
Received Thanks: 0
CO server in Linux VPS?

Title says it all, I tried running CO server in Debain using Mono but I kept getting random and stupid EntryPoint and DLLNotfound exceptions, so can anyone tell me how to do it if he managed to run CO server in Linux?
iJoyce is offline  
Old 05/27/2016, 14:24   #2


 
CptSky's Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 1,443
Received Thanks: 1,175
Quote:
Originally Posted by iJoyce View Post
Title says it all, I tried running CO server in Debain using Mono but I kept getting random and stupid EntryPoint and DLLNotfound exceptions, so can anyone tell me how to do it if he managed to run CO server in Linux?
If your source is using native DLLs which don't exist on Linux (e.g. Windows itself), it won't work.
CptSky is offline  
Old 05/27/2016, 14:31   #3
 
iJoyce's Avatar
 
elite*gold: 0
Join Date: Mar 2016
Posts: 7
Received Thanks: 0
I downloaded a source because I'm new to Conquer private servers stuff, yes it is using kernel32 DLLs, so where can I get a source that doesn't use windows DDLs?
iJoyce is offline  
Old 05/27/2016, 15:34   #4
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,379
Quote:
Originally Posted by iJoyce View Post
I downloaded a source because I'm new to Conquer private servers stuff, yes it is using kernel32 DLLs, so where can I get a source that doesn't use windows DDLs?
I'm not aware of any server source that doesn't use windows DLLs.

Thats not to say they couldn't exist but in general all public conquer servers were intended for use with windows servers. The newest revision of COPS by cpt Sky would be the only that comes to mind that might be properly designed and would work. He's the only developer I've seen on here specifically building stuff with cross platform in mind with some of his other releases.
pro4never is offline  
Old 05/27/2016, 16:21   #5


 
KraHen's Avatar
 
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 794
Or you can just implement managed versions of those functions that were imported from kernel32.dll, e.g. BlockCopy instead of memcpy, and it should work nonetheless.
KraHen is offline  
Old 05/27/2016, 16:30   #6
 
iJoyce's Avatar
 
elite*gold: 0
Join Date: Mar 2016
Posts: 7
Received Thanks: 0
Quote:
Originally Posted by KraHen View Post
Or you can just implement managed versions of those functions that were imported from kernel32.dll, e.g. BlockCopy instead of memcpy, and it should work nonetheless.
I wanted to do this but, I couldn't replace the INI class, and it would take months to change the INI to MySQL or SQLite, and I kept getting access denied exceptions from logging so it was totally ****** up. I'll just buy a Windows VPS..
iJoyce is offline  
Old 05/27/2016, 19:46   #7


 
CptSky's Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 1,443
Received Thanks: 1,175
Quote:
Originally Posted by pro4never View Post
I'm not aware of any server source that doesn't use windows DLLs.

Thats not to say they couldn't exist but in general all public conquer servers were intended for use with windows servers. The newest revision of COPS by cpt Sky would be the only that comes to mind that might be properly designed and would work. He's the only developer I've seen on here specifically building stuff with cross platform in mind with some of his other releases.
Yes, I don't know any public source which doesn't relay on either Windows for the INI files, or kernel32, or OpenSSL... My newest revision of COPS v6 should work on Mono. At least it worked when I started cleaning it up... And all changes I've made were done with cross-platform in mind.

Quote:
Originally Posted by iJoyce View Post
I wanted to do this but, I couldn't replace the INI class, and it would take months to change the INI to MySQL or SQLite, and I kept getting access denied exceptions from logging so it was totally ****** up. I'll just buy a Windows VPS..
Nini is simple and compatible with Mono.
CptSky is offline  
Old 05/27/2016, 20:02   #8
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,379
Quote:
Originally Posted by KraHen View Post
Or you can just implement managed versions of those functions that were imported from kernel32.dll, e.g. BlockCopy instead of memcpy, and it should work nonetheless.
No disrespect to the OP but he did say he was new to co servers. making significant changes to the core library functions of a source is likely not something he's willing or capable of doing at this time.



A bit off topic here but what is the purpose behind you trying to get it working on linux? Just your preferred hosting method? Trying to save on hosting costs? etc.

To each their own of course and designing a server from the ground up with the intention of cross platform compatibility would be a good idea but I'm not convinced that with the current state of the conquer pserver 'community' it would be worth the extra headache.
pro4never is offline  
Old 05/27/2016, 20:16   #9
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,190
I would highly recommend against Mono C#. Mono is going to be worse than Java on Debian, if that helps put perspective on the performance of Mono. If you have another option, such as using CptSky's C++ source, than I would do that. Else, this isn't a problem that can be easily or elegantly solved with C#. If you use a C# source, you're going to have to run it on Windows to reduce complications.
Spirited is offline  
Thanks
1 User
Old 05/28/2016, 15:09   #10
 
iJoyce's Avatar
 
elite*gold: 0
Join Date: Mar 2016
Posts: 7
Received Thanks: 0
Quote:
Originally Posted by KraHen View Post
Or you can just implement managed versions of those functions that were imported from kernel32.dll, e.g. BlockCopy instead of memcpy, and it should work nonetheless.
I would do that if the source is actually can be edited. I'm not new to C# but I'm new to CO stuff.
iJoyce is offline  
Old 05/28/2016, 17:11   #11


 
KraHen's Avatar
 
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 794
Quote:
Originally Posted by pro4never View Post
No disrespect to the OP but he did say he was new to co servers. making significant changes to the core library functions of a source is likely not something he's willing or capable of doing at this time.
He can just do a lazy version and implement his own memcpy function so it can have the same interface but under the hood it does managed work, I mean come on, this is a really easy change, he doesn't have to modify the project structure, or the involved algorithms, or anything. This is as far from rocket science as it gets.
KraHen is offline  
Old 05/28/2016, 19:38   #12
 
elite*gold: 67
Join Date: Aug 2014
Posts: 1,323
Received Thanks: 928
Quote:
Originally Posted by KraHen View Post
He can just do a lazy version and implement his own memcpy function so it can have the same interface but under the hood it does managed work, I mean come on, this is a really easy change, he doesn't have to modify the project structure, or the involved algorithms, or anything. This is as far from rocket science as it gets.
Ehh I think chris was talking about the Blowfish implementation which for some reason relies on libeay or w/e.

You could use bouncycastle instead which is what chris's point was about.

And @ Mono is fast. especially the Math class is faster than the .net framework one.
Xio. is offline  
Old 05/28/2016, 19:57   #13
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,190
Quote:
Originally Posted by Xio. View Post
And @ Mono is fast. especially the Math class is faster than the .net framework one.
Yuki, you need to watch how you say things. No, mono is not faster than .NET on a Windows system. It only *MIGHT* be faster on Linux in comparison to Windows and .NET because Linux is a better operating system and mono can be compiled to optimize itself for Linux. Even then, that still doesn't make it fast in comparison to other languages or necessarily to .NET on Windows under some cases.





If you can find a language that's actually slower than Mono C# on Linux, than I'd give you a pat on the back. Mono is not fast.
Spirited is offline  
Old 05/28/2016, 20:29   #14
 
elite*gold: 67
Join Date: Aug 2014
Posts: 1,323
Received Thanks: 928
Quote:
Originally Posted by Spirited View Post
Yuki, you need to watch how you say things. No, mono is not faster than .NET on a Windows system. It's only *MIGHT* be faster on Linux in comparison to Windows and .NET because Linux is a better operating system and mono can be compiled to optimize itself for Linux. Even then, that still doesn't make it fast in comparison to other languages or necessarily to .NET on Windows under some cases.





If you can find a language that's actually slower than Mono C# on Linux, than I'd give you a pat on the back. Mono is not fast.
Nobody said a thing about running mono on windows. The OP explicitly said linux.

Also games are completely invalid comparisons. There is no proper driver support in linux. You will not see comparable performance on linux no matter what language was used to make the game in 98% of the time.
Xio. is offline  
Old 05/29/2016, 00:30   #15
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,190
Quote:
Originally Posted by Xio. View Post
Nobody said a thing about running mono on windows. The OP explicitly said linux.

Also games are completely invalid comparisons. There is no proper driver support in linux. You will not see comparable performance on linux no matter what language was used to make the game in 98% of the time.
..... it's not actually a game..... they're benchmarks for algorithms across different languages. Also, you mentioned .NET, which is specifically Windows. Are you done?
Spirited is offline  
Reply


Similar Threads Similar Threads
Linux Server Auf Wunsch mit Ganz vielen Linux Betriebssystemen
11/09/2014 - Trading - 0 Replies
Hallo Liebe com Ich vermiete einen RootServer mit Einer guten Hardware und Viel GB Ram und 4 000GB HDD Technische Einzelheiten: Komponenten
Warrock auf Linux ? (Kennt ihr auch andere Games für Linux)
09/11/2011 - WarRock - 7 Replies
Hallo, kann man Warrock auf Linux spielen ? Wenn nein kennt ihr Spiele genau wie Warrock die auch auf Linux gehen?
Linux (Debian) als Linux-Server?
05/13/2011 - Unix/Linux - 2 Replies
Hi! Bevor ihr fragt: Ich habe in Google gesucht... So ok, jetzt aber zu meiner Frage: Ich weis das man den Apache auf Debian(Linux) per Kommandozentrale installieren kann. So da dacht ich mir: Warum mach ich nicht einen Computer der IMMER läuft und mach den zusätzlich als Server. Naja, lange Rede kurzer Sinn: Ich will fragen ob man mit dem Apachen eine Website laufen lassen kann, wie das ist mit Php und mysql (also ob und wie man das installieren kann), und welches dann der...



All times are GMT +1. The time now is 23:58.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.