Records
Im having a hard time finding the date for records to edit or delete
It's stored on local server sqlite, basically the sv.db file.
I'm confused, can you elaborate your question?
nvm i got the sqlite done with what i do i just drop the file on the console
i see this / SQLite version 3.34.0 2020-12-01 16:14:00 Enter ".help" for usage hints. Connected to a transient in-memory database. Use ".open FILENAME" to reopen on a persistent database. sqlite> .help .archive ... Manage SQL archives
that mean i did it right
what commands i use to make it work and edit the sd.db
I like to use https://sqlitebrowser.org/
- Stop your server (so that no new records can be created while you make changes)
- Download the
sv.dbfile from the server'sgarrysmoddirectory. Save a backup of the originalsv.dbfile somewhere! - Open
sv.dbusing SQLite Browser. Go to the Browse Data tab. - Select the
deathrun_recordstable. - Find the rows you want to edit, and then edit them. The columns are
sid64(the player's 64-bit Steam ID),mapname(the name of the map), andseconds(time taken to complete the map, in seconds). - Click Write changes.
- Upload the
sv.dbfile back into the server. - Start the server again 👍