Ir para conteúdo
  • Cadastre-se

11.x [WIP] OTXServer 12.31 Global Full + Kilmaresh (Issavi) + BESTIARY - QUICKLOOT


Posts Recomendados

Em 04/05/2020 em 12:19, pedrobta disse:

Bom dia, estou utilizando o WEBSITE conforme ele disse que era o compatível, já procurei em vários fóruns como resolver o problema, porém não consegui encontrar nada.

Algumas informações abaixo:
1. Importei para o banco de dados o schema que está dentro da raiz do servidor;

2. configurei o arquivo config.ph-> alterando para o meu path;

3. Já tentei remover as linhas de erro do load.init.php abaixo da linha 47 porém nao resolve nada.

 

Agradeço a ajuda, obrigado.

 

image.thumb.png.45361a1eb86b78b245b80640f8f6d864.png

 

estava com mesmo problema passei a usar MYACC funcionou consegui, logar ate no client 12.00 só não consegui logar no 12.30.

link MYACC: https://github.com/slawkens/myaac/releases/tag/v0.8.1

 

  

3 horas atrás, gabitutox disse:

mesmo problema, alguem pode nos ajudar ?

depois de fazer de tudo, ja mudei a chara RSA ja coloquei o server online, ja coloquei o site pra funcionar e adicionei o plugins do login.php, porem nada deu certo, baixei o tibia client 12 do site do tibia.

se alguem puder me ajudar agradeceria.

meu problema e o seguinte, coloco meu email e a senha certinha, porem fala que esta errada.

 

Sem título.png

 

Tenta com essa login.php



<?php
require_once('common.php');
require_once('config.php');
require_once('config.local.php');
require_once(SYSTEM . 'functions.php');
require_once(SYSTEM . 'init.php');
require_once(SYSTEM . 'status.php');

# error function
function sendError($msg){
	$ret = [];
	$ret["errorCode"] = 3;
	$ret["errorMessage"] = $msg;
	die(json_encode($ret));
}

$request = file_get_contents('php://input');
$result = json_decode($request);
$action = isset($result->type) ? $result->type : '';

switch ($action) {
	case 'cacheinfo':
		die(json_encode([
			'playersonline' => $status['players'],
			'twitchstreams' => 0,
			'twitchviewer' => 0,
			'gamingyoutubestreams' => 0,
			'gamingyoutubeviewer' => 0
		]));
	break;
	
	case 'eventschedule':
		die(json_encode([
			'eventlist' => []
		]));
	break;

	case 'boostedcreature':
		die(json_encode([
			'boostedcreature' => false,
		]));
	break;

	case 'login':
	
		$port = $config['lua']['gameProtocolPort'];
	
		// default world info
		$world = [
			'id' => 0,
			'name' => $config['lua']['serverName'],
			'externaladdressprotected' => $config['lua']['ip'],
			'externalportprotected' => $port,
			'externaladdressunprotected' => $config['lua']['ip'],
			'externalportunprotected' => $port,
			'previewstate' => 0,
			'location' => 'BRA', // BRA, EUR, USA
			'anticheatprotection' => false,
			'pvptype' => array_search($config['lua']['worldType'], ['pvp', 'no-pvp', 'pvp-enforced']),
			'istournamentworld' => false,
			'restrictedstore' => false,
			'currenttournamentphase' => 2
		];

		$characters = [];
		$account = null;
		
		// common columns
		$columns = 'name, level, sex, vocation, looktype, lookhead, lookbody, looklegs, lookfeet, lookaddons, deletion, lastlogin';
		
		$account = new OTS_Account();
		$account->find($result->email);
		$config_salt_enabled = fieldExist('salt', 'accounts');
		$current_password = encrypt(($config_salt_enabled ? $account->getCustomField('salt') : '') . $result->password);

		if (!$account->isLoaded() || $account->getPassword() != $current_password) {
			sendError('Account name or password is not correct.');
		}

		$players = $db->query("select {$columns} from players where account_id = " . $account->getId())->fetchAll();
		foreach ($players as $player) {
			$characters[] = create_char($player);
		}

		$worlds = [$world];
		$playdata = compact('worlds', 'characters');
		$session = [
			'sessionkey' => "$result->email\n$result->password",
			'lastlogintime' => (!$account) ? 0 : $account->getLastLogin(),
			'ispremium' => (!$account) ? true : $account->isPremium(),
			'premiumuntil' => (!$account) ? 0 : (time() + ($account->getPremDays() * 86400)),
			'status' => 'active', // active, frozen or suspended
			'returnernotification' => false,
			'showrewardnews' => true,
			'isreturner' => true,
			'fpstracking' => false,
			'optiontracking' => false,
			'tournamentticketpurchasestate' => 0,
			'emailcoderequest' => false
		];
		die(json_encode(compact('session', 'playdata')));
	break;
	
	default:
		sendError("Unrecognized event {$action}.");
	break;
}

function create_char($player) {
	global $config;
	return [
		'worldid' => 0,
		'name' => $player['name'],
		'ismale' => intval($player['sex']) === 1,
		'tutorial' => false, //intval($player['lastlogin']) === 0,
		'level' => intval($player['level']),
		'vocation' => $config['vocations'][$player['vocation']],
		'outfitid' => intval($player['looktype']),
		'headcolor' => intval($player['lookhead']),
		'torsocolor' => intval($player['lookbody']),
		'legscolor' => intval($player['looklegs']),
		'detailcolor' => intval($player['lookfeet']),
		'addonsflags' => intval($player['lookaddons']),
		'ishidden' => intval($player['deletion']) === 1,
		'istournamentparticipant' => false,
		'remainingdailytournamentplaytime' => 0
	];
}

 

Editado por amoxicilina
responder mais um membro. (veja o histórico de edições)
Link para o post
Compartilhar em outros sites
  • Respostas 5k
  • Created
  • Última resposta

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

OTXServer Global Full Kilmaresh by Malucooo   [CLIENTS COMPATÍVEIS]   http://www.gitlab.com/guilhermesidney/cliente10/   [DOWNLOAD] BAIXEM EM: https://github.com/malucooo

Adicionado Imbuing System, Inspection System por Charles (Eternal-Scripts) Corrigido e atualizado Prey System por Charles (Eternal-Scripts)   Obrigado pela colaboração, acredito que no

Atualizações de Médio Porte:   - Items.otb 11.31 (adicionado os novos barris de potion e mais uns 700 items adicionado..) - Client 10 Atualizado - Adicionado a categoria carpet...

Posted Images

Em 04/05/2020 em 09:19, pedrobta disse:

Bom dia, estou utilizando o WEBSITE conforme ele disse que era o compatível, já procurei em vários fóruns como resolver o problema, porém não consegui encontrar nada.

Algumas informações abaixo:
1. Importei para o banco de dados o schema que está dentro da raiz do servidor;

2. configurei o arquivo config.ph-> alterando para o meu path;

3. Já tentei remover as linhas de erro do load.init.php abaixo da linha 47 porém nao resolve nada.

 

Agradeço a ajuda, obrigado.

 

image.thumb.png.45361a1eb86b78b245b80640f8f6d864.png

 

I have the same problem. please help

Link para o post
Compartilhar em outros sites
9 horas atrás, amoxicilina disse:

estava com mesmo problema passei a usar MYACC funcionou consegui, logar ate no client 12.00 só não consegui logar no 12.30.

link MYACC: https://github.com/slawkens/myaac/releases/tag/v0.8.1

 

  

Tenta com essa login.php




<?php
require_once('common.php');
require_once('config.php');
require_once('config.local.php');
require_once(SYSTEM . 'functions.php');
require_once(SYSTEM . 'init.php');
require_once(SYSTEM . 'status.php');

# error function
function sendError($msg){
	$ret = [];
	$ret["errorCode"] = 3;
	$ret["errorMessage"] = $msg;
	die(json_encode($ret));
}

$request = file_get_contents('php://input');
$result = json_decode($request);
$action = isset($result->type) ? $result->type : '';

switch ($action) {
	case 'cacheinfo':
		die(json_encode([
			'playersonline' => $status['players'],
			'twitchstreams' => 0,
			'twitchviewer' => 0,
			'gamingyoutubestreams' => 0,
			'gamingyoutubeviewer' => 0
		]));
	break;
	
	case 'eventschedule':
		die(json_encode([
			'eventlist' => []
		]));
	break;

	case 'boostedcreature':
		die(json_encode([
			'boostedcreature' => false,
		]));
	break;

	case 'login':
	
		$port = $config['lua']['gameProtocolPort'];
	
		// default world info
		$world = [
			'id' => 0,
			'name' => $config['lua']['serverName'],
			'externaladdressprotected' => $config['lua']['ip'],
			'externalportprotected' => $port,
			'externaladdressunprotected' => $config['lua']['ip'],
			'externalportunprotected' => $port,
			'previewstate' => 0,
			'location' => 'BRA', // BRA, EUR, USA
			'anticheatprotection' => false,
			'pvptype' => array_search($config['lua']['worldType'], ['pvp', 'no-pvp', 'pvp-enforced']),
			'istournamentworld' => false,
			'restrictedstore' => false,
			'currenttournamentphase' => 2
		];

		$characters = [];
		$account = null;
		
		// common columns
		$columns = 'name, level, sex, vocation, looktype, lookhead, lookbody, looklegs, lookfeet, lookaddons, deletion, lastlogin';
		
		$account = new OTS_Account();
		$account->find($result->email);
		$config_salt_enabled = fieldExist('salt', 'accounts');
		$current_password = encrypt(($config_salt_enabled ? $account->getCustomField('salt') : '') . $result->password);

		if (!$account->isLoaded() || $account->getPassword() != $current_password) {
			sendError('Account name or password is not correct.');
		}

		$players = $db->query("select {$columns} from players where account_id = " . $account->getId())->fetchAll();
		foreach ($players as $player) {
			$characters[] = create_char($player);
		}

		$worlds = [$world];
		$playdata = compact('worlds', 'characters');
		$session = [
			'sessionkey' => "$result->email\n$result->password",
			'lastlogintime' => (!$account) ? 0 : $account->getLastLogin(),
			'ispremium' => (!$account) ? true : $account->isPremium(),
			'premiumuntil' => (!$account) ? 0 : (time() + ($account->getPremDays() * 86400)),
			'status' => 'active', // active, frozen or suspended
			'returnernotification' => false,
			'showrewardnews' => true,
			'isreturner' => true,
			'fpstracking' => false,
			'optiontracking' => false,
			'tournamentticketpurchasestate' => 0,
			'emailcoderequest' => false
		];
		die(json_encode(compact('session', 'playdata')));
	break;
	
	default:
		sendError("Unrecognized event {$action}.");
	break;
}

