Register for your free account! | Forgot your password?

You last visited: Today at 22:33

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

Advertisement



Official 5165 FAQ/Question thread

Discussion on Official 5165 FAQ/Question thread within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old 02/08/2014, 00:21   #2086
 
elite*gold: 0
Join Date: Feb 2006
Posts: 726
Received Thanks: 271
Your right....

Code:
 if ((MyTeam == null || !MyTeam.Members.Contains(C)) && (MyGuild == null || !MyGuild.Members.Contains(C)) && (Friends == null ||  !Friends.Contains(C)))
return true
else return false;
Aceking is offline  
Old 02/12/2014, 07:27   #2087
 
~Templar~'s Avatar
 
elite*gold: 0
Join Date: Jul 2005
Posts: 28
Received Thanks: 8
I don't get it... even with JUST this:

if (MyGuild != null) return !MyGuild.Members.Contains(C);

Team pk still doesn't work for guild members...
How is that even possible? o.o
~Templar~ is offline  
Old 01/10/2015, 14:29   #2088
 
Oblexive's Avatar
 
elite*gold: 0
Join Date: Oct 2007
Posts: 36
Received Thanks: 2
Hey guys, I had a few questions.
First, I wanted to change the EXP ***** so they only had 5 uses per day then after 5 they give half EXP with a maximium use of 10 per day.
Secondly, I am having trouble with magic shields. For some reason they increase damage taken instead of decrease and I dont know how to fix it.
Thirdly, Where in the source do I find the drop rate for meteor / dbs and how rare elites etc are?

I know I asked alot, I figured I would try and get it all out in one post! Thanks guys, really apreciate it!
Oblexive is offline  
Old 01/12/2015, 00:44   #2089
 
.Beatz's Avatar
 
elite*gold: 0
Join Date: May 2006
Posts: 1,190
Received Thanks: 516
Quote:
Originally Posted by Oblexive View Post
Hey guys, I had a few questions.
First, I wanted to change the EXP ***** so they only had 5 uses per day then after 5 they give half EXP with a maximum use of 10 per day.
Secondly, I am having trouble with magic shields. For some reason they increase damage taken instead of decrease and I don't know how to fix it.
Thirdly, Where in the source do I find the drop rate for meteor / dbs and how rare elites etc are?

I know I asked alot, I figured I would try and get it all out in one post! Thanks guys, really appreciate it!
1) Search the Forum (there are plenty of fixes about).
2) If they are increasing damage you should have a look in the source code for "Magic Shield" || "ITEMID" || something similar to that and look at the code for the shield.
3) Search the Forum (although normally in a text file in the source Database folder).
.Beatz is offline  
Old 01/12/2015, 08:50   #2090
 
Oblexive's Avatar
 
elite*gold: 0
Join Date: Oct 2007
Posts: 36
Received Thanks: 2
Thanks Beatz but I have searched for ages trying to find something useful and im not having much luck, I wouldn't have bothered posting if I could have found it.. As for the item drops etc i figured that one out on my own. Just having problems with Magic Shield and setting Exp Ball limits still..
Oblexive is offline  
Old 02/02/2015, 09:01   #2091
 
elite*gold: 0
Join Date: Sep 2014
Posts: 28
Received Thanks: 1
where is the sql file i need it for but it in navicat
mahmoudeldeeb is offline  
Old 02/02/2015, 17:05   #2092
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,379
The real question is why would anyone still use ncos? It's been yeaaarssss during which it's a **** source. There's so many better public options these days.

PS: NCOS does not use mysql so there would be no backup for you to use. The source uses flatfile database (text files) for everything.
pro4never is offline  
Old 04/26/2022, 15:38   #2093
 
elite*gold: 0
Join Date: Apr 2022
Posts: 6
Received Thanks: 0
have you fixed this? im getting same problem


System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B) at NewestCOServer.Native.BF_set_key(IntPtr _key, Int32 len, Byte[] data) at NewestCOServer.Main.Blowfish.SetKey(Byte[] data) in C:\Users\HP\Desktop\server work\NewestCOServer\Main\Blowfish.cs:line 85 at NewestCOServer.Main.GameCrypto..ctor(Byte[] key) in C:\Users\HP\Desktop\server work\NewestCOServer\Main\Blowfish.cs:line 15 at NewestCOServer.Main.GameClient..ctor(Boolean Robot) in C:\Users\HP\Desktop\server work\NewestCOServer\Main\GameClient.cs:line 48 System.NullReferenceException: Object reference not set to an instance of an object. at NewestCOServer.Main.GameWorker.ConnectionHandler(S tateObj S) in C:\Users\HP\Desktop\server work\NewestCOServer\Main\GameWorker.cs:line 33
abyong is offline  
Old 04/26/2022, 21:54   #2094
 
pintinho12's Avatar
 
elite*gold: 0
Join Date: Jul 2009
Posts: 943
Received Thanks: 408
Quote:
Originally Posted by abyong View Post
have you fixed this? im getting same problem


