[12/09/2013 22:28:00] OTSYS_SQLITE3_PREPARE(): SQLITE ERROR: no such table: shop_history (SELECT * FROM shop_history WHERE "processed" = 0;)
Alguem sabe como arrumar isso no meu server de nto pfv
[12/09/2013 22:28:00] OTSYS_SQLITE3_PREPARE(): SQLITE ERROR: no such table: shop_history (SELECT * FROM shop_history WHERE "processed" = 0;)
Alguem sabe como arrumar isso no meu server de nto pfv
execute isso em sua databse
CREATE TABLE `shop_history`(`id` int(11) NOT NULL auto_increment,`to_name` varchar(255) NOT NULL default '0',`to_account` int(11) NOT NULL default '0',`from_nick` varchar(255) NOT NULL,`from_account` int(11) NOT NULL default '0',`price` int(11) NOT NULL default '0',`offer_id` int(11) NOT NULL default '0',`trans_state` varchar(255) NOT NULL,`trans_start` int(11) NOT NULL default '0',`trans_real` int(11) NOT NULL default '0',PRIMARY KEY (`id`));
e depois execute essa
ALTER TABLE `shop_history` ADD `processed` int(11) NOT NULL default '0';
so add isso na database
CREATE TABLE IF NOT EXISTS `shop_history` ( `id` int(11) NOT NULL AUTO_INCREMENT,
`product` int(11) NOT NULL,
`session` varchar(256) NOT NULL,
`player` varchar(256) NOT NULL,
`date` int(10) NOT NULL,
`processed` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=31 ;
-- --------------------------------------------------------
--
-- Table structure for table `shop_offer`
--
CREATE TABLE IF NOT EXISTS `shop_offer` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`points` int(11) NOT NULL DEFAULT '0',
`category` int(11) NOT NULL DEFAULT '1',
`type` int(11) NOT NULL DEFAULT '1',
`item` int(11) NOT NULL DEFAULT '0',
`count` int(11) NOT NULL DEFAULT '0',
`description` text NOT NULL,
`name` varchar(256) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=16 ;
--
-- Estructura de tabla para la tabla `shop_donation_history`
--
CREATE TABLE IF NOT EXISTS `shop_donation_history` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`method` varchar(256) NOT NULL,
`receiver` varchar(256) NOT NULL,
`buyer` varchar(256) NOT NULL,
`account` varchar(256) NOT NULL,
`points` int(11) NOT NULL,
`date` int(10) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 ;
--
-- Volcar la base de datos para la tabla `shop_donation_history`
Meus topicos.
Vaga na Equipe (Scripter e Spriter)
Agradecer sempre a todos que ajudaram, o server a ficar pronto
deis de Sprites que não conheço,scripts, etc....como o jogo
esta na internet e para todos usarem vlw a todos bjus...
"O fracasso é a oportunidade de se começar de novo inteligentemente"