Ir para conteúdo
Banner com Efeitos

Featured Replies

Postado
  • Autor
  • Administrador

Puts é mesmo cara tenho que add a tabela do war system O.O Sorry HSUASH eskesci do neg rep por ajudar HUSAHSUAHSU

@edit tem como voce me ajuda com esse erro ?

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42S02]: Base table or view not found: 1146 Table 'globall.woe' doesn't exist' in C:\xampp\htdocs\warofemperium.php:10 Stack trace: #0 C:\xampp\htdocs\warofemperium.php(10): PDO->query('?? SELEC...') #1 C:\xampp\htdocs\index.php(172): include('C:\xampp\htdocs...') #2 {main} thrown in C:\xampp\htdocs\warofemperium.php on l

Editado por Erimyth (veja o histórico de edições)

TibiaKing Team- KingTópicos
www.tibiaking.com

  • 1 month later...
  • Respostas 7
  • Visualizações 824
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

  • Execute isso no seu phpmyadmin CREATE TABLE `killers` ( `id` int(11) NOT NULL AUTO_INCREMENT, `death_id` int(11) NOT NULL, `final_hit` tinyint(1) unsigned NOT NULL DEFAULT '0', `unjustified`

Postado

desculpe o incoveniente, o player esta ganhando frag normal so que ele so ganha frag qnd mata 1 player sem ta skull, qnd ta com skull qualquer que seja nao ganha frag, mas qnd ta sem skull ganha, poderia arrumar o script ? se arrumar corrigir e funfa, REP+ pra tu.

  • 1 year later...
Postado

 

 

CREATE TABLE IF NOT EXISTS `guild_wars` (

`id` INT NOT NULL AUTO_INCREMENT,

`guild_id` INT NOT NULL,

`enemy_id` INT NOT NULL,

`begin` BIGINT NOT NULL DEFAULT '0',

`end` BIGINT NOT NULL DEFAULT '0',

`frags` INT UNSIGNED NOT NULL DEFAULT '0',

`payment` BIGINT UNSIGNED NOT NULL DEFAULT '0',

`guild_kills` INT UNSIGNED NOT NULL DEFAULT '0',

`enemy_kills` INT UNSIGNED NOT NULL DEFAULT '0',

`status` TINYINT(1) UNSIGNED NOT NULL DEFAULT '0',

PRIMARY KEY (`id`),

KEY `status` (`status`),

KEY `guild_id` (`guild_id`),

KEY `enemy_id` (`enemy_id`)

) ENGINE=InnoDB;

ALTER TABLE `guild_wars`

ADD CONSTRAINT `guild_wars_ibfk_1` FOREIGN KEY (`guild_id`) REFERENCES `guilds` (`id`) ON DELETE CASCADE,

ADD CONSTRAINT `guild_wars_ibfk_2` FOREIGN KEY (`enemy_id`) REFERENCES `guilds` (`id`) ON DELETE CASCADE;

ALTER TABLE `guilds` ADD `balance` BIGINT UNSIGNED NOT NULL AFTER `motd`;

CREATE TABLE IF NOT EXISTS `guild_kills` (

`id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY,

`guild_id` INT NOT NULL,

`war_id` INT NOT NULL,

`death_id` INT NOT NULL

) ENGINE = InnoDB;

ALTER TABLE `guild_kills`

ADD CONSTRAINT `guild_kills_ibfk_1` FOREIGN KEY (`war_id`) REFERENCES `guild_wars` (`id`) ON DELETE CASCADE,

ADD CONSTRAINT `guild_kills_ibfk_2` FOREIGN KEY (`death_id`) REFERENCES `player_deaths` (`id`) ON DELETE CASCADE,

ADD CONSTRAINT `guild_kills_ibfk_3` FOREIGN KEY (`guild_id`) REFERENCES `guilds` (`id`) ON DELETE CASCADE;

ALTER TABLE `killers` ADD `war` INT NOT NULL DEFAULT 0;

cara vc resolveu o meu problema I LOVE YOU

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.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.6k

Informação Importante

Confirmação de Termo