Você tem o module dos eventos?
Ele esta na pasta de modules?
O module esta cadastrado no "Array" ?
:P
Versão Imprimível
Você tem o module dos eventos?
Ele esta na pasta de modules?
O module esta cadastrado no "Array" ?
:P
eu nao tenho o module de eventos
eu to tentando fazer aki se vc tiver me manda por mp ai
e tem + coisas q da esse mesmo erro nao é so no evento
@Topic.
O cara não esta conseguindo, e nem vai conseguir até mesmo por que são módulos novos adicionados no template / web.
Conversei com Bruno, o mesmo disse que vai postar a função que o mesmo esta tendo dificuldades de entender que é um modulo adicional é o modulo de ( Adicionar Eventos ).
Ou seja no mínimo faltam linhas na settings referente ao modulo assim também como 100% de certeza que faltará arquivos que geralmente ficam na pasta ../modules/classes/ .
Até que não seja postado o tal do modulo novo e seus arquivos ele jamais vai conseguir utilizar a função.
Reparem também que falta tabelas no SQL dele (table db_Eventos).
Bom não conheço site do daldegam, então quem fez os scripts adicionais foi o Little, tipo compra de bau, esse painel de eventos e outras coisa que não me lembro.
Então abaixo link da minha pasta classes todas, ai deem uma analisada.
[Only registered and activated users can see links. Click Here To Register...]
settings;
[Only registered and activated users can see links. Click Here To Register...]
viOleNt, não sei se vc sabe programar em PHP, mas dá uma analisada geral nesses modulos seus aí...
Tem umas coisas "erradas" e não tem coisas essenciais (tratamento de exceções por exemplo)...
Exemplo:
não tem verificação se o valor "option" está setado, assim sendo, se a url for modificada pra &option2= por exemplo, vai dar um errozinho básico por que não tem tratamento..Código PHP:
_construct() {
switch($_GET['option']) {
}
}
faz
Código PHP:
if(isset($_GET['option'])) {
switch($_GET['option']) {
}
}
else {
exibe a pagina inicial ou de erro personalizado.
}
@ Renatiinn
Quem criou os módulos foi o Litlle ^^.
Bom, quem fez realmente não vem ao caso, só estou alertando para coisas que eu vi ao dar uma rápida olhada. :)
@
Alguém que tenha poderia postar a estrutura da tabela db_eventos pra ajudar a galera aê :)
@Beowulf
veja se ajuda ^^
Citação:
USE [MuOnline]
GO
/****** Object: Table [dbo].[db_Eventos] Script Date: 01/24/2014 11:22:01 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SET ANSI_PADDING ON
GO
CREATE TABLE [dbo].[db_Eventos](
[personagem] [char](10) COLLATE Chinese_PRC_CI_AS NOT NULL,
[bbmw] [int] NOT NULL CONSTRAINT [DF_db_Eventos_esc] DEFAULT ((0)),
[rei] [int] NOT NULL CONSTRAINT [DF_db_Eventos_trade] DEFAULT ((0)),
[paredao] [int] NOT NULL CONSTRAINT [DF_db_Eventos_quiz] DEFAULT ((0)),
[mata] [int] NOT NULL CONSTRAINT [DF_db_Eventos_mata] DEFAULT ((0)),
[pega] [int] NOT NULL CONSTRAINT [DF_db_Eventos_pega] DEFAULT ((0)),
[rebeliao] [int] NOT NULL CONSTRAINT [DF_db_Eventos_rebeliao] DEFAULT ((0)),
[bbmw_total] [int] NOT NULL CONSTRAINT [DF_db_Evento_bbmw_total] DEFAULT ((0)),
[rei_total] [int] NOT NULL CONSTRAINT [DF_db_Evento_rei_total] DEFAULT ((0)),
[paredao_total] [int] NOT NULL CONSTRAINT [DF_db_Evento_paredao_total] DEFAULT ((0)),
[mata_total] [int] NOT NULL CONSTRAINT [DF_db_Evento_mata_total] DEFAULT ((0)),
[pega_total] [int] NOT NULL CONSTRAINT [DF_db_Evento_pega_total] DEFAULT ((0)),
[rebeliao_total] [int] NOT NULL CONSTRAINT [DF_db_Eventos_rebeliao_total] DEFAULT ((0)),
[bbmw_mensal] [int] NOT NULL CONSTRAINT [DF_db_Eventos_bbmw_mensal] DEFAULT ((0)),
[rei_mensal] [int] NOT NULL CONSTRAINT [DF_db_Eventos_rei_mensal] DEFAULT ((0)),
[paredao_mensal] [int] NOT NULL CONSTRAINT [DF_db_Eventos_paredao_mensal] DEFAULT ((0)),
[mata_mensal] [int] NOT NULL CONSTRAINT [DF_db_Eventos_mata_mensal] DEFAULT ((0)),
[pega_mensal] [int] NOT NULL CONSTRAINT [DF_db_Eventos_pega_mensal] DEFAULT ((0)),
[rebeliao_mensal] [int] NOT NULL CONSTRAINT [DF_db_Eventos_rebeliao_mensal] DEFAULT ((0)),
[bbmw_semanal] [int] NOT NULL CONSTRAINT [DF_db_Eventos_bbmw_semanal] DEFAULT ((0)),
[rei_semanal] [int] NOT NULL CONSTRAINT [DF_db_Eventos_rei_semanal] DEFAULT ((4)),
[paredao_semanal] [int] NOT NULL CONSTRAINT [DF_db_Eventos_paredao_semanal] DEFAULT ((0)),
[mata_semanal] [int] NOT NULL CONSTRAINT [DF_db_Eventos_mata_semanal] DEFAULT ((0)),
[pega_semanal] [int] NOT NULL CONSTRAINT [DF_db_Eventos_pega_semanal] DEFAULT ((0)),
[rebeliao_semanal] [int] NOT NULL CONSTRAINT [DF_db_Eventos_rebeliao_semanal] DEFAULT ((0)),
CONSTRAINT [PK_db_Eventos] PRIMARY KEY CLUSTERED
(
[personagem] ASC
)WITH (IGNORE_DUP_KEY = OFF) ON [PRIMARY]
) ON [PRIMARY]
GO
SET ANSI_PADDING OFF