[Fix] Mercury

+4
Vong
Erno
Peeta
Buennus
8 participantes

Buennus Buennus  • 08.02.15 0:50

[Fix] Mercury Empty [Fix] Mercury 08.02.15 0:50

Reputação da mensagem: 100% (1 votos)
Este é um tutorial para você fixar vários erros do Mercury Emulator.
Vamos começar com o mais cruel que muitos usuários estão com dificuldades.

--> O servidor remoto retornou um erro: Não localizado. PRINT: [Tens de ter uma conta e sessão iniciada para poderes visualizar este link]
Este é bem simples de resolver, basta você ter o visual studio.

1 - Vá até o "Mercury.csproj" que está na pasta inicial do Mercury e clique duas vezes.
2 - Após abrir com o visual studio, aguarde. Você perceberá que irá aparecer uma coluna no lado direito da sua tela com o Nome Mercury, e do lado dele uma setinha.
3 - Clique nas setinhas pra abrir as outras pastas, ai você vai encontrar uma pasta chamada Core, clique nela, e depois clique duas vezes no ExtraSettings.cs
4 - Procure a linha "internal static string FIGUREDATA_URL" e lá vai tar um link da figure data de alguma swf. Altere para a da sua SWF, por exemplo: internal static string FIGUREDATA_URL = "http://127.0.0.1/game/gamedata/figuredata.xml";
OBS: O link deixe 127.0.0.1, por segurança.
5 - Após editar o url da sua figuredata, encima do BOX de texto, terá um menu, clique em START. Você perceberá que seu emulador ligou. Veja se o erro normalizou, se normalizou, digite shutdown e saia do visual.
Pronto.

-> Error en query
Este é simples, aparece quando o emulador está iniciando, se não me engano, na 3 linha ou 4, por aí.

