Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Game Server/addons/sourcemod/scripting/include/lvl_ranks.inc
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
#endif
#define _levelsranks_included_

#define PLUGIN_VERSION "v3.1.7 Beta 1"
#define PLUGIN_INT_VERSION 03010701
#define PLUGIN_VERSION "v3.1.7 Beta 2"
#define PLUGIN_INT_VERSION 03010702

enum LR_HookType
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,9 @@ void ConnectToDatabase(Database hDatabase, const char[] sError, any NULL)

FormatEx(sQuery, sizeof(sQuery), "ALTER TABLE `%s` MODIFY COLUMN `name` varchar(%i) CHARACTER SET '%s' COLLATE '%s%s' NOT NULL default '' AFTER `steam`;", g_sTableName, MAX_NAME_LENGTH, sCharset, sCharset, sCharsetType);
hTransaction.AddQuery(sQuery);

FormatEx(sQuery, sizeof(sQuery), "ALTER TABLE `%s` MODIFY COLUMN `steam` varchar(%i) CHARACTER SET '%s' COLLATE '%s%s' NOT NULL default '';", g_sTableName, 22, sCharset, sCharset, sCharsetType);
hTransaction.AddQuery(sQuery);
}

hDatabase.Execute(hTransaction, SQL_TransactionCallback, SQL_TransactionFailure, LR_ConnectToDB, DBPrio_High);
Expand Down
4 changes: 2 additions & 2 deletions Game Server/addons/sourcemod/scripting/levelsranks.sp
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
#define decl static
#endif

#if !defined PLUGIN_INT_VERSION || PLUGIN_INT_VERSION != 03010701
#error This plugin can only compile on lvl_ranks.inc v3.1.7 Beta 1.
#if !defined PLUGIN_INT_VERSION || PLUGIN_INT_VERSION != 03010702
#error This plugin can only compile on lvl_ranks.inc v3.1.7 Beta 2.
#endif

#define PLUGIN_NAME "Levels Ranks"
Expand Down