
Move skillcooldown from ram saving to sql saving. This will fix multimap skillcooldown and avoind increasing ram by offline users.
9 lines
310 B
SQL
9 lines
310 B
SQL
CREATE TABLE IF NOT EXISTS `skillcooldown` (
|
|
`account_id` int(11) unsigned NOT NULL,
|
|
`char_id` int(11) unsigned NOT NULL,
|
|
`skill` smallint(11) unsigned NOT NULL DEFAULT '0',
|
|
`tick` int(11) NOT NULL,
|
|
KEY `account_id` (`account_id`),
|
|
KEY `char_id` (`char_id`)
|
|
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
|