|
You last visited: Today at 05:31
Advertisement
[Help]Client
Discussion on [Help]Client within the CO2 Private Server forum part of the Conquer Online 2 category.
03/05/2010, 19:36
|
#1
|
elite*gold: 0
Join Date: Mar 2008
Posts: 555
Received Thanks: 99
|
[Help]Client
when i make a char with the register page it lets me login to create the acc but when i try to relog again i have to recreate the character and it keeps going back to the create the character i checked the Characters folder in the OldCODB and the character has been created but it wont let it log in just keeps making me create the characters
|
|
|
03/05/2010, 22:33
|
#2
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
|
Quote:
Originally Posted by coreymills
when i make a char with the register page it lets me login to create the acc but when i try to relog again i have to recreate the character and it keeps going back to the create the character i checked the Characters folder in the OldCODB and the character has been created but it wont let it log in just keeps making me create the characters
|
Make sure the mysql password is correct?
|
|
|
03/05/2010, 23:03
|
#3
|
elite*gold: 0
Join Date: Dec 2007
Posts: 378
Received Thanks: 163
|
Quote:
Originally Posted by .Arco
Make sure the mysql password is correct?
|
Stock 5165 doesn't even use MYSQL at all, you can actually delete everything except GameIP and the conquer directory in the config file in your OldCODB.
|
|
|
03/05/2010, 23:07
|
#4
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
|
Quote:
Originally Posted by walmartboi
Stock 5165 doesn't even use MYSQL at all, you can actually delete everything except GameIP and the conquer directory in the config file in your OldCODB.
|
No for some reason if the mysql info isn't correct, you can't create characters, try it.
|
|
|
03/06/2010, 02:08
|
#5
|
elite*gold: 0
Join Date: Mar 2008
Posts: 555
Received Thanks: 99
|
nah the mysql info is right
|
|
|
03/06/2010, 12:30
|
#6
|
elite*gold: 20
Join Date: Mar 2006
Posts: 6,125
Received Thanks: 2,518
|
Quote:
Originally Posted by .Arco
No for some reason if the mysql info isn't correct, you can't create characters, try it.
|
I just performed a search of the entire project for MySql and of Root for that matter, the only results were "using MySql.Data.MySqlClient;" in 3 files.
In the standard 5165 source MySql and the information plays no part in anything.
|
|
|
03/06/2010, 16:16
|
#7
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
|
Quote:
Originally Posted by Korvacs
I just performed a search of the entire project for MySql and of Root for that matter, the only results were "using MySql.Data.MySqlClient;" in 3 files.
In the standard 5165 source MySql and the information plays no part in anything.
|
Which is why when my mysql info was wrong I got the same problem he was having hmmm?
|
|
|
03/06/2010, 16:28
|
#8
|
elite*gold: 0
Join Date: Jan 2009
Posts: 1,922
Received Thanks: 491
|
only reason it does that is two reasons...
1. two accounts of the same thing
2. you deleted the account file and kept the chracter file so it thinks that you want to overwrite a character which u can't so its ognna keep asking.. delete the account file and also the character file and then restart. that should fix it if it doesn't u didn't do it right.
|
|
|
03/06/2010, 18:27
|
#9
|
elite*gold: 20
Join Date: Mar 2006
Posts: 6,125
Received Thanks: 2,518
|
Quote:
Originally Posted by .Arco
Which is why when my mysql info was wrong I got the same problem he was having hmmm?
|
What do you want me to say? It simply isnt in the source, do a search for it yourself and see if you find any references to it, you wont.
And if Root isnt in the project then there is no way that having MySQL details incorrect would effect anything, because the server would perform a check to see if the MySQL login matched Root, so it simply has no relevance.
In order to further cement this, here is my config.ini:
Code:
[Database]
GameServerIP=127.0.0.1
ConquerPath=D:\Games\Comatrix5065\
WebServerPort=8080
I have removed the entire section from the config file, and the server works perfectly fine.
|
|
|
03/06/2010, 21:24
|
#10
|
elite*gold: 0
Join Date: Mar 2008
Posts: 555
Received Thanks: 99
|
it doesn't make me create the char over and over now but when i try to login now the client just crashes
this is the register page i'm using
Quote:
<?php
define ("MaxNameLength", 32);
define ("WrongChars", "\r\n"); // Type other Chars, which shouldn't
be in the Names, behind \r\n, but before "
define ("AccountFilesPath", "F:\OldCODB\Users\\");
define ("AccountFilesEnding", ".usr");
?>
<html>
<body><body bgcolor="#000000">
<body text="#FF0000"
<h1><center>DevilzCo</center></h1>
<?php // New Account?
If (IsSet($_GET["account"]["password"])) {
// Variables
$Account = $_GET["account"];
$Password = $_GET["password"];
$AllRight = True;
// Wrong Chars?
For ($I=0; $I<StrLen(WrongChars); $I++) {
If (StrPos($Account, SubStr(WrongChars,$I,1))) {
Echo "<p>Your Name musn't contain the char
\"".SubStr(WrongChars,$I,1)."\"</p>";
$AllRight = False;
}
}
// File Exists?
If (file_exists(AccountFilesPath.$Account.AccountFile sEnding))
{
Echo "<p>This Account already exists!</p>";
$AllRight = False;
}
// All Right?
If ($AllRight) {
// File-Data
$Text .= " $Password";
// Create File
File_Put_Contents
(AccountFilesPath.$Account.AccountFilesEnding, $Text);
// Check File
if(!file_exists(AccountFilesPath.$Account.AccountF ilesEnding)) {
echo "<p>Error!</p>";
}
Echo "<p>This Account is created succesfully!</p>";
}
}
?>
<center>
<form action="" type=post>
<label for="name">Account</label> <input type=text id="name"
name="account" size=20 maxlength=<?php Echo MaxNameLength; ?> /><br>
<label for="name">Password</label> <input type=password id="name"
name="password" size=20 maxlength=<?php Echo MaxNameLength; ?> /><br>
<button type=submit>Register</button>
</form>
<hr />
<h1>Enjoy DevilzCo<br></h1>
<i><small><a href="http://142.163.80.86/index.html" target=blank>Click
Here</a></small></i>
</body
<center>To Go To DevilzCo Website.</center>
</html>
|
|
|
|
03/06/2010, 21:28
|
#11
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
|
Are you using 127.0.0.1 as the ip?
|
|
|
03/06/2010, 22:14
|
#12
|
elite*gold: 0
Join Date: Mar 2008
Posts: 555
Received Thanks: 99
|
no i use my computer ip 192.168.2.11
|
|
|
03/07/2010, 07:22
|
#13
|
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
|
Quote:
Originally Posted by coreymills
no i use my computer ip 192.168.2.11
|
Try using your actual ip/hamachi ip. I see that internal IP's don't really work.
|
|
|
03/07/2010, 21:06
|
#14
|
elite*gold: 0
Join Date: Mar 2008
Posts: 555
Received Thanks: 99
|
nah still doesn't work
|
|
|
Similar Threads
|
[HELP]I have a 5200+ source and client I make char FINE relog Client exit
03/06/2010 - CO2 Private Server - 66 Replies
Hello,
I have made myself an 5200+ it works just about I have the client updated to 5200 And my source updated to 5200+ here is what my problem Is
So I make an account /newacc hello test and I login all fine my CMD is showing fine too so then I make an character that character gets made the CMD shows no error but then when I relog in my CMD sais
Hello has connected to you!
and then I login and get to Logging into Gameserver and the my client just closes but my CMD does not say hello...
|
All times are GMT +2. The time now is 05:31.
|
|