AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugin/Gameplay Ideas and Requests (https://forums.alliedmods.net/forumdisplay.php?f=60)
-   -   [CSGO] Zephstore Credits Update (https://forums.alliedmods.net/showthread.php?t=310785)

Hunter6272 09-19-2018 22:54

[CSGO] Zephstore Credits Update
 
Hello,
Is there a command / way to force zephstore plugin to update all current players credits directly to the database(Mysql). Tried looking for it and I couldn't find one.

LagMyAss 09-20-2018 11:57

Re: [CSGO] Zephstore Credits Update
 
you mean from sqlite to mysql?

Hunter6272 09-20-2018 12:26

Re: [CSGO] Zephstore Credits Update
 
Quote:

Originally Posted by LagMyAss (Post 2616028)
you mean from sqlite to mysql?

What i meant was : Update the current data to database(any) with command rather than waiting for the time intervals at which store updates data to database (need to do it before unloading it)

shanapu 09-20-2018 12:42

Re: [CSGO] Zephstore Credits Update
 
Quote:

Originally Posted by Hunter6272 (Post 2616032)
What i meant was : Update the current data to database(any) with command rather than waiting for the time intervals at which store updates data to database (need to do it before unloading it)

by default, there is no command to force database update.
But when you unload the store plugin all data will be saved (OnPluginEnd)
https://github.com/dvarnai/store-plu...e.sp#L373-L377

Hunter6272 09-20-2018 12:45

Re: [CSGO] Zephstore Credits Update
 
Quote:

Originally Posted by shanapu (Post 2616034)
by default, there is no command to force database update.
But when you unload the store plugin all data will be saved (OnPluginEnd)
https://github.com/dvarnai/store-plu...e.sp#L373-L377

Perfect :D If you could fix the issue on my unload thread it would be great :bee:


All times are GMT -4. The time now is 13:22.

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