Ir para conteúdo
  • Cadastre-se
  • 0

Evento TvT ctf


nelmas

Pergunta

2 respostass a esta questão

Posts recomendados

Veja se ja tem as tabelas > se nao tem basta cria-las Copiando uma do gracia PT2 acho q nao havera problema pois acredito que muda poco ou nada sobre isso:

 

/*

MySQL Data Transfer

Source Host: localhost

Source Database: l2jdb

Target Host: localhost

Target Database: l2jdb

Date: 09/06/2009 12:38:44

*/

 

SET FOREIGN_KEY_CHECKS=0;

-- ----------------------------

-- Table structure for ctf

-- ----------------------------

CREATE TABLE `ctf` (

`eventName` varchar(255) NOT NULL DEFAULT '',

`eventDesc` varchar(255) NOT NULL DEFAULT '',

`joiningLocation` varchar(255) NOT NULL DEFAULT '',

`minlvl` int(4) NOT NULL DEFAULT '0',

`maxlvl` int(4) NOT NULL DEFAULT '0',

`npcId` int(8) NOT NULL DEFAULT '0',

`npcX` int(11) NOT NULL DEFAULT '0',

`npcY` int(11) NOT NULL DEFAULT '0',

`npcZ` int(11) NOT NULL DEFAULT '0',

`npcHeading` int(11) NOT NULL DEFAULT '0',

`rewardId` int(11) NOT NULL DEFAULT '0',

`rewardAmount` int(11) NOT NULL DEFAULT '0',

`teamsCount` int(4) NOT NULL DEFAULT '0',

`joinTime` int(11) NOT NULL DEFAULT '0',

`eventTime` int(11) NOT NULL DEFAULT '0',

`minPlayers` int(4) NOT NULL DEFAULT '0',

`maxPlayers` int(4) NOT NULL DEFAULT '0'

) ENGINE=InnoDB DEFAULT CHARSET=utf8;

 

-- ----------------------------

-- Table structure for ctf_teams

-- ----------------------------

CREATE TABLE `ctf_teams` (

`teamId` int(4) NOT NULL DEFAULT '0',

`teamName` varchar(255) NOT NULL DEFAULT '',

`teamX` int(11) NOT NULL DEFAULT '0',

`teamY` int(11) NOT NULL DEFAULT '0',

`teamZ` int(11) NOT NULL DEFAULT '0',

`teamColor` int(11) NOT NULL DEFAULT '0',

`flagX` int(11) NOT NULL DEFAULT '0',

`flagY` int(11) NOT NULL DEFAULT '0',

`flagZ` int(11) NOT NULL DEFAULT '0',

PRIMARY KEY (`teamId`)

) ENGINE=InnoDB DEFAULT CHARSET=utf8;

 

-- ----------------------------

-- Table structure for tvt

-- ----------------------------

CREATE TABLE `tvt` (

`eventName` varchar(255) NOT NULL DEFAULT '',

`eventDesc` varchar(255) NOT NULL DEFAULT '',

`joiningLocation` varchar(255) NOT NULL DEFAULT '',

`minlvl` int(4) NOT NULL DEFAULT '0',

`maxlvl` int(4) NOT NULL DEFAULT '0',

`npcId` int(8) NOT NULL DEFAULT '0',

`npcX` int(11) NOT NULL DEFAULT '0',

`npcY` int(11) NOT NULL DEFAULT '0',

`npcZ` int(11) NOT NULL DEFAULT '0',

`npcHeading` int(11) NOT NULL DEFAULT '0',

`rewardId` int(11) NOT NULL DEFAULT '0',

`rewardAmount` int(11) NOT NULL DEFAULT '0',

`teamsCount` int(4) NOT NULL DEFAULT '0',

`joinTime` int(11) NOT NULL DEFAULT '0',

`eventTime` int(11) NOT NULL DEFAULT '0',

`minPlayers` int(4) NOT NULL DEFAULT '0',

`maxPlayers` int(4) NOT NULL DEFAULT '0'

) ENGINE=InnoDB DEFAULT CHARSET=utf8;

 

-- ----------------------------

-- Table structure for tvt_teams

-- ----------------------------

CREATE TABLE `tvt_teams` (

`teamId` int(4) NOT NULL DEFAULT '0',

`teamName` varchar(255) NOT NULL DEFAULT '',

`teamX` int(11) NOT NULL DEFAULT '0',

`teamY` int(11) NOT NULL DEFAULT '0',

`teamZ` int(11) NOT NULL DEFAULT '0',

`teamColor` int(11) NOT NULL DEFAULT '0',

PRIMARY KEY (`teamId`)

) ENGINE=InnoDB DEFAULT CHARSET=utf8;

 

-- ----------------------------

-- Records

-- ----------------------------

INSERT INTO `ctf` VALUES ('CTF', 'CTF', 'Giran', '20', '85', '4', '82639', '149026', '-3464', '17958', '3470', '25', '2', '30', '30', '4', '100');

INSERT INTO `ctf_teams` VALUES ('0', 'Angel', '-53427', '-174891', '-10005', '16777215', '-54180', '-174886', '-10000');

INSERT INTO `ctf_teams` VALUES ('1', 'Evil', '-43610', '-174885', '-10971', '4521932', '-43407', '-174884', '-10971');

INSERT INTO `tvt` VALUES ('TvT Event', 'Giran', 'Giran', '1', '100', '5005', '83295', '148610', '-3405', '32240', '900005', '5', '2', '5', '10', '2', '100');

INSERT INTO `tvt_teams` VALUES ('0', 'Good', '174054', '-79674', '-5108', '3407871');

INSERT INTO `tvt_teams` VALUES ('1', 'Evil', '174056', '-84134', '-5108', '16777011');

 

Cola num bloco de notas como sql e ezecuta se nao der coloque manualmente,este e pra cria as tabelas tbm se ja tiver vc pode configura em jogo //tvt ou //ctf ou mesmo deleta a parte ate Records e usa so o Insert Into.

Editado por patricktb

Servidor Lineage II Sem Custom:

Clique aqui

Link para o comentário
Compartilhar em outros sites


O TvT/CtF/etc...

É configurado nas Configs...

Não é na DataBase...

 

Tópico trancado, qualquer coisa me manda MP que reabro o tópico.

"Não existem pessoas Noobs ou Burras,

Mas sim existem as que Não possuem o Conhecimento,

Ou têm preguiça de encontra-lo." By K4N4BS

 

Estou procurando por Programadores em java, favor me mandar MP.

 

Eu não respondo Dúvidas/Pedidos por MP nem por MSN, nem adianta tentar.

Link para o comentário
Compartilhar em outros sites

Visitante
Este tópico está impedido de receber novos posts.



×
×
  • Criar Novo...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.