function create_char($player) {
	global $config;
	return [
		'worldid' => 0,
		'name' => $player['name'],
		'ismale' => intval($player['sex']) === 1,
		'tutorial' => false, //intval($player['lastlogin']) === 0,
		'level' => intval($player['level']),
		'vocation' => $config['vocations'][$player['vocation']],
		'outfitid' => intval($player['looktype']),
		'headcolor' => intval($player['lookhead']),
		'torsocolor' => intval($player['lookbody']),
		'legscolor' => intval($player['looklegs']),
		'detailcolor' => intval($player['lookfeet']),
		'addonsflags' => intval($player['lookaddons']),
		'ishidden' => intval($player['deletion']) === 1,
		'istournamentparticipant' => false,
		'remainingdailytournamentplaytime' => 0
	];
}

 

 

valeu amigo vc e o melhor

Link para o post
Compartilhar em outros sites
Em 25/04/2020 em 16:32, Patrickcvs disse:

Amigo, o problema eu encontrei no arquivo tiles.lua.

Tenta usar esse e faça um novo teste por favor.

ele fica na pasta \data\movements\scripts\others

 

tiles.lua 2 kB · 8 downloads

Amigo estava com o mesmo problema fiz uma alteração simples no config.lua e creio que tenha resolvido.

A alteração foi trocar o modo como sai as magias, coloquei elas em laranja igual na maioria dos ot server e não tive ainda esse problema novamente.

entre no config.lua e procure por:

emoteSpells = false

 

troque por

 

emoteSpells = true

 

Faça o teste e me diga se resolveu.

 

Não manjo muito de programação e ot server, mas o que puder auxiliar eu vou tentando tirar as dúvidas.

Alguém agora pode me auxiliar? Quero testar os imbuements, porém para usar a máquina de imbuements precisa ter as quests completas,

alguém sabe como eu removo isso? Quero deixar todo mundo com acesso aos imbuements sem precisar fazer a quest.

 

o arquivo de tiles resolveu meu problema de tomar DC quando passava em alguns SQM ou entrava no DP vlW xD

 

 

porem continuo com alguns outros problemas, de quando mata um mob o client crasha, ou quando passa em alguns portais o client trava também

Link para o post
Compartilhar em outros sites
5 horas atrás, Evollutions disse:

o arquivo de tiles resolveu meu problema de tomar DC quando passava em alguns SQM ou entrava no DP vlW xD

 

 

porem continuo com alguns outros problemas, de quando mata um mob o client crasha, ou quando passa em alguns portais o client trava também

 

A questão dos mob precisa ver se fez alguam alteração, eu tava com isso também, ai baixei tudo de novo e resolveu, a questão dos portais, esse server está configurado para precisar de quest para tudo, ou seja, se um portal tem algum Action Id de quest e seu personagem não tem essa quest o cliente irá travar mesmo.

Um alternativa é arrumar as permissões de quest por player, mas o problema é o action Id mesmo, se pelo map editor vc retirar o action id e colocar só a posição para onde o portal irá levar isso também já ajuda.

Link para o post
Compartilhar em outros sites
Em 05/05/2020 em 14:18, xpress disse:

I have the same problem. please help

 

utilize este ---> https://github.com/slawkens/myaac/releases/tag/v0.8.1

Link para o post
Compartilhar em outros sites
Em 07/03/2016 em 16:35, malucooo disse:

OTXServer Global Full Kilmaresh by Malucooo

 

[CLIENTS COMPATÍVEIS]

  http://www.gitlab.com/guilhermesidney/cliente10/

 

[DOWNLOAD]

BAIXEM EM: https://github.com/malucooo/otxserver-new

DISTRO COMPILADA EM: https://ci.appveyor.com/project/malucooo/otxserver-new/build/artifacts

WEBSITE COMPATIVEL EM: https://github.com/omarcopires/gesior/

 

[FEATURES]

 REWARD SYSTEM, PREY SYSTEM, IMBUIMENT SYSTEM, DAILY REWARD SYSTEM, EXERCISE WEAPONS, BESTIARY, QUICKLOOT...

 

[MAPA]

FULL GLOBAL MAP WITH KILMARESH (ISSAVI)

 

Image

 

[AGRADECIMENTO]

TIBIAKING PELO ESPAÇO CONCEDIDO, TODOS QUE COLABORARAM MOSTRANDO OS BUGS, AOS AMIGOS QUE TRABALHAM COMIGO AQUI NO FÓRUM E NO GRUPO DO WHATSAPP, OTXSERVER (Matt Gomez), AOS CRIADORES DO THE FORGOTTEN SERVER E MAIS UMA VEZ A TODOS QUE ACREDITARAM E ACREDITAM NO PROJETO.

 

 

[CONTATO]

FACEBOOK:https://www.facebook.com/erick.nunes.75/

SKYPE: [email protected]

WHATSAPP: +5544998940391.

 

[Créditos]

Tfs 1.3 Developers -Zbizu - Pitis91 - MatheusMkalo - Gesior - Lundrial - M4G0 -

Fish04k - Printer - Djarek - Ninjalulz - Slavidodo - Thexamx - Socket2810 - Ciroc - Absolute - Gordonbay - Mitsuig - Alissonfgp - Gunz - Bruno Minervino - Comedinha -Hirako - Maya - Mattyx14 – Darkjav - Viking Tibia - Cjaker (Eternal-Scripts)

 

 

Bom dia mano!

 

olha tentei importar database..

entao acho que esta com algum erro na .sql

 

segue em baixo o erro

 

 

 

