diff --git a/Lua/TFS_10/globalevent powergamers/powergamers.lua b/Lua/TFS_10/globalevent powergamers/powergamers.lua index 2c84fa2..3a8c9a0 100644 --- a/Lua/TFS_10/globalevent powergamers/powergamers.lua +++ b/Lua/TFS_10/globalevent powergamers/powergamers.lua @@ -25,23 +25,23 @@ end -- SQL Query to execute: -- --[[ -ALTER TABLE `znote_players` ADD `exphist_lastexp` BIGINT(255) NOT NULL DEFAULT '0', -ADD `exphist1` BIGINT(255) NOT NULL DEFAULT '0', -ADD `exphist2` BIGINT(255) NOT NULL DEFAULT '0', -ADD `exphist3` BIGINT(255) NOT NULL DEFAULT '0', -ADD `exphist4` BIGINT(255) NOT NULL DEFAULT '0', -ADD `exphist5` BIGINT(255) NOT NULL DEFAULT '0', -ADD `exphist6` BIGINT(255) NOT NULL DEFAULT '0', -ADD `exphist7` BIGINT(255) NOT NULL DEFAULT '0', -ADD `onlinetimetoday` BIGINT(20) NOT NULL DEFAULT '0', -ADD `onlinetime1` BIGINT(20) NOT NULL DEFAULT '0', -ADD `onlinetime2` BIGINT(20) NOT NULL DEFAULT '0', -ADD `onlinetime3` BIGINT(20) NOT NULL DEFAULT '0', -ADD `onlinetime4` BIGINT(20) NOT NULL DEFAULT '0', -ADD `onlinetime5` BIGINT(20) NOT NULL DEFAULT '0', -ADD `onlinetime6` BIGINT(20) NOT NULL DEFAULT '0', -ADD `onlinetime7` BIGINT(20) NOT NULL DEFAULT '0', -ADD `onlinetimeall` BIGINT(20) NOT NULL DEFAULT '0'; +ALTER TABLE `znote_players` ADD `exphist_lastexp` BIGINT UNSIGNED NOT NULL DEFAULT '0', +ADD `exphist1` BIGINT UNSIGNED NOT NULL DEFAULT '0', +ADD `exphist2` BIGINT UNSIGNED NOT NULL DEFAULT '0', +ADD `exphist3` BIGINT UNSIGNED NOT NULL DEFAULT '0', +ADD `exphist4` BIGINT UNSIGNED NOT NULL DEFAULT '0', +ADD `exphist5` BIGINT UNSIGNED NOT NULL DEFAULT '0', +ADD `exphist6` BIGINT UNSIGNED NOT NULL DEFAULT '0', +ADD `exphist7` BIGINT UNSIGNED NOT NULL DEFAULT '0', +ADD `onlinetimetoday` BIGINT NOT NULL DEFAULT '0', +ADD `onlinetime1` BIGINT NOT NULL DEFAULT '0', +ADD `onlinetime2` BIGINT NOT NULL DEFAULT '0', +ADD `onlinetime3` BIGINT NOT NULL DEFAULT '0', +ADD `onlinetime4` BIGINT NOT NULL DEFAULT '0', +ADD `onlinetime5` BIGINT NOT NULL DEFAULT '0', +ADD `onlinetime6` BIGINT NOT NULL DEFAULT '0', +ADD `onlinetime7` BIGINT NOT NULL DEFAULT '0', +ADD `onlinetimeall` BIGINT NOT NULL DEFAULT '0'; ]]-- -- after that execute: -- diff --git a/Lua/TFS_10/revscriptsys/powergamers.lua b/Lua/TFS_10/revscriptsys/powergamers.lua index ae5044e..289e9a4 100644 --- a/Lua/TFS_10/revscriptsys/powergamers.lua +++ b/Lua/TFS_10/revscriptsys/powergamers.lua @@ -1,4 +1,3 @@ - -- getEternalStorage and setEternalStorage -- can be added to data/global.lua if you want to use eternal storage for another purpose than this. -- Regular TFS global storage values get reset every time server reboots. This does not. @@ -26,23 +25,23 @@ end -- SQL Query to execute: -- --[[ -ALTER TABLE `znote_players` ADD `exphist_lastexp` BIGINT(255) NOT NULL DEFAULT '0', -ADD `exphist1` BIGINT(255) NOT NULL DEFAULT '0', -ADD `exphist2` BIGINT(255) NOT NULL DEFAULT '0', -ADD `exphist3` BIGINT(255) NOT NULL DEFAULT '0', -ADD `exphist4` BIGINT(255) NOT NULL DEFAULT '0', -ADD `exphist5` BIGINT(255) NOT NULL DEFAULT '0', -ADD `exphist6` BIGINT(255) NOT NULL DEFAULT '0', -ADD `exphist7` BIGINT(255) NOT NULL DEFAULT '0', -ADD `onlinetimetoday` BIGINT(20) NOT NULL DEFAULT '0', -ADD `onlinetime1` BIGINT(20) NOT NULL DEFAULT '0', -ADD `onlinetime2` BIGINT(20) NOT NULL DEFAULT '0', -ADD `onlinetime3` BIGINT(20) NOT NULL DEFAULT '0', -ADD `onlinetime4` BIGINT(20) NOT NULL DEFAULT '0', -ADD `onlinetime5` BIGINT(20) NOT NULL DEFAULT '0', -ADD `onlinetime6` BIGINT(20) NOT NULL DEFAULT '0', -ADD `onlinetime7` BIGINT(20) NOT NULL DEFAULT '0', -ADD `onlinetimeall` BIGINT(20) NOT NULL DEFAULT '0'; +ALTER TABLE `znote_players` ADD `exphist_lastexp` BIGINT UNSIGNED NOT NULL DEFAULT '0', +ADD `exphist1` BIGINT UNSIGNED NOT NULL DEFAULT '0', +ADD `exphist2` BIGINT UNSIGNED NOT NULL DEFAULT '0', +ADD `exphist3` BIGINT UNSIGNED NOT NULL DEFAULT '0', +ADD `exphist4` BIGINT UNSIGNED NOT NULL DEFAULT '0', +ADD `exphist5` BIGINT UNSIGNED NOT NULL DEFAULT '0', +ADD `exphist6` BIGINT UNSIGNED NOT NULL DEFAULT '0', +ADD `exphist7` BIGINT UNSIGNED NOT NULL DEFAULT '0', +ADD `onlinetimetoday` BIGINT NOT NULL DEFAULT '0', +ADD `onlinetime1` BIGINT NOT NULL DEFAULT '0', +ADD `onlinetime2` BIGINT NOT NULL DEFAULT '0', +ADD `onlinetime3` BIGINT NOT NULL DEFAULT '0', +ADD `onlinetime4` BIGINT NOT NULL DEFAULT '0', +ADD `onlinetime5` BIGINT NOT NULL DEFAULT '0', +ADD `onlinetime6` BIGINT NOT NULL DEFAULT '0', +ADD `onlinetime7` BIGINT NOT NULL DEFAULT '0', +ADD `onlinetimeall` BIGINT NOT NULL DEFAULT '0'; ]]-- -- after that execute: --