Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Home page: https://github.com/FPtje/DarkRP/
I use the method Player:SetPData() [wiki.garrysmod.com], which means that saved pockets are stored in the server's sv.db (which is an SQLite database).
The problems you mention seem to be something related to some bad SQL requests from your addons, or worse (backdoor, etc.).
I do not use my own table in the database (which is not really smart), so any kind of cleanup requires some work to make. I have not done a cleanup feature, so that's for sure the full cleanup does not come from my code. Nevertheless, if your pocket is empty when you disconnect then your saved pocket will actually be removed from database rather than saving an empty (and useless) pocket list.
I'm assuming it has to do with the assorted random addons I've been incorporating into my server, (durgz mod, alchemy mod, vapes, etc.) but I can't seem to pinpoint which one is the cause. I'm sure it's one of my addons, but I was just wondering if you had any ideas as to why this would be happening.
Basically you can remove the filter. The problem is that you have several fields that do not contain something that can be stored (especially entities). You need to find a way to make them storeable in database.
I filtered saved data to avoid storing a big bunch of useless information.
And obviously that does not work well for every entity type.
A big remake is needed to restore every field of entities.