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

!czone settings cant be saved #1155

Closed
SKYPIXEL45 opened this issue Jul 18, 2022 · 3 comments
Closed

!czone settings cant be saved #1155

SKYPIXEL45 opened this issue Jul 18, 2022 · 3 comments

Comments

@SKYPIXEL45
Copy link

I use !czone to edit the zone, it will return to the default settings when I rejoin the server. How to enable my server to save !czone settings?(the "!hud" settings can be saved normally)

@Nairdaa
Copy link
Contributor

Nairdaa commented Jul 19, 2022

Because the hud settings are by default saved by SM in a local file, in clientprefs, while the zones are stored in a database. Set your database up properly. Either sqlite or mysql.

@rtldg
Copy link
Collaborator

rtldg commented Jul 19, 2022

The czone settings are stored in clientprefs/cookies too so they're not doing anything wrong. I think the sqlite clientprefs db now hates the non-unicode-compatible cookie string I did. Haven't been able to test more yet

@rtldg
Copy link
Collaborator

rtldg commented Jul 20, 2022

This should be fixed in 1e7459a
I'll make a release later today that includes it

@rtldg rtldg closed this as completed Jul 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants