5165 source

09/15/2010 11:57 Adziunia#16
alaa410 change system language from urs i think its arabic to english(usa)
09/15/2010 13:41 alaa410#17
[Only registered and activated users can see links. Click Here To Register...]
09/15/2010 14:33 .Beatz#18
Okay, I have just looked through the source very quickly. Here is how to set it up.

Go to MySql > Database (In the source)

Search for
Code:
public static MySqlConnection MySqlConnection
Under this you will see
Code:
                return new MySqlConnection("Server=127.0.0.1;Database='" + mysqlDatabase + "';Username='" + mysqlUser + "';Password='" + mysqlPassword + "';");
Change this to
Code:
                return new MySqlConnection("Server=localhost;Database='" + mysqlDatabase + "';Username='" + mysqlUser + "';Password='" + mysqlPassword + "';");
Then go into Config.ini in your OldCODB folder and change the IP in there to match your IP and also the Sql info to match yours. Close it and save it.

Go back to the source hit F6 then F5 and voila the server should be running.

EDIT!!!

To make this non hamachi please do the following. This is very very important!
Find
Code:
System.Net.IPHostEntry LocalHE;
                LocalHE = System.Net.Dns.GetHostEntry(Dns.GetHostName());
                foreach (IPAddress ipCurrent in LocalHE.AddressList)
                {
                    string LocalServerIp = ipCurrent.ToString();
                    if (LocalServerIp != "::1")
                    {
                        Game.World.Server.ServerIP = LocalServerIp;
                        Connection.SetAdresIp(LocalServerIp);
                    }
                }
Delete the whole thing...

Search for
Code:
public static string ServerIP = "";
Add your IP there.

Under that you will see ServerName = ""; < Make sure that is the same as your server name.

There ya go anything else you need add me on msn I will help best I can
09/15/2010 14:48 alaa410#19
[Only registered and activated users can see links. Click Here To Register...]

this prolem agin plz help me by TeamViewer my mail alaa41alaa@yahoo
09/15/2010 15:17 alaa410#20
thaaaaaaaaaaaaaaaanks alooot
09/15/2010 17:16 alaa410#21
my acount not open

[Only registered and activated users can see links. Click Here To Register...]
09/15/2010 17:59 _DreadNought_#22
Can u upload your source without the extra 15-25mb worth of .rar files please?

With this for whatever reason it gets to about 15mb then freezes claims its finished and then .. it screws up
09/15/2010 18:29 .Beatz#23
Quote:
Originally Posted by Eliminationn View Post
Can u upload your source without the extra 15-25mb worth of .rar files please?

With this for whatever reason it gets to about 15mb then freezes claims its finished and then .. it screws up
Reason it is so bog is because there is more than one OldCODB folder in the source.
09/15/2010 18:59 alaa410#24
I do not have any idea and thanks aloot to Beatz to help me
Thank you for giving me the time after
09/15/2010 23:25 _DreadNought_#25
Can anybody pretty please upload it without the other stuff that's not needed? .
09/15/2010 23:30 †he Knight#26
Quote:
Originally Posted by Eliminationn View Post
Can anybody pretty please upload it without the other stuff that's not needed? .
I Will do it , First Unblock me on msn.
09/15/2010 23:43 _DreadNought_#27
Msn not even installed, had to install Windows 7 again. :@

You were blocked for a reason, however I'll unblock you as it will benefit me. :)

*PM me if you have anything else to say not in this thread as I am going off-topic*
09/16/2010 00:23 alaa410#28
the game play in anther computer and in my computer dont run ?
09/16/2010 00:30 .Beatz#29
Quote:
Originally Posted by alaa410 View Post
the game play in anther computer and in my computer dont run ?
Make sure the server IP is right and the Port as well... Also you might want to check that the Server Name is exactly the same as the one you put into the source and vice versa
09/16/2010 00:49 alaa410#30
Quote:
Originally Posted by alaa410 View Post
my acount not open

[Only registered and activated users can see links. Click Here To Register...]
Quote:
Originally Posted by .Beatz View Post
Make sure the server IP is right and the Port as well... Also you might want to check that the Server Name is exactly the same as the one you put into the source and vice versa
ok you can make this for me plz