PDA

View Full Version : Cần giúp gấp về ODBC trong dataserver



accelan006
17-05-11, 03:14 AM
mình đang test thử ss6 trên xp sp3 nhưng chạy tới data server thì báo lỗi này

đã dùng đủ cách mình biết nhưng po' tay. nay phải cầu cứu các pro viện trợ

đây là lỗi

<b><font color=red>[Chỉ có thành viên mới xem link được. <a href="register.php"> Nhấp đây để đăng ký thành viên......</a>]</font></b>

và đây là log của nó


03:19:25a exec WZ_CreateCharacter_GetVersion
03:19:25a INSERT INTO DefaultClassType (Level, Class, Strength, Dexterity, Vitality, Energy, Life, MaxLife, Mana, MaxMana, MapNumber, MapPosX, MapPosY, DbVersion, LevelUpPoint,Leadership) VALUES (1,0,18,18,15, 30, 60.000000,60.000000,60.000000,60.000000, 0,182,128, 3, 0, 0)
03:19:25a (2) SQLSTATE:23000, Diagnosis:[Microsoft][ODBC SQL Server Driver][SQL Server]Violation of PRIMARY KEY constraint 'PK_DefaultClassType'. Cannot insert duplicate key in object 'DefaultClassType'.
03:19:25a (2) SQLSTATE:01000, Diagnosis:[Microsoft][ODBC SQL Server Driver][SQL Server]The statement has been terminated.
03:19:25a INSERT INTO DefaultClassType (Level, Class, Strength, Dexterity, Vitality, Energy, Life, MaxLife, Mana, MaxMana, MapNumber, MapPosX, MapPosY, DbVersion, LevelUpPoint,Leadership) VALUES (1,16,28,20,25, 10, 110.000000,110.000000,20.000000,20.000000, 0,182,128, 3, 0, 0)
03:19:26a (2) SQLSTATE:23000, Diagnosis:[Microsoft][ODBC SQL Server Driver][SQL Server]Violation of PRIMARY KEY constraint 'PK_DefaultClassType'. Cannot insert duplicate key in object 'DefaultClassType'.
03:19:26a (2) SQLSTATE:01000, Diagnosis:[Microsoft][ODBC SQL Server Driver][SQL Server]The statement has been terminated.
03:19:26a INSERT INTO DefaultClassType (Level, Class, Strength, Dexterity, Vitality, Energy, Life, MaxLife, Mana, MaxMana, MapNumber, MapPosX, MapPosY, DbVersion, LevelUpPoint,Leadership) VALUES (1,32,22,25,20, 15, 80.000000,80.000000,30.000000,30.000000, 0,182,128, 3, 0, 0)
03:19:26a (2) SQLSTATE:23000, Diagnosis:[Microsoft][ODBC SQL Server Driver][SQL Server]Violation of PRIMARY KEY constraint 'PK_DefaultClassType'. Cannot insert duplicate key in object 'DefaultClassType'.
03:19:26a (2) SQLSTATE:01000, Diagnosis:[Microsoft][ODBC SQL Server Driver][SQL Server]The statement has been terminated.
03:19:26a INSERT INTO DefaultClassType (Level, Class, Strength, Dexterity, Vitality, Energy, Life, MaxLife, Mana, MaxMana, MapNumber, MapPosX, MapPosY, DbVersion, LevelUpPoint,Leadership) VALUES (1,48,26,26,26, 26, 110.000000,110.000000,60.000000,60.000000, 0,182,128, 3, 0, 0)
03:19:26a (2) SQLSTATE:23000, Diagnosis:[Microsoft][ODBC SQL Server Driver][SQL Server]Violation of PRIMARY KEY constraint 'PK_DefaultClassType'. Cannot insert duplicate key in object 'DefaultClassType'.
03:19:26a (2) SQLSTATE:01000, Diagnosis:[Microsoft][ODBC SQL Server Driver][SQL Server]The statement has been terminated.
03:19:26a INSERT INTO DefaultClassType (Level, Class, Strength, Dexterity, Vitality, Energy, Life, MaxLife, Mana, MaxMana, MapNumber, MapPosX, MapPosY, DbVersion, LevelUpPoint,Leadership) VALUES (1,64,26,20,20, 15, 90.000000,90.000000,40.000000,40.000000, 0,182,128, 3, 0, 25)
03:19:26a (2) SQLSTATE:23000, Diagnosis:[Microsoft][ODBC SQL Server Driver][SQL Server]Violation of PRIMARY KEY constraint 'PK_DefaultClassType'. Cannot insert duplicate key in object 'DefaultClassType'.
03:19:26a (2) SQLSTATE:01000, Diagnosis:[Microsoft][ODBC SQL Server Driver][SQL Server]The statement has been terminated.
03:19:26a exec WZ_Get_DBID
03:19:26a SELECT ItemCount, Number from GameServerInfo where Number=0
03:19:26a [ANTI-HACKING][IP LIST] IP : [127.0.0.1] Length : 255
03:19:26a [ANTI-HACKING][IP LIST] IP : [192.168.1.33] Length : 255
[IP List Load ] - AllowableIPList.txt file is Loaded
DataServer Run

mặc dù chạy dataserver ss5 thì ok [-O<

mrrainnt
17-05-11, 03:28 AM
Nó Báo Log vậy thôi chứ vẫn chạy Ok bạn à :D !
- Mình chạy ss6 cũng báo thế :D

gaoblackxincha
17-05-11, 06:15 AM
Trước e chạy trên winxp vẫn báo lỗi thế . Bản season 5 đó a . Chạy cả 2 3 tháng nhưng không thấy ảnh hưởng gì . Anh yên tâm !