New Year cards + Info on PlayerShops/HiredMerchants

New Year is coming soon! Figured out implementation for the New Year cards. Opcodes and packet structures are thanks to Eric.
New Year effect crashes/dc's the player in some cases.
Added informative notes to shop owners when transactioning an item/bundle.
This commit is contained in:
ronancpl
2017-12-19 16:40:45 -02:00
parent c1126213cc
commit 012f965f6a
19 changed files with 799 additions and 56 deletions

View File

@@ -16369,6 +16369,21 @@ CREATE TABLE IF NOT EXISTS `mts_items` (
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
CREATE TABLE IF NOT EXISTS `newyear` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`senderid` int(10) NOT NULL DEFAULT '-1',
`sendername` varchar(13) DEFAULT '',
`receiverid` int(10) NOT NULL DEFAULT '-1',
`receivername` varchar(13) DEFAULT '',
`message` varchar(120) DEFAULT '',
`senderdiscard` tinyint(1) NOT NULL DEFAULT '0',
`receiverdiscard` tinyint(1) NOT NULL DEFAULT '0',
`received` tinyint(1) NOT NULL DEFAULT '0',
`timesent` bigint(20) unsigned NOT NULL,
`timereceived` bigint(20) unsigned NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
CREATE TABLE IF NOT EXISTS `notes` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`to` varchar(13) NOT NULL DEFAULT '',