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

05/06/2008 00:35 Griever125#826
Clearly your missing the point, I originally took your advice... tried the qonquer client... WHICH as i said was version 4351 (completely different to what future said we had to have, see what im getting at here?) ... i tried with my lan ip, my external ip and i even tried with a dns name, got nothing except with my lan ip, and as i stated the error before i also quoted future saying it was due to either an invalid version or incorrect username/pass, which again i said im 100% certain they are correct, i've made my account 2/1 as stated in the guide, i now have OC client 4348, (which might i add is the client he said we had to have and the one i spent hours searching for ¬.¬) i bypassed the autopatch by using the conquer.exe and adding blacknull to the target since making the version.dat 9999 and using the normal play.exe didn't work, now when i try to log in it just freezes... need me to repeat anything else?
05/06/2008 01:18 WHITELIONX#827
Quote:
Originally Posted by Griever125 View Post
Clearly your missing the point, I originally took your advice... tried the qonquer client... WHICH as i said was version 4351 (completely different to what future said we had to have, see what im getting at here?) ... i tried with my lan ip, my external ip and i even tried with a dns name, got nothing except with my lan ip, and as i stated the error before i also quoted future saying it was due to either an invalid version or incorrect username/pass, which again i said im 100% certain they are correct, i've made my account 2/1 as stated in the guide, i now have OC client 4348, (which might i add is the client he said we had to have and the one i spent hours searching for ¬.¬) i bypassed the autopatch by using the conquer.exe and adding blacknull to the target since making the version.dat 9999 and using the normal play.exe didn't work, now when i try to log in it just freezes... need me to repeat anything else?
dont update the Qonquer client!!!! ive opened 4 different servers already with non updated client

Db name is the name that you import to mysql.


Username and password are phpmyadmin/mysql passwords these all work just takes time and patience to figure what you did wrong believe me i spent 2 days working it out and im not a programmer etc just followed instructions and went through them a billion times until i understood what i was doing wrong :p hope that helps :) and btw its your INTERNAL ip you need

if your on winxp go windows startbar then to run then typ cmd and hit ok should open a command box then type either config or config/all then hit enter shows your internal ip address use that i dont use the word local host i use my internal ip address

