Jump to content

Lajk.

Inactive Member
  • Posts

    18
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Lajk.

  1. 7 hours ago, Traceur3RUN said:

    dobra dzial tylko nie pokazuje niebieskiego scrola hmm wina po stronie servera czy clienta?

    ok works but not show blue scroll on side bars

      Reveal hidden contents

     

    Screen_Shot_07_18_16_at_01_56_PM.png

     

    quest here:

      Hide contents

    quest make_herb_lv4 begin
        state start begin
            when login or levelup with pc.get_level() ==4 begin
                set_state(information)
            end
        end
        state information begin
            when letter begin
                local v = find_npc_by_vnum(20084)
                if v != 0 then
                    target.vid("__TARGET__", v, "Chaegirab")
                end
                send_letter("Analiza Biologa")
            q.set_icon("scroll_open_blue.tga")
            end
            when button or info begin
                say_title("Analiza Biologa")
                say("Biolog Chaegirab, uczeń Uriela,")
                say("właśnie Cię szukał. Proszę, idź ")
                say("do niego i zaoferuj swoją pomoc.")
            end
            when __TARGET__.target.click or 20084.chat."Znajdź Biologa" begin
                target.delete("__TARGET__")
                say_title("Biolog Chaegirab:")
                say("Niebiosa, proszę, pomóżcie mi...")
                say("Badam wszystkie rodzaje toślin w tym")
                say("imperium. Jest bardzo dużo rzeczy,")
                say("które muszą zostać zrobione. Nie mam")
                say("czasu abym mógł sam wybrać się na wyprawę.")
                say("Proszę, pomóż mi.")
                wait()
                say_title("Biolog Chaegirab:")
                say("Aktualnie badam Kwiaty Brzoskwimi.")
                say("Muszę przeprowadzić kilka eksperymentów,")
                say("dlatego potrzebuję kilku Kwiatów.")
                say("Czy mógłbyś przynieść mi 5 Kwiatów Brzoskwini?")
                say("Proszę, pomóż mi! Zawsze przynoś mi po jednym,")
                say("abym miał czas na ich dokładne przebadanie!")
                set_state(go_to_disciple)
                pc.setqf("collect_count",0)
                pc.setqf("drink_drug",0)
            end
        end
        state go_to_disciple begin
            when letter begin
                send_letter("Zadanie specjalne!")
                q.set_icon("scroll_open_blue.tga")
            end
            when button or info begin
                say_title("Znajdź Kwiaty Brzoskwini")
                say("Biolog Chaegirab, uczeń Uriela,")
                say("szuka Kwiatów Brzoskwini.")
                say("Zawsze przynoś mu po jednym, aby miał czas")
                say("na ich dokładne przebadanie.")
                say("Kwiatów szukaj u Głodnych Alfa Wilków.")
                say_item("Kwiat Brzoskwini",50701,"")
                say_reward("Do tej pory dostarczyłeś "..pc.getqf("collect_count").." Kwiatów.")
                say_reward("Brzoskwini.")
            end
            when 71035.use begin
                if pc.getqf("drink_drug")==1 then
                    say("Przedmiot jest już użyty.")
                    return
                end
                if pc.count_item(50701)==0 then
                    say("Najpierw zbierz Kwiat Brzoskwini.")
                    return
                end
                item.remove()
                pc.setqf("drink_drug",1)
            end
            when 173.kill begin
                if pc.count_item(50701)<5-pc.getqf("collect_count") then
                    pc.give_item2(50701, 1)
                end
            end
            when 20084.chat."Kwiaty Brzoskwini" with pc.count_item(50701) >0 begin
                say_title("Biolog Chaegirab:")
                say("Oh!! Znalazłeś!")
                say("Pozwól, że rzucę okiem...")
                say("Jeszcze chwilkę...")
                pc.remove_item(50701, 1)
                wait()
                local pass_percent
                if pc.getqf("drink_drug")==0 then
                    pass_percent=90
                else
                    pass_percent=100
                end
                local s= number(1,100)
                if s<= pass_percent then
                    if pc.getqf("collect_count")< 4 then
                        local index =pc.getqf("collect_count")+1
                        pc.setqf("collect_count",index)
                        say_title("Biolog Chaegirab:")
                        say_green("Och! Ten Kwiat jest doskonałeś jakości!")
                        say("Potrzebuję jednak jeszcze: "..5-pc.getqf("collect_count").. " Kwiatów Brzoskwimi.")
                        say("Proszę, spróbuj je znaleźć!")
                        pc.setqf("drink_drug",0)
                        return
                    end
                    say_title("Biolog Chaegirab:")
                    say("Mam już wystartarczającą ilość Kwiatów Brzoskwini.")
                    say("Dobra robota! Jako dowód mojej wdzięczności")
                    say("otrzymasz trochę Yang i wynik moich badań.")
                    say_title("Informacja:")
                    say_reward("500 PD")
                    say_reward("1.000 Yang")
                    if pc.job==1 then
                        pc.give_item2(1003)
                        say_reward("Sztylety+9")
                    elseif pc.job==3 then
                        pc.give_item2(7003)
                        say_reward("Wachlarz+9")
                    else
                        pc.give_item2(13)
                        say_reward("Miecz+9")
                    end
                    pc.change_money(1000)
                    pc.give_exp2(500)
                    pc.setqf("collect_count",0)
                    pc.setqf("drink_drug",0)
                    pc.setqf("duration",0)
                    clear_letter()
                    set_state(__complete)
                    set_quest_state("levelup","run")
                else
                    say_title("Biolog Chaegirab:")
                    say_red("Bardzo mi przykro, ale ten Kwiat już zwiędnął.")
                    say("Proszę, przynieś mi nowy.")
                    pc.setqf("drink_drug",0)
                    return
                end
            end
        end
        state __complete begin
        end
    end

     

    Sorry, że tak późno.. :D

                send_letter("&Wybór Umiejętności")
                q.set_icon("scroll_open_green.tga")

    tam trzeba do letterów dopisywać jakieś kurwa znaczki jeszcze :D

    You must write '&' or other sign to letter name

    • Love 1
  2. 2 minutes ago, Traceur3RUN said:

    tego to nie wiem xD ale zmieniałem na

    i change 

    
    if localeInfo.IsSINGAPORE() or localeInfo.IsEUROPE():

    invisible

    			else:				btn.SetUpVisual(locale.GetLetterCloseImageName())				btn.SetOverVisual(locale.GetLetterOpenImageName())				btn.SetDownVisual(locale.GetLetterOpenImageName())
    	

    • Love 1
  3. Just now, Traceur3RUN said:

    przy dodawaniu kolorów scroli nie pokazuje bocznych questów

    i change this interfacemodule.py

      Hide contents

        if localeInfo.IsEUROPE():
                if "highlight" == iconType:
                    btn.SetUpVisual("locale/ymir_ui/highlighted_quest.tga")
                    btn.SetOverVisual("locale/ymir_ui/highlighted_quest_r.tga")
                    btn.SetDownVisual("locale/ymir_ui/highlighted_quest_r.tga")
                else:
                    btn.SetUpVisual(localeInfo.GetLetterCloseImageName())
                    btn.SetOverVisual(localeInfo.GetLetterOpenImageName())
                    btn.SetDownVisual(localeInfo.GetLetterOpenImageName())                
            else:
                btn.SetUpVisual(buttonImageFileName)
                btn.SetOverVisual(buttonImageFileName)
                btn.SetDownVisual(buttonImageFileName)
                btn.Flash()
            # END_OF_QUEST_LETTER_IMAGE
     

    to this

      Hide contents
    
    
    if locale.IsSINGAPORE() or locale.IsEUROPE():
    			if name[0] == '*':
    				btn.SetUpVisual("d:/ymir work/ui/game/quest/questicon/scroll_close_blue.tga")
    				btn.SetOverVisual("d:/ymir work/ui/game/quest/questicon/scroll_open_blue.tga")
    				btn.SetDownVisual("d:/ymir work/ui/game/quest/questicon/scroll_open_blue.tga")
    				name = name[1:]
    			elif name[0] == '~':
    				btn.SetUpVisual("d:/ymir work/ui/game/quest/questicon/scroll_close_golden.tga")
    				btn.SetOverVisual("d:/ymir work/ui/game/quest/questicon/scroll_open_golden.tga")
    				btn.SetDownVisual("d:/ymir work/ui/game/quest/questicon/scroll_open_golden.tga")
    				name = name[1:]
    			elif name[0] == '&':
    				btn.SetUpVisual("d:/ymir work/ui/game/quest/questicon/scroll_close_green.tga")
    				btn.SetOverVisual("d:/ymir work/ui/game/quest/questicon/scroll_open_green.tga")
    				btn.SetDownVisual("d:/ymir work/ui/game/quest/questicon/scroll_open_green.tga")
    				name = name[1:]
    			elif name[0] == '+':
    				btn.SetUpVisual("d:/ymir work/ui/game/quest/questicon/scroll_close_purple.tga")
    				btn.SetOverVisual("d:/ymir work/ui/game/quest/questicon/scroll_open_purple.tga")
    				btn.SetDownVisual("d:/ymir work/ui/game/quest/questicon/scroll_open_purple.tga")
    				name = name[1:]
    			else:
    				btn.SetUpVisual(locale.GetLetterCloseImageName())
    				btn.SetOverVisual(locale.GetLetterOpenImageName())
    				btn.SetDownVisual(locale.GetLetterOpenImageName())
    		else:
    			btn.SetUpVisual(buttonImageFileName)
    			btn.SetOverVisual(buttonImageFileName)
    			btn.SetDownVisual(buttonImageFileName)
    			btn.Flash()
    		# END_OF_QUEST_LETTER_IMAGE

    and now is invisible

    Zmień wszystkie locale na localeInfo ;) Wgl. Dostane warna za napierdalanie po Polsku ?

    Change locale -> localeInfo

  4. All link is dead, pls reupload! :wub: 

    :wub: Copy & Paste.

    Hmmm new Serwer by lajk xD

    All link is dead, like divineworld

    No, i don't create new server.

    Sehq6zA.jpg -.^

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.