Importação terminou com sucesso, 41 queries executadas. (schema.sql)
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,5386 segundos.)
-- -------------------------------------------------------- -- -- Table structure `server_config` -- CREATE TABLE IF NOT EXISTS `server_config` ( `config` varchar(50) NOT NULL, `value` varchar(256) NOT NULL DEFAULT '', CONSTRAINT `server_config_pk` PRIMARY KEY (`config`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif Warning: #1280 Name 'server_config_pk' ignored for PRIMARY key.
dot.gif 4 linha(s) inseridas. (A consulta demorou 0,1220 segundos.)
INSERT INTO `server_config` (`config`, `value`) VALUES ('db_version', '0'), ('motd_hash', ''), ('motd_num', '0'), ('players_record', '0')
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,2807 segundos.)
-- -------------------------------------------------------- -- -- Table structure `accounts` -- CREATE TABLE IF NOT EXISTS `accounts` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(32) NOT NULL, `password` char(40) NOT NULL, `secret` char(16) DEFAULT NULL, `type` int(11) NOT NULL DEFAULT '1', `premdays` int(11) NOT NULL DEFAULT '0', `coins` int(12) NOT NULL DEFAULT '0', `lastday` int(10) UNSIGNED NOT NULL DEFAULT '0', `email` varchar(255) NOT NULL DEFAULT '', `creation` int(11) NOT NULL DEFAULT '0', `vote` int(11) NOT NULL DEFAULT 0, `key` varchar(20) NOT NULL DEFAULT '0', `email_new` varchar(255) NOT NULL DEFAULT '', `email_new_time` int(11) NOT NULL DEFAULT '0', `rlname` varchar(255) NOT NULL DEFAULT '', `location` varchar(255) NOT NULL DEFAULT '', `page_access` int(11) NOT NULL DEFAULT '0', `email_code` varchar(255) NOT NULL DEFAULT '', `next_email` int(11) NOT NULL DEFAULT '0', `create_date` int(11) NOT NULL DEFAULT '0', `create_i[...]
  [ Edita ]
dot.gif Warning: #1280 Name 'accounts_pk' ignored for PRIMARY key.
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,5454 segundos.)
-- -------------------------------------------------------- -- -- Table structure `players` -- CREATE TABLE IF NOT EXISTS `players` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL, `group_id` int(11) NOT NULL DEFAULT '1', `account_id` int(11) NOT NULL DEFAULT '0', `level` int(11) NOT NULL DEFAULT '1', `vocation` int(11) NOT NULL DEFAULT '0', `health` int(11) NOT NULL DEFAULT '150', `healthmax` int(11) NOT NULL DEFAULT '150', `experience` bigint(20) NOT NULL DEFAULT '0', `lookbody` int(11) NOT NULL DEFAULT '0', `lookfeet` int(11) NOT NULL DEFAULT '0', `lookhead` int(11) NOT NULL DEFAULT '0', `looklegs` int(11) NOT NULL DEFAULT '0', `looktype` int(11) NOT NULL DEFAULT '136', `lookaddons` int(11) NOT NULL DEFAULT '0', `maglevel` int(11) NOT NULL DEFAULT '0', `mana` int(11) NOT NULL DEFAULT '0', `manamax` int(11) NOT NULL DEFAULT '0', `manaspent` int(11) UNSIGNED NOT NULL DEFAULT '0', `soul` int(10) UNSIGNED NOT NULL DEFAULT '0[...]
  [ Edita ]
dot.gif Warning: #1280 Name 'players_pk' ignored for PRIMARY key.
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,3936 segundos.)
-- -------------------------------------------------------- -- -- Table structure `account_bans` -- CREATE TABLE IF NOT EXISTS `account_bans` ( `account_id` int(11) NOT NULL, `reason` varchar(255) NOT NULL, `banned_at` bigint(20) NOT NULL, `expires_at` bigint(20) NOT NULL, `banned_by` int(11) NOT NULL, INDEX `banned_by` (`banned_by`), CONSTRAINT `account_bans_pk` PRIMARY KEY (`account_id`), CONSTRAINT `account_bans_account_fk` FOREIGN KEY (`account_id`) REFERENCES `accounts` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `account_bans_player_fk` FOREIGN KEY (`banned_by`) REFERENCES `players` (`id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif Warning: #1280 Name 'account_bans_pk' ignored for PRIMARY key.
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,2953 segundos.)
-- -------------------------------------------------------- -- -- Table structure `account_ban_history` -- CREATE TABLE IF NOT EXISTS `account_ban_history` ( `id` int(11) NOT NULL AUTO_INCREMENT, `account_id` int(11) NOT NULL, `reason` varchar(255) NOT NULL, `banned_at` bigint(20) NOT NULL, `expired_at` bigint(20) NOT NULL, `banned_by` int(11) NOT NULL, INDEX `account_id` (`account_id`), INDEX `banned_by` (`banned_by`), CONSTRAINT `account_bans_history_account_fk` FOREIGN KEY (`account_id`) REFERENCES `accounts` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `account_bans_history_player_fk` FOREIGN KEY (`banned_by`) REFERENCES `players` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `account_ban_history_pk` PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif Warning: #1280 Name 'account_ban_history_pk' ignored for PRIMARY key.
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,2702 segundos.)
-- -------------------------------------------------------- -- -- Table structure `account_viplist` -- CREATE TABLE IF NOT EXISTS `account_viplist` ( `account_id` int(11) NOT NULL COMMENT 'id of account whose viplist entry it is', `player_id` int(11) NOT NULL COMMENT 'id of target player of viplist entry', `description` varchar(128) NOT NULL DEFAULT '', `icon` tinyint(2) UNSIGNED NOT NULL DEFAULT '0', `notify` tinyint(1) NOT NULL DEFAULT '0', INDEX `account_id` (`account_id`), INDEX `player_id` (`player_id`), CONSTRAINT `account_viplist_unique` UNIQUE (`account_id`, `player_id`), CONSTRAINT `account_viplist_account_fk` FOREIGN KEY (`account_id`) REFERENCES `accounts` (`id`) ON DELETE CASCADE, CONSTRAINT `account_viplist_player_fk` FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,3053 segundos.)
-- -------------------------------------------------------- -- -- Tabble Structure `daily_reward_history` -- CREATE TABLE IF NOT EXISTS `daily_reward_history` ( `id` INT NOT NULL PRIMARY KEY auto_increment, `streak` smallint(2) not null default 0, `event` varchar(255), `time` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, `instant` tinyint unsigned NOT NULL DEFAULT 0 , `player_id` INT NOT NULL, FOREIGN KEY(`player_id`) REFERENCES `players`(`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,1948 segundos.)
-- -------------------------------------------------------- -- -- Table structure `global_storage` -- CREATE TABLE IF NOT EXISTS `global_storage` ( `key` varchar(32) NOT NULL, `value` text NOT NULL, CONSTRAINT `global_storage_unique` UNIQUE (`key`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,2404 segundos.)
-- -------------------------------------------------------- -- -- Table structure `guilds` -- CREATE TABLE IF NOT EXISTS `guilds` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL, `ownerid` int(11) NOT NULL, `creationdata` int(11) NOT NULL, `motd` varchar(255) NOT NULL DEFAULT '', `residence` int(11) NOT NULL DEFAULT '0', `description` text NOT NULL DEFAULT '', `balance` bigint(20) UNSIGNED NOT NULL DEFAULT '0', CONSTRAINT `guilds_pk` PRIMARY KEY (`id`), CONSTRAINT `guilds_name_unique` UNIQUE (`name`), CONSTRAINT `guilds_owner_unique` UNIQUE (`ownerid`), CONSTRAINT `guilds_ownerid_fk` FOREIGN KEY (`ownerid`) REFERENCES `players` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif Warning: #1280 Name 'guilds_pk' ignored for PRIMARY key.
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,4178 segundos.)
-- -------------------------------------------------------- -- -- Table structure `guild_wars` -- CREATE TABLE IF NOT EXISTS `guild_wars` ( `id` int(11) NOT NULL AUTO_INCREMENT, `guild1` int(11) NOT NULL DEFAULT '0', `guild2` int(11) NOT NULL DEFAULT '0', `name1` varchar(255) NOT NULL, `name2` varchar(255) NOT NULL, `status` tinyint(2) NOT NULL DEFAULT '0', `started` bigint(15) NOT NULL DEFAULT '0', `ended` bigint(15) NOT NULL DEFAULT '0', INDEX `guild1` (`guild1`), INDEX `guild2` (`guild2`), CONSTRAINT `guild_wars_pk` PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif Warning: #1280 Name 'guild_wars_pk' ignored for PRIMARY key.
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,3705 segundos.)
-- -------------------------------------------------------- -- -- Table structure `guildwar_kills` -- CREATE TABLE IF NOT EXISTS `guildwar_kills` ( `id` int(11) NOT NULL AUTO_INCREMENT, `killer` varchar(50) NOT NULL, `target` varchar(50) NOT NULL, `killerguild` int(11) NOT NULL DEFAULT '0', `targetguild` int(11) NOT NULL DEFAULT '0', `warid` int(11) NOT NULL DEFAULT '0', `time` bigint(15) NOT NULL, INDEX `warid` (`warid`), CONSTRAINT `guildwar_kills_pk` PRIMARY KEY (`id`), CONSTRAINT `guildwar_kills_unique` UNIQUE (`warid`), CONSTRAINT `guildwar_kills_warid_fk` FOREIGN KEY (`warid`) REFERENCES `guild_wars` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif Warning: #1280 Name 'guildwar_kills_pk' ignored for PRIMARY key.
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,2377 segundos.)
-- -------------------------------------------------------- -- -- Table structure `guild_invites` -- CREATE TABLE IF NOT EXISTS `guild_invites` ( `player_id` int(11) NOT NULL DEFAULT '0', `guild_id` int(11) NOT NULL DEFAULT '0', `date` int(11) NOT NULL, INDEX `guild_id` (`guild_id`), CONSTRAINT `guild_invites_pk` PRIMARY KEY (`player_id`, `guild_id`), CONSTRAINT `guild_invites_player_fk` FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE, CONSTRAINT `guild_invites_guild_fk` FOREIGN KEY (`guild_id`) REFERENCES `guilds` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif Warning: #1280 Name 'guild_invites_pk' ignored for PRIMARY key.
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,2831 segundos.)
-- -------------------------------------------------------- -- -- Table structure `guild_ranks` -- CREATE TABLE IF NOT EXISTS `guild_ranks` ( `id` int(11) NOT NULL AUTO_INCREMENT, `guild_id` int(11) NOT NULL COMMENT 'guild', `name` varchar(255) NOT NULL COMMENT 'rank name', `level` int(11) NOT NULL COMMENT 'rank level - leader, vice, member, maybe something else', INDEX `guild_id` (`guild_id`), CONSTRAINT `guild_ranks_pk` PRIMARY KEY (`id`), CONSTRAINT `guild_ranks_fk` FOREIGN KEY (`guild_id`) REFERENCES `guilds` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif Warning: #1280 Name 'guild_ranks_pk' ignored for PRIMARY key.
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,1385 segundos.)
CREATE TRIGGER `oncreate_guilds` AFTER INSERT ON `guilds` FOR EACH ROW BEGIN INSERT INTO `guild_ranks` (`name`, `level`, `guild_id`) VALUES ('The Leader', 3, NEW.`id`); INSERT INTO `guild_ranks` (`name`, `level`, `guild_id`) VALUES ('Vice-Leader', 2, NEW.`id`); INSERT INTO `guild_ranks` (`name`, `level`, `guild_id`) VALUES ('Member', 1, NEW.`id`); END
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,3374 segundos.)
-- -------------------------------------------------------- -- -- Table structure `guild_membership` -- CREATE TABLE IF NOT EXISTS `guild_membership` ( `player_id` int(11) NOT NULL, `guild_id` int(11) NOT NULL, `rank_id` int(11) NOT NULL, `nick` varchar(15) NOT NULL DEFAULT '', INDEX `guild_id` (`guild_id`), INDEX `rank_id` (`rank_id`), CONSTRAINT `guild_membership_pk` PRIMARY KEY (`player_id`), CONSTRAINT `guild_membership_player_fk` FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `guild_membership_guild_fk` FOREIGN KEY (`guild_id`) REFERENCES `guilds` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `guild_membership_rank_fk` FOREIGN KEY (`rank_id`) REFERENCES `guild_ranks` (`id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif Warning: #1280 Name 'guild_membership_pk' ignored for PRIMARY key.
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,3126 segundos.)
-- -------------------------------------------------------- -- -- Table structure `houses` -- CREATE TABLE IF NOT EXISTS `houses` ( `id` int(11) NOT NULL AUTO_INCREMENT, `owner` int(11) NOT NULL, `paid` int(10) UNSIGNED NOT NULL DEFAULT '0', `warnings` int(11) NOT NULL DEFAULT '0', `name` varchar(255) NOT NULL, `rent` int(11) NOT NULL DEFAULT '0', `town_id` int(11) NOT NULL DEFAULT '0', `bid` int(11) NOT NULL DEFAULT '0', `bid_end` int(11) NOT NULL DEFAULT '0', `last_bid` int(11) NOT NULL DEFAULT '0', `highest_bidder` int(11) NOT NULL DEFAULT '0', `size` int(11) NOT NULL DEFAULT '0', `guildid` int(11), `beds` int(11) NOT NULL DEFAULT '0', INDEX `owner` (`owner`), INDEX `town_id` (`town_id`), CONSTRAINT `houses_pk` PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif Warning: #1280 Name 'houses_pk' ignored for PRIMARY key.
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,1026 segundos.)
CREATE TRIGGER `ondelete_players` BEFORE DELETE ON `players` FOR EACH ROW BEGIN UPDATE `houses` SET `owner` = 0 WHERE `owner` = OLD.`id`; END
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,4720 segundos.)
-- -------------------------------------------------------- -- -- Table structure `house_lists` -- CREATE TABLE IF NOT EXISTS `house_lists` ( `house_id` int(11) NOT NULL, `listid` int(11) NOT NULL, `list` text NOT NULL, INDEX `house_id` (`house_id`), CONSTRAINT `houses_list_house_fk` FOREIGN KEY (`house_id`) REFERENCES `houses` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 1,3232 segundos.)
-- -------------------------------------------------------- -- -- Table structure `ip_bans` -- CREATE TABLE IF NOT EXISTS `ip_bans` ( `ip` int(11) NOT NULL, `reason` varchar(255) NOT NULL, `banned_at` bigint(20) NOT NULL, `expires_at` bigint(20) NOT NULL, `banned_by` int(11) NOT NULL, INDEX `banned_by` (`banned_by`), CONSTRAINT `ip_bans_pk` PRIMARY KEY (`ip`), CONSTRAINT `ip_bans_players_fk` FOREIGN KEY (`banned_by`) REFERENCES `players` (`id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif Warning: #1280 Name 'ip_bans_pk' ignored for PRIMARY key.
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 3,1590 segundos.)
-- -------------------------------------------------------- -- -- Table structure `market_history` -- CREATE TABLE IF NOT EXISTS `market_history` ( `id` int(11) NOT NULL AUTO_INCREMENT, `player_id` int(11) NOT NULL, `sale` tinyint(1) NOT NULL DEFAULT '0', `itemtype` int(10) UNSIGNED NOT NULL, `amount` smallint(5) UNSIGNED NOT NULL, `price` int(10) UNSIGNED NOT NULL DEFAULT '0', `expires_at` bigint(20) UNSIGNED NOT NULL, `inserted` bigint(20) UNSIGNED NOT NULL, `state` tinyint(1) UNSIGNED NOT NULL, INDEX `player_id` (`player_id`,`sale`), CONSTRAINT `market_history_pk` PRIMARY KEY (`id`), CONSTRAINT `market_history_players_fk` FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif Warning: #1280 Name 'market_history_pk' ignored for PRIMARY key.
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,3255 segundos.)
-- -------------------------------------------------------- -- -- Table structure `market_offers` -- CREATE TABLE IF NOT EXISTS `market_offers` ( `id` int(11) NOT NULL AUTO_INCREMENT, `player_id` int(11) NOT NULL, `sale` tinyint(1) NOT NULL DEFAULT '0', `itemtype` int(10) UNSIGNED NOT NULL, `amount` smallint(5) UNSIGNED NOT NULL, `created` bigint(20) UNSIGNED NOT NULL, `anonymous` tinyint(1) NOT NULL DEFAULT '0', `price` int(10) UNSIGNED NOT NULL DEFAULT '0', INDEX `sale` (`sale`,`itemtype`), INDEX `created` (`created`), INDEX `player_id` (`player_id`), CONSTRAINT `market_offers_pk` PRIMARY KEY (`id`), CONSTRAINT `market_offers_players_fk` FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif Warning: #1280 Name 'market_offers_pk' ignored for PRIMARY key.
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,0534 segundos.)
-- -------------------------------------------------------- -- -- Table structure `players_online` -- CREATE TABLE IF NOT EXISTS `players_online` ( `player_id` int(11) NOT NULL, CONSTRAINT `players_online_pk` PRIMARY KEY (`player_id`) ) ENGINE=MEMORY DEFAULT CHARSET=utf8
dot.gif Warning: #1280 Name 'players_online_pk' ignored for PRIMARY key.
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,8352 segundos.)
-- -------------------------------------------------------- -- -- Table structure `player_deaths` -- CREATE TABLE IF NOT EXISTS `player_deaths` ( `player_id` int(11) NOT NULL, `time` bigint(20) UNSIGNED NOT NULL DEFAULT '0', `level` int(11) NOT NULL DEFAULT '1', `killed_by` varchar(255) NOT NULL, `is_player` tinyint(1) NOT NULL DEFAULT '1', `mostdamage_by` varchar(100) NOT NULL, `mostdamage_is_player` tinyint(1) NOT NULL DEFAULT '0', `unjustified` tinyint(1) NOT NULL DEFAULT '0', `mostdamage_unjustified` tinyint(1) NOT NULL DEFAULT '0', INDEX `player_id` (`player_id`), INDEX `killed_by` (`killed_by`), INDEX `mostdamage_by` (`mostdamage_by`), CONSTRAINT `player_deaths_players_fk` FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,9661 segundos.)
-- -------------------------------------------------------- -- -- Table structure `player_depotitems` -- CREATE TABLE IF NOT EXISTS `player_depotitems` ( `player_id` int(11) NOT NULL, `sid` int(11) NOT NULL COMMENT 'any given range eg 0-100 will be reserved for depot lockers and all > 100 will be then normal items inside depots', `pid` int(11) NOT NULL DEFAULT '0', `itemtype` int(11) NOT NULL DEFAULT '0', `count` int(11) NOT NULL DEFAULT '0', `attributes` blob NOT NULL, CONSTRAINT `player_depotitems_unique` UNIQUE (`player_id`, `sid`), CONSTRAINT `player_depotitems_players_fk` FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,3114 segundos.)
-- -------------------------------------------------------- -- -- Table structure `player_inboxitems` -- CREATE TABLE IF NOT EXISTS `player_inboxitems` ( `player_id` int(11) NOT NULL, `sid` int(11) NOT NULL, `pid` int(11) NOT NULL DEFAULT '0', `itemtype` int(11) NOT NULL DEFAULT '0', `count` int(11) NOT NULL DEFAULT '0', `attributes` blob NOT NULL, CONSTRAINT `player_inboxitems_unique` UNIQUE (`player_id`, `sid`), CONSTRAINT `player_inboxitems_players_fk` FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,3835 segundos.)
-- -------------------------------------------------------- -- -- Table structure `player_items` -- CREATE TABLE IF NOT EXISTS `player_items` ( `player_id` int(11) NOT NULL DEFAULT '0', `pid` int(11) NOT NULL DEFAULT '0', `sid` int(11) NOT NULL DEFAULT '0', `itemtype` int(11) NOT NULL DEFAULT '0', `count` int(11) NOT NULL DEFAULT '0', `attributes` blob NOT NULL, INDEX `player_id` (`player_id`), INDEX `sid` (`sid`), CONSTRAINT `player_items_players_fk` FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,3192 segundos.)
-- -------------------------------------------------------- -- -- Table structure `player_kills` -- CREATE TABLE IF NOT EXISTS `player_kills` ( `player_id` int(11) NOT NULL, `time` bigint(20) UNSIGNED NOT NULL DEFAULT '0', `target` int(11) NOT NULL, `unavenged` tinyint(1) NOT NULL DEFAULT '0' ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,3292 segundos.)
-- -------------------------------------------------------- -- -- Table structure `player_misc` -- CREATE TABLE IF NOT EXISTS `player_misc` ( `player_id` int(11) NOT NULL, `info` blob NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,2279 segundos.)
-- -------------------------------------------------------- -- -- Table structure `player_namelocks` -- CREATE TABLE IF NOT EXISTS `player_namelocks` ( `player_id` int(11) NOT NULL, `reason` varchar(255) NOT NULL, `namelocked_at` bigint(20) NOT NULL, `namelocked_by` int(11) NOT NULL, INDEX `namelocked_by` (`namelocked_by`), CONSTRAINT `player_namelocks_unique` UNIQUE (`player_id`), CONSTRAINT `player_namelocks_players_fk` FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `player_namelocks_players2_fk` FOREIGN KEY (`namelocked_by`) REFERENCES `players` (`id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,3384 segundos.)
-- -------------------------------------------------------- -- -- Table structure `player_preydata` -- CREATE TABLE IF NOT EXISTS `player_preydata` ( `player_id` int(11) NOT NULL, `data` blob NOT NULL, PRIMARY KEY (`player_id`), FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE ON UPDATE CASCADE )ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,3065 segundos.)
-- -------------------------------------------------------- -- -- Table structure `player_rewards` -- CREATE TABLE IF NOT EXISTS `player_rewards` ( `player_id` int(11) NOT NULL, `sid` int(11) NOT NULL, `pid` int(11) NOT NULL DEFAULT '0', `itemtype` int(11) NOT NULL DEFAULT '0', `count` int(11) NOT NULL DEFAULT '0', `attributes` blob NOT NULL, CONSTRAINT `player_rewards_unique` UNIQUE (`player_id`, `sid`), CONSTRAINT `player_rewards_players_fk` FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,3277 segundos.)
-- -------------------------------------------------------- -- -- Table structure `player_spells` -- CREATE TABLE IF NOT EXISTS `player_spells` ( `player_id` int(11) NOT NULL, `name` varchar(255) NOT NULL, INDEX `player_id` (`player_id`), CONSTRAINT `player_spells_players_fk` FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,3293 segundos.)
-- -------------------------------------------------------- -- -- Table structure `player_storage` -- CREATE TABLE IF NOT EXISTS `player_storage` ( `player_id` int(11) NOT NULL DEFAULT '0', `key` int(10) UNSIGNED NOT NULL DEFAULT '0', `value` int(11) NOT NULL DEFAULT '0', CONSTRAINT `player_storage_pk` PRIMARY KEY (`player_id`, `key`), CONSTRAINT `player_storage_players_fk` FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif Warning: #1280 Name 'player_storage_pk' ignored for PRIMARY key.
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,3067 segundos.)
-- -------------------------------------------------------- -- -- Table structure `bestiary_killcount` -- CREATE TABLE IF NOT EXISTS `bestiary_killcount` ( `player_id` INT NULL, `monster_id` INT UNSIGNED NULL, `count` INT UNSIGNED NULL, `finished` BOOLEAN, CONSTRAINT `bestiary_killcount_players_fk` FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,2955 segundos.)
-- -------------------------------------------------------- -- -- Table structure `quickloot_containers` -- CREATE TABLE IF NOT EXISTS `quickloot_containers` ( `player_id` INT NULL, `category_id` INT UNSIGNED NULL, `cid` INT UNSIGNED NULL, `sid` INT UNSIGNED NULL, CONSTRAINT `quickloot_containers_players_fk` FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,1976 segundos.)
-- -------------------------------------------------------- -- -- Table structure `store_history` -- CREATE TABLE IF NOT EXISTS `store_history` ( `id` int(11) NOT NULL AUTO_INCREMENT, `account_id` int(11) NOT NULL, `mode` smallint(2) NOT NULL DEFAULT '0', `description` varchar(3500) NOT NULL, `coin_amount` int(12) NOT NULL, `time` bigint(20) UNSIGNED NOT NULL, `timestamp` int(11) NOT NULL DEFAULT '0', `coins` int(11) NOT NULL DEFAULT '0', INDEX `account_id` (`account_id`), CONSTRAINT `store_history_pk` PRIMARY KEY (`id`), CONSTRAINT `store_history_account_fk` FOREIGN KEY (`account_id`) REFERENCES `accounts` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif Warning: #1280 Name 'store_history_pk' ignored for PRIMARY key.
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,2729 segundos.)
-- -------------------------------------------------------- -- -- Table structure `tile_store` -- CREATE TABLE IF NOT EXISTS `tile_store` ( `house_id` int(11) NOT NULL, `data` longblob NOT NULL, INDEX `house_id` (`house_id`), CONSTRAINT `tile_store_account_fk` FOREIGN KEY (`house_id`) REFERENCES `houses` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,3396 segundos.)
-- -------------------------------------------------------- -- -- Table structure `player_charms` -- CREATE TABLE `player_charms` ( `id` int(11) NOT NULL, `player_id` int(11) NOT NULL, `charm` VARCHAR(20), `monster` VARCHAR(20) ) ENGINE=InnoDB DEFAULT CHARSET=latin1
dot.gif 2 linha(s) inseridas. (A consulta demorou 0,0948 segundos.)
-- -- Create Account GOD/god -- INSERT INTO `accounts` (`id`, `name`, `password`, `type`) VALUES (1, '1', '356a192b7913b04c54574d18c28d46e6395428ab', 1), (2, 'GOD', '21298df8a3277357ee55b01df9530b535cf08ec1', 5)
dot.gif 6 linha(s) inseridas. (A consulta demorou 0,2744 segundos.)
-- -- Create ADM Payer on GOD account -- INSERT INTO `players` (`id`, `name`, `group_id`, `account_id`, `level`, `vocation`, `health`, `healthmax`, `experience`, `lookbody`, `lookfeet`, `lookhead`, `looklegs`, `looktype`, `mana`, `manamax`, `town_id`, `conditions`, `cap`, `sex`) VALUES (1, 'Rook Sample', 1, 1, 1, 0, 150, 150, 0, 106, 95, 78, 116, 128, 5, 5, 6, '', 400, 0), (2, 'Sorcerer Sample', 1, 1, 8, 1, 185, 185, 4200, 106, 95, 78, 116, 128, 40, 40, 2, '', 470, 1), (3, 'Druid Sample', 1, 1, 8, 2, 185, 185, 4200, 106, 95, 78, 116, 128, 40, 40, 2, '', 470, 1), (4, 'Paladin Sample', 1, 1, 8, 3, 185, 185, 4200, 106, 95, 78, 116, 128, 40, 40, 2, '', 470, 1), (5, 'Knight Sample', 1, 1, 8, 4, 185, 185, 4200, 106, 95, 78, 116, 128, 40, 40, 2, '', 470, 1), (6, 'ADM', [...]
  [ Edita ]
dot.gif Warning: #1364 Field 'comment' doesn't have a default value
 
Link para o post
Compartilhar em outros sites
6 horas atrás, kleyner0 disse:

 

 

Bom dia mano!

 

olha tentei importar database..

entao acho que esta com algum erro na .sql

 

segue em baixo o erro

 

 

 

Importação terminou com sucesso, 41 queries executadas. (schema.sql)
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,5386 segundos.)
-- -------------------------------------------------------- -- -- Table structure `server_config` -- CREATE TABLE IF NOT EXISTS `server_config` ( `config` varchar(50) NOT NULL, `value` varchar(256) NOT NULL DEFAULT '', CONSTRAINT `server_config_pk` PRIMARY KEY (`config`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif Warning: #1280 Name 'server_config_pk' ignored for PRIMARY key.
dot.gif 4 linha(s) inseridas. (A consulta demorou 0,1220 segundos.)
INSERT INTO `server_config` (`config`, `value`) VALUES ('db_version', '0'), ('motd_hash', ''), ('motd_num', '0'), ('players_record', '0')
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,2807 segundos.)
-- -------------------------------------------------------- -- -- Table structure `accounts` -- CREATE TABLE IF NOT EXISTS `accounts` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(32) NOT NULL, `password` char(40) NOT NULL, `secret` char(16) DEFAULT NULL, `type` int(11) NOT NULL DEFAULT '1', `premdays` int(11) NOT NULL DEFAULT '0', `coins` int(12) NOT NULL DEFAULT '0', `lastday` int(10) UNSIGNED NOT NULL DEFAULT '0', `email` varchar(255) NOT NULL DEFAULT '', `creation` int(11) NOT NULL DEFAULT '0', `vote` int(11) NOT NULL DEFAULT 0, `key` varchar(20) NOT NULL DEFAULT '0', `email_new` varchar(255) NOT NULL DEFAULT '', `email_new_time` int(11) NOT NULL DEFAULT '0', `rlname` varchar(255) NOT NULL DEFAULT '', `location` varchar(255) NOT NULL DEFAULT '', `page_access` int(11) NOT NULL DEFAULT '0', `email_code` varchar(255) NOT NULL DEFAULT '', `next_email` int(11) NOT NULL DEFAULT '0', `create_date` int(11) NOT NULL DEFAULT '0', `create_i[...]
  [ Edita ]
dot.gif Warning: #1280 Name 'accounts_pk' ignored for PRIMARY key.
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,5454 segundos.)
-- -------------------------------------------------------- -- -- Table structure `players` -- CREATE TABLE IF NOT EXISTS `players` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL, `group_id` int(11) NOT NULL DEFAULT '1', `account_id` int(11) NOT NULL DEFAULT '0', `level` int(11) NOT NULL DEFAULT '1', `vocation` int(11) NOT NULL DEFAULT '0', `health` int(11) NOT NULL DEFAULT '150', `healthmax` int(11) NOT NULL DEFAULT '150', `experience` bigint(20) NOT NULL DEFAULT '0', `lookbody` int(11) NOT NULL DEFAULT '0', `lookfeet` int(11) NOT NULL DEFAULT '0', `lookhead` int(11) NOT NULL DEFAULT '0', `looklegs` int(11) NOT NULL DEFAULT '0', `looktype` int(11) NOT NULL DEFAULT '136', `lookaddons` int(11) NOT NULL DEFAULT '0', `maglevel` int(11) NOT NULL DEFAULT '0', `mana` int(11) NOT NULL DEFAULT '0', `manamax` int(11) NOT NULL DEFAULT '0', `manaspent` int(11) UNSIGNED NOT NULL DEFAULT '0', `soul` int(10) UNSIGNED NOT NULL DEFAULT '0[...]
  [ Edita ]
dot.gif Warning: #1280 Name 'players_pk' ignored for PRIMARY key.
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,3936 segundos.)
-- -------------------------------------------------------- -- -- Table structure `account_bans` -- CREATE TABLE IF NOT EXISTS `account_bans` ( `account_id` int(11) NOT NULL, `reason` varchar(255) NOT NULL, `banned_at` bigint(20) NOT NULL, `expires_at` bigint(20) NOT NULL, `banned_by` int(11) NOT NULL, INDEX `banned_by` (`banned_by`), CONSTRAINT `account_bans_pk` PRIMARY KEY (`account_id`), CONSTRAINT `account_bans_account_fk` FOREIGN KEY (`account_id`) REFERENCES `accounts` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `account_bans_player_fk` FOREIGN KEY (`banned_by`) REFERENCES `players` (`id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif Warning: #1280 Name 'account_bans_pk' ignored for PRIMARY key.
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,2953 segundos.)
-- -------------------------------------------------------- -- -- Table structure `account_ban_history` -- CREATE TABLE IF NOT EXISTS `account_ban_history` ( `id` int(11) NOT NULL AUTO_INCREMENT, `account_id` int(11) NOT NULL, `reason` varchar(255) NOT NULL, `banned_at` bigint(20) NOT NULL, `expired_at` bigint(20) NOT NULL, `banned_by` int(11) NOT NULL, INDEX `account_id` (`account_id`), INDEX `banned_by` (`banned_by`), CONSTRAINT `account_bans_history_account_fk` FOREIGN KEY (`account_id`) REFERENCES `accounts` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `account_bans_history_player_fk` FOREIGN KEY (`banned_by`) REFERENCES `players` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `account_ban_history_pk` PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif Warning: #1280 Name 'account_ban_history_pk' ignored for PRIMARY key.
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,2702 segundos.)
-- -------------------------------------------------------- -- -- Table structure `account_viplist` -- CREATE TABLE IF NOT EXISTS `account_viplist` ( `account_id` int(11) NOT NULL COMMENT 'id of account whose viplist entry it is', `player_id` int(11) NOT NULL COMMENT 'id of target player of viplist entry', `description` varchar(128) NOT NULL DEFAULT '', `icon` tinyint(2) UNSIGNED NOT NULL DEFAULT '0', `notify` tinyint(1) NOT NULL DEFAULT '0', INDEX `account_id` (`account_id`), INDEX `player_id` (`player_id`), CONSTRAINT `account_viplist_unique` UNIQUE (`account_id`, `player_id`), CONSTRAINT `account_viplist_account_fk` FOREIGN KEY (`account_id`) REFERENCES `accounts` (`id`) ON DELETE CASCADE, CONSTRAINT `account_viplist_player_fk` FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,3053 segundos.)
-- -------------------------------------------------------- -- -- Tabble Structure `daily_reward_history` -- CREATE TABLE IF NOT EXISTS `daily_reward_history` ( `id` INT NOT NULL PRIMARY KEY auto_increment, `streak` smallint(2) not null default 0, `event` varchar(255), `time` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP, `instant` tinyint unsigned NOT NULL DEFAULT 0 , `player_id` INT NOT NULL, FOREIGN KEY(`player_id`) REFERENCES `players`(`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,1948 segundos.)
-- -------------------------------------------------------- -- -- Table structure `global_storage` -- CREATE TABLE IF NOT EXISTS `global_storage` ( `key` varchar(32) NOT NULL, `value` text NOT NULL, CONSTRAINT `global_storage_unique` UNIQUE (`key`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,2404 segundos.)
-- -------------------------------------------------------- -- -- Table structure `guilds` -- CREATE TABLE IF NOT EXISTS `guilds` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL, `ownerid` int(11) NOT NULL, `creationdata` int(11) NOT NULL, `motd` varchar(255) NOT NULL DEFAULT '', `residence` int(11) NOT NULL DEFAULT '0', `description` text NOT NULL DEFAULT '', `balance` bigint(20) UNSIGNED NOT NULL DEFAULT '0', CONSTRAINT `guilds_pk` PRIMARY KEY (`id`), CONSTRAINT `guilds_name_unique` UNIQUE (`name`), CONSTRAINT `guilds_owner_unique` UNIQUE (`ownerid`), CONSTRAINT `guilds_ownerid_fk` FOREIGN KEY (`ownerid`) REFERENCES `players` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif Warning: #1280 Name 'guilds_pk' ignored for PRIMARY key.
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,4178 segundos.)
-- -------------------------------------------------------- -- -- Table structure `guild_wars` -- CREATE TABLE IF NOT EXISTS `guild_wars` ( `id` int(11) NOT NULL AUTO_INCREMENT, `guild1` int(11) NOT NULL DEFAULT '0', `guild2` int(11) NOT NULL DEFAULT '0', `name1` varchar(255) NOT NULL, `name2` varchar(255) NOT NULL, `status` tinyint(2) NOT NULL DEFAULT '0', `started` bigint(15) NOT NULL DEFAULT '0', `ended` bigint(15) NOT NULL DEFAULT '0', INDEX `guild1` (`guild1`), INDEX `guild2` (`guild2`), CONSTRAINT `guild_wars_pk` PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif Warning: #1280 Name 'guild_wars_pk' ignored for PRIMARY key.
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,3705 segundos.)
-- -------------------------------------------------------- -- -- Table structure `guildwar_kills` -- CREATE TABLE IF NOT EXISTS `guildwar_kills` ( `id` int(11) NOT NULL AUTO_INCREMENT, `killer` varchar(50) NOT NULL, `target` varchar(50) NOT NULL, `killerguild` int(11) NOT NULL DEFAULT '0', `targetguild` int(11) NOT NULL DEFAULT '0', `warid` int(11) NOT NULL DEFAULT '0', `time` bigint(15) NOT NULL, INDEX `warid` (`warid`), CONSTRAINT `guildwar_kills_pk` PRIMARY KEY (`id`), CONSTRAINT `guildwar_kills_unique` UNIQUE (`warid`), CONSTRAINT `guildwar_kills_warid_fk` FOREIGN KEY (`warid`) REFERENCES `guild_wars` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif Warning: #1280 Name 'guildwar_kills_pk' ignored for PRIMARY key.
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,2377 segundos.)
-- -------------------------------------------------------- -- -- Table structure `guild_invites` -- CREATE TABLE IF NOT EXISTS `guild_invites` ( `player_id` int(11) NOT NULL DEFAULT '0', `guild_id` int(11) NOT NULL DEFAULT '0', `date` int(11) NOT NULL, INDEX `guild_id` (`guild_id`), CONSTRAINT `guild_invites_pk` PRIMARY KEY (`player_id`, `guild_id`), CONSTRAINT `guild_invites_player_fk` FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE, CONSTRAINT `guild_invites_guild_fk` FOREIGN KEY (`guild_id`) REFERENCES `guilds` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif Warning: #1280 Name 'guild_invites_pk' ignored for PRIMARY key.
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,2831 segundos.)
-- -------------------------------------------------------- -- -- Table structure `guild_ranks` -- CREATE TABLE IF NOT EXISTS `guild_ranks` ( `id` int(11) NOT NULL AUTO_INCREMENT, `guild_id` int(11) NOT NULL COMMENT 'guild', `name` varchar(255) NOT NULL COMMENT 'rank name', `level` int(11) NOT NULL COMMENT 'rank level - leader, vice, member, maybe something else', INDEX `guild_id` (`guild_id`), CONSTRAINT `guild_ranks_pk` PRIMARY KEY (`id`), CONSTRAINT `guild_ranks_fk` FOREIGN KEY (`guild_id`) REFERENCES `guilds` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif Warning: #1280 Name 'guild_ranks_pk' ignored for PRIMARY key.
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,1385 segundos.)
CREATE TRIGGER `oncreate_guilds` AFTER INSERT ON `guilds` FOR EACH ROW BEGIN INSERT INTO `guild_ranks` (`name`, `level`, `guild_id`) VALUES ('The Leader', 3, NEW.`id`); INSERT INTO `guild_ranks` (`name`, `level`, `guild_id`) VALUES ('Vice-Leader', 2, NEW.`id`); INSERT INTO `guild_ranks` (`name`, `level`, `guild_id`) VALUES ('Member', 1, NEW.`id`); END
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,3374 segundos.)
-- -------------------------------------------------------- -- -- Table structure `guild_membership` -- CREATE TABLE IF NOT EXISTS `guild_membership` ( `player_id` int(11) NOT NULL, `guild_id` int(11) NOT NULL, `rank_id` int(11) NOT NULL, `nick` varchar(15) NOT NULL DEFAULT '', INDEX `guild_id` (`guild_id`), INDEX `rank_id` (`rank_id`), CONSTRAINT `guild_membership_pk` PRIMARY KEY (`player_id`), CONSTRAINT `guild_membership_player_fk` FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `guild_membership_guild_fk` FOREIGN KEY (`guild_id`) REFERENCES `guilds` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `guild_membership_rank_fk` FOREIGN KEY (`rank_id`) REFERENCES `guild_ranks` (`id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif Warning: #1280 Name 'guild_membership_pk' ignored for PRIMARY key.
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,3126 segundos.)
-- -------------------------------------------------------- -- -- Table structure `houses` -- CREATE TABLE IF NOT EXISTS `houses` ( `id` int(11) NOT NULL AUTO_INCREMENT, `owner` int(11) NOT NULL, `paid` int(10) UNSIGNED NOT NULL DEFAULT '0', `warnings` int(11) NOT NULL DEFAULT '0', `name` varchar(255) NOT NULL, `rent` int(11) NOT NULL DEFAULT '0', `town_id` int(11) NOT NULL DEFAULT '0', `bid` int(11) NOT NULL DEFAULT '0', `bid_end` int(11) NOT NULL DEFAULT '0', `last_bid` int(11) NOT NULL DEFAULT '0', `highest_bidder` int(11) NOT NULL DEFAULT '0', `size` int(11) NOT NULL DEFAULT '0', `guildid` int(11), `beds` int(11) NOT NULL DEFAULT '0', INDEX `owner` (`owner`), INDEX `town_id` (`town_id`), CONSTRAINT `houses_pk` PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif Warning: #1280 Name 'houses_pk' ignored for PRIMARY key.
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,1026 segundos.)
CREATE TRIGGER `ondelete_players` BEFORE DELETE ON `players` FOR EACH ROW BEGIN UPDATE `houses` SET `owner` = 0 WHERE `owner` = OLD.`id`; END
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,4720 segundos.)
-- -------------------------------------------------------- -- -- Table structure `house_lists` -- CREATE TABLE IF NOT EXISTS `house_lists` ( `house_id` int(11) NOT NULL, `listid` int(11) NOT NULL, `list` text NOT NULL, INDEX `house_id` (`house_id`), CONSTRAINT `houses_list_house_fk` FOREIGN KEY (`house_id`) REFERENCES `houses` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 1,3232 segundos.)
-- -------------------------------------------------------- -- -- Table structure `ip_bans` -- CREATE TABLE IF NOT EXISTS `ip_bans` ( `ip` int(11) NOT NULL, `reason` varchar(255) NOT NULL, `banned_at` bigint(20) NOT NULL, `expires_at` bigint(20) NOT NULL, `banned_by` int(11) NOT NULL, INDEX `banned_by` (`banned_by`), CONSTRAINT `ip_bans_pk` PRIMARY KEY (`ip`), CONSTRAINT `ip_bans_players_fk` FOREIGN KEY (`banned_by`) REFERENCES `players` (`id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif Warning: #1280 Name 'ip_bans_pk' ignored for PRIMARY key.
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 3,1590 segundos.)
-- -------------------------------------------------------- -- -- Table structure `market_history` -- CREATE TABLE IF NOT EXISTS `market_history` ( `id` int(11) NOT NULL AUTO_INCREMENT, `player_id` int(11) NOT NULL, `sale` tinyint(1) NOT NULL DEFAULT '0', `itemtype` int(10) UNSIGNED NOT NULL, `amount` smallint(5) UNSIGNED NOT NULL, `price` int(10) UNSIGNED NOT NULL DEFAULT '0', `expires_at` bigint(20) UNSIGNED NOT NULL, `inserted` bigint(20) UNSIGNED NOT NULL, `state` tinyint(1) UNSIGNED NOT NULL, INDEX `player_id` (`player_id`,`sale`), CONSTRAINT `market_history_pk` PRIMARY KEY (`id`), CONSTRAINT `market_history_players_fk` FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif Warning: #1280 Name 'market_history_pk' ignored for PRIMARY key.
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,3255 segundos.)
-- -------------------------------------------------------- -- -- Table structure `market_offers` -- CREATE TABLE IF NOT EXISTS `market_offers` ( `id` int(11) NOT NULL AUTO_INCREMENT, `player_id` int(11) NOT NULL, `sale` tinyint(1) NOT NULL DEFAULT '0', `itemtype` int(10) UNSIGNED NOT NULL, `amount` smallint(5) UNSIGNED NOT NULL, `created` bigint(20) UNSIGNED NOT NULL, `anonymous` tinyint(1) NOT NULL DEFAULT '0', `price` int(10) UNSIGNED NOT NULL DEFAULT '0', INDEX `sale` (`sale`,`itemtype`), INDEX `created` (`created`), INDEX `player_id` (`player_id`), CONSTRAINT `market_offers_pk` PRIMARY KEY (`id`), CONSTRAINT `market_offers_players_fk` FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif Warning: #1280 Name 'market_offers_pk' ignored for PRIMARY key.
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,0534 segundos.)
-- -------------------------------------------------------- -- -- Table structure `players_online` -- CREATE TABLE IF NOT EXISTS `players_online` ( `player_id` int(11) NOT NULL, CONSTRAINT `players_online_pk` PRIMARY KEY (`player_id`) ) ENGINE=MEMORY DEFAULT CHARSET=utf8
dot.gif Warning: #1280 Name 'players_online_pk' ignored for PRIMARY key.
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,8352 segundos.)
-- -------------------------------------------------------- -- -- Table structure `player_deaths` -- CREATE TABLE IF NOT EXISTS `player_deaths` ( `player_id` int(11) NOT NULL, `time` bigint(20) UNSIGNED NOT NULL DEFAULT '0', `level` int(11) NOT NULL DEFAULT '1', `killed_by` varchar(255) NOT NULL, `is_player` tinyint(1) NOT NULL DEFAULT '1', `mostdamage_by` varchar(100) NOT NULL, `mostdamage_is_player` tinyint(1) NOT NULL DEFAULT '0', `unjustified` tinyint(1) NOT NULL DEFAULT '0', `mostdamage_unjustified` tinyint(1) NOT NULL DEFAULT '0', INDEX `player_id` (`player_id`), INDEX `killed_by` (`killed_by`), INDEX `mostdamage_by` (`mostdamage_by`), CONSTRAINT `player_deaths_players_fk` FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,9661 segundos.)
-- -------------------------------------------------------- -- -- Table structure `player_depotitems` -- CREATE TABLE IF NOT EXISTS `player_depotitems` ( `player_id` int(11) NOT NULL, `sid` int(11) NOT NULL COMMENT 'any given range eg 0-100 will be reserved for depot lockers and all > 100 will be then normal items inside depots', `pid` int(11) NOT NULL DEFAULT '0', `itemtype` int(11) NOT NULL DEFAULT '0', `count` int(11) NOT NULL DEFAULT '0', `attributes` blob NOT NULL, CONSTRAINT `player_depotitems_unique` UNIQUE (`player_id`, `sid`), CONSTRAINT `player_depotitems_players_fk` FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,3114 segundos.)
-- -------------------------------------------------------- -- -- Table structure `player_inboxitems` -- CREATE TABLE IF NOT EXISTS `player_inboxitems` ( `player_id` int(11) NOT NULL, `sid` int(11) NOT NULL, `pid` int(11) NOT NULL DEFAULT '0', `itemtype` int(11) NOT NULL DEFAULT '0', `count` int(11) NOT NULL DEFAULT '0', `attributes` blob NOT NULL, CONSTRAINT `player_inboxitems_unique` UNIQUE (`player_id`, `sid`), CONSTRAINT `player_inboxitems_players_fk` FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,3835 segundos.)
-- -------------------------------------------------------- -- -- Table structure `player_items` -- CREATE TABLE IF NOT EXISTS `player_items` ( `player_id` int(11) NOT NULL DEFAULT '0', `pid` int(11) NOT NULL DEFAULT '0', `sid` int(11) NOT NULL DEFAULT '0', `itemtype` int(11) NOT NULL DEFAULT '0', `count` int(11) NOT NULL DEFAULT '0', `attributes` blob NOT NULL, INDEX `player_id` (`player_id`), INDEX `sid` (`sid`), CONSTRAINT `player_items_players_fk` FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,3192 segundos.)
-- -------------------------------------------------------- -- -- Table structure `player_kills` -- CREATE TABLE IF NOT EXISTS `player_kills` ( `player_id` int(11) NOT NULL, `time` bigint(20) UNSIGNED NOT NULL DEFAULT '0', `target` int(11) NOT NULL, `unavenged` tinyint(1) NOT NULL DEFAULT '0' ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,3292 segundos.)
-- -------------------------------------------------------- -- -- Table structure `player_misc` -- CREATE TABLE IF NOT EXISTS `player_misc` ( `player_id` int(11) NOT NULL, `info` blob NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,2279 segundos.)
-- -------------------------------------------------------- -- -- Table structure `player_namelocks` -- CREATE TABLE IF NOT EXISTS `player_namelocks` ( `player_id` int(11) NOT NULL, `reason` varchar(255) NOT NULL, `namelocked_at` bigint(20) NOT NULL, `namelocked_by` int(11) NOT NULL, INDEX `namelocked_by` (`namelocked_by`), CONSTRAINT `player_namelocks_unique` UNIQUE (`player_id`), CONSTRAINT `player_namelocks_players_fk` FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE ON UPDATE CASCADE, CONSTRAINT `player_namelocks_players2_fk` FOREIGN KEY (`namelocked_by`) REFERENCES `players` (`id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,3384 segundos.)
-- -------------------------------------------------------- -- -- Table structure `player_preydata` -- CREATE TABLE IF NOT EXISTS `player_preydata` ( `player_id` int(11) NOT NULL, `data` blob NOT NULL, PRIMARY KEY (`player_id`), FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE ON UPDATE CASCADE )ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,3065 segundos.)
-- -------------------------------------------------------- -- -- Table structure `player_rewards` -- CREATE TABLE IF NOT EXISTS `player_rewards` ( `player_id` int(11) NOT NULL, `sid` int(11) NOT NULL, `pid` int(11) NOT NULL DEFAULT '0', `itemtype` int(11) NOT NULL DEFAULT '0', `count` int(11) NOT NULL DEFAULT '0', `attributes` blob NOT NULL, CONSTRAINT `player_rewards_unique` UNIQUE (`player_id`, `sid`), CONSTRAINT `player_rewards_players_fk` FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,3277 segundos.)
-- -------------------------------------------------------- -- -- Table structure `player_spells` -- CREATE TABLE IF NOT EXISTS `player_spells` ( `player_id` int(11) NOT NULL, `name` varchar(255) NOT NULL, INDEX `player_id` (`player_id`), CONSTRAINT `player_spells_players_fk` FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,3293 segundos.)
-- -------------------------------------------------------- -- -- Table structure `player_storage` -- CREATE TABLE IF NOT EXISTS `player_storage` ( `player_id` int(11) NOT NULL DEFAULT '0', `key` int(10) UNSIGNED NOT NULL DEFAULT '0', `value` int(11) NOT NULL DEFAULT '0', CONSTRAINT `player_storage_pk` PRIMARY KEY (`player_id`, `key`), CONSTRAINT `player_storage_players_fk` FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif Warning: #1280 Name 'player_storage_pk' ignored for PRIMARY key.
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,3067 segundos.)
-- -------------------------------------------------------- -- -- Table structure `bestiary_killcount` -- CREATE TABLE IF NOT EXISTS `bestiary_killcount` ( `player_id` INT NULL, `monster_id` INT UNSIGNED NULL, `count` INT UNSIGNED NULL, `finished` BOOLEAN, CONSTRAINT `bestiary_killcount_players_fk` FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,2955 segundos.)
-- -------------------------------------------------------- -- -- Table structure `quickloot_containers` -- CREATE TABLE IF NOT EXISTS `quickloot_containers` ( `player_id` INT NULL, `category_id` INT UNSIGNED NULL, `cid` INT UNSIGNED NULL, `sid` INT UNSIGNED NULL, CONSTRAINT `quickloot_containers_players_fk` FOREIGN KEY (`player_id`) REFERENCES `players` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,1976 segundos.)
-- -------------------------------------------------------- -- -- Table structure `store_history` -- CREATE TABLE IF NOT EXISTS `store_history` ( `id` int(11) NOT NULL AUTO_INCREMENT, `account_id` int(11) NOT NULL, `mode` smallint(2) NOT NULL DEFAULT '0', `description` varchar(3500) NOT NULL, `coin_amount` int(12) NOT NULL, `time` bigint(20) UNSIGNED NOT NULL, `timestamp` int(11) NOT NULL DEFAULT '0', `coins` int(11) NOT NULL DEFAULT '0', INDEX `account_id` (`account_id`), CONSTRAINT `store_history_pk` PRIMARY KEY (`id`), CONSTRAINT `store_history_account_fk` FOREIGN KEY (`account_id`) REFERENCES `accounts` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif Warning: #1280 Name 'store_history_pk' ignored for PRIMARY key.
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,2729 segundos.)
-- -------------------------------------------------------- -- -- Table structure `tile_store` -- CREATE TABLE IF NOT EXISTS `tile_store` ( `house_id` int(11) NOT NULL, `data` longblob NOT NULL, INDEX `house_id` (`house_id`), CONSTRAINT `tile_store_account_fk` FOREIGN KEY (`house_id`) REFERENCES `houses` (`id`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8
dot.gif MySQL não retornou nenhum registo. (A consulta demorou 0,3396 segundos.)
-- -------------------------------------------------------- -- -- Table structure `player_charms` -- CREATE TABLE `player_charms` ( `id` int(11) NOT NULL, `player_id` int(11) NOT NULL, `charm` VARCHAR(20), `monster` VARCHAR(20) ) ENGINE=InnoDB DEFAULT CHARSET=latin1
dot.gif 2 linha(s) inseridas. (A consulta demorou 0,0948 segundos.)
-- -- Create Account GOD/god -- INSERT INTO `accounts` (`id`, `name`, `password`, `type`) VALUES (1, '1', '356a192b7913b04c54574d18c28d46e6395428ab', 1), (2, 'GOD', '21298df8a3277357ee55b01df9530b535cf08ec1', 5)
dot.gif 6 linha(s) inseridas. (A consulta demorou 0,2744 segundos.)
-- -- Create ADM Payer on GOD account -- INSERT INTO `players` (`id`, `name`, `group_id`, `account_id`, `level`, `vocation`, `health`, `healthmax`, `experience`, `lookbody`, `lookfeet`, `lookhead`, `looklegs`, `looktype`, `mana`, `manamax`, `town_id`, `conditions`, `cap`, `sex`) VALUES (1, 'Rook Sample', 1, 1, 1, 0, 150, 150, 0, 106, 95, 78, 116, 128, 5, 5, 6, '', 400, 0), (2, 'Sorcerer Sample', 1, 1, 8, 1, 185, 185, 4200, 106, 95, 78, 116, 128, 40, 40, 2, '', 470, 1), (3, 'Druid Sample', 1, 1, 8, 2, 185, 185, 4200, 106, 95, 78, 116, 128, 40, 40, 2, '', 470, 1), (4, 'Paladin Sample', 1, 1, 8, 3, 185, 185, 4200, 106, 95, 78, 116, 128, 40, 40, 2, '', 470, 1), (5, 'Knight Sample', 1, 1, 8, 4, 185, 185, 4200, 106, 95, 78, 116, 128, 40, 40, 2, '', 470, 1), (6, 'ADM', [...]
  [ Edita ]
dot.gif Warning: #1364 Field 'comment' doesn't have a default value
 

Não importe à execute, funcionará perfeitamente. Aconselho a usar MYACC, segue link https://github.com/slawkens/myaac/releases/tag/v0.8.1

Link para o post
Compartilhar em outros sites

Oi, eu gostaria de rodar no meu pc sem site e nada, só para dar uma olhada, mas quando baixei não tinha executável e dll. peguei no segundo link colei na mesma parte onde fica o lua, so que quando abro o executável vem a caixa preta e fecha quando esta lendo o lua... alguém tem um compilado ja com tudo certo para me fornecer ou que possa me auxiliar? Agradeço

 

Link para o post
Compartilhar em outros sites
Em 16/05/2020 em 00:58, Epicky disse:

Oi, eu gostaria de rodar no meu pc sem site e nada, só para dar uma olhada, mas quando baixei não tinha executável e dll. peguei no segundo link colei na mesma parte onde fica o lua, so que quando abro o executável vem a caixa preta e fecha quando esta lendo o lua... alguém tem um compilado ja com tudo certo para me fornecer ou que possa me auxiliar? Agradeço

 

Meu amigo, tem post para isso ja compilado.. segue o tutorial explicando como fazer funcionar esse otserv.

Segue o Link aqui do Malucooo

 

tem varia otserv ja compilado...

 

vc tem que configurar ante de ligar o otserv.

 

primeiro. ler o post esta tudo explicado :)

tem que Extrair mapa dentro da pasta Data/World.. e depois configura na pasta do ot onde fica o executavel. abre Config.lua.

 

mas ante.. segue o post do parceiro da comunidade tibiaking..

 

eu tbns to voltando a mexer nesse serv.. e ja esqueci muita coisa aqui.. to tetando me recuperar tudo.

bom tentei ajuda pelo menos :) bom dia!

Link para o post
Compartilhar em outros sites

@kleyner0 Olá, obrigado por responder, então eu sei como fazer ele rodar, só que nos arquivos que o rapaz deixou para mim não esta funcionando, eu baixei tudo, porém quando abro o executável ele abre a tela preta e fecha em seguida. O configuração lua esta correto, mas é como se tivesse faltando algo...

Em 17/05/2020 em 07:57, kleyner0 disse:

Meu amigo, tem post para isso ja compilado.. segue o tutorial explicando como fazer funcionar esse otserv.

Segue o Link aqui do Malucooo

 

tem varia otserv ja compilado...

 

vc tem que configurar ante de ligar o otserv.

 

primeiro. ler o post esta tudo explicado :)

