- implemented display of spawns and waypoints for gameobjects and creatures

!IMPORTANT!
  Due to the inability to determine what layer covers what height-level
  in multilayer-zones, spawns and waypoints WILL have duplicates and must
  be removed manually from ?_spawns and ?_waypoints respectively, if
  nessecary. Besides, the other points may also need manual love.
- NPC:
  * removed a redundant cuFlags for Bosses
  * set NPC_CU_INSTANCE_BOSS with data from world.instance_encounters
  * removed misc. factions from tooltip
  * fixed malformed condition for creature-loot
  * location is displayed in Listviews (also for GOs)
  * enabled filters foundIn and relatedEvent (also for GOs)
  * do not display empty quotes
- Zone:
  * initial implementation of detail page
- Misc:
  * fixed notices being displayed without restrictions
  * added RewriteBase hint to .htaccess (lost several hours to this one)
  * removed lost isles from dataset 'zones'
  * updated sql-archives and removed old sql updates, db_setup_2.zip
    will need to be reapplied
This commit is contained in:
Sarjuuk
2014-10-02 19:50:31 +02:00
parent 0806e616ae
commit 43fe5e4b4d
39 changed files with 934 additions and 40572 deletions

Binary file not shown.

Binary file not shown.

View File

@@ -1,51 +0,0 @@
-- --------------------------------------------------------
-- Host: 127.0.0.1
-- Server Version: 5.6.14 - MySQL Community Server (GPL)
-- Server Betriebssystem: Win32
-- HeidiSQL Version: 8.3.0.4694
-- --------------------------------------------------------
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET NAMES utf8 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
-- Exportiere Datenbank Struktur für world
CREATE DATABASE IF NOT EXISTS `world` /*!40100 DEFAULT CHARACTER SET utf8 */;
USE `world`;
-- Exportiere Struktur von Tabelle world.aowow_config
CREATE TABLE IF NOT EXISTS `aowow_config` (
`key` varchar(25) NOT NULL,
`intValue` mediumint(9) DEFAULT NULL,
`strValue` varchar(255) DEFAULT NULL,
`comment` varchar(255) NOT NULL,
PRIMARY KEY (`key`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- Exportiere Daten aus Tabelle world.aowow_config: 16 rows
DELETE FROM `aowow_config`;
/*!40000 ALTER TABLE `aowow_config` DISABLE KEYS */;
INSERT INTO `aowow_config` (`key`, `intValue`, `strValue`, `comment`) VALUES
('sql_limit_search', 500, NULL, 'default: 500 - Limit of some SQL queries'),
('sql_limit_default', 300, NULL, 'default: 300 - Limit of some SQL queries'),
('sql_limit_quicksearch', 15, NULL, 'default: 10 - Limit of some SQL queries'),
('sql_limit_none', 0, NULL, 'default: 0 - Limit of some SQL queries (yes, i\'m lazy)'),
('ttl_rss', 60, NULL, 'default: 60 - time to live for RSS'),
('cache_decay', 604800, NULL, 'default: 60 * 60 * 7 - Time to keep cache in seconds'),
('session_timeout_delay', 3600, NULL, 'default: 60 * 60 - non-permanent session times out in time() + X'),
('failed_auth_exclusion', 900, NULL, 'default: 15 * 60 - how long an account is closed after exceeding failed_auth_count'),
('failed_auth_count', 5, NULL, 'default: 5 - how often invalid passwords are tolerated'),
('name', NULL, 'Aowow Database Viewer (ADV)', 'website title'),
('shortname', NULL, 'Aowow', 'feed title'),
('boardurl', NULL, 'http://www.wowhead.com/forums?board=', 'a javascript thing..'),
('contact_email', NULL, 'feedback@aowow.org', 'ah well...'),
('battlegroup', NULL, 'Pure Pwnage', 'pretend, we belong to a battlegroup to satisfy profiler-related Jscripts; region can be determined from realmlist.timezone'),
('allow_register', 1, NULL, 'default: 1 - Allow account creating'),
('debug', 1, NULL, 'default: 0 - Disable cache, show smarty console panel, enable sql-errors'),
('maintenance', 0, NULL, 'default: 0 - brb gnomes say hi');
/*!40000 ALTER TABLE `aowow_config` ENABLE KEYS */;
/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */;
/*!40014 SET FOREIGN_KEY_CHECKS=IF(@OLD_FOREIGN_KEY_CHECKS IS NULL, 1, @OLD_FOREIGN_KEY_CHECKS) */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;

File diff suppressed because it is too large Load Diff

View File

@@ -1,3 +0,0 @@
ALTER TABLE `aowow_achievement` CHANGE COLUMN `rewardIds` `itemExtra` MEDIUMINT(8) UNSIGNED NOT NULL AFTER `refAchievement`;
UPDATE `aowow_achievement` SET `itemExtra` = 0;
UPDATE `aowow_achievement` SET `itemExtra` = 44738 WHERE `id` = 1956;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,9 +0,0 @@
UPDATE aowow_achievement SET iconString = LOWER(iconString);
UPDATE aowow_creature SET iconString = LOWER(iconString);
UPDATE aowow_currencies SET iconString = LOWER(iconString);
UPDATE aowow_holidays SET iconString = LOWER(iconString);
UPDATE aowow_items SET iconString = LOWER(iconString);
UPDATE aowow_pet SET iconString = LOWER(iconString);
UPDATE aowow_shapeshiftforms SET iconString = LOWER(iconString);
UPDATE aowow_skillline SET iconString = LOWER(iconString);
UPDATE aowow_spell SET iconString = LOWER(iconString);

View File

@@ -1,2 +0,0 @@
INSERT IGNORE INTO aowow_config (`key`, `intValue`, `comment`) VALUES ('force_ssl', 0, 'default: 0 - enforce SSL, if the server is behind a load balancer');

View File

@@ -1,2 +0,0 @@
INSERT IGNORE INTO aowow_config (`key`, `intValue`, `comment`) VALUES ('cache_mode', 1, 'default: 1 - set cache method (0: none; 1:filecache; 2:memcached; 3:both)');

File diff suppressed because one or more lines are too long

View File

@@ -1,18 +0,0 @@
UPDATE aowow_creature SET cuFlags = cuFlags | 0x40000000 WHERE
name_loc0 like '%(%' OR
name_loc0 like '%[%' OR
name_loc0 like '%<%' OR
name_loc0 like '%placeholder%' OR
name_loc0 like '%DND%' OR
name_loc0 like '%UNUSED%';
UPDATE aowow_currencies SET cuFlags = cuFlags | 0x40000000 WHERE
id IN (1, 2, 4, 22, 141);
UPDATE aowow_skillline SET cuFlags = cuFlags | 0x40000000 WHERE
id IN (769, 142, 148, 149, 150, 152, 155, 533, 553, 554, 713, 183);
UPDATE aowow_items SET cuFlags = cuFlags | 0x40000000 WHERE
name_loc0 like '%[%' OR
name_loc0 like '%(PH)%' OR
name_loc0 like '%(DEPRECATED)%';

View File

@@ -1,2 +0,0 @@
-- type 0 causes trouble with g_pageInfo
UPDATE aowow_articles SET `type` = -1 WHERE `type` = 0;

View File

@@ -1,3 +0,0 @@
INSERT INTO aowow_config (`key`, `intValue`, `comment`) VALUES
('account_create_save_decay', 604800, 'default: 604800 - [1 week] time in wich an unconfirmed account cannot be overwritten by new registrations'),
('account_recovery_decay', 300, 'default: 300 - [5 min] time to recover your account and new recovery requets are blocked');

View File

@@ -1,11 +0,0 @@
ALTER TABLE `aowow_account`
ALTER `curIP` DROP DEFAULT,
ALTER `prevIP` DROP DEFAULT;
ALTER TABLE `aowow_account`
CHANGE COLUMN `curIP` `curIP` VARCHAR(45) NOT NULL AFTER `consecutiveVisits`,
CHANGE COLUMN `prevIP` `prevIP` VARCHAR(45) NOT NULL AFTER `curIP`;
ALTER TABLE `aowow_account_bannedips`
ALTER `ip` DROP DEFAULT;
ALTER TABLE `aowow_account_bannedips`
CHANGE COLUMN `ip` `ip` VARCHAR(45) NOT NULL FIRST;