Rewrite much of the GM ticket system
* Extract storage and manipulation of tickets to TicketMgr (from ObjectMgr) * Extract ticket commands to TicketCommands.cpp * Adds support for sending GM responses and GM surveys. * Fix structure of several ticket-related packets. * Add support for understanding lag reports. * Thanks Zor for some of the packet structures, and Cyrax for some sniffs * Please report any issues encountered via the tracker. --HG-- branch : trunk
This commit is contained in:
1 parent
1f9936399c
commit
08205afcc9
23 files changed
+1311
-624
No files matched your search
@@ -0,0 +1,8 @@
|
||||
DROP TABLE IF EXISTS `gm_subsurveys`;
|
||||
CREATE TABLE `gm_subsurveys` (
|
||||
`surveyid` int(10) NOT NULL auto_increment,
|
||||
`subsurveyid` int(11) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`rank` int(11) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`comment` longtext NOT NULL DEFAULT '',
|
||||
PRIMARY KEY (`surveyid`,`subsurveyid`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
|
||||
@@ -0,0 +1,9 @@
|
||||
DROP TABLE IF EXISTS `gm_surveys`;
|
||||
CREATE TABLE `gm_surveys` (
|
||||
`surveyid` int(10) NOT NULL auto_increment,
|
||||
`player` int(11) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`mainSurvey` int(11) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`overall_comment` longtext NOT NULL DEFAULT '',
|
||||
`timestamp` int(11) NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`surveyid`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
|
||||
@@ -0,0 +1,3 @@
|
||||
ALTER TABLE `gm_tickets` ADD COLUMN `completed` int(11) NOT NULL DEFAULT '0' AFTER `comment`;
|
||||
ALTER TABLE `gm_tickets` ADD COLUMN `escalated` int(11) NOT NULL DEFAULT '0' AFTER `completed`;
|
||||
ALTER TABLE `gm_tickets` ADD COLUMN `viewed` int(11) NOT NULL DEFAULT '0' AFTER `escalated`;
|
||||
@@ -0,0 +1,11 @@
|
||||
DROP TABLE IF EXISTS `lag_reports`;
|
||||
CREATE TABLE `lag_reports` (
|
||||
`report_id` int(10) NOT NULL auto_increment,
|
||||
`player` int(11) UNSIGNED NOT NULL DEFAULT '0',
|
||||
`lag_type` int(10) NOT NULL DEFAULT '0',
|
||||
`map` int(11) NOT NULL DEFAULT '0',
|
||||
`posX` float NOT NULL default '0',
|
||||
`posY` float NOT NULL default '0',
|
||||
`posZ` float NOT NULL default '0',
|
||||
PRIMARY KEY (`report_id`)
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='Player System';
|
||||
Reference in new issue
Block a user