Guide/Release: Conquer Server (CoFuture) Using MySql!

12/11/2007 01:45 [GMs]#181
I still got the same error. I can't login. Please check the images if they are correct. I am using conquer client with patch 4348 and with my server information in server.dat. I had port forward with 192.168.0.1, 192.168.0.101, and 127.0.0.1. I think the Auth has a problem. In the guide says the Type and Auth has to be 2, when i try with type 2 and auth 1 i can connect but not sure if i had some bugs that i couldnt see some npcs sometimes. If you dont see any problems, can u send me ur working COFuture release and ill change the databse information to mines.

Connection
[Only registered and activated users can see links. Click Here To Register...]

localhost/phpmyadmin
[Only registered and activated users can see links. Click Here To Register...]

Port Forward, Client Information
[Only registered and activated users can see links. Click Here To Register...]
12/11/2007 16:37 Elmonodara#182
i keep getting "cannot connect to game server"
12/11/2007 20:53 [GMs]#183
I think my problem is about Auth server that it isnt able to connect.
12/12/2007 16:41 master15#184
I know how to fix it
extrat and include in the project my attachment
goto AuthPacketsIncomming folder and Open AuthRequest
goto line 121 and replace this Line
Quote:
Start.Auth.SyncSendData(CPacket.KeyResponse(Server IP, Key1, Key2, Port), ClientData.Conn);
for this

Quote:
Start.Auth.SyncSendData(NPacket.AuthResponse(Serve rIP, Key1, Key2), ClientData.Conn);

and goto Start.cs and right click and select "View Code
goto line 30
replace
Quote:
private const int AUTHPORT = 9960;
for
Quote:
private const int AUTHPORT = 9958;
and goto line 42
replace
Quote:
public const int GAMEPORT = 9958;
for
Quote:
public const int GAMEPORT = 5816;
rebuild the project and test now :)
12/12/2007 18:52 Udza#185
Please help me! My server work fine but i can't connect to my server
here is some pictures

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

[Only registered and activated users can see links. Click Here To Register...]

AND i enable that ports in windows firewall!

and one more question!
if i don't have Conquer client with patch 4348 but hinger version if that cud be a problem why i can't connect to my server?
12/13/2007 01:32 [GMs]#186
I error still persists. I saw the error I think it is the packets in C:/Server/Network/Packet/ConquerPacket.cs: line 254 & C:/Server/AuthPacketsIncomming/AuthCompletion.cs: line 77.
[Only registered and activated users can see links. Click Here To Register...]

AuthCompletion.cs Error Code
Code:
                 {
                    Start.Game.SyncSendData(CPacket.Chat(ClientData.Client.MessageID, "SYSTEM", "ALLUSERS", "ANSWER_OK", ChatType.LoginInformation), e.Conn);
                    ClientData.Client.Char = Database.GetChar(ClientData.Client.Account, ClientData.Client.Server);
                    ClientData.Client.Char.Client = ClientData.Client;
                    Database.GetItems(ClientData.Client.Char);
                    Database.GetSkills(ClientData.Client.Char);
                    Start.Game.SyncSendData(CPacket.CharInfo(ClientData.Client.Char), e.Conn);
                    Start.Clients.Add(ClientData.Client.Account, ClientData.Client);
                    ClientData.Client.Status = Mode.Login;
                    ClientData.Conn.CharID = ClientData.Client.Char.CharID;
                    ClientData.Client.AuthTimer.Elapsed += new ElapsedEventHandler(ClientData.Client.Disconnect);
                    ClientData.Client.AuthTimer.Interval = 20000;
                    ClientData.Client.AuthTimer.Start();

                    //Following lines start a thread for each character which determines when their xp skill shows up

                    Character.XpThread = new Thread(new ThreadStart(ClientData.Client.Char.XpThreadHandel));
                    Character.XpThread.Name = "'XpThread";
                    Character.XpThread.Priority = ThreadPriority.Normal;
                    Character.XpThread.Start();

                    Character.XpThread = new Thread(new ThreadStart(ClientData.Client.Char.PkPointRemove));
                    Character.XpThread.Name = "'PkpThread";
                    Character.XpThread.Priority = ThreadPriority.Normal;
                    Character.XpThread.Start();
                }
ConquerPackets.cs Error Code
Code:
         public byte[] CharInfo(Character Char)
        {
            Length((68 + Char.Name.Length + Char.Spouse.Length));
            Type(1006);
            Long(Char.CharID);
            Long(Char.Model);
            Short(Char.HairStyle);
            Short(0);
            Long(Char.Money);
            Long(Char.CPoints);
            Long(Char.Exp);
            Long(0);
            Long(0);
            Long(0);
            Long(0);
            Short(Char.Str);
            Short(Char.Dex);
            Short(Char.Vit);
            Short(Char.Spi);
            Short(Char.StatPoints);
            Short(Char.CurrentHP);
            Short(Char.CurrentMana);
            Short(Char.PkPoints);
            ByteInt(Char.Level);
            ByteInt(Convert.ToInt32(Char.Class));//Class
            Short(0);
            ByteInt(1);
            ByteInt(2);
            ByteInt(Char.Name.Length);
            for (int x = 0; x < Char.Name.Length; x++)
            {
                ByteInt(Char.Name[x]);
            }
            ByteInt(Char.Spouse.Length);
            for (int x = 0; x < Char.Spouse.Length; x++)
            {
                ByteInt(Char.Spouse[x]);
            }
            return getBytes();
        }
If you don't know how to fix it send me your source and ill edit it to my information.
12/13/2007 01:59 BaZam#187
@leavemealone, sorry if this question was all ready asked i have looking through 12 pages of this post and cannot find my answer XD but when i go to log into localhost/phpmyadmin/ it will not take my user and password and i am 100% positive its the right pass and the user is root obviously... any reason why it would be doing this?
12/13/2007 06:47 Udza#188
BaZam try delete that apache server and install new, but now remember all passwords and logins you choose in apache server!
12/13/2007 06:47 Udza#189
Who know where i can download Conquer client with patch v4348 ?
12/13/2007 10:56 Elmonodara#190
my server is working fine but i can not connect to it, i done what master15 said and that still did not work just keeps saying "can not connect to server, please try again later"
12/14/2007 03:49 master15#191
What is ur CO Version? I use 4338 patch
12/14/2007 04:53 BaZam#192
Quote:
Originally Posted by Udza View Post
BaZam try delete that apache server and install new, but now remember all passwords and logins you choose in apache server!
i know what the password and user is and i have tryed reinstalling
12/14/2007 08:05 Udza#193
BaZam = then i can't help you!

master15 - i use conquer version 4348 but i still get this fucking error when i try to connect to my server! this error --> [Only registered and activated users can see links. Click Here To Register...]
who can help fix this error?

master15 - you have your own private server? if yes, then what server files you use(leavemealone server files or someone else server files)? and what conquer client you use to connect to your private server?
12/14/2007 16:21 Udza#194
wtf ir wrong with \Server\AuthPacketsIncomming\AuthCompletion.cs line-77
Start.Game.SyncSendData(CPacket.CharInfo(ClientDat a.Client.Char), e.Conn);

and

\Server\Network\Packet\ConquerPacket.cs line-254
Length((68 + Char.Name.Length + Char.Spouse.Length));


i have same error like GMs and i don't know what to do! please help someone!
12/14/2007 22:28 master15#195
Check your database and if have all necessary colluns and if is correct, etc
@Udza, Yes I have my private server, Im using Old COE Source, coz de scripts is more easy, and de COFuture have alot bugs like equiping items, guild, etc.