K4ryuu / CS2_SimpleRanks

A CS2 server extension that allows you to create an unlimited number of ranks with customizable experience thresholds and rank colors. Players gain or lose experience during various in-game events, enabling them to advance or regress between ranks. The extension is fully configurable using 'configs.json' and utilizes MySQL to store data.
GNU General Public License v3.0
27 stars 1 forks source link

Error: Error while getting groupped points #3

Closed MinnDe closed 8 months ago

MinnDe commented 8 months ago

First of all, when the server was rebooted, no new table was created in the database. After using the command:

CREATE TABLE IF NOT EXISTSk4ranks(idMEDIUMINT(8) AUTO_INCREMENT PRIMARY KEY,steam_idVARCHAR(32) NOT NULL,rankVARCHAR(64) DEFAULT NULL,pointsINT(11) NOT NULL, UNIQUE (steam_id));

After rebooting the server, the server successfully communicates with the database and data is written. After using the !rank command, the following error occurs:

Screenshot_1

MinnDe commented 8 months ago

After a while the problem simply disappeared, and now the !rank command no longer produces any error.

K4ryuu commented 8 months ago

Greetings, I appreciate your time and feedback. The reported problems has been fixed now in the last patch: https://github.com/K4ryuu/CS2_SimpleRanks/commit/d7f126c629a732ebaadf81d56bdb1fb908fea504

Have a great day! ❤️