System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B) at NewestCOServer.Native.BF_set_key(IntPtr _key, Int32 len, Byte[] data) at NewestCOServer.Main.Blowfish.SetKey(Byte[] data) in C:\Users\HP\Desktop\server work\NewestCOServer\Main\Blowfish.cs:line 85 at NewestCOServer.Main.GameCrypto..ctor(Byte[] key) in C:\Users\HP\Desktop\server work\NewestCOServer\Main\Blowfish.cs:line 15 at NewestCOServer.Main.GameClient..ctor(Boolean Robot) in C:\Users\HP\Desktop\server work\NewestCOServer\Main\GameClient.cs:line 48 System.NullReferenceException: Object reference not set to an instance of an object. at NewestCOServer.Main.GameWorker.ConnectionHandler(S tateObj S) in C:\Users\HP\Desktop\server work\NewestCOServer\Main\GameWorker.cs:line 33
You're probably compiling x86 with libeay.dll x64 or the opposite
pintinho12 is offline  
Old 04/27/2022, 03:01   #2095
 
elite*gold: 0
Join Date: Apr 2022
Posts: 6
Received Thanks: 0
so how can i fix this?
abyong is offline  
Old 04/27/2022, 05:35   #2096
 
Asphy×ia's Avatar
 
elite*gold: 0
Join Date: Feb 2014
Posts: 155
Received Thanks: 81
Quote:
Originally Posted by abyong View Post
so how can i fix this?
figure out which you currently have and to find a version of the other one. switch in your source directory. voila
Asphy×ia is offline  
Old 04/27/2022, 07:47   #2097
 
elite*gold: 0
Join Date: Apr 2022
Posts: 6
Received Thanks: 0
.huh? what do you mean? btw thank you in advance guys for helping but i really don't know how to solve this can anyone explain it to me clearly? please?
abyong is offline  
Old 04/27/2022, 10:15   #2098
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,282
Received Thanks: 4,190
Quote:
Originally Posted by abyong View Post
.huh? what do you mean? btw thank you in advance guys for helping but i really don't know how to solve this can anyone explain it to me clearly? please?
These servers came out in the Windows XP days before 64-bit processors. Basically, someone needs to come through and clean up all these sources to use NuGet and compile on 64-bit processors. You don't need to do all that though. In Visual Studio, you should see an x64 or x86 in a white box next to the play/run button. Set that to x64 (assuming you're running anything newer than 2005), and replace libeay.dll in your bin directory (build directory) with the 64-bit version of it found here: . Download the 1.1.x version (don't worry, this is an official mirror for OpenSSL binaries so you don't have to compile them yourself). Hope that helps (I'm racing to close tabs and go to bed). Feel free to ask questions and post screenshots.
Spirited is offline  
Thanks
1 User
Old 04/27/2022, 11:48   #2099
 
elite*gold: 0
Join Date: Apr 2022
Posts: 6
Received Thanks: 0
Unhappy

Quote:
Originally Posted by Spirited View Post
These servers came out in the Windows XP days before 64-bit processors. Basically, someone needs to come through and clean up all these sources to use NuGet and compile on 64-bit processors. You don't need to do all that though. In Visual Studio, you should see an x64 or x86 in a white box next to the play/run button. Set that to x64 (assuming you're running anything newer than 2005), and replace libeay.dll in your bin directory (build directory) with the 64-bit version of it found here: . Download the 1.1.x version (don't worry, this is an official mirror for OpenSSL binaries so you don't have to compile them yourself). Hope that helps (I'm racing to close tabs and go to bed). Feel free to ask questions and post screenshots.
can you please tell me whats should i do? and where to find this .dll file? i want to run conquer on my computer
abyong is offline  
Old 04/27/2022, 16:22   #2100
 
pintinho12's Avatar
 
elite*gold: 0
Join Date: Jul 2009
Posts: 943
Received Thanks: 408
Quote:
Originally Posted by abyong View Post
can you please tell me whats should i do? and where to find this .dll file? i want to run conquer on my computer
He already did. Actually Spirited has the most patience here and wrote you a guide on how to fix it giving step by step tips.

If you cannot simply press 2 buttons and copy 1 file, then just play someone else server. I'd like to help but you need to help yourself trying to make something, otherwise claiming that you cannot do something simple as:

1. Change the build target processor to x64 (you can look for Any CPU, x86 or x64 on your Visual Studio)
2. Download the dll which you don't even need to google because Spirited gave you the URL, you just need to download
3. Paste it in your bin directory (which can be found by right clicking the solution in Solution Explorer and selecting "Open folder in explorer") together with the generated executable

I'll try to explain with images

1.
2.
3.
4.
5.
6.
7.

If after all you couldn't manage to do this, then idk
pintinho12 is offline  
Thanks
3 Users
Reply




All times are GMT +1. The time now is 22:39.


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.