Raised This Month: $32 Target: $400
 8% 

How to fix unable to open database file?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
erky
New Member
Join Date: Sep 2022
Old 09-22-2022 , 10:08   How to fix unable to open database file?
Reply With Quote #1

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.
Attached Thumbnails
Click image for larger version

Name:	obraz_2022-09-22_160900247.png
Views:	49
Size:	3.5 KB
ID:	197038  

Last edited by erky; 09-22-2022 at 10:22. Reason: Another error
erky is offline
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 09-23-2022 , 07:47   Re: How to fix unable to open database file?
Reply With Quote #2

Next time create backup of that file before editing.
__________________
Do not Private Message @me
Bacardi is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:24.


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