antiblock
Rodnia | Alpha & Omega

SINVAL o.O

Membro Plus
  • Content Count

    1,895
  • Joined

  • Last visited

  • Days Won

    16

Posts posted by SINVAL o.O


  1. Bem to com um problema em algumas quest exemplo traduzidas não da pra colocar e sem traduzir da mais não consigo ver nenhum erro nelas.Quest normal :

    quest oxevent_manager begin	    state start begin        when login with game.get_event_flag("oxevent_status") > 0 and pc.get_map_index() != 113 begin            q.set_icon("scroll_open_blue.tga")            send_letter("*OX event")        end        when button or info begin       		 ----"123456789012345678901234567890123456789012345678901234567890"|            addimage(20, 12, "ox.tga")            say("")            say("")            say("")            say("")            say_title("The OX event")            say("")            say("Twice every week, the brightest minds in the three kingdoms")            say("gather at the Intelligence event. During this quiz, several")            say("questions about any subject will be displayed. Move to the")            say("O tile if you believe the statement is correct, or to the X")            say("tile if you believe it's not. Only the best will be awarded")            say("with a valuable Coffer of Wisdom!")            say("")        end			    when 20011.chat."OX event" begin					    say_title("Uriel:")					    ----"123456789012345678901234567890123456789012345678901234567890"|					    say("")					    say("Hey - You there!")					    say("")					    say("Yes, yes, exactly you - You look quite intelligent. We have")					    say("a contest running twice every week known as the OX event.")					    say("")					    say("There are great rewards if you win!")					    say("")					    say_item_vnum(50131)					    say("")					    wait()					    if game.get_event_flag("oxevent_status") == 0 then					        ----"123456789012345678901234567890123456789012345678901234567890"|							    say_title("Uriel:")							    say("")							    say("When the competition starts I can let you participate in")							    say("it, but you may simply watch it as well.")							    say("")							    say_blue("Level 20 is required to participate.")							    say("")					    elseif game.get_event_flag("oxevent_status") == 1 then					        if pc.get_level() > 19 then                    say_title("Uriel:")                    say("")                    say("Do you want to participate now?")                    say("")                    say("Of course you can also just watch and learn.")                    say("")                    local s = select("Participate", "Watch", "Cancel")                    if s == 1 then                        say_title("Uriel:")                        say("")                        say("Do you want to try it out?")                        say("Okay - Let's start.")                        say("")                        wait()                        if game.get_event_flag("oxevent_status") == 1 then                            pc.warp(896500, 24600)                        else                            say("You are too late. OX event is already")                            say("running!")                            say("")                        end                    elseif s == 2 then                        ----"123456789012345678901234567890123456789012345678901234567890"|                        say_title("Uriel:")                        say("")                        say("Watching?")                        say("")                        say("Okay - Then you can watch here. But remember that you can")                        say("not leave until the competition is finished. Also be careful")                        say("not to disturb other players - guards are watching!")                        say("")                        wait()                        pc.warp(896300, 28900)                    end                else                    say_title("Uriel:")                    say("")                    say("You need to reach level 20 to participate.")                    say("But you can just watch it if you wish.")                    say("")                    local s = select("Watch", "No thanks")                    if s ==1 then                        ----"123456789012345678901234567890123456789012345678901234567890"|                        say_title("Uriel:")                        say("")                        say("Watching then? Great - I say you can always learn something")                        say("new! But try not to disturb the contestants.")                        say("")                        wait()                        pc.warp(896300, 28900)                    end                end					    elseif game.get_event_flag("oxevent_status") == 2 then							    say_title("Uriel:")							    say("")							    ----"123456789012345678901234567890123456789012345678901234567890"|							    say("I'm afraid the competition has already started.")							    say("")							    say("Soon a next competition might start, and you will of course")							    say("be informed. Meanwhile, do you wish to watch the current one?")							    say("")							    local s = select("Watch", "Cancel")							    if s == 1 then									    say_title("Uriel:")									    say("")									    say("So, you will be watching? Nice.")									    say("")									    say("To watch it a couple of times will benefit you, if you")									    say("are going to participate yourself later.")									    say("")									    wait()									    pc.warp(896300, 28900)							    end					    end			    end        when 20358.chat."OX event for GM" with pc.is_gm() begin            local stat = oxevent.get_status()            if stat == 0 then                say("now: OX Event Ends")                say("")                local s = select("Start Event", "End")                if s == 1 then                    local v = oxevent.open()                    if v == 0 then                        say("Failed to load OX quiz, please check")                        say("your files and try again.")                        say("")                        say("")                    elseif v == 1 then                        say("Load OX quiz successfully.")                        say("Event starts!")                        say("")                        notice_all("OX event is starting in a few minutes.")                        notice_all("Talk to Uriel to enter the challenge!")                    else                        say("OX Event Error")                        say("")                    end                end            elseif stat == 1 then                    say("now: OX Event starts")                    say("User count "..oxevent.get_attender().." players")                    say("")                    local s = select("Close sign up", "End")                    if s == 1 then                        oxevent.close()                        say("Now the sign up is closed you can start quiz.")                        say("")                        say("")                    end            elseif stat == 2 then                    say("now: OX Event sign up is closed")                    say("")                    local s = select("Ask Question", "Restart the Event", "Close Event", "End")                    if s == 1 then                        local v = oxevent.quiz(1, 30)                        if v == 0 then                            say("Failed to start quiz")                            say("")                        elseif v == 1 then                            say("Start quiz successfully")                            say("")                        else                            say("OX Event Error")                            say("")                        end                    elseif s == 2 then                        oxevent.end_event()                        notice_all("The next round of OX will start again shortly.")                        notice_all("Participants will now be teleported to the city.")                        say("OX Event Restart")                        say("")                    elseif s == 3 then                        oxevent.end_event()                        notice_all("The OX event is over.")                        notice_all("Participants will now be teleported to the city.")                        say("End OX Event")                        say("")                    end            elseif stat == 3 then                    say("now: Loading quiz, please wait.")                    say("")                    say("")                else                    say("now: Error")                end            end        when 20358.chat."Shut Down OX Event" with pc.is_gm() begin            say("Force to shut down OX Event might cause problem,")            say("are you sure you want to continue?")            say("")            say("")            local s = select("Yes", "No")            if s == 1 then                oxevent.end_event_force()                say("OX Event was forced to shut down")            end        end        when 20358.chat."Give OX event reward " with pc.is_gm() begin            --say("Reward winners. Please enter item ID.")            --say("")            --local item_vnum = input()            --say("Please enter the quantity.")            --say("")            --local item_count = input()            local item_vnum=50131            local item_count=1            oxevent.give_item(item_vnum, item_count)            say("You reward item to "..oxevent.get_attender().." players.")            say("")            notice_all(oxevent.get_attender().." players won a Coffer of Wisdom!")        end	    endend

    Quest traduzida:

    quest oxevent_manager begin	    state start begin        when login with game.get_event_flag("oxevent_status") > 0 and pc.get_map_index() != 113 begin            q.set_icon("scroll_open_blue.tga")            send_letter("*Evento OX")        end        when button or info begin       		 ----"123456789012345678901234567890123456789012345678901234567890"|            addimage(20, 12, "ox.tga")            say("")            say("")            say("")            say("")            say_title("Evento OX")            say("")            say("Uma vezes por semana, as mentes mais brilhantes nos três reinos")            say("reunir na competição de Inteligência. Durante este teste, vários")            say("perguntas sobre qualquer assunto serão exibidos. Mover-se para o")            say("O, se você acredita que a afirmação está correta, ou para o X")            say("se você acreditar que não é. Só os melhores serão premiados")            say("com items valiosos!")            say("")        end			    when 20011.chat."O Concurso de Inteligência" begin					    say_title("Sábio Uriel:")					    ----"123456789012345678901234567890123456789012345678901234567890"|					    say("")					    say("Oi! - Você ai!")					    say("")					    say("Sim, sim você - Parece ser bastante inteligente.")					    say("Há um concurso,")					    say("que se chama Competição OX!!!")					    say("E tem grandes recompensas se vencer.")					   -- say("")					   -- say_item_vnum(50131)					    say("")					    wait()					    if game.get_event_flag("oxevent_status") == 0 then					        ----"123456789012345678901234567890123456789012345678901234567890"|							    say_title("Sábio Uriel:")							    say("")							    say("Quando o concurso começar eu posso")							    say("deixar você participar,")							    say("mas pode somente observer se quiser.")							    say("")							    say("Não tenho a previsão para o início")							    say("da competição, mas aviso quando")							    say("começar, portanto se prepare!")							    say("")					    elseif game.get_event_flag("oxevent_status") == 1 then					        if pc.get_level() > 19 then                    say_title("Sábio Uriel:")                    say("")                    say("A Competição OX começou!!!")                    say("")                    say("O que deseja fazer?")                    say("")                    local s = select("Participar", "Observar", "Cancelar")                    if s == 1 then                        say_title("Sábio Uriel:")                        say("")                        say("Você quer experimentá-lo?")                        say("Ok - Vamos começar.")                        say("")                        wait()                        if game.get_event_flag("oxevent_status") == 1 then                            pc.warp(896500, 24600)                        else                            say("Você está tarde demais. Evento OX é já")                            say("está correndo!")                            say("")                        end                    elseif s == 2 then                        ----"123456789012345678901234567890123456789012345678901234567890"|                        say_title("Sábio Uriel:")                        say("")                        say("Assistir?")                        say("")                        say("Ok - Então você pode assistir aqui. Mas lembre-se que você pode")                        say("participar")                        say("Não deixe até a competição terminar. Também deve ter cuidado")                        say("para não perturbar os outros jogadores - os guardas estão assistindo!")                        say("")                        wait()                        pc.warp(896300, 28900)                    end                else                    say_title("Sábio Uriel:")                    say("")                    say("Você precisa atingir o nível 5 para participar.")                    say("Mas você pode apenas vê-lo, se desejar.")                    say("")                    local s = select("Observar", "Não, obrigado")                    if s ==1 then                        ----"123456789012345678901234567890123456789012345678901234567890"|                        say_title("Sábio Uriel:")                        say("")                        say("Observando então? Grande - eu digo que você sempre pode aprender algo")                        say("novo! Mas tente não perturbar os concorrentes.")                        say("")                        wait()                        pc.warp(896300, 28900)                    end                end					    elseif game.get_event_flag("oxevent_status") == 2 then							    say_title("Sábio Uriel:")							    say("")							    ----"123456789012345678901234567890123456789012345678901234567890"|							    say("Temo que a competição já começou.")							    say("")							    say("Logo a próxima competição pode começar, e você, claro,")							    say("ser informado. Enquanto isso, o que você deseja assistir o atual?")							    say("")							   local s = select("Observar", "Cancelar")							    if s == 1 then									    say_title("Sábio Uriel:")									    say("")									    say("Então, você vai estar assistindo? bom.")									    say("")									    say("Para vê-lo um par de vezes vai beneficiar você, se você")									    say("vão participar se mais tarde.")									    say("")									    wait()									    pc.warp(896300, 28900)							    end					    end			    end        when 20358.chat."GM: Evento OX" with pc.is_gm() begin            local stat = oxevent.get_status()            if stat == 0 then                say("Status: Evento OX OFF")                say("")                local s = select("Início do evento", "Fechar")                if s == 1 then                    local v = oxevent.open()                    if v == 0 then                        say("Falha ao carregar o teste OX, por favor, verifique")                        say("seus arquivos e tente novamente.")                        say("")                        say("")                    elseif v == 1 then                        say("Carga OX questionário com sucesso.")                        say("evento começa!")                        say("")                        notice_all("OX evento começa em poucos minutos.")                        notice_all("Fale com o Uriel para entrar no desafio!")                    else                        say("OX Erro de evento")                        say("")                    end                end            elseif stat == 1 then                    say("Status:  Evento OX começa")                    say("contagem de usuários "..oxevent.get_attender().." jogadores")                    say("")                    local s = select("Fechar Portões", "Fechar")                    if s == 1 then                        oxevent.close()                        say("Agora, a inscrição é fechado, você pode começar a interrogar.")                        say("")                        say("")                    end            elseif stat == 2 then                    say("Status: OX sinal Evento está fechado ")                    say("")                    local s = select("Perguntas", "Reinicie o Evento", "Fechar Evento", "Fechar")                    if s == 1 then                        local v = oxevent.quiz(1, 100)                        if v == 0 then                            say("Falha ao iniciar o questionário")                            say("")                        elseif v == 1 then                            say("Iniciar quiz com sucesso")                            say("")                        else                            say("OX Erro de evento")                            say("")                        end                    elseif s == 2 then                        oxevent.end_event()                        notice_all("A próxima rodada de OX vai começar de novo logo.")                        notice_all("Os participantes vão agora ser teletransportado para a cidade.")                        say("OX evento Restart")                        say("")                    elseif s == 3 then                        oxevent.end_event()                        notice_all("O evento OX é mais.")                        notice_all("Os participantes vão agora ser teletransportado para a cidade.")                        say("Evento OX final")                        say("")                    end            elseif stat == 3 then                    say("Status: Carregando quiz, por favor aguarde.")                    say("")                    say("")                else                    say("Status: Erro")                end            end        when 20358.chat."Desligar Evento OX" with pc.is_gm() begin            say("Forçar para desligar Evento OX pode causar problema,")            say("Tem certeza que deseja continuar?")            say("")            say("")            local s = select("Sim", "Não")            if s == 1 then                oxevent.end_event_force()                say("Evento OX foi forçado a encerrar")            end        end        when 20358.chat."GM: OX recompensa evento" with pc.is_gm() begin            say("Vencedores recompensa. Por favor insira item de ID.")            say("")            local item_vnum = input()            say("Por favor, indique a quantidade.")            say("")            local item_count = input()            --local item_vnum=50131            --local item_count=1            oxevent.give_item(item_vnum, item_count)            say("Você recompensar item para "..oxevent.get_attender().." jogadores.")            say("")            --notice_all(oxevent.get_attender().." jogadores ganharam a Arca da Sabedoria!")            notice_all(oxevent.get_attender().." jogadores ganharam um item valioso!")        end	    endend


  2. Boas gente venho postar uma coisa que na certa ajudara muita gente, alguns deve conheçer foi postado na epvp por qimi44 não mostra si ele é o criador mais ele que posto deve ser testado e funcional.

    Fica ae tut que traduzi e original caso tradução tiver ficado mal feita.

    Traduzido.

    Busca de inserção + mob_drop.quest

    Ei, aqui eu mostro como você pode colocar gotas em uma missão.

    O que é diferente no mob_drop_item.txt? Se um item que você

    dropt está no bate-papo que você gedropt ela. Nada de especial ^ ^

    Como faço para colá-lo?:

    Criar um novo documento de texto -> aberto com bloco de notas -> Copiar e colar conteúdo

    -> Save Desktop -> Mudar o nome para mob_drop.quest

    -> Open Filezilla -> Localiza a pasta quest -> As rédeas da Quest lá fora

    -> Quest_list puxar para cima no desktop -> Abrir com o Bloco de Notas

    -> Na parte inferior de uma nova linha com mob_drop.quest

    -> Salvar e limpar novamente na pasta de busca

    -> No VB m2 qc escrever -> e no jogo / recarregar q

    Esta é apenas para arquivos Daroo, se beneficiaram zocker ou outros arquivos,

    você tem que fazê-lo da maneira que você faz com os arquivos de conteúdo

    E então você tem a missão em seu servidor.

    Você não tem que reiniciar.

    quest

    quest mobdrop begin

    state start begin

    when kill with not npc.is_pc() begin

    local drop_items = {

    -- {MOB_RACE, ITEM_VNUM, ITEM_COUNT, DROP_CHANCE, PC_MIN_LEVEL, PC_MAX_LEVEL}, (kannst du hier stehen lassen)

    {101, 19, 1, 88.55, 1, 120},

    }

    for i = 1, table.getn(drop_items), 1 do

    local dropRace, dropItem, dropCount, dropChance, dropMinLevel, dropMaxLevel = tonumber(drop_items[i][1]), drop_items[i][2], drop_items[i][3], tonumber(drop_items[i][4]), tonumber(drop_items[i][5]), tonumber(drop_items[i][6])

    if npc.get_race() == dropRace and pc.get_level() >= dropMinLevel and pc.get_level() <= dropMaxLevel and dropChance >= number(0, 10000) / 100 then

    pc.give_item2(dropItem, dropCount)

    end

    end

    end

    end

    end

    {101, 19, 1, 88.55, 1, 120}, é apenas um exemplo do que são os números?

    101 é a Mob_Vnum

    19 é Item_Vnum

    1 é o número

    88,55 é a chance percentual

    1 é o nível mínimo com o qual você pode dropen

    120 é o nível máximo que pode ser usado dropen

    Original post

    Quest einfügen + mob_drop.quest

    Hey, hier zeige ich euch wie ihr Drops einfügen könnt, in einer Quest.

    Was ist anders als in der mob_drop_item.txt ? Wenn ihr ein Item

    dropt, steht es im Chat was ihr gedropt habt. Nichts besonderes ^^

    Wie füge ich es ein ?:

    Neues Textdokument erstellen -> mit Notepad öffnen -> Inhalt kopieren& einfügen

    -> Speichern unter Desktop -> Unbenennen zu mob_drop.quest

    -> Filezilla öffnen -> Sucht den Quest Ordner -> Die Quest dort reinstellen

    -> quest_list auf Desktop raufziehen -> Öffnen mit Notepad

    -> Ganz unten eine neue Zeile mit mob_drop.quest

    -> Abspeichern und in den Quest-Ordner wieder rein

    -> In der VB m2 qc schreiben -> Und InGame /reload q

    Das ist nur für Daroo Files gedacht, wenn ihr profizocker oder andere Files habt,

    müsst ihr das so machen, wie man das halt mit euren Files macht Imagem colocada

    Und schon habt ihr die Quest auf eurem Server.

    Rebooten müsst ihr nicht.

    quest mobdrop begin

    state start begin

    when kill with not npc.is_pc() begin

    local drop_items = {

    -- {MOB_RACE, ITEM_VNUM, ITEM_COUNT, DROP_CHANCE, PC_MIN_LEVEL, PC_MAX_LEVEL}, (kannst du hier stehen lassen)

    {101, 19, 1, 88.55, 1, 120},

    }

    for i = 1, table.getn(drop_items), 1 do

    local dropRace, dropItem, dropCount, dropChance, dropMinLevel, dropMaxLevel = tonumber(drop_items[i][1]), drop_items[i][2], drop_items[i][3], tonumber(drop_items[i][4]), tonumber(drop_items[i][5]), tonumber(drop_items[i][6])

    if npc.get_race() == dropRace and pc.get_level() >= dropMinLevel and pc.get_level() <= dropMaxLevel and dropChance >= number(0, 10000) / 100 then

    pc.give_item2(dropItem, dropCount)

    end

    end

    end

    end

    end

    {101, 19, 1, 88.55, 1, 120}, ist nur ein Beispiel, für was stehen die Zahlen ?

    101 ist die Mob_Vnum

    19 ist die Item_Vnum

    1 ist die Anzahl

    88.55 ist die Prozentuale Chance

    1 ist das Minimale Level mit dem man dropen kann

    120 ist das Maximale Level mit dem man dropen kann

    Cumprimentos Sinval.