tem que Extrair mapa dentro da pasta Data/World.. e depois configura na pasta do ot onde fica o executavel. abre Config.lua.

 

mas ante.. segue o post do parceiro da comunidade tibiaking..

 

eu tbns to voltando a mexer nesse serv.. e ja esqueci muita coisa aqui.. to tetando me recuperar tudo.

bom tentei ajuda pelo menos :) bom dia!

Agora acertei para te responder direito rsrs, aparece essa mensagem aqui e fecha, isso seria para rodar online, só que eu não quero rsrs, como faço?

2020-05-18 14_35_53-OTXServer-Global.png

Link para o post
Compartilhar em outros sites
  • Erimyth unfeatured e unpinned this tópico
20 horas atrás, Epicky disse:

@kleyner0 Olá, obrigado por responder, então eu sei como fazer ele rodar, só que nos arquivos que o rapaz deixou para mim não esta funcionando, eu baixei tudo, porém quando abro o executável ele abre a tela preta e fecha em seguida. O configuração lua esta correto, mas é como se tivesse faltando algo...

Agora acertei para te responder direito rsrs, aparece essa mensagem aqui e fecha, isso seria para rodar online, só que eu não quero rsrs, como faço?

2020-05-18 14_35_53-OTXServer-Global.png

si o seu caso for essa database, e porque vc não configurou sua database.. vc precisa importar no gesior ou myacc...