that seems to be where everybody goes wrong ;) im use walmartboi`s co2.1 source ive also given a good guide on how to get it working cause i know where i kept failing and it seems everybody else fails the same place :p usually the configuration is the problem
05/06/2008 09:06 Kiyono#828
well if you wanted the 4348 you could have asked it cause i have the 4343 installer
05/07/2008 12:40 IRCFREAK#829
Download this dont Patch it works without patch it is 4343
[Only registered and activated users can see links. Click Here To Register...]
05/07/2008 13:32 Griever125#830
ummm i did ask ¬.¬ twice...

@ white, I know internal ip would be for lan users or myself, which is what im doing atm, external would be for open use via the internet which is what i'll be doing once i know its working...

@ Ircfreak - thanks freak i'll give it a shot now.

@ Ircfreak - didnt work, gave me the same error
Auth Packet: Auth Request
System.NullReferenceException: Object reference not set to an instance of an object.
At COServer.Start.Game_FirstDataArrived(Object sender, DataArgs e) i C:\Docu
ments and Settings\------------------\Desktop\CoFuture_Release\Server\Start.c
s:line 317
05/07/2008 17:14 WHITELIONX#831
317 problem is configuration of start.cs file. If using phpmyadmin username should be root and password you chose for mysql/phpmyadmin and database name should be i believe conquer_server

All small letters then build it then start without debugging i had 317 316 and another cant remember what it was now but was config probs

the part where you have to hit ctrl+g then go to line 39 i think it is make sure they correspond to what is in your database

if your database isnt conquer_server then change it in start.cs to what it says in database sounds stupid but that may be the problem because there is conquer Conquer and also conquer_server files i always always build it then start without debugging
05/07/2008 22:16 Griever125#832
"317 problem is configuration of start.cs file. If using phpmyadmin username should be root and password you chose for mysql/phpmyadmin and database name should be i believe conquer_server"

@ Whitelion i already know that much... i've said before i've checked all of that...
05/09/2008 07:23 Korvacs#833
Quote:
Originally Posted by Griever125 View Post
"317 problem is configuration of start.cs file. If using phpmyadmin username should be root and password you chose for mysql/phpmyadmin and database name should be i believe conquer_server"

@ Whitelion i already know that much... i've said before i've checked all of that...
the fix for that has been posted many times, read the entire thread and youll find it
05/09/2008 19:32 IRCFREAK#834
The client that i posted works for me so it must for you too.
if u cant run this Source read first Post there is written how to Setups.
All members that double post are noobs
05/09/2008 23:47 Griever125#835
@ Korvacs - First question, are you Korv from diamond server? a while back, secondly, This thread consists of 84 pages... i've gone through about 30 of them before, It's ridiculous to have to read through that much when someone could just simply say "try this" instead ¬.¬ also keep in mind the sooner the problem is solved, the sooner i can shut up about the problem ...besides i've followed your guide exactly, Changed everything necessary in the DB personally not a fan of PHP so i've been using SQLyog instead (not that it makes a difference) also changed the db.cs and the start rebuilt restarted made sure to change the version.dat file to 9999 which using the play.exe STILL brings up the autopatcher , fails then gives me the options to retry manual or exil... no bypass function. so instead i've been using the conquer.exe with a blacknul function.

tried the Qo client, i've downloaded 4343 from multiple places and used patches from different places, i've tried each patch individually on each downloaded client.

DB set up fine proj file set up fine and built fine, version.dat fine, SQL db set up fine.

@Freak - Yeah... been there done that.... several times... oh and All members that call all members that double post are noobs, are noobs... well done, Pointless comments shouldn't be made, keep em in your head... "The client that i posted works for me so it must for you too." no it clearly mustn't, it should, but doesnt...
05/10/2008 13:04 gsl_one#836
make a guide on video would be easier thanks
05/10/2008 15:09 carbin2k4#837
how would i add a monster to the game like a pheasant?
05/10/2008 18:32 kenchiz14#838
can someone help me on this im having troble
05/11/2008 22:35 IRCFREAK#839
@carbin2k4: You must send Right Packets and nobody wants help me with this.
@kenchiz14: No we cant read the Posts here i think 99% allready answered.
05/12/2008 13:36 Korvacs#840
Quote:
Originally Posted by Griever125 View Post
@ Korvacs - First question, are you Korv from diamond server? a while back, secondly, This thread consists of 84 pages... i've gone through about 30 of them before, It's ridiculous to have to read through that much when someone could just simply say "try this" instead ¬.¬ also keep in mind the sooner the problem is solved, the sooner i can shut up about the problem ...besides i've followed your guide exactly, Changed everything necessary in the DB personally not a fan of PHP so i've been using SQLyog instead (not that it makes a difference) also changed the db.cs and the start rebuilt restarted made sure to change the version.dat file to 9999 which using the play.exe STILL brings up the autopatcher , fails then gives me the options to retry manual or exil... no bypass function. so instead i've been using the conquer.exe with a blacknul function.

tried the Qo client, i've downloaded 4343 from multiple places and used patches from different places, i've tried each patch individually on each downloaded client.

DB set up fine proj file set up fine and built fine, version.dat fine, SQL db set up fine.

@Freak - Yeah... been there done that.... several times... oh and All members that call all members that double post are noobs, are noobs... well done, Pointless comments shouldn't be made, keep em in your head... "The client that i posted works for me so it must for you too." no it clearly mustn't, it should, but doesnt...
Yes i am korv from diamond,

secondly, i never authorised the release of this source, as such it not my guide :P

thirdly, since you cant find it, i will 1 sec.........

Quote:
Originally Posted by Korvacs View Post
Also for all people receiving the 317/318 error:

Change your account type from 0 to 1, a noob error on mine and futures part,

Quote:
Originally Posted by Walos
Ok if you get try to log in and get an error similar to this
Code:
System.NullReferenceException: Object reference not set to an instance of an object.
   at COServer.Start.Game_FirstDataArrived(Object sender, DataArgs e) in CoFuture_ReleaseServerStart.cs:line 317
which should be one of these 2 lines
Code:
                COClient Cli = ((COServer.AuthServerPackets.AuthRequest.AuthBinder)GameClients[e.Conn]).Client;
                string User = Cli.Account + ": " + Cli.Char.Name;
and get the Error: Connection with Server is interupted. Please re-login. on your client
make sure in your account table auth is set to 1
eg
Code:
AccountID    Password    Type   Auth     Address
NewChar                    0      1       NULL
Also make sure tha the password field is blank

Changing the Auth to 1 and having a blank password try to log in again and now you should have the create char screen on the client

If you get
Code:
System.NullReferenceException: Object reference not set to an instance of an object.
   at COServer.Start.Game_FirstDataArrived(Object sender, DataArgs e) in CoFuture_ReleaseServerStart.cs:line 317
and get to the create char screen of the client then what i think is happening is that it is connecting you to the game server without first making sure that there is a row in the character table (CharID) with the same accountid as in the account table. CharID == AccountID.... This will raise the exception but allow you to create the char.

After you successfully created the char you should be able to login and these error will not appear for that account/char

I hope this helps the thing to make sure is that Auth is 1 and password is blank
Cheers
Walos

I Have had a bit of a look through this again and if you change this in start.cs
Code:
     
string User = Cli.Account + ": " + Cli.Char.Name;
ClientList.Items.Add(User);
to
Code:
if (Cli.Status != Mode.CreateCharacter)
{
   string User = Cli.Account + ": " + Cli.Char.Name;
   ClientList.Items.Add(User);
}
Assumming that Auth is set right in the account table you shouldnt see this error again.
Its caused when you are creating a new Character as Cli.Char does not exist yet
Cheers
Walos
And that should be that, full credit to Walos for finding the source of the error and correcting it.
Page 40 :rolleyes: