'PACI 2,317 Posted September 18, 2013 quest paci_banco begin state start begin when 9003.chat."Banco" begin local a = select("Depositar Yang", "Retirar Yang", "Sair") if a == 1 then say("Poderás depositar o teu yang aqui[ENTER],apenas precisas de escrever a quantia.") say_reward("Tens "..pc.get_gold().." Yang.") local b = tonumber(input()) if b == nil then return end if b > pc.get_gold() then say("Não tens tanto Yang.") return end if b <= pc.get_gold() then say("Pretendes depositar "..b.." Yang.[ENTER]Certo?") if select("Sim", "Não") == 1 then say("Feito. Depositaste "..b.." yang.") pc.setqf("banco_yang", pc.getqf("banco_yang") + b) pc.change_gold(-b) end end elseif a == 2 then if pc.getqf("banco_yang") == 0 then say("Não tens yang depositado.") return end say_reward("Tens depositado "..pc.getqf("banco_yang").." Yang.") say("Indica a quantia de Yang que queres retirar:") local k = tonumber(input()) if k == nil then return end if k > pc.getqf("banco_yang") then say("Não tens tanto yang depositado.") return end if k + pc.get_gold() >= 2000000000 then say("Não podes retirar essa quantia de Yang[ENTER]pois irá bugar.") return end if k <= pc.getqf("banco_yang") then say("Feito. Recebeste "..k.." yang.") pc.setqf("banco_yang", pc.getqf("banco_yang") - k) pc.change_gold(k) end end end endendNota: Não ainda não tenho pc. 4 Unk3n0w7, TitaniiuMwOw, RazrDx and 1 other reacted to this Share this post Link to post Share on other sites
TitaniiuMwOw 17 Posted September 18, 2013 Boas, acho que isso ja existe aqui na cyber-gamers mas mesmo assim +1 por voltares a partilhar conosco! Share this post Link to post Share on other sites
'PACI 2,317 Posted September 18, 2013 Capaz de existir mas como não há mais nada de interessante.. partilho quests que faço por aborrecimento. Share this post Link to post Share on other sites
KlepY 1,995 Posted September 18, 2013 Boas, acho que isso ja existe aqui na cyber-gamers mas mesmo assim +1 por voltares a partilhar conosco! Sim já existe uma quest de banco. Share this post Link to post Share on other sites
ɱɑcɑcѳ 71 Posted September 18, 2013 Nao consigo por diz core dumped O.o Share this post Link to post Share on other sites
Unk3n0w7 1,321 Posted September 18, 2013 Nao consigo por diz core dumped O.o Engraçado q a mim funfou :O Share this post Link to post Share on other sites
ɱɑcɑcѳ 71 Posted September 18, 2013 eu tentei meter outra quest de banco mas nunca dao -.- Share this post Link to post Share on other sites
ƤāƱŁѲ ƒēƦƦēƗƦā 1,220 Posted September 18, 2013 Essa quest do banco não suporta mais que 2147xxxxxx Yang, ou seja, 2kk +/-. PS: pelo que sei, um qf(registado na base de dados, na tabela quest) tem valor máximo de 2147XXXXXX. Cumprimentos. Share this post Link to post Share on other sites
ɱɑcɑcѳ 71 Posted September 18, 2013 Erro must start with quest O.o Share this post Link to post Share on other sites
Sant0s 422 Posted March 1, 2014 Bem hoje como tenho andado a aprender sobre as bases de Metin2 andei a testar algumas quest aprender etc e ao utilizar uma quest vi que havia um bug, grave! Estou a fazer este comentário apenas para o bug ser concertado , peço ao PACIFICADOR para resolver isto sff. Já tinha visto este bug no EliteMT2 mas quando descobri passado 1 mês concertaram . A quest é banco e não pedir dinheiro apenas com 1 - >.< Prints 1 TitaniiuMwOw reacted to this Share this post Link to post Share on other sites
Mt2Lusitano 0 Posted July 10, 2015 quest paci_banco begin state start begin when 9003.chat."Banco" begin local a = select("Depositar Yang", "Retirar Yang", "Sair") if a == 1 then say("Poderás depositar o teu yang aqui[ENTER],apenas precisas de escrever a quantia.") say_reward("Tens "..pc.get_gold().." Yang.") local b = tonumber(input()) if b == nil then return end if b > pc.get_gold() then say("Não tens tanto Yang.") return end if b <= pc.get_gold() then say("Pretendes depositar "..b.." Yang.[ENTER]Certo?") if select("Sim", "Não") == 1 then say("Feito. Depositaste "..b.." yang.") pc.setqf("banco_yang", pc.getqf("banco_yang") + b) pc.change_gold(-b) end end elseif a == 2 then if pc.getqf("banco_yang") == 0 then say("Não tens yang depositado.") return end say_reward("Tens depositado "..pc.getqf("banco_yang").." Yang.") say("Indica a quantia de Yang que queres retirar:") local k = tonumber(input()) if k == nil then return end if k > pc.getqf("banco_yang") then say("Não tens tanto yang depositado.") return end if k + pc.get_gold() >= 2000000000 then say("Não podes retirar essa quantia de Yang[ENTER]pois irá bugar.") return end if k <= pc.getqf("banco_yang") then say("Feito. Recebeste "..k.." yang.") pc.setqf("banco_yang", pc.getqf("banco_yang") - k) pc.change_gold(k) end end end endendNota: Não ainda não tenho pc. Podes colocar quest do banco com dinheiro infinito? para se poder colocar mais q 2kkk no banco? Obrigado darei +1 Share this post Link to post Share on other sites
Requiem 113 Posted July 11, 2015 Podes colocar quest do banco com dinheiro infinito? para se poder colocar mais q 2kkk no banco? Obrigado darei +1Podes colocar mais de 2kkk no banco, não convém é teres mais que essa quantia no inventário Share this post Link to post Share on other sites