eu encomendo que vc usar myacc. porem e mais facil utilizar ela... ela ja faz todas instalação, mas ante tem que configurar diretoria do servidore

Em 13/05/2020 em 14:49, amoxicilina disse:

Não importe à execute, funcionará perfeitamente. Aconselho a usar MYACC, segue link https://github.com/slawkens/myaac/releases/tag/v0.8.1

Obrigado parceiro.. queria usa nova atualizada.. porem tem que fazer muita alteração nessa ai ne.. mas eu vou tenta editar essa ai que me passou..

 

gostei e muito facil utilizar.. dei um +1rep

Link para o post
Compartilhar em outros sites

função hasflag corrigido!

 

 

O melhor conteúdo da atualidade!

http://www.gitlab.com/malucooo/otxserver-new/

- Full Global Map with 12.xx updates, all quests and many features!

- Protocol 12.31

Link para o post
Compartilhar em outros sites
Em 21/05/2020 em 17:26, ADM Flow disse:

maluco ajuda

502752308_tibiaerror.thumb.png.63c24e40f1ef960efaf8ecf4bd95db1a.png

 

 


alguém já corrigiu o erro de falha do client 10 
quando você vai para uma tp Crashea Client

por a caso vc esta utilizando a versao 10? acho que essa esta funcionando 12+ porem no otg anterio com outro executavel, nao aconteceu cmg, e o malucoo ja esta provideciando para resolver isso :)

