diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-06-16 15:04:43 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-06-16 15:04:43 -0300 |
commit | 3267d580200fecaf89c51bc4fa4614e5dc435045 (patch) | |
tree | 4a4c407f6f604f2e033d3cb34a20625e8d05ceb5 | |
parent | ef81f7a84e17a2ae8b295c94bec1a2799bc5ff80 (diff) | |
download | serverdata-3267d580200fecaf89c51bc4fa4614e5dc435045.tar.gz serverdata-3267d580200fecaf89c51bc4fa4614e5dc435045.tar.bz2 serverdata-3267d580200fecaf89c51bc4fa4614e5dc435045.tar.xz serverdata-3267d580200fecaf89c51bc4fa4614e5dc435045.zip |
Revert patch
This reverts commit ef81f7a84e17a2ae8b295c94bec1a2799bc5ff80.
It was commited merely for event memory.
-rw-r--r-- | npc/functions/scoreboards.txt | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/npc/functions/scoreboards.txt b/npc/functions/scoreboards.txt index 8cbcd888d..36a61f310 100644 --- a/npc/functions/scoreboards.txt +++ b/npc/functions/scoreboards.txt @@ -38,24 +38,6 @@ function script ScoreboardsReload { return; } -function script Special2021 { - if (gettime(7) != 2021) return; - if (gettime(6) != JUNE) return; - if (gettime(5) != 21) return; - if (gettime(3) != 5) return; - debugmes "Special 2021 PROC"; - /* *** EXPENSIVE QUERY *** */ - .@nb = query_sql("SELECT MIN(`char_id`) FROM `char` WHERE `last_login` > 1619838000 GROUP BY `account_id` ORDER BY MAX(`last_login`) DESC", $@tmw2_giftday); - freeloop(true); - for (.@i=0; .@i < getarraysize($@tmw2_giftday); .@i++) { - rodex_sendmail($@tmw2_giftday, "TMW2 Team", "TMW2 Gift Day", "You are within the 120 most active players. Thanks for staying with us.", 0, StrangeCoin, (400-.@i)); - } - freeloop(false); - debugmes "Sent %d rodex mails out of %d users.", .@i, getarraysize($@tmw2_giftday); - return; -} - - - script scoreboardsGen NPC_HIDDEN,{ end; @@ -114,7 +96,6 @@ OnHour22: OnHour23: OnInit: ScoreboardsReload(); - Special2021(); deletearray $@FORT_BLACKLIST; end; } |