antiblock
Cyphriun
  • Chatbox

    You don't have permission to chat.
    Load More
Sign in to follow this  
.boon.

Teleportador

3 posts in this topic

nota: para ser usado, as coordenadas têm de ser acertadas

quest old_man beginstate start beginwhen id.chat."Para onde queres ir?" beginold_man.main()end function main()say_title"Teleportador"say"Texto."say"Texto."say"Texto."say"Texto."say"Texto."say"Texto."local type = select("Reinos","Dungeon","Normal","Sair")if type == 1 thenold_man.empire()elseif type == 2 thenold_man.dungeon()elseif type == 3 thenold_man.normal()endend function empire()local get = pc.get_empire()local empire = {{{ "Zona Yongan", 469300, 964200 },{ "Zona Jayang", 469300, 964200 },},{{ "Zona Joan", 55700, 157900 },{ "Zona Bokjung", 55700, 157900 },},{{ "Zona Pyungmoo", 969600, 278400 },{ "Zona Bakra", 969600, 278400 }}}local menu = {}for i = 1, table.getn(empire[get]) dotable.insert(menu, empire[get][i][1])table.insert(menu, "Voltar")say_title"Teleportador:"say"Escolhe a zona."local s = select_table(menu)if s == table.getn(menu) thenold_man.main()returnendsay_title"Teleportador:"say"Estás a ser teleportado..."wait()pc.warp(empire[get][s][2], empire[get][s][3])endend function dungeon()local dungeon = {{{ "Hasun Dong - Calabouço Fácil", 775200, 447700 },{ "Jungsun Dong - Calabouço Médio", 153200, 653200 },{ "Sangsun Dong - Calabouço Difícil", 135200, 730000},},{{ "Cave das Aranhas - 1º Piso", 91700, 525300},{ "Cave das Aranhas - 2º Piso", 705000, 465000},},{{ "Torre Gumsam", 705000, 465000},{ "Catacumbas do Demónio", 705000, 465000}}}say_title"Teleportador:"say"Escolhe o tipo de dungeon."local option = select("Macacos","Aranhas","Demónios","Voltar")if option == 4 thenold_man.main()elselocal menu = {}for i = 1, table.getn(dungeon[option]) dotable.insert(menu, dungeon[option][i][1])table.insert(menu, "Voltar")say_title"Teleportador:"say"Escolhe o mapa."local s = select_table(menu)if s == table.getn(menu) thenold_man.dungeon()returnendsay_title"Teleportador:"say"Estás a ser teleportado..."wait()pc.warp(dungeon[option][s][2], dungeon[option][s][3])endendend function normal()local get = pc.get_empire()local maps = {{{ "Vale Seungryong", x1, x2, x3, y1, y2, y3 },{ "Deserto Yongbi", x1, x2, x3, y1, y2, y3 },{ "Montanha Sohan", x1, x2, x3, y1, y2, y3 },{ "Doyyumhwan - Terra do Fogo", x1, x2, x3, y1, y2, y3 },{ "Templo Hwang", x1, x2, x3, y1, y2, y3 },},{{ "Floresta Fantasma", x, y },{ "Bosque Rubro", x, y },{ "Gruta das Almas - 1º Piso", x, y },{ "Gruta das Almas - 2º Piso", x, y },{ "Jotunheim", x, y }}}local menu = {}for i = 1, 5 dotable.insert(menu, maps[1][i][1])if pc.level < 75 thentable.insert(menu, "Voltar")say_title"Teleportador:"say"Escolhe o mapa."local s = select_table(menu)if s == table.getn(menu) thenold_man.main()returnendsay_title"Teleportador:"say"Estás a ser teleportado..."wait()pc.warp(maps[1][s][get+1], maps[1][s][get+4])elsetable.insert(menu, "Mais")say_title"Teleportador:"say"Escolhe o mapa."local s = select_table(menu)if s == table.getn(menu) thensay_title"Teleportador:"say"Escolhe o mapa."local second_menu = {}for i = 1, 5 dotable.insert(second_menu, maps[2][i][1])table.insert(second_menu, "Voltar")say_title"Teleportador:"say"Escolhe o mapa."local t = select_table(menu)if t == table.getn(second_menu) thenold_man.main()returnendsay_title"Teleportador:"say"Estás a ser teleportado..."wait()pc.warp(maps[2][t][2], maps[2][t][3])endendendend endend

Share this post


Link to post
Share on other sites
antiblock
Elveron

Cara como Mecho nessa quest pra por onde quero q ele teleporte ? 

Share this post


Link to post
Share on other sites

Para quem não souber instalar1 . Ligar FTP2 - Ir ate a pasta quests3 - por a quest la na pasta quests4  por a quest bm no quest_list5 fazer na vb " cd /home/game/share/locale/germany/quest" <--- ISTO E O MEU DIRECTORIO O VOSSO PODE SER DIFERENTE ! "6  fazer dps disso na vb : /q  nomedaquest7  fazer no game /reload q

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this