Ir para conteúdo

Featured Replies

Postado

Olá Galera,

Estou com este erro da distro que utilizo, OTX 8.60...

Este é um Evento..

Ele é automático, eu configuro as horas e dia...

ele aparece um teleport e aparece este erro da distro.

[Error - GlobalEvent Interface]
data/globalevents/scripts/events/DTT.lua:onTime
Description:
(LuaInterface::luaDoRemoveItem) Item not found

já tentei mudar para onTimer e nada...

Aqui está o script

Citar

function onTime ()
	dtt.open()
    return true
end

 

ai tudo bem fica este erro mais o teleport aparece... ai blz quando o player entra no teleport ele tem que registrar o player na database. ai acontece outro erro

segue ai em baixo que aparece na minha distro...

mysql_real_query(): INSERT INTO `dtt_players`  VALUES ('', 268479339,0, 16777343); - MYSQL ERROR: Column count doesn't match value count at row 1 (1136)

E aqui está uma foto da database desta tabela dtt_players

db.thumb.png.5fb26a0ec3f5279af293f5ddc911813d.png

Não porq deste erro, estou abrindo o server em Mysql...

Alguem poderia me Ajudar?

Postado

Execute esses dois códigos na sua database:
 

CREATE TABLE IF NOT EXISTS `dtt_players` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `pid` bigint(20) NOT NULL,
  `team` int(5) NOT NULL,
  `ip` bigint(50) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `id` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

Segundo:
 

CREATE TABLE IF NOT EXISTS `dtt_results` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `frags_blue` int(11) NOT NULL,
  `frags_red` int(11) NOT NULL,
  `towers_blue` int(11) NOT NULL,
  `towers_red` int(11) NOT NULL,
  `data` varchar(255) CHARACTER SET utf8 COLLATE utf8_swedish_ci NOT NULL,
  `hora` varchar(255) CHARACTER SET utf8 COLLATE utf8_swedish_ci NOT NULL,
  PRIMARY KEY (`id`),
  KEY `id` (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

Caso acuse que já exista, salve a database antes da modificação, depois delete as tabelas com nome dtt_results e dtt_players de sua database, e depois execute os mesmos.

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

Feliz daquele que ensina o que sabe, e aprende o que ensina.

 

               

star-wars-animated-gif-23.gif

Postado
  • Autor
1 hora atrás, lordzetros disse:

Execute esses dois códigos na sua database:
 


CREATE TABLE IF NOT EXISTS `dtt_players` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `pid` bigint(20) NOT NULL,
  `team` int(5) NOT NULL,
  `ip` bigint(50) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `id` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

Segundo:
 


CREATE TABLE IF NOT EXISTS `dtt_results` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `frags_blue` int(11) NOT NULL,
  `frags_red` int(11) NOT NULL,
  `towers_blue` int(11) NOT NULL,
  `towers_red` int(11) NOT NULL,
  `data` varchar(255) CHARACTER SET utf8 COLLATE utf8_swedish_ci NOT NULL,
  `hora` varchar(255) CHARACTER SET utf8 COLLATE utf8_swedish_ci NOT NULL,
  PRIMARY KEY (`id`),
  KEY `id` (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;

Caso acuse que já exista, salve a database antes da modificação, depois delete as tabelas com nome dtt_results e dtt_players de sua database, e depois execute os mesmos.

O Erros da Query de quando o player entra no tp parou,

porem o erro do distro quando aparece o teleporte ainda continua olha ai

Spoiler

[Error - GlobalEvent Interface]
data/globalevents/scripts/events/DTT.lua:onTime
Description:
(LuaInterface::luaDoRemoveCreature) Creature not found
[Defend The Tower] Todos os globais storages foram resetados...
[Defend The Tower] Todos dados da tabela 'dtt_players' foram apagados...

[Error - GlobalEvent Interface]
data/globalevents/scripts/events/DTT.lua:onTime
Description:
(LuaInterface::luaDoRemoveItem) Item not found

[Error - GlobalEvent Interface]
data/globalevents/scripts/events/DTT.lua:onTime
Description:
(LuaInterface::luaDoRemoveItem) Item not found

[Error - GlobalEvent Interface]
data/globalevents/scripts/events/DTT.lua:onTime
Description:
(LuaInterface::luaDoRemoveItem) Item not found

[Error - GlobalEvent Interface]
data/globalevents/scripts/events/DTT.lua:onTime
Description:
(LuaInterface::luaDoRemoveItem) Item not found

[Error - GlobalEvent Interface]
data/globalevents/scripts/events/DTT.lua:onTime
Description:
(LuaInterface::luaDoRemoveItem) Item not found

[Error - GlobalEvent Interface]
data/globalevents/scripts/events/DTT.lua:onTime
Description:
(LuaInterface::luaDoRemoveItem) Item not found
[DEFEND THE TOWERS] Items torre limpos da arena de batalha...
> Broadcasted message: "[Defend The Tower] Acabou de abrir, acesse o teleporte do templo principal para participar. Inicia em minutos...".

 

 

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

Postado

Pode me informar os scripts que utiliza em seu servidor do evento DTT? Assim posso tentar dá uma conferida, já que tenho um funcional por aqui também, ^^.

Feliz daquele que ensina o que sabe, e aprende o que ensina.

 

               

star-wars-animated-gif-23.gif

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