#1 Fixando todos erros do PhoenixEMU Sex Jan 27, 2012 3:14 pm
Lokz'
Novato
1# cmd_masspixels
2# enable_cmdlogs
3# Expection as ben saved
Esses erro são os que mais acontece no phoenix, 3.6.0 para 3.7.0!
Gostou do tópico te ajudou? Clicar no + não custa nada.
- Código:
ALTER ***** `permissions_ranks` ADD `cmd_masspixels` enum('1','0') NOT NULL DEFAULT '0';
ALTER ***** `permissions_ranks` ADD `cmd_globalpixels` enum('1','0') NOT NULL DEFAULT '0';
ALTER ***** `permissions_users` ADD `cmd_masspixels` enum('1','0') NOT NULL DEFAULT '0';
ALTER ***** `permissions_users` ADD `cmd_globalpixels` enum('1','0') NOT NULL DEFAULT '0';
DROP ***** IF EXISTS `permissions_vip`;
CREATE ***** `permissions_vip` (
`cmdPush` enum('0','1') NOT NULL DEFAULT '1',
`cmdPull` enum('0','1') NOT NULL DEFAULT '1',
`cmdFlagme` enum('0','1') NOT NULL DEFAULT '1',
`cmdMimic` enum('0','1') NOT NULL DEFAULT '1',
`cmdMoonwalk` enum('0','1') NOT NULL DEFAULT '1'
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
INSERT INTO permissions_vip VALUES ('1', '1', '1', '1', '1');
ALTER ***** `rooms` ADD `achievement` int(11) NOT NULL DEFAULT '0';
ALTER ***** `bots` ADD `effect` int(2) NOT NULL DEFAULT '0';
2# enable_cmdlogs
- Código:
ALTER ***** `server_settings` ADD `enable_cmdlogs` enum('0','1') NOT NULL DEFAULT '1';
ALTER ***** `server_settings` ADD `allow_friendfurnidrops` enum('0','1') NOT NULL DEFAULT '1';
ALTER ***** `permissions_ranks` ADD `cmd_sa` enum('1','0') NOT NULL DEFAULT '0';
ALTER ***** `permissions_ranks` ADD `receive_sa` enum('1','0') NOT NULL DEFAULT '0';
ALTER ***** `permissions_ranks` ADD `cmd_ipban` enum('1','0') NOT NULL DEFAULT '0';
ALTER ***** `permissions_ranks` ADD `floodtime` int(3) NOT NULL DEFAULT '30';
ALTER ***** `permissions_ranks` ADD `cmd_spull` enum('1','0') NOT NULL DEFAULT '0';
ALTER ***** `permissions_ranks` ADD `cmd_disconnect` enum('1','0') NOT NULL DEFAULT '0';
ALTER ***** `permissions_ranks` ADD `cmd_update_achievements` enum('1','0') NOT NULL DEFAULT '0';
ALTER ***** `permissions_users` ADD `cmd_sa` enum('1','0') NOT NULL DEFAULT '0';
ALTER ***** `permissions_users` ADD `receive_sa` enum('1','0') NOT NULL DEFAULT '0';
ALTER ***** `permissions_users` ADD `cmd_ipban` enum('1','0') NOT NULL DEFAULT '0';
ALTER ***** `permissions_users` ADD `cmd_spull` enum('1','0') NOT NULL DEFAULT '0';
ALTER ***** `permissions_users` ADD `cmd_disconnect` enum('1','0') NOT NULL DEFAULT '0';
ALTER ***** `permissions_users` ADD `cmd_update_achievements` enum('1','0') NOT NULL DEFAULT '0';
ALTER ***** `permissions_vip` ADD `cmdFollow` enum('1','0') NOT NULL DEFAULT '1';
DROP ***** IF EXISTS `cmdlogs`;
CREATE ***** `cmdlogs` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`user_id` int(10) NOT NULL,
`user_name` varchar(100) NOT NULL,
`command` varchar(50) NOT NULL,
`extra_data` text NOT NULL,
`timestamp` int(120) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
DROP ***** IF EXISTS `texts`;
CREATE ***** `texts` (
`identifier` varchar(50) NOT NULL,
`display_text` text NOT NULL,
PRIMARY KEY (`identifier`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
-- ----------------------------
-- Records of texts
-- ----------------------------
INSERT INTO `texts` VALUES ('emu_cleandb', 'Cleaning up database..');
INSERT INTO `texts` VALUES ('emu_connectdb', 'Connecting to database..');
INSERT INTO `texts` VALUES ('emu_loadroles', 'Loading Roles..');
INSERT INTO `texts` VALUES ('emu_loadsettings', 'Loading Settings..');
INSERT INTO `texts` VALUES ('emu_loadtexts', 'Loading Texts..');
ALTER ***** `catalog_pages` ADD `page_link_description` TEXT NOT NULL;
ALTER ***** `catalog_pages` ADD `page_link_pagename` TEXT NOT NULL;
ALTER ***** `catalog_items`
ADD COLUMN `vip` enum('0','1','2') NOT NULL DEFAULT '0';
ALTER ***** `furniture`
MODIFY COLUMN `interaction_type` enum('default','gate','postit','roomeffect'
3# Expection as ben saved
- Código:
CREATE ***** IF NOT EXISTS `server_status` (
`status` enum('0','1','2') NOT NULL DEFAULT '0',
`users_online` int(11) NOT NULL DEFAULT '0',
`rooms_loaded` int(11) NOT NULL DEFAULT '0',
`server_ver` text NOT NULL,
`stamp` double NOT NULL,
`userpeak` int(11) NOT NULL DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
Esses erro são os que mais acontece no phoenix, 3.6.0 para 3.7.0!
Gostou do tópico te ajudou? Clicar no + não custa nada.