- Joined
- Jan 11, 2008
- Messages
- 34
- Reaction score
- 0
error freezes the login server help
linea 1266 database.cs
if (DSet.Tables["Status"].Rows.Count > 0)
{
DataRow DR = DSet.Tables["Status"].Rows[0];
Return = (uint)DR["Status"];
}
return Return;
}
linea 7544 Client.cs
Status = DataBase.GetStatus(Account);
linea 1508 database.cs
if (DSet != null && DSet.Tables["Account"].Rows.Count > 0)
{
DataRow DR = DSet.Tables["Account"].Rows[0];
string Pass = (string)DR["Password"];
if (Pass == Password || Pass == "")
{
if (Pass == "")
{
MySqlCommand Command = newMySqlCommand("UPDATE `Accounts` SET `Password` = '" + Password + "' WHERE `AccountID` = '" + UserName + "'", Connection);
Command.ExecuteNonQuery();
}
help plisss to the solution plis
linea 1266 database.cs
if (DSet.Tables["Status"].Rows.Count > 0)
{
DataRow DR = DSet.Tables["Status"].Rows[0];
Return = (uint)DR["Status"];
}
return Return;
}
linea 7544 Client.cs
Status = DataBase.GetStatus(Account);
linea 1508 database.cs
if (DSet != null && DSet.Tables["Account"].Rows.Count > 0)
{
DataRow DR = DSet.Tables["Account"].Rows[0];
string Pass = (string)DR["Password"];
if (Pass == Password || Pass == "")
{
if (Pass == "")
{
MySqlCommand Command = newMySqlCommand("UPDATE `Accounts` SET `Password` = '" + Password + "' WHERE `AccountID` = '" + UserName + "'", Connection);
Command.ExecuteNonQuery();
}
help plisss to the solution plis