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

01/26/2008 21:31 ChingChong23#436
Quote:
Originally Posted by damianpesta View Post
OMG ITs not a client problem ... told u all r u connecting to port 9960 ? in ur server.dat u should have port 9960!make sure ur client is 4348! then go version.dat change it to 9999 VOILA!

BTW if u think thats client problem there u go [Only registered and activated users can see links. Click Here To Register...] <-- use this one if u want 2 n do same things as in guide
Dude i fkin got the Qonquer client, and set port to 9960. I can tell its getting information thru though all it says is

Auth packet: Auth request

Im no newbie when it comes to setting things up, but this simply is not working, ive tried several clients.

Can you guys who CAN get on please leave ur Windows version, service pack, which COserver.exe you ran (e.g the x86 or debug or whatever.)

God this is killing me i just wanna play!
01/27/2008 01:03 daniel_3896#437
yeah i am use Qonquer client too and port 9960 and i am still freeze at logging into the server :S
01/27/2008 16:27 IRCFREAK#438
Fuckin Noobs download right client patch it and it works problem free
01/27/2008 20:48 damianpesta#439
Yea im quess ircrfreak is right both of u r noobs? if u cant resolve the prob :)and if u wanna play go hyrbridco cause after u do this guide it wont work no npcs no monsters nothing no proof so if u want it to play leave it its just 4 skillz n fun it needs time !
01/28/2008 04:55 isp#440
Quote:
Originally Posted by ChingChong23 View Post
EXACTLY the same F**in problem as im having. I have downloaded 3 clients now, pathched them all differently etc and still no progress. This is really annoying me cause i wanna flex my C# skills. Please just upload ur client leavemealone so we can see if its a client problem, or something else.
Yep... I've even tried the Qonquer client. I've had a friend try too. Same result.

As for line 317.. it's been replaced with the suggested code further up in this thread. I tried it with the original code and with the suggested change.
01/28/2008 05:34 taylor2846#441
[Only registered and activated users can see links. Click Here To Register...]
01/30/2008 09:52 IRCFREAK#442
I dont say more anything.
That noobies cant read Guide.
Dont help them more all questions allmost answered
02/01/2008 02:33 manofwarr5#443
where is the webrowser xDD lol
02/01/2008 14:25 leavemealone#444
Everyone stop acting like 2 year olds, if you follow the guide and use the right patch its all going to work, else check guide again because you obviously can't read.
02/03/2008 23:00 Cougar#445
Okay, I got it working finally, through trial-and-error... Turned out I needed to set the port to 9958 both in the server database and Server.dat, and then apply the fix suggested by Walos on page 40 of this thread. Thanks to Future and Korvacs for releasing this!! Now to figure out how to put in monsters and stuff...
02/04/2008 02:19 Korvacs#446
Quote:
Originally Posted by Korvacs View Post
Quote:
Originally Posted by damianpesta View Post
'Map' conflicts with the declaration 'COServer.Map' GOD DAMN WTF?? WHAT to do :( please help me ... im stuck now and i cant keep going :(:(
read the thread, the fix has been posted more times than i care to remember

Also for all people receiving the 317/318 error:

Change your database 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
how many times must i repost this?

read

the

god

damn

thread
02/07/2008 21:22 luikkis#447
AWW!!...im stuck on the 5th part..maybe cause my english is not 100% perfect..well umm im lost..i dont know how to upload the database.cs..and where
02/08/2008 03:35 DerErsteReich#448
I've been messing with creating this server for days now, and read that elite pvpers post of 46 pages long over and over. Research and research and re-reading finally got me the server enabled, but now I am stuck on one part. Connecting users through the internet.

I'm intending the private server to be for me and a few friends who will participate via lan and internet.

I can connect to the server by setting my server ip through phpmyadmin to my local ip 192.168.*.* and my server.dat the same. My firewall is turned off, and even then I added the computer to accept the ports 9958 and 9960. Server is set for 9958 in phpma and 9960 in server.dat. I run the bin>x86>debug> .exe server starts and in the ip used it says the 192.**** address. I go through c2.0 and I connect just fine.

Now if I'm understanding your post(s) I need to set the phpmyadmin server to my WAN ip which is 71.252.***.***. As well as server.dat. This gives me the server maint/congestion error when trying to connect. As well as this starting the server through debug still tells me its running from the 192.168 ip.

So in order to try and make this work more I went back into the firewall advanced settings and under 1394 connection and local settings I enabled the WAN ip address through ports 9958 and 9960 to be accessed by users from the internet. I could be wrong here, I set the external port and internal port to both 9958 or 9960, (I'm not familiar with this area).

I'm still reading on how else to fix this problem, but if anyone could speed up the process it would be greatly appreciated.

*edit* On top of this, I've tried rebuilding the project file after every change, as well as when I am trying to connect through the WAN ip the game server doesn't record any communication. *When using the computer to connect to mine through the internet, its firewalls is off, added ports 9958/9960 server.dat my wan ip and port 9960 etc etc.
Thanks.

*copied from cofusion forum for wider public viewing.*
02/11/2008 06:58 demonkk3#449
wad advantage i get to play this new server by u?like more exp or droprates or monster?
02/15/2008 06:21 leavemealone#450
This server has been released for everyone to make there own modifications, the advantage is your can do basically what ever you want to your account/server by modifying the source.