直接修改永恒之塔MYSQL 语句把账号变成admin(GM)
首先打开 ae_severa_gs.sql 用记事本打开.
找到:
CREATE TABLE `players` (
`id` int(11) NOT NULL,
`name` varchar(50) NOT NULL,
`account_id` int(11) NOT NULL,
`account_name` varchar(50) NOT NULL,
`x` float NOT NULL,
`y` float NOT NULL,
`z` float NOT NULL,
`heading` int(11) NOT NULL,
`world_id` int(11) NOT NULL,
`gender` enum('MALE','FEMALE') NOT NULL,
`race` enum('ASMODIANS','ELYOS') NOT NULL,
`player_class` enum('WARRIOR','GLADIATOR','TEMPLAR','SCOUT','ASSASSIN','RANGER','MAGE','SORCERER','SPIRIT_MASTER','PRIEST','CLERIC','CHANTER') NOT NULL,
`creation_date` timestamp NOT NULL default '0000-00-00 00:00:00',
`deletion_date` timestamp NULL default NULL,
`admin` tinyint(1) NOT NULL default '0',
PRIMARY KEY (`id`),
UNIQUE KEY `name_unique` (`name`),
KEY `account_id` (`account_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
找到带颜色的那句.
修改成
`admin` tinyint(1) NOT NULL default '1',把默认修改成1 就可以了.