diff --git a/LUA/TFS_10/other.md/powergamers.lua b/LUA/TFS_10/other.md/powergamers.lua index d340bcb..09bd19e 100644 --- a/LUA/TFS_10/other.md/powergamers.lua +++ b/LUA/TFS_10/other.md/powergamers.lua @@ -6,6 +6,19 @@ function onThink(interval, lastExecution, thinkInterval) return true end -TFS 1.0 (globalevents.xml) - - +-- TFS 1.0 (globalevents.xml) +-- +-- + +-- SQL (remember to remove all -- before executing)-- +--ALTER TABLE `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', + +-- after that execute -- +-- UPDATE `players` SET `exphist_lastexp`=`players`.`experience`