1 - Vá até sua DB e clique em SQL.
2 - Selecione o código abaixo, cole lá e clique em Executar.
OBS: Substitua a primeira linha do código abaixo por esta: CREATE table IF NOT EXISTS `navigator_publics` (
Código:
CREATE tab[b][/b]le IF NOT EXISTS `navigator_publics` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `ordernum` int(11) NOT NULL DEFAULT '1',
  `bannertype` enum('0','1') NOT NULL COMMENT '0 = big, 1 = normal',
  `caption` varchar(100) NOT NULL,
  `description` varchar(100) NOT NULL,
  `image` text NOT NULL,
  `image_type` enum('internal','external') NOT NULL DEFAULT 'internal',
  `room_id` int(10) unsigned NOT NULL,
  `category_id` int(11) NOT NULL DEFAULT '-1',
  `category_parent_id` int(11) NOT NULL DEFAULT '-1',
  `enabled` enum('0','1') NOT NULL DEFAULT '1',
  `recommended` enum('0','1') NOT NULL DEFAULT '0',
  `typeofdata` int(255) NOT NULL DEFAULT '1',
  `tag` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
3 - Desligue e ligue novamente seu emulador.

-> Loggeado Error
Este pode trazer problemas ao seu hotel.

1 - Vá até sua DB, procure a tabela "users" e exclua.
2 - Vá até a aba SQL e execute este código:
OBS: Substitua a primeira linha do código abaixo por esta: CREATE table IF NOT EXISTS `users` (
Código:
CREATE tab[b][/b]le IF NOT EXISTS `users` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `username` varchar(50) NOT NULL,
  `real_name` varchar(100) NOT NULL DEFAULT '',
  `password` varchar(164) NOT NULL,
  `mail` varchar(50) NOT NULL DEFAULT 'defaultuser@meth0d.org',
  `auth_ticket` varchar(500) NOT NULL,
  `rank` int(11) unsigned NOT NULL DEFAULT '1',
  `credits` int(50) NOT NULL DEFAULT '50000',
  `vip_points` int(11) NOT NULL DEFAULT '0',
  `activity_points` int(11) NOT NULL DEFAULT '0',
  `activity_points_lastupdate` double NOT NULL DEFAULT '0',
  `look` varchar(250) NOT NULL,
  `gender` enum('M','F') NOT NULL DEFAULT 'M',
  `motto` varchar(50) NOT NULL,
  `last_online` int(11) NOT NULL DEFAULT '0',
  `account_created` varchar(255) NOT NULL,
  `online` enum('0','1') NOT NULL DEFAULT '0',
  `ip_last` varchar(120) NOT NULL,
  `ip_reg` varchar(120) NOT NULL,
  `home_room` int(10) unsigned NOT NULL DEFAULT '0',
  `respect` int(11) NOT NULL DEFAULT '0',
  `daily_respect_points` int(11) NOT NULL DEFAULT '3',
  `daily_pet_respect_points` int(11) NOT NULL DEFAULT '3',
  `newbie_status` int(11) NOT NULL DEFAULT '0',
  `is_muted` enum('0','1') NOT NULL DEFAULT '0',
  `mutant_penalty` enum('0','1','2') NOT NULL DEFAULT '0',
  `mutant_penalty_expire` int(11) NOT NULL DEFAULT '0',
  `block_newfriends` enum('0','1') NOT NULL DEFAULT '0',
  `hide_online` enum('0','1') NOT NULL DEFAULT '0',
  `hide_inroom` enum('0','1') NOT NULL DEFAULT '0',
  `mail_verified` varchar(6) NOT NULL DEFAULT '0',
  `vip` enum('0','1') NOT NULL,
  `birth` varchar(100) NOT NULL DEFAULT '',
  `browser` text NOT NULL,
  `web_online` varchar(100) NOT NULL DEFAULT '',
  `rpx_name` varchar(100) NOT NULL DEFAULT '',
  `rpxid` varchar(200) NOT NULL,
  `rpx_type` varchar(100) NOT NULL,
  `postcount` bigint(20) NOT NULL DEFAULT '0',
  `token` varchar(20) NOT NULL DEFAULT '',
  `client_token` varchar(50) NOT NULL DEFAULT '',
  `newsletter` enum('0','1') NOT NULL DEFAULT '1',
  `predermited` enum('Yes','No') NOT NULL DEFAULT 'Yes',
  `account_creates` int(20) NOT NULL DEFAULT '0',
  `suspend` enum('0','1') NOT NULL DEFAULT '0',
  `referid` int(120) NOT NULL DEFAULT '0',
  `RememberMeToken` text NOT NULL,
  `AddonData` text NOT NULL,
  `homeBg` varchar(120) NOT NULL DEFAULT 'b_bg_pattern_abstra ct2',
  `visibility` enum('NOBODY','EVERYONE') NOT NULL DEFAULT 'EVERYONE',
  `AccountID` text NOT NULL,
  `AccountIdentifier` text NOT NULL,
  `AccountName` varchar(255) NOT NULL DEFAULT '',
  `AccountUserName` varchar(255) NOT NULL DEFAULT '',
  `AccountPhoto` text NOT NULL,
  `lastdailycredits` char(18) NOT NULL DEFAULT '',
  `achievement_points` int(12) NOT NULL DEFAULT '0',
  `quests` varchar(200) NOT NULL DEFAULT '',
  `queststates` varchar(200) NOT NULL DEFAULT '',
  `canchangename` enum('0','1') NOT NULL DEFAULT '1',
  `passed_quiz` enum('0','1') NOT NULL DEFAULT '0',
  `FavoriteGroup` int(12) NOT NULL DEFAULT '0',
  `points_online` int(12) NOT NULL DEFAULT '0',
  `ReceptionPased` enum('0','1') NOT NULL DEFAULT '0',
  `namechanges` int(3) NOT NULL DEFAULT '0',
  `currentquestid` int(11) NOT NULL DEFAULT '0',
  `currentquestprogress` int(11) NOT NULL DEFAULT '0',
  `vinculId` int(255) NOT NULL DEFAULT '0',
  `securityTokens` varchar(255) NOT NULL DEFAULT '',
  `working` varchar(50) NOT NULL DEFAULT 'Ninguna',
  `secretcode` varchar(8) NOT NULL DEFAULT '0',
  `mymusik` varchar(100) NOT NULL DEFAULT '0',
  `getmoney_date` varchar(20) NOT NULL DEFAULT '0',
  `volume` varchar(12) NOT NULL DEFAULT '100,100,100',
  `dolares` int(11) NOT NULL DEFAULT '0',
  `powers` int(11) NOT NULL DEFAULT '0',
  `codice` text NOT NULL,
  `client_volume` varchar(255) NOT NULL DEFAULT '100,100,100',
  `last_login` int(11) NOT NULL DEFAULT '0',
  `accept_trading` enum('0','1') NOT NULL DEFAULT '1',
  `whisper_enabled` enum('0','1') NOT NULL DEFAULT '1',
  `is_guide` enum('0','1') NOT NULL DEFAULT '1',
  `last_change` int(20) NOT NULL DEFAULT '0',
  `key_colour` int(11) NOT NULL DEFAULT '0',
  `position` varchar(30) NOT NULL DEFAULT '0',
  `acc_pornbanned` enum('0','1') NOT NULL DEFAULT '0',
  `acc_flagged` enum('0','1') NOT NULL DEFAULT '0',
  `points` int(11) NOT NULL DEFAULT '0',
  `seckey` varchar(999) DEFAULT NULL,
  `belcredits` int(11) NOT NULL,
  `login` varchar(80) NOT NULL,
  `elapsedtime` varchar(20) NOT NULL,
  `block_trade` enum('0','1') NOT NULL DEFAULT '0',
  `staffpicks` int(11) NOT NULL,
  `equipo` enum('0','1') NOT NULL DEFAULT '1' COMMENT 'Diurno = 1, Nocturno = 0',
  `rangoguia` int(11) NOT NULL DEFAULT '0',
  `tarea` varchar(255) NOT NULL,
  `visible` enum('0','1') NOT NULL DEFAULT '1',
  `loyalty_points` int(11) NOT NULL DEFAULT '0',
  `mysterybox_key_colour` int(11) NOT NULL DEFAULT '0',
  `last_name_change` int(11) NOT NULL DEFAULT '0',
  `talent_status` enum('citizenship','helper') NOT NULL DEFAULT 'citizenship',
  `trade_lock` enum('0','1') CHARACTER SET utf8 NOT NULL DEFAULT '0',
  `trade_lock_expire` int(11) NOT NULL DEFAULT '0',
  `vip_expire` timestamp NOT NULL DEFAULT '2014-05-13 21:59:36' ON UPDATE CURRENT_TIMESTAMP,
  `seasonal_currency` int(11) NOT NULL DEFAULT '0',
  `rares` int(15) NOT NULL,
  `nux_passed` enum('0','1') NOT NULL DEFAULT '0',
  `ltd` enum('0','1') NOT NULL DEFAULT '0',
  `staff_twitter` varchar(50) DEFAULT NULL,
  `staff_facebook` varchar(50) DEFAULT NULL,
  `forgot_ticket` varchar(50) DEFAULT NULL,
  `facebook_id` varchar(50) DEFAULT NULL,
  `pin` varchar(50) DEFAULT NULL,
  `facebook_change` varchar(50) DEFAULT NULL,
  `facebook` varchar(50) DEFAULT NULL,
  `staff_background_url` text,
  `staff_ocult` varchar(50) DEFAULT '0',
  `role` varchar(50) DEFAULT NULL,
  `country_cf` varchar(50) DEFAULT 'ec',
  `last_used` varchar(50) DEFAULT '0',
  `refer_count` varchar(50) DEFAULT '0',
  `staff_profileimage_url` varchar(150) DEFAULT '0',
  PRIMARY KEY (`id`),
  UNIQUE KEY `username` (`username`),
  KEY `auth_ticket` (`auth_ticket`),
  KEY `online` (`online`),
  KEY `rank` (`rank`),
  KEY `ip_last` (`ip_last`)
) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=6754 ;
3 - Ligue seu emulador e boa sorte!

--> 87% Travado
Esta é uma dúvida enorme de muitos usuários do power pixel.
É simples de resolver.

1 - Vá até sua client.php
2 - Procure pela connection.info.port, e dentro das aspas, haverá a port do emulador.
3 - Vá até o seu emulador, e abra o config.ini e copie a port da game.tcp.port.
4 - Volte para a client, e cole na Connection.info.port
5 - Salve, vá na client e dê um F5.
Problema resolvido.
OBS: Caso seu problema persistir, vá até a sua swf, aba a external_variables, e coloque o seu site no lugar do que está lá.

--> Finalização
Se você tiver outros bugs, comente abaixo que atualizarei o tópico o mais rápido possível trazendo o fix pro seu bug.
Boa sorte com o hotel de vocês e que dê tudo certo.
Não esqueça de deixar seu +
Tchau :B


Última edição por Buennus em 08.02.15 1:11, editado 1 vez(es)

Peeta Peeta  • 08.02.15 1:09

[Fix] Mercury Empty Re: [Fix] Mercury 08.02.15 1:09

Olá, ótimo tutorial tenho a certeza que irá auxiliar muitos membros do fórum.

Erno Erno  • 08.02.15 1:16

[Fix] Mercury Empty Re: [Fix] Mercury 08.02.15 1:16

Vai ajudar muitos do fórum, tomara que todos funcionem perfeitamente.
Obg.

Buennus Buennus  • 09.02.15 17:34

[Fix] Mercury Empty Re: [Fix] Mercury 09.02.15 17:34

Olá Giovany, estão sim funcionando perfeitamente. Eu usei & aprovei.
Boa sorte galera :B

Vong Vong  • 09.02.15 18:19

[Fix] Mercury Empty Re: [Fix] Mercury 09.02.15 18:19

Olá,  caso as sqls não funcionem, tirem o [ b ] [ / b ]  onde encontra-se CREATE table.

Brytch Brytch  • 09.02.15 19:07

[Fix] Mercury Empty Re: [Fix] Mercury 09.02.15 19:07

Obg, ajudou bastante.

Alb1no Alb1no  • 10.02.15 12:09

[Fix] Mercury Empty Re: [Fix] Mercury 10.02.15 12:09

Meu Catalogo Tá Bugado

carol2 carol2  • 14.12.15 20:08

[Fix] Mercury Empty Re: [Fix] Mercury 14.12.15 20:08

O que esse loggeado faz?
No meu emulador está aparecendo, porém não está modificando em nada o jogo.

Vong Vong  • 14.12.15 20:14

[Fix] Mercury Empty Re: [Fix] Mercury 14.12.15 20:14

@Alerta
Tópico Fechado
Usuário: @carol2
Motivo: Necropost
Ocorrências: +0 (Novato)

nadi0s nadi0s  • 18.12.15 17:42

[Fix] Mercury Empty Re: [Fix] Mercury 18.12.15 17:42

Ótimo tutorial! Irá ajudar muitos membros. Biejus
Permissões neste sub-fórum
Não podes responder a tópicos

BH Servers

Recomendamos a BH Servers com proteção DDOS gratuita em Cloud Server de alta performance. Entrega imediata.