Em 21/05/2020 em 21:29, eduardo9531 disse:

quando uso cliente 12.31 ao abrir o store o tibia fecha..

Já esta resolvendo isso, so aguardar

Link para o post
Compartilhar em outros sites

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

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emojis são permitidos.

×   Seu link foi automaticamente incorporado.   Mostrar como link

×   Seu conteúdo anterior foi restaurado.   Limpar o editor

×   Não é possível colar imagens diretamente. Carregar ou inserir imagens do URL.

  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.


  • Conteúdo Similar

    • Por Johncore
      Olá galera, é com muita dedicação que trago para este forum uma exclusividade que só eu tinha.
      Mapa Dragonsouls 11x 99%, tem alguns detalhes de sqm ou borda que você possa precisar fazer,
      Dragonsouls é um servidor ATS Custom, baseado em senhor dos aneis. via muita gente perguntando por esse mapa e eu tinha a muitos anos, resolvi converter.
      mas ele está 99% pronto para uso.
       
      Esse mapa é 100% compativel para rodar na Datapack Otg Server 11,
      Otg Server é um projeto que trabalha com varias datapacks de tibia rl e ATS Custom.
       
      Github:
      https://github.com/otg-br/
       
      Participe do grupo Otg Server:  
      https://chat.whatsapp.com/EWV3dVvS6nt1em7q23FGu7
       
       
      MAPA:
       
      INICIAL ISLAND

       
      CARLIN

       
      CIDADE TIRITH

       
      CIDADE BREE

       
       
       
       
      world.zip
    • Por Johncore
      Olá pessoas, estou disponibilizando aqui mais uma exclusividade que é o Mapa Evolunia, ele é baseado no servidor Evolunia.net
       
      Esse mapa é 100% compativel para rodar na Datapack Otg Server 11x,
      Otg Server é um projeto que trabalha com varias datapacks de tibia rl e ATS Custom.
       
      Participe do grupo Otg Server:  
      https://chat.whatsapp.com/EWV3dVvS6nt1em7q23FGu7
       
      Creditos:
      evolunia
      world.zip
    • Por Johncore
      Otg Server é um projeto fork do The Forgotten Server 1.3, feito por brasileiros que visam sempre por estabilidade, um código mais clean, temos no projeto várias Datapacks como
      Global 11.0, Global 8.6, Global 8.0, RadBR 11.0, Evolutions 11.0, Yurots Classic 11.0, nossa base também é excelente para rodar projetos que são mapa Baiak ou ATS Custom pelo baixissimo uso de cpu e fix do Decay de itens.

      Todos são bem vindos para colaborar com o projeto... que não visa nenhum lucro financeiro, queremos apenas colaborar com a comunidade OTSERV,
      temos ouvido de muitas pessoas que procuram uma base estável, limpa, esse é o nosso objetivo nesse projeto.
       
      Estamos a procura de programadores/dev/webmaster que queiram ajudar / que tenham tempo e serão recompensados por isso.
       
      Nossa Datapack principal Global 11.00 contem as seguintes features:
      CAST SYSTEM ✅
      AUTOLOOT ✅
      WINTER UPDATE 2023 ✅
      SUMMER UPDATE 2023 ✅
      ADDONS 13.22 UPDATE ✅
      MONTARIAS 13.22 UPDATE ✅
      ITEMS 13.22 UPDATE ✅
      DAILY REWARD ✅
      IMBUEMENTS ✅
      PREY ✅
      EXERCISE WEAPONS ✅
      HIRELINGS NPCS ✅
      ANTI ROLLBACK ✅
       
       
      Github Global 11x:  💾
      https://github.com/otg-br/global-11x
      Clients e outras ferramentas:  💾
      https://github.com/otg-br/tools
      Github Otg Gesior:  💾
      https://github.com/otg-br/gesior
      Github Otg Otclientv8:  💾
      https://github.com/otg-br/otclientv8
      Wiki Otg:  💾
      https://github.com/otg-br/global-11x/wiki
       
       
      Creditos:
      TFS Team Erick Nunes Gui Bruxo Worthdavi LuSKT Leo Pereira Luan Luciano Cjaker Comedinhas Nekiro OTG Colaborators
    • Por Dnzk21
      COMO POSSO IMPORTAR UMA CITY EMCIMA DE OUTRA CITY SEM PERDER AS HOUSES
      ALGUEM PODE M,E AJUDAR 
      E A MESMA CITY MJAIS QUANDO IMPORTO PERDE TODAS CASAS QUANDO SALVA E ABRE O SERVIDOR
    • Por Johncore
      Arcadia é uma cidade custom bem bonita que pode ser encontrada no servidor AureraGlobal,
      Por ter esse conteudo aqui em primeira mão, resolvi disponibilizar para a comunidade.
       


       
      Creditos:
      Aurera Team
      Johncorex
      Arcadia-spawn.xml Arcadia-house.xml Arcadia.otbm

×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo