Requiem 113 Posted July 9, 2015 Boas Pessoal. Como não tenho nada que fazer tenho andado a arranjar umas quests, e a traduzi-las.. Aqui deixo uma em que se pode trocar um livro de habilidades por outro livro.. Género do PT só que o PT é Pay2Win kkk quest bookday begin state start begin when login with game.get_event_flag("worldbookday") == 1 begin send_letter("*Dia do Livro") local v=find_npc_by_vnum(20094) if v!=0 then target.vid("__TARGETWBD__", v, "HongHae") end end when button or info begin say("") ----"123456789012345678901234567890123456789012345678901234567890"| say("Caros Jogadores, hoje é o 'Dia do Livro'!") say("E para celebrar-mos esta ocasião podes trocar livros") say("com a Hong-Hae, basta apenas arrastares o livro para ela.") say("Ela irá dar-te um manual à sorte!") say("") say_reward("Um feliz 'Dia do Livro' são os desejos da Equipa!") say("") end when 20094.take with item.vnum == 50300 and game.get_event_flag("worldbookday") == 1 begin say_title("Hong-Hae:") say("") say("Tens a certeza que queres trocar este livro?") say("Atenção que será trocado por um manual à sorte!") say("") local answ = select("Sim", "Não") if answ == 1 then local num = number(1,44) local tomes = {50401,50402,50403,50404,50405,50416,50417,50418,50419,50420,50431,50432,50433,50434,50435,50446,50447,50448,50449,50450,50461,50462,50463,50464,50465,50466,50476,50477,50478,50479,50480,50481,50496,50495,50494,50493,50492,50491,50506,50507,50508,50509,50510,50511} item.remove() pc.give_item2(tonumber(tomes[num]),1) end end when 20094.click with game.get_event_flag("worldbookday") == 1 begin target.delete("__TARGETWBD__") say_title("Hong-Hae:") say("") say("Feliz 'Dia do Livro'!") say("") say("Dá-me qualquer livro que tenhas que eu") say("vou-te dar um dos meus favoritos em troca.") say("") say("Quem sabe se não irás gostar mais deste!") say("") end end end Se gostaram dêem (não custa nada ) 1 nicoleroque reacted to this Share this post Link to post Share on other sites
Tyler Durden 556 Posted July 9, 2015 addimage(20, 12, "booksday.tga") Se não tiverem isto no client, ou fazem ou apagam esta linha. Share this post Link to post Share on other sites
Requiem 113 Posted July 9, 2015 Sim, é o que eu estava a reparar.. Deixa-me apagar isso Share this post Link to post Share on other sites
Wolvarinhas 107 Posted July 9, 2015 Se não tiverem isto no client, ou fazem ou apagam esta linha. Tipo qual e o diretorio para adicionar essa imagem uma vez soube na é no locale? ou o crl Share this post Link to post Share on other sites
Requiem 113 Posted July 9, 2015 Tipo qual e o diretorio para adicionar essa imagem uma vez soube na é no locale? ou o crl Sim, é no locale Share this post Link to post Share on other sites
Tyler Durden 556 Posted July 9, 2015 \etc\ymir work\ui\game\questboard Share this post Link to post Share on other sites
Wolvarinhas 107 Posted July 9, 2015 \etc\ymir work\ui\game\questboard Yeh acabei de ir a Epvp para confirar no topico da give_basic_weapon onde é que se encontra essa função do addimage? Share this post Link to post Share on other sites
Tyler Durden 556 Posted July 9, 2015 quest_functions + questlib.lua? Share this post Link to post Share on other sites
Metin2 Lusitano 9 Posted February 19, 2016 Boas Pessoal. Como não tenho nada que fazer tenho andado a arranjar umas quests, e a traduzi-las.. Aqui deixo uma em que se pode trocar um livro de habilidades por outro livro.. Género do PT só que o PT é Pay2Win kkk quest bookday begin state start begin when login with game.get_event_flag("worldbookday") == 1 begin send_letter("*Dia do Livro") local v=find_npc_by_vnum(20094) if v!=0 then target.vid("__TARGETWBD__", v, "HongHae") end end when button or info begin say("") ----"123456789012345678901234567890123456789012345678901234567890"| say("Caros Jogadores, hoje é o 'Dia do Livro'!") say("E para celebrar-mos esta ocasião podes trocar livros") say("com a Hong-Hae, basta apenas arrastares o livro para ela.") say("Ela irá dar-te um manual à sorte!") say("") say_reward("Um feliz 'Dia do Livro' são os desejos da Equipa!") say("") end when 20094.take with item.vnum == 50300 and game.get_event_flag("worldbookday") == 1 begin say_title("Hong-Hae:") say("") say("Tens a certeza que queres trocar este livro?") say("Atenção que será trocado por um manual à sorte!") say("") local answ = select("Sim", "Não") if answ == 1 then local num = number(1,44) local tomes = {50401,50402,50403,50404,50405,50416,50417,50418,50419,50420,50431,50432,50433,50434,50435,50446,50447,50448,50449,50450,50461,50462,50463,50464,50465,50466,50476,50477,50478,50479,50480,50481,50496,50495,50494,50493,50492,50491,50506,50507,50508,50509,50510,50511} item.remove() pc.give_item2(tonumber(tomes[num]),1) end end when 20094.click with game.get_event_flag("worldbookday") == 1 begin target.delete("__TARGETWBD__") say_title("Hong-Hae:") say("") say("Feliz 'Dia do Livro'!") say("") say("Dá-me qualquer livro que tenhas que eu") say("vou-te dar um dos meus favoritos em troca.") say("") say("Quem sabe se não irás gostar mais deste!") say("") end end end Se gostaram dêem (não custa nada ) Amigo diz me uma coisa é possivel meter esta quest a trocar 3 livros por dia_ em vez de ser evento e uma quest fixa que troque 3 livros por dia aos jogadores Share this post Link to post Share on other sites