VIP-Core icon indicating copy to clipboard operation
VIP-Core copied to clipboard

v3.0 DEV #24 Исправлены SQL ошибки

Open SSadistic opened this issue 8 years ago • 7 comments

L 12/05/2017 - 22:48:39: Info (map "mg_saw_3_v1") (file "errors_20171205.log") L 12/05/2017 - 22:48:39: [vipsystem/VIP_Core.smx] SQL_Callback_OnClientAuthorized: Unknown column 'uid' in 'where clause'

Just updated the plugin

If I try to add to DB:

L 12/05/2017 - 22:50:29: [vipsystem/VIP_Core.smx] SQL_Callback_OnVIPClientAdded: Unknown column 'uid' in 'field list'

SSadistic avatar Dec 05 '17 20:12 SSadistic

delete your database

R1KO avatar Dec 05 '17 21:12 R1KO

Can I just edit the columns which are bugging?

SSadistic avatar Dec 05 '17 21:12 SSadistic

Yes. in accordance with https://github.com/R1KO/VIP-Core/blob/new-style/addons/sourcemod/scripting/vip/Database.sp#L87-L100

R1KO avatar Dec 05 '17 22:12 R1KO

@SSadistic The problem has disappeared?

R1KO avatar Dec 07 '17 13:12 R1KO

It seems I must delete the DB, since it don't work if you change it and if i try to add a VIP i get "SQL_Callback_OnVIPClientAdded: Duplicate entry '87415535-1' for key 'user_id'"

So, will you make anymore changes in the name of the databases? If no, i'll delete it.

SSadistic avatar Dec 08 '17 09:12 SSadistic

@SSadistic 90% certainty that the database will no longer change

R1KO avatar Dec 08 '17 10:12 R1KO

Okay, mark it as fixed than, the list is also fixed.

SSadistic avatar Dec 08 '17 11:12 SSadistic