View Single Post
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 07-04-2018 , 13:04   Re: OciXCrom's Rank System [XP|Levels|Ranks]
Reply With Quote #28

Let's add some colors to those logs so we can easily find what we need.

Quote:
L 07/04/2018 - 12:24:29: Log file started (file "cstrike/addons/amxmodx/logs/crxranks.log") (game "cstrike") (amx "1.8.3-dev+5154")
L 07/04/2018 - 12:24:29: Plugin precache started.
L 07/04/2018 - 12:24:30: Plugin init started.
L 07/04/2018 - 12:24:31: TEST [STEAM_0:0:173190571] connected.
L 07/04/2018 - 12:24:33: Loading data for TEST [STEAM_0:0:173190571]
L 07/04/2018 - 12:24:35: Deathrun [BOT] connected.
L 07/04/2018 - 12:24:37: Loading data for Deathrun Sunshine [BOT]
L 07/04/2018 - 12:24:56: Deathrun [BOT] disconnected.
L 07/04/2018 - 12:24:56: Saving data for Deathrun Sunshine [BOT]
L 07/04/2018 - 12:24:56: TEST [STEAM_0:0:173190571] disconnected.
L 07/04/2018 - 12:24:56: Saving data for TEST [STEAM_0:0:173190571]
L 07/04/2018 - 12:24:56: The plugin has ended.
L 07/04/2018 - 12:25:30: Plugin precache started.
L 07/04/2018 - 12:25:30: Plugin init started.
L 07/04/2018 - 12:25:31: TEST [STEAM_0:0:173190571] connected.
L 07/04/2018 - 12:25:33: Loading data for TEST [STEAM_0:0:173190571]
L 07/04/2018 - 12:25:35: Deathrun [BOT] connected.
L 07/04/2018 - 12:25:37: Loading data for Deathrun Sunshine [BOT]
L 07/04/2018 - 12:26:55: Plugin precache started.
L 07/04/2018 - 12:26:55: Plugin init started.
L 07/04/2018 - 12:26:56: TEST [STEAM_0:0:173190571] connected.
L 07/04/2018 - 12:26:58: Loading data for TEST [STEAM_0:0:173190571]
L 07/04/2018 - 12:27:00: Deathrun [BOT] connected.
L 07/04/2018 - 12:27:02: Loading data for Deathrun Sunshine [BOT]
L 07/04/2018 - 12:27:43: Plugin precache started.
L 07/04/2018 - 12:27:43: Plugin init started.
L 07/04/2018 - 12:27:44: TEST [STEAM_0:0:173190571] connected.
L 07/04/2018 - 12:27:45: TEST [STEAM_0:0:173190571] disconnected.
L 07/04/2018 - 12:27:45: Saving data for TEST [STEAM_0:0:173190571]
L 07/04/2018 - 12:27:45: TEST [STEAM_0:0:173190571] connected.
L 07/04/2018 - 12:27:46: Loading data for TEST [STEAM_0:0:173190571]
L 07/04/2018 - 12:27:48: Loading data for TEST [STEAM_0:0:173190571]
You can clearly see that your server isn't behaving properly. The functions that are called when the server starts (the plugin precache and plugin init messages) are printed 4 times in the file, but the function that is supposed to be called when the plugin ends (the plugin has ended message) is called only once. This means that out of 4 map changes, only 1 was successful and the data was saved there. During the other 3 changes, no data was saved because the server didn't change the map properly. As you can see the data wasn't saved in these cases either. You probably have some plugin that is crashing the server when the map ends or causing some other kind of problem. This is not something that I can fix because the problem is not in this plugin.
__________________

Last edited by OciXCrom; 07-04-2018 at 13:05.
OciXCrom is offline
Send a message via Skype™ to OciXCrom