Postado Dezembro 15, 2021 3 anos .Qual servidor ou website você utiliza como base? Qual o motivo deste tópico? Está surgindo algum erro? Se sim coloque-o aqui. Citar mysql_real_query(): SELECT `id` FROM `accounts` WHERE `name` = '1' LIMIT 1 - MYSQL ERROR: Table 'mysql.accounts' doesn't exist (1146) Você tem o código disponível? Se tiver publique-o aqui: Você tem alguma imagem que possa auxiliar no problema? Se sim, coloque-a aqui. Editado Dezembro 15, 2021 3 anos por Donc (veja o histórico de edições)
Postado Dezembro 15, 2021 3 anos @Donc Executa isso no banco de dados: CREATE TABLE `accounts` ( `id` int(11) NOT NULL, `name` varchar(32) NOT NULL DEFAULT '', `password` varchar(255) NOT NULL, `salt` varchar(40) NOT NULL DEFAULT '', `premdays` int(11) NOT NULL DEFAULT '0', `lastday` int(10) UNSIGNED NOT NULL DEFAULT '0', `email` varchar(255) NOT NULL DEFAULT '', `key` varchar(64) NOT NULL DEFAULT '', `blocked` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'internal usage', `warnings` int(11) NOT NULL DEFAULT '0', `group_id` int(11) NOT NULL DEFAULT '1', `vip_time` int(15) NOT NULL DEFAULT '0', `web_lastlogin` int(11) NOT NULL DEFAULT '0', `web_flags` int(11) NOT NULL DEFAULT '0', `email_hash` varchar(32) NOT NULL DEFAULT '', `email_verified` tinyint(1) NOT NULL DEFAULT '0', `created` int(11) NOT NULL DEFAULT '0', `rlname` varchar(255) NOT NULL DEFAULT '', `location` varchar(255) NOT NULL DEFAULT '', `country` varchar(3) NOT NULL DEFAULT '', `page_access` int(11) NOT NULL DEFAULT '0', `email_code` varchar(255) NOT NULL DEFAULT '0', `email_next` int(11) NOT NULL DEFAULT '0', `premium_points` int(11) NOT NULL DEFAULT '0', `vote` int(11) NOT NULL DEFAULT '0', `last_post` int(11) NOT NULL DEFAULT '0', `nickname` char(48) DEFAULT NULL, `avatar` char(48) DEFAULT NULL, `about_me` text, `guild_points` int(11) NOT NULL DEFAULT '0', `email_new` varchar(255) NOT NULL, `email_new_time` int(15) NOT NULL, `flag` varchar(255) NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; Meu Curso sobre Programação para OTServer Programando OTServer Peça o seu script! Entre agora mesmo no grupo Developing Conteúdos: Spoiler • Cidade [8.60] • Cave de Boss • Widget Gesior • Autoloot 100% • [Old Client] Como Hookar Dll • Configurando VPS Windowns • [Solução] Código Caracteres Especiais Discord: Belmont#7352 Não esqueça do REP+
Postado Dezembro 15, 2021 3 anos Autor Agora tá dando esse: `players` SET `online` = 0 WHERE `world_id` = 0; - MYSQL ERROR: Table 'mysql.players' doesn't exist (1146)
Postado Dezembro 27, 2021 3 anos Em 15/12/2021 em 11:20, Donc disse: Agora tá dando esse: `players` SET `online` = 0 WHERE `world_id` = 0; - MYSQL ERROR: Table 'mysql.players' doesn't exist (1146) mano se nao souber adicionar as tables ,a DB é mais facil vc pegar uma mais completa, pois essa DB que vc ta usando ta faltando muitas tables... troca pega uma mais compatível com seu servidor/site
Participe da conversa
Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.