Okay guys I really tired to fix it before i posted but i have no clue what to do now i would appricate your help and give you a thanks after . but there is what i tryed and it failed i no i musta put it in the wrong area but here.
2 mins later
Okay didn't work. Im tlking about how u get rb right. And then u get attibute. And then u put them on strengh and stuff. But it never saves . any ideas? why
and then here's an error i get.
Quote:
DiamondCO Loaded 1026 NPCs.
Loaded 37 Mobs.
DiamondCO Loaded 11147 items.
DiamondCO Loaded 172 Mob Spawns.
Spawned 3471 mobs.
DiamondCO Loading Plus info done.
Successful login for account bangwhore
Successful login for account mjolnid
MySql.Data.MySqlClient.MySqlException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '','StatPoints' = 380 WHERE `Account` = 'bangwhore'' at line 1
at MySql.Data.MySqlClient.PacketReader.CheckForError( )
at MySql.Data.MySqlClient.PacketReader.ReadHeader()
at MySql.Data.MySqlClient.PacketReader.OpenPacket()
at MySql.Data.MySqlClient.NativeDriver.ReadResult(Int 64& affectedRows, Int64& lastInsertId)
at MySql.Data.MySqlClient.CommandResult.ReadNextResul t(Boolean isFirst)
at MySql.Data.MySqlClient.CommandResult..ctor(Driver d, Boolean isBinary)
at MySql.Data.MySqlClient.NativeDriver.SendQuery(Byte[] bytes, Int32 length, Boolean consume)
at MySql.Data.MySqlClient.MySqlCommand.GetNextResultS et(MySqlDataReader reader)
at MySql.Data.MySqlClient.MySqlCommand.Consume()
at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuer y()
at COServer_Project.DataBase.SaveChar(Character Charr) in C:\Documents and Settings\Owner\Desktop\ShadowCO\COServerProject\Da taBase.cs:line 1229
MySql.Data.MySqlClient.MySqlException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '','StatPoints' = 0 WHERE `Account` = 'mjolnid'' at line 1
at MySql.Data.MySqlClient.PacketReader.CheckForError( )
at MySql.Data.MySqlClient.PacketReader.ReadHeader()
at MySql.Data.MySqlClient.PacketReader.OpenPacket()
at MySql.Data.MySqlClient.NativeDriver.ReadResult(Int 64& affectedRows, Int64& lastInsertId)
at MySql.Data.MySqlClient.CommandResult.ReadNextResul t(Boolean isFirst)
at MySql.Data.MySqlClient.CommandResult..ctor(Driver d, Boolean isBinary)
at MySql.Data.MySqlClient.NativeDriver.SendQuery(Byte[] bytes, Int32 length, Boolean consume)
at MySql.Data.MySqlClient.MySqlCommand.GetNextResultS et(MySqlDataReader reader)
at MySql.Data.MySqlClient.MySqlCommand.Consume()
at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuer y()
at COServer_Project.DataBase.SaveChar(Character Charr) in C:\Documents and Settings\Owner\Desktop\ShadowCO\COServerProject\Da taBase.cs:line 1229
MySql.Data.MySqlClient.MySqlException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near
if you're talking about like:
You have 10 AttributePoints / StatP
You set them to str/agi/vit/spi, and relog, and they just changes back to what it was before? If so I know how to fix it,ill help u with that later.
if you're talking about like:
You have 10 AttributePoints / StatP
You set them to str/agi/vit/spi, and relog, and they just changes back to what it was before? If so I know how to fix it,ill help u with that later.
Yes that is exactly what it is. And the 10 attibute just got back to the attibute spot and off str and stuff
[Help] Database Wont Save Password 10/02/2008 - CO2 Private Server - 3 Replies help i got a problem my database wont save password.... so even if they create an acc.... they can log in with any random password at anytime? any way to solve this problem?