AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=58)
-   -   How to fix unable to open database file? (https://forums.alliedmods.net/showthread.php?t=339627)

erky 09-22-2022 10:08

How to fix unable to open database file?
 
1 Attachment(s)
Hi.
I have a CS:GO server and everything worked fine.
The server has !ws and !gloves plugin.
I had an idea. I wanted to edit the data file so I can have more kills on my stattrack. I already had an SQL editor on my pc, so I went into sourcemod > data > sqlite and edited sourcemod-local.sq3. I added more kills to stattrack.
Now I started the server and I can join it, but all my !ws skins are gone, when I try to set a skin for my weapon it doesn't work and on the console I see this:

[CLIENTPREFS] Attempting to reconnect to database...
[CLIENTPREFS] unable to open database file

I know that it's my fault and I should not have edited the data file, but is there a way to fix it?
Thanks in advance.

Bacardi 09-23-2022 07:47

Re: How to fix unable to open database file?
 
Next time create backup of that file before editing.


All times are GMT -4. The time now is 16:06.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.