Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Database etl.db gets locked and is not initialized in Campaign mode with g_xpSaver "1" #2568

Open
x0rnn opened this issue May 19, 2024 · 1 comment
Labels
🐞 Bug Something isn't working cat: mod QAGAME Category mod (qagame) cat: other Category other (Lua script, ...) P3: Normal Priority 3
Milestone

Comments

@x0rnn
Copy link
Contributor

x0rnn commented May 19, 2024

First map everything is fine and XP data gets saved for every GUID (I checked), then it somehow gets locked:

G_XPSaver_Write (368): failed: database is locked this happens whenever someone disconnects or when map ends for each connected player.

G_XPSaver_Store: access to non-initialized database this happens whenever someone disconnects or when intermission starts for all connected players.

G_DB_DeInit: sqlite3_close failed: database is locked this happens after the first map ends and repeats throughout the day whenever a map ends.

G_XPSaver_Clear: sqlite3_prepare failed: database is locked this happens each time a new campaign starts again.

G_XPSaver_Load: access to non-initialized database this happens when someone reconnects I think.

No idea why this happens, no other program accesses the database.

@Aranud Aranud added 🐞 Bug Something isn't working P3: Normal Priority 3 cat: mod QAGAME Category mod (qagame) cat: other Category other (Lua script, ...) labels May 20, 2024
@Aranud Aranud added this to the Future milestone May 20, 2024
@x0rnn
Copy link
Contributor Author

x0rnn commented Jul 26, 2024

Also, if you /reconnect during campaign it resets all your XP to 0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 Bug Something isn't working cat: mod QAGAME Category mod (qagame) cat: other Category other (Lua script, ...) P3: Normal Priority 3
Projects
None yet
Development

No branches or pull requests

2 participants