เ√ลη کคи†σร . 65 Posted April 22, 2012 Boa noite comunidade. Quem estiver interessado em converter as serverfiles de 2006 para 2010, façam desta maneira. Foi testado em FreeBSD 8.2 64-bit, mas certamente que funcionará nas outras também. Vamos começar pelo MySQL Façam esta query: ALTER TABLE account.account ADD `last_play` datetime default NULL;UPDATE common.locale SET `mValue`='locale_name' WHERE (`mKey`='DB_NAME_COLUMN');UPDATE common.locale SET `mValue`='portugal' WHERE (`mKey`='LOCALE');DROP TABLE IF EXISTS log.loginlog2;CREATE TABLE log.loginlog2 ( `id` int(11) NOT NULL AUTO_INCREMENT, `type` text, `is_gm` int(11) DEFAULT NULL, `login_time` datetime DEFAULT NULL, `channel` int(11) DEFAULT NULL, `account_id` int(11) DEFAULT NULL, `pid` int(11) DEFAULT NULL, `client_version` text, `ip` text, PRIMARY KEY (`id`)) ENGINE=MyISAM DEFAULT CHARSET=latin1;DROP TABLE IF EXISTS player.lotto_list;CREATE TABLE player.lotto_list ( `id` int(10) unsigned NOT NULL auto_increment, `server` varchar(20) default NULL, `pid` int(10) unsigned default NULL, `time` datetime default NULL, PRIMARY KEY (`id`)) ENGINE=MyISAM DEFAULT CHARSET=latin1;DROP TABLE IF EXISTS player.highscore;CREATE TABLE player.highscore ( `pid` int(11) default NULL, `board` varchar(0) default NULL, `value` varchar(0) default NULL) ENGINE=MyISAM DEFAULT CHARSET=latin1;DROP TABLE IF EXISTS player.change_empire;CREATE TABLE player.change_empire ( `account_id` int(11) DEFAULT NULL, `change_count` int(11) DEFAULT NULL, `time` datetime DEFAULT NULL) ENGINE=MyISAM DEFAULT CHARSET=latin1;DROP TABLE IF EXISTS player.horse_name;CREATE TABLE player.horse_name ( `id` int(11) NOT NULL default '0', `name` varchar(24) NOT NULL default 'NONAME', PRIMARY KEY (`id`)) ENGINE=MyISAM DEFAULT CHARSET=latin1;ALTER TABLE player.item_proto CHANGE COLUMN `gb2312name` `locale_name` varbinary(24) NOT NULL DEFAULT 'Noname' AFTER `name`;ALTER TABLE player.mob_proto CHANGE COLUMN `gb2312name` `locale_name` varbinary(24) NOT NULL DEFAULT 'Noname' AFTER `name`;ALTER TABLE player.mob_proto ADD `skill_level2` tinyint(3) unsigned default NULL;ALTER TABLE player.mob_proto ADD `skill_vnum2` int(10) unsigned default NULL;ALTER TABLE player.mob_proto ADD `skill_level3` tinyint(3) unsigned default NULL;ALTER TABLE player.mob_proto ADD `skill_vnum3` int(10) unsigned default NULL;ALTER TABLE player.mob_proto ADD `skill_level4` tinyint(3) unsigned default NULL;ALTER TABLE player.mob_proto ADD `skill_vnum4` int(10) unsigned default NULL;ALTER TABLE player.monarch_candidacy ADD `name` varchar(16) default NULL;E ficam com a base de dados atualizada. Agora no FreeBSD Façam download de: [*]http://download.ivan...in2/2010/bin/db [*]http://download.ivan...2/2010/bin/game Vão ao diretório das vossas serverfiles, exemplo /usr/rain, e coloquem o ficheiro db (dbcore 1866) em /usr/rain/db, e o ficheiro game (gamecore 2089M com a exp no nível 128 desbugada por mim) em /usr/rain/channel/share_data. Depois fazes o seguinte: [*]cd /usr/rain/auth [*]rm auth [*]ln -s ../channel/share_data/game auth Ficheiro conf.txt Em /usr/rain/db, abre o ficheiro conf.txt com o Notepad++ e irás obter este resultado: WELCOME_MSG = "DB Server has been started"SQL_ACCOUNT = "localhost account mt2 mt2!@# 0"SQL_PLAYER = "localhost player mt2 mt2!@# 0"SQL_COMMON = "localhost common mt2 mt2!@# 0"SQL_HOTBACKUP = "localhost hotbackup mt2 mt2!@# 0"TABLE_POSTFIX = ""BIND_PORT = 15001DB_SLEEP_MSEC = 10CLIENT_HEART_FPS = 25HASH_PLAYER_LIFE_SEC = 600BACKUP_LIMIT_SEC = 3600PLAYER_ID_START = 100PLAYER_DELETE_LEVEL_LIMIT = 70ITEM_ID_RANGE = 70000001 100000000LOCALE = big5Debaixo de [*]PLAYER_DELETE_LEVEL_LIMIT = 70 Apaga tudo e adiciona [*]PLAYER_DELETE_CHECK_SIMPLE = 2 ITEM_ID_RANGE = 2000000000 2100000000 MIN_LENGTH_OF_SOCIAL_ID = 6 SIMPLE_SOCIALID = 1 Block "Y/QSB7omi36awq4ctpUxuiwRARM=" Ficando no fim um resultado semelhante a este: WELCOME_MSG = "DB Server has been started"SQL_ACCOUNT = "localhost account mt2 mt2!@# 0"SQL_PLAYER = "localhost player mt2 mt2!@# 0"SQL_COMMON = "localhost common mt2 mt2!@# 0"SQL_HOTBACKUP = "localhost hotbackup mt2 mt2!@# 0"TABLE_POSTFIX = ""BIND_PORT = 15001DB_SLEEP_MSEC = 10CLIENT_HEART_FPS = 25HASH_PLAYER_LIFE_SEC = 600BACKUP_LIMIT_SEC = 3600PLAYER_ID_START = 100PLAYER_DELETE_LEVEL_LIMIT = 70PLAYER_DELETE_CHECK_SIMPLE = 2ITEM_ID_RANGE = 2000000000 2100000000MIN_LENGTH_OF_SOCIAL_ID = 6SIMPLE_SOCIALID = 1Block "Y/QSB7omi36awq4ctpUxuiwRARM="E guarda o conf.txt FIcheiros CONFIG Em /usr/rain/auth, terás de editar o ficheiros CONFIG. Deverá aparecer assim: HOSTNAME: metin2_authCHANNEL: 1PORT: 11002P2P_PORT: 12001DB_PORT: 15001DB_ADDR: localhostTABLE_POSTFIX: ITEM_ID_RANGE: 000000001 000000002PASSES_PER_SEC: 25SAVE_EVENT_SECOND_CYCLE: 180PING_EVENT_SECOND_CYCLE: 180AUTH_SERVER: masterPLAYER_SQL: localhost mt2 mt2!@# accountLOG_SQL: localhost mt2 mt2!@# logCOMMON_SQL: localhost mt2 mt2!@# commonRemove: [*]ITEM_ID_RANGE: 000000001 000000002 Adiciona: [*]LOCALE_SERVICE: PORTUGAL adminpage_ip: 127.0.0.1 adminpage_ip1: 127.0.0.1 adminpage_ip2: 127.0.0.1 adminpage_ip3: 127.0.0.1 adminpage_password: cexubrecegutru7u6atrEqurUyudeSutafruwuz55#etrehAdajezeje+uthustU Ficando no fim assim: HOSTNAME: metin2_authCHANNEL: 1PORT: 11002P2P_PORT: 12001DB_PORT: 15001DB_ADDR: localhostTABLE_POSTFIX:PASSES_PER_SEC: 25SAVE_EVENT_SECOND_CYCLE: 180PING_EVENT_SECOND_CYCLE: 180AUTH_SERVER: masterPLAYER_SQL: localhost mt2 mt2!@# accountLOG_SQL: localhost mt2 mt2!@# logCOMMON_SQL: localhost mt2 mt2!@# commonLOCALE_SERVICE: PORTUGALadminpage_ip: 127.0.0.1adminpage_ip1: 127.0.0.1adminpage_ip2: 127.0.0.1adminpage_ip3: 127.0.0.1adminpage_password: cexubrecegutru7u6atrEqurUyudeSutafruwuz55#etrehAdajezeje+uthustUEm /usr/rain/channel, terás de editar os ficheiros CONFIG que estão em: [*]first [*]game1_1 [*]game1_2 [*]game1_3 [*]game2 [*]game61 [*]game99 O first deverá aparecer assim: HOSTNAME: firstCHANNEL: 1PORT: 13000P2P_PORT: 14000DB_PORT: 15001DB_ADDR: localhostMAP_ALLOW: TABLE_POSTFIX: ITEM_ID_RANGE: 5000001 10000000PASSES_PER_SEC: 25SAVE_EVENT_SECOND_CYCLE: 180PING_EVENT_SECOND_CYCLE: 180PLAYER_SQL: localhost mt2 mt2!@# playerCOMMON_SQL: localhost mt2 mt2!@# commonLOG_SQL: localhost mt2 mt2!@# log#TEST_SERVER: 1pk_server: 1Remove: [*]ITEM_ID_RANGE: VALOR1 VALOR2 Apaga tudo o que se encontra debaixo de LOG_SQL: localhost mt2 mt2!@# log e adiciona isto: [*]NO_PK: 1 CHECK_MULTIHACK: 1 adminpage_ip: 127.0.0.1 adminpage_ip1: 127.0.0.1 adminpage_ip2: 127.0.0.1 adminpage_ip3: 127.0.0.1 adminpage_password: cexubrecegutru7u6atrEqurUyudeSutafruwuz55#etrehAdajezeje+uthustU LOCALE_SERVICE: PORTUGAL VIEW_RANGE: 20000 MAX_LEVEL: 99 Ficando assim no final: HOSTNAME: firstCHANNEL: 1PORT: 13000P2P_PORT: 14000DB_PORT: 15001DB_ADDR: localhostMAP_ALLOW: TABLE_POSTFIX:PASSES_PER_SEC: 25SAVE_EVENT_SECOND_CYCLE: 180PING_EVENT_SECOND_CYCLE: 180PLAYER_SQL: localhost mt2 mt2!@# playerCOMMON_SQL: localhost mt2 mt2!@# commonLOG_SQL: localhost mt2 mt2!@# logNO_PK: 1CHECK_MULTIHACK: 1adminpage_ip: 127.0.0.1adminpage_ip1: 127.0.0.1adminpage_ip2: 127.0.0.1adminpage_ip3: 127.0.0.1adminpage_password: cexubrecegutru7u6atrEqurUyudeSutafruwuz55#etrehAdajezeje+uthustULOCALE_SERVICE: PORTUGALVIEW_RANGE: 20000MAX_LEVEL: 99 Fazes o mesmo para todos os CONFIG dentro do channel. Alteração do locale Vai a /usr/rain/channel/share_data/locale e muda o nome da pasta hongkong para portugal. Depois dentro da portugal e muda o nome do big5_string.txt para locale_string.txt e adiciona este ficheiro em /usr/rain/channel/share_data/locale/portugal: [*]http://download.ivan...y/translate.lua Depois vais a /usr/rain/channel/share_data/locale/portugal/quest e: [*]Muda o nome do locale_big5.lua para locale.lua; [*]Muda o nome do hongkong_list para locale_list. Alteração do data Fazer o download de: [*]http://download.ivan...010/data.tar.gz E fazer upload para a máquina em /root Depois no FreeBSD fazes: [*]cd /usr/rain/channel/share_data [*]rm -fR data [*]tar -xzvf /root/data.tar.gz Em princípio deve funcionar. Se aparecer algum erro postem como resposta, é que fiz o tutorial de cabeça. Cumprimentos, Ivan Santos. Edit By Valenza: Quem ainda não entendeu, fiz um vídeo explicando, alem dos arquivos estarem novamente ativa para download. abaixo o link http://cyber-gamers.org/index.php?/topic/2911-video-converter-server-files-2006-para-2010/page__p__15147#entry15147 15 Rep, TheSouPvP, мαя¢σs ๖ۣۣۜDaniel and 12 others reacted to this Share this post Link to post Share on other sites
RachadoPT 140 Posted April 22, 2012 Olha, isso tambem e assim no virtual pc? eu tentei mas na parte.: Vão ao diretório das vossas serverfiles, exemplo /usr/rain, e coloquem o ficheiro db (dbcore 1866) em /usr/rain/db, e o ficheiro game (gamecore 2089M com a exp no nível 128 desbugada por mim) em /usr/rain/channel/share_data. Depois fazes o seguinte: [*]cd /usr/rain/auth [*]rm auth [*]ln -s ../channel/share_data/game auth no codigo In -s . diz Not Found e depois estragou as files, mas eu tinha backup, ao menos isso. Podes ajudar-me plz? Cumpz, RachadoPT Share this post Link to post Share on other sites
เ√ลη کคи†σร . 65 Posted April 22, 2012 Olha, isso tambem e assim no virtual pc? eu tentei mas na parte.:no codigo In -s . diz Not Found e depois estragou as files, mas eu tinha backup, ao menos isso. Podes ajudar-me plz?Cumpz, RachadoPTJá corrigi, foi erro no tópico.Não é In mas sim ln, é um L minúsculo, isso viste mal.ln -s ../channel/share_data/game auth 2 RachadoPT and Rep reacted to this Share this post Link to post Share on other sites
RachadoPT 140 Posted April 22, 2012 Bah.. http://cyber-gamers.org/public/style_emoticons/default/laugh.png, estraguei as outras files para nada.. >_< obg na mesma :DCumpz, RachadoPT 1 PPkDoMal22 reacted to this Share this post Link to post Share on other sites
RachadoPT 140 Posted April 22, 2012 Parece que desta vez fiz tudo como aqui no tut e voltei a estragar, desta vez o backup o_o, mas que vale era que tinha outro http://cyber-gamers.org/public/style_emoticons/default/laugh.png. Não sei se o problema foi meu ou se foi do tutorial, mas apareceu um erro no virtual pc que quando dei login na conta do vhd apareceu sempre repetido um erro que era: mv: qualquer coisa game00_1 ou uma coisa do género.Cumpz, RachadoPT Share this post Link to post Share on other sites
Cђ๏รєPєтภคร 865 Posted April 22, 2012 Boas, Ivan desde já obrigado por estares a ajudar esta comunidade http://cyber-gamers.org/public/style_emoticons/default/tongue.pngTutorial muito bom !Olha isto da nas serverfiles do rain ??Cumprimentos,ChosePetras Share this post Link to post Share on other sites
Valenza 855 Posted April 23, 2012 teria , alguem , que tenha paciencia para criar uma desta, apenas converter a original rain para 2010 e mais nada, e quando terminar postar a download aqui para a gente? facilitaria muito, eu vi seu trabalho,Ivan, no outro forum, tentei repetir o tutorial e nada deu certo.. portanto quem puder fazer essa generosidade agradeço. PS: Apenas pegar rain original (2006) e passar a 2010 , nada mais , sem tradução e bla bla bla.. Cumprimentos, Share this post Link to post Share on other sites
เ√ลη کคи†σร . 65 Posted April 23, 2012 teria , alguem , que tenha paciencia para criar uma desta, apenas converter a original rain para 2010 e mais nada, e quando terminar postar a download aqui para a gente? facilitaria muito, eu vi seu trabalho,Ivan, no outro forum, tentei repetir o tutorial e nada deu certo.. portanto quem puder fazer essa generosidade agradeço. PS: Apenas pegar rain original (2006) e passar a 2010 , nada mais , sem tradução e bla bla bla.. Cumprimentos, Se me enviares, eu faço. Faz o comando: tar -czvf /usr/rain.tar.gz /usr/rain /var/db/mysqlConvinha era ser numas files limpas. Share this post Link to post Share on other sites
Valenza 855 Posted April 23, 2012 Olha, felizmente consegui colocar a 2010 , segue abaixo o link para download http://bayfiles.com/file/8lCv/NLqq5K/valenza.rar https://rapidshare.com/files/3232200812/valenza.rar http://depositfiles.com/files/g1o5m24f6 Unica coisa que precisa fazer é configurar o IP , senha ta padrão! dentro deste .RAR tem um arquivo LEIA-ME, quem for iniciante só dar uma visualizada la... Cumprimentos, 1 p0w3r0ff reacted to this Share this post Link to post Share on other sites
Strimblaster 273 Posted May 21, 2012 Tipo eu ainda n precebi mt bem dessas cenas do 2010, 2008 no server e no client tb no ano passado nas ferias de verao nao havia nada disso! Share this post Link to post Share on other sites
daniel 11 Posted May 26, 2012 tar -xzvf /root/data.tar.gz meter isto da erro o que fasso Share this post Link to post Share on other sites
joaoplsm 0 Posted June 3, 2012 Alteração do data Fazer o download de: [*]http://download.ivan...010/data.tar.gz E fazer upload para a máquina em /root Nao entendi esta parte ;S Share this post Link to post Share on other sites
ƤāƱŁѲ ƒēƦƦēƗƦā 1,220 Posted June 3, 2012 Alteração do data Fazer o download de: [*]http://download.ivan...010/data.tar.gz E fazer upload para a máquina em /root Nao entendi esta parte ;S Fazes download desse arquivo, vais ao filezilla à pasta root e copias lá isso... Espero ter ajudado. Cumprimentos. 1 Scooter reacted to this Share this post Link to post Share on other sites
jorgeb13 23 Posted June 11, 2012 Boas a mim na parte Alteração do data Fazer o download de: [*]http://download.ivan...010/data.tar.gz E fazer upload para a máquina em /root Não faz download apareceme uma coisa nada haver Alguem me pode ajudar? Share this post Link to post Share on other sites
ƤāƱŁѲ ƒēƦƦēƗƦā 1,220 Posted June 11, 2012 Boas a mim na parte Alteração do data Fazer o download de: [*]http://download.ivan...010/data.tar.gz E fazer upload para a máquina em /root Não faz download apareceme uma coisa nada haver Alguem me pode ajudar? Devido a esse download não estar a dar para fazer, eu próprio fiz upload disso para outro site! Tens aqui o download: http://www.mediafire.com/?s0u5w8a5k67a0df Espero ter ajudado. Agradece. Cumprimentos. 2 Scooter and Rep reacted to this Share this post Link to post Share on other sites