I know i know there is allot of guides showing how to setup a source, but i am only going to show the basic things you need to fill to make your source work.
Note: the only reasion i am posting is to make sure people stop making thread and saying i cant setup,
Here is some basic things that public sources use.
1. server name
when you go to bin/debug/config, you will see your setup options there will be something like server name
2. KillConection.cs
allot of sources use this, and sometimes there is a option there to put your ip there like this source
idk if its right to use ip and everything in killconection some sources for example my don't have that option, but if you do make sure to fill that in.
2. app.config
sources use app.config, and sometimes its just something like this
and sometimes its like this
SO if its something like this then make sure to fill it in.
and some sources have a ip config in there program.cs where you need to put the ip in order to get it work.
I think what deathmist is trying to say is that your guide lacks some of the major details required for setting up a server. You don't specify what source the guide is for (just that it's for public sources which is incorrect), nor do you specify the tools required in setting up and editing the source and database. The source you're referring to is an edited version of Kimo's edit of TrinityCO. The tools required that you should probably show a guide for include: mysql community server, navicat or mysql workbench, visual studio express, framework 4.0, the conquer online client, conquerloader 5.2, etc. As for my KillConection.cs file that almost every public source now uses... I'm shocked that nobody's set it up correctly to use the configured mysql configuration. They're more using it to kill connections that aren't being closed properly, which isn't what it was created for. Anyways, that's out of the scope of this discussion. Your guide could really use detail.
I think what deathmist is trying to say is that your guide lacks some of the major details required for setting up a server. You don't specify what source the guide is for (just that it's for public sources which is incorrect), nor do you specify the tools required in setting up and editing the source and database. The source you're referring to is an edited version of Kimo's edit of TrinityCO. The tools required that you should probably show a guide for include: mysql community server, navicat or mysql workbench, visual studio express, framework 4.0, the conquer online client, conquerloader 5.2, etc. As for my KillConection.cs file that almost every public source now uses... I'm shocked that nobody's set it up correctly to use the configured mysql configuration. They're more using it to kill connections that aren't being closed properly, which isn't what it was created for. Anyways, that's out of the scope of this discussion. Your guide could really use detail.
I guess i will add ton of info later on but i don't really know much about the killcontetion so feel free to fill that in if you want.
I guess i will add ton of info later on but i don't really know much about the killcontetion so feel free to fill that in if you want.
Sure. The problem is that when you open a new mysql connection using a pooled configuration, it will keep the connection alive no matter what the server says (disposing it using GC will not work). Here's a quote I found supporting my claim:
"Even though you set the connection object to null and perhaps the connection object is collected, the internal driver object remains open against the server so that future calls to Open() will use a pooled connection and be very fast. If you want the physical connection to close then you need to disable pooling by setting pooling=false on your connection string."
The problem is, no server uses this feature correctly - they keep creating new pooled connections instead of closing and opening the existing connections. Handling the pools incorrectly creates this issue, and since I was inexperienced with MySql with my first custom source, I created a class that would kill the connections that were sleeping every few seconds. This is extremely inefficient and not the right thing to do. Either turn pooling to false, or create a proper threaded worker system for using the sleeping connections in the pool.
The class could be used to kill the connections after the server is done using them. Otherwise, it should not be used in the manor every public source is using it in.
Sure. The problem is that when you open a new mysql connection using a pooled configuration, it will keep the connection alive no matter what the server says (disposing it using GC will not work). Here's a quote I found supporting my claim:
"Even though you set the connection object to null and perhaps the connection object is collected, the internal driver object remains open against the server so that future calls to Open() will use a pooled connection and be very fast. If you want the physical connection to close then you need to disable pooling by setting pooling=false on your connection string."
The problem is, no server uses this feature correctly - they keep creating new pooled connections instead of closing and opening the existing connections. Handling the pools incorrectly creates this issue, and since I was inexperienced with MySql with my first custom source, I created a class that would kill the connections that were sleeping every few seconds. This is extremely inefficient and not the right thing to do. Either turn pooling to false, or create a proper threaded worker system for using the sleeping connections in the pool.
The class could be used to kill the connections after the server is done using them. Otherwise, it should not be used in the manor every public source is using it in.
what if i told u that i clear All the pools after executing certain Query, Or even dont use pooling feature Beside Closing the Connection after Each Query is Executed .. would i still need to implement this ?
its doesnt require a magician to execute his codes .. all u need to run these codes using thread that run every exact period of time ... not a big deal
[Guide]How to setup a 5017 source 09/12/2012 - CO2 PServer Guides & Releases - 5 Replies Alright , lets start with appserver
AppServer:
Download it from here: AppServNetwork
Then agree with ToS
put directory to c: then next
and put your server name as
localhost and administrators email address as: [email protected]
and leave at 80 then next
root password: root
[Guide]Projectx Source Setup Guide 03/15/2012 - CO2 PServer Guides & Releases - 119 Replies First Off
Credits:
Hybrid
Ultimation
Impulse
DreadNought
Tanel
Korvacs
Arco
Jacob/L33TS/Syst3m_W1z4rd
[Guide]CoEmu v2 Source Setup 03/09/2012 - CO2 PServer Guides & Releases - 245 Replies ALRIGHT. I was bored and in the mood to help (rare...I know D=)
First things first, you NEED a C# compiler. If you're the classic nooby, then go get Microsoft Visual C# 2008 Express Edition.
Second, download the source located in this crazy topic: http://www.elitepvpers.com/forum/co2-pserver-discus sions-questions/254190-awesome-release-coemuv2-nan o-5095-source-code.html.
Third - extract it with WinRAR (if you don't have it, get it here: WinRAR archiver, a powerful tool to process RAR...
[GUIDE] How To Setup Source + Client (5165) 01/30/2010 - CO2 PServer Guides & Releases - 2 Replies 1.) Download the source Here
2.) Extract the source anywhere on your computer
3.) Move OldCODB into C:/
4.) Open the folder "OldCODB and click on Config
5.) Copy and paste this into config:
[Guide] How to setup Reflex Source 09/11/2009 - CO2 PServer Guides & Releases - 14 Replies hey 4 people pmed me that they dont know how to setup a source and i saw that beta and someone else didnt knew it eiter how to set it up so here is a guide.
Downloads:
The Source (http://www.elitepvpers.com/forum/co2-pserver-discu ssions-questions/197876-release-project-reflex-sou rce-v1-0-a.html)
APPServer 2.6.0 (AppServNetwork)
Co Client Patch 5017 (Conquer_2.0.rar - FileFront.com)
Note: People with Windows Vista need APPserver 2.5.1
The Final Guide: