aboutsummaryrefslogtreecommitdiff
path: root/sql/updates
diff options
context:
space:
mode:
Diffstat (limited to 'sql/updates')
-rw-r--r--sql/updates/360_characters.sql4
-rw-r--r--sql/updates/541_characters.sql12
-rw-r--r--sql/updates/541_world.sql26
3 files changed, 38 insertions, 4 deletions
diff --git a/sql/updates/360_characters.sql b/sql/updates/360_characters.sql
deleted file mode 100644
index 40662c380ce..00000000000
--- a/sql/updates/360_characters.sql
+++ /dev/null
@@ -1,4 +0,0 @@
-ALTER TABLE arena_team_member CHANGE played_week games_week int(10) unsigned NOT NULL default '0';
-ALTER TABLE arena_team_member CHANGE wons_week wins_week int(10) unsigned NOT NULL default '0';
-ALTER TABLE arena_team_member CHANGE played_season games_season int(10) unsigned NOT NULL default '0';
-ALTER TABLE arena_team_member CHANGE wons_season wins_season int(10) unsigned NOT NULL default '0'; \ No newline at end of file
diff --git a/sql/updates/541_characters.sql b/sql/updates/541_characters.sql
new file mode 100644
index 00000000000..99a083d0387
--- /dev/null
+++ b/sql/updates/541_characters.sql
@@ -0,0 +1,12 @@
+CREATE TABLE `saved_variables` (
+ `NextArenaPointDistributionTime` bigint(40) UNSIGNED NOT NULL DEFAULT '0'
+) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='Variable Saves';
+
+ALTER TABLE arena_team_member CHANGE games_week played_week int(10) unsigned NOT NULL default '0';
+ALTER TABLE arena_team_member CHANGE wins_week wons_week int(10) unsigned NOT NULL default '0';
+ALTER TABLE arena_team_member CHANGE games_season played_season int(10) unsigned NOT NULL default '0';
+ALTER TABLE arena_team_member CHANGE wins_season wons_season int(10) unsigned NOT NULL default '0';
+
+ALTER TABLE `arena_team_member` DROP COLUMN `points_to_add`;
+ALTER TABLE `arena_team_member` ADD COLUMN `personal_rating` int(10) UNSIGNED NOT NULL DEFAULT '0';
+ALTER TABLE `characters` ADD COLUMN `arena_pending_points` int(10) UNSIGNED NOT NULL default '0' AFTER `taxi_path`; \ No newline at end of file
diff --git a/sql/updates/541_world.sql b/sql/updates/541_world.sql
new file mode 100644
index 00000000000..7d8e1fc8e1b
--- /dev/null
+++ b/sql/updates/541_world.sql
@@ -0,0 +1,26 @@
+DELETE FROM `command` WHERE `name` = "flusharenapoints";
+INSERT INTO `command` (`name`, `security`, `help`) VALUES
+('flusharenapoints','3','Syntax: .flusharenapoints\r\n\r\nUse it to distribute arena points based on arena team ratings, and start a new week.');
+
+DELETE FROM trinity_string WHERE entry BETWEEN 1122 AND 1138;
+
+INSERT INTO trinity_string (entry, content_default) VALUES
+ (1122,'Your group is too large for this battleground. Please regroup to join.'),
+ (1123,'Your group is too large for this arena. Please regroup to join.'),
+ (1124,'Your group has members not in your arena team. Please regroup to join.'),
+ (1125,'Your group does not have enough players to join this match.'),
+ (1126,'The Gold Team wins!'),
+ (1127,'The Green Team wins!'),
+ (1128, 'There aren\'t enough players in this battleground. It will end soon unless some more players join to balance the fight.'),
+ (1129, 'Your group has an offline member. Please remove him before joining.'),
+ (1130, 'Your group has players from the opposing faction. You can\'t join the battleground as a group.'),
+ (1131, 'Your group has players from different battleground brakets. You can\'t join as group.'),
+ (1132, 'Someone in your party is already in this battleground queue. (S)he must leave it before joining as group.'),
+ (1133, 'Someone in your party is Deserter. You can\'t join as group.'),
+ (1134, 'Someone in your party is already in three battleground queues. You cannot join as group.'),
+ (1135, 'You cannot teleport to a battleground or arena map.'),
+ (1136, 'You cannot summon players to a battleground or arena map.'),
+ (1137, 'You must be in GM mode to teleport to a player in a battleground.'),
+ (1138, 'You cannot teleport to a battleground from another battleground. Please leave the current battleground first.');
+
+DELETE FROM trinity_string WHERE entry = 714 OR entry = 716; \ No newline at end of file