- Merged and completed Latio's work on server-side hot-key saving (http://www.eathena.ws/board/index.php?s=&showtopic=159388&view=findpost&p=884453)

- Now hotkeys are stored server-side (table hotkey in SQL servers, file save/hotkeys.txt for TXT servers). You can disable this behaviour by commenting out the 'HOTKEY_SAVING' define in mmo.h
- Fixed a few compilation warnings/errors.
- Apply upgrade_svn11018.sql to create the hotkey table.


git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@11019 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
skotlex
2007-08-15 22:08:30 +00:00
parent efff167bc0
commit dff80559d4
12 changed files with 219 additions and 7 deletions

View File

@@ -116,6 +116,21 @@ CREATE TABLE `friends` (
KEY `char_id` (`char_id`)
) TYPE=MyISAM;
--
-- Table structure for table `hotkey`
--
DROP TABLE IF EXISTS `hotkey`;
CREATE TABLE `hotkey` (
`char_id` INT(11) NOT NULL,
`hotkey` TINYINT(2) unsigned NOT NULL,
`type` TINYINT(1) unsigned NOT NULL default '0',
`itemskill_id` INT(11) unsigned NOT NULL default '0',
`skill_lvl` TINYINT(4) unsigned NOT NULL default '0',
PRIMARY KEY (`char_id`,`hotkey`),
INDEX (`char_id`)
) TYPE=MYISAM;
--
-- Table structure for table `global_reg_value`
--