Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

Rekomendowane odpowiedzi

Opublikowano

Siema, prosiłbym o napisanie 2 questów.

 

1. 1 medal podnosi lvl konia o 1 poziom(szansa 44%). Można go czytać co 30min , i jak się nie powiedzie to można jeszcze raz i tak do upadłego, ale jak sie powiedzie to za 30min nasepny. Na dola pojawia się informacja czy podniosło lvl konia, czy się nie udało. I jak naciśniemy na medal to nie ma się pokazywac okienko tylko od razu na dole ma pisać czy sie udało.

 

2. U strażnika wieży demonów (20348 ) wymiana 3 szkat ripera (50082) na wybrana broń 75 lvl(180,190,1130,3160,2170,5120)

Opublikowano


quest medal1 begin

state start begin

when 50050.use with horse.get_level()==0 and horse.get_grade()==0 and pc.get_level()>=25 begin

if pc.getqf("czas") > get_time() then

chat("Nie możesz jeszcze szkolić konia!")

return

end

pc.setqf("czas", get_time()+2*60*60)

local pass_percent=100

local s=number(1,100)

pc.remove_item(50050, 1)

if s<=pass_percent then

chat("Szkolenie przebiegło pomyślnie")

chat("Otrzymałeś zwykłego konia")

pc.give_item2(50051)

horse.advance()

horse.summon()

else

chat("Szkolenie niepomyślne")

end

end

end

end

quest medal2 begin

state start begin

when 50050.use with horse.get_level()>=1 and horse.get_level()<10 and horse.get_grade()==1 and pc.get_level()>=25 begin

if pc.getqf("czas") > get_time() then

chat("Nie możesz jeszcze szkolić konia!")

return

end

pc.setqf("czas", get_time()+2*60*60)

local pass_percent=90

local s=number(1,100)

pc.remove_item(50050, 1)

if s<=pass_percent then

chat("Szkolenie przebiegło pomyślnie")

chat("Poziom konia został zwiększony")

horse.advance()

horse.summon()

else

chat("Szkolenie niepomyślne")

end

end

end

end

quest medal3 begin

state start begin

when 50050.use with horse.get_level()==10 and horse.get_grade()==1 and pc.get_level()>=35 begin

if pc.getqf("czas") > get_time() then

chat("Nie możesz jeszcze szkolić konia!")

return

end

pc.setqf("czas", get_time()+2*60*60)

local pass_percent=25

local s=number(1,100)

pc.remove_item(50050, 1)

if s<=pass_percent then

chat("Szkolenie przebiegło pomyślnie")

chat("Otrzymałeś konia bojowego")

pc.give_item2(50052)

pc.remove_item(50051, 1)

horse.unride()

horse.unsummon()

horse.advance()

horse.summon()

else

chat("Szkolenie niepomyślne")

end

end

end

end

quest medal4 begin

state start begin

when 50050.use with horse.get_level()>10 and horse.get_level()<20 and horse.get_grade()==2 and pc.get_level()>=35 begin

if pc.getqf("czas") > get_time() then

chat("Nie możesz jeszcze szkolić konia!")

return

end

pc.setqf("czas", get_time()+2*60*60)

local pass_percent=50

local s=number(1,100)

pc.remove_item(50050, 1)

if s<=pass_percent then

chat("Szkolenie przebiegło pomyślnie")

chat("Poziom konia został zwiększony")

horse.advance()

horse.summon()ć

else

chat("Szkolenie niepomyślne")

end

end

end

end

quest medal5 begin

state start begin

when 50050.use with horse.get_level()==20 and horse.get_grade()==2 and pc.get_level()>=45 begin

if pc.getqf("czas") > get_time() then

chat("Nie możesz jeszcze szkolić konia!")

return

end

pc.setqf("czas", get_time()+2*60*60)

local pass_percent=10

local s=number(1,100)

pc.remove_item(50050, 1)

if s<=pass_percent then

chat("Szkolenie przebiegło pomyślnie")

chat("Otrzymałeś konia wojskowego")

pc.give_item2(50053)

pc.remove_item(50052, 1)

horse.unride()

horse.unsummon()

horse.advance()

horse.summon()

else

chat("Szkolenie niepomyślne")

end

end

end

end

quest medal6 begin

state start begin

when 50050.use with horse.get_level()>=21 and horse.get_level()<30 and horse.get_grade()==3 and pc.get_level()>=45 begin

if pc.getqf("czas") > get_time() then

chat("Nie możesz jeszcze szkolić konia!")

return

end

pc.setqf("czas", get_time()+2*60*60)

local pass_percent=25

local s=number(1,100)

pc.remove_item(50050, 1)

if s<=pass_percent then

chat("Szkolenie przebiegło pomyślnie")

chat("Poziom konia został zwiększony")

horse.advance()

horse.summon()

else

chat("Szkolenie niepomyślne")

end

end

end

end

quest medal7 begin

state start begin

when 50050.use with horse.get_level()==0 and pc.get_level()<25 begin

chat("Aby otrzymać konia musisz mieć co najmniej 25 poziom")

end

end

end

quest medal8 begin

state start begin

when 50050.use with horse.get_level()==10 and pc.get_level()<35 begin

chat("Aby otrzymać konia bojowego musisz mieć co najmniej 35 poziom")

end

end

end

quest medal9 begin

state start begin

when 50050.use with horse.get_level()==20 and pc.get_level()<45 begin

chat("Aby otrzymać konia militarnego musisz mieć co najmniej 45 poziom")

end

end

end

 

 

Quest by: Endymionek

 

pc.setqf("czas", get_time zmień na jaki chcesz.

Opublikowano
quest medal1 begin
    state start begin
        when 50050.use with horse.get_level()==0 and horse.get_grade()==0 and pc.get_level()>=25 begin
        if pc.getqf("czas") > get_time() then
            chat("Nie możesz jeszcze szkolić konia!")
            return
        end
        pc.setqf("czas", get_time()+2*60*60)
        local pass_percent=100
        local s=number(1,100)
        pc.remove_item(50050, 1)
        if s<=pass_percent then
            chat("Szkolenie przebiegło pomyślnie")
            chat("Otrzymałeś zwykłego konia")
            pc.give_item2(50051)
            horse.advance()
            horse.summon()
        else
            chat("Szkolenie niepomyślne")
            end
        end
    end
end
quest medal2 begin
    state start begin
        when 50050.use with horse.get_level()>=1 and horse.get_level()<10 and horse.get_grade()==1 and pc.get_level()>=25 begin
        if pc.getqf("czas") > get_time() then
            chat("Nie możesz jeszcze szkolić konia!")
            return
        end
        pc.setqf("czas", get_time()+2*60*60)
        local pass_percent=90
        local s=number(1,100)
        pc.remove_item(50050, 1)
        if s<=pass_percent then
            chat("Szkolenie przebiegło pomyślnie")
            chat("Poziom konia został zwiększony")
            horse.advance()
            horse.summon()
        else
            chat("Szkolenie niepomyślne")
            end
        end
    end
end
quest medal3 begin
    state start begin
        when 50050.use with horse.get_level()==10 and horse.get_grade()==1 and pc.get_level()>=35 begin
        if pc.getqf("czas") > get_time() then
            chat("Nie możesz jeszcze szkolić konia!")
            return
        end
        pc.setqf("czas", get_time()+2*60*60)
        local pass_percent=25
        local s=number(1,100)
        pc.remove_item(50050, 1)
        if s<=pass_percent then
            chat("Szkolenie przebiegło pomyślnie")
            chat("Otrzymałeś konia bojowego")
            pc.give_item2(50052)
            pc.remove_item(50051, 1)
            horse.unride()
            horse.unsummon()
            horse.advance()
            horse.summon()
        else
            chat("Szkolenie niepomyślne")
            end
        end
    end
end
quest medal4 begin
    state start begin
        when 50050.use with horse.get_level()>10 and horse.get_level()<20 and horse.get_grade()==2 and pc.get_level()>=35 begin
        if pc.getqf("czas") > get_time() then
            chat("Nie możesz jeszcze szkolić konia!")
            return
        end
        pc.setqf("czas", get_time()+2*60*60)
        local pass_percent=50
        local s=number(1,100)
        pc.remove_item(50050, 1)
        if s<=pass_percent then
            chat("Szkolenie przebiegło pomyślnie")
            chat("Poziom konia został zwiększony")
            horse.advance()
            horse.summon()ć
        else
            chat("Szkolenie niepomyślne")
            end
        end
    end
end
quest medal5 begin
    state start begin
        when 50050.use with horse.get_level()==20 and horse.get_grade()==2 and pc.get_level()>=45 begin
        if pc.getqf("czas") > get_time() then
            chat("Nie możesz jeszcze szkolić konia!")
            return
        end
        pc.setqf("czas", get_time()+2*60*60)
        local pass_percent=10
        local s=number(1,100)
        pc.remove_item(50050, 1)
        if s<=pass_percent then
            chat("Szkolenie przebiegło pomyślnie")
            chat("Otrzymałeś konia wojskowego")
            pc.give_item2(50053)
            pc.remove_item(50052, 1)
            horse.unride()
            horse.unsummon()
            horse.advance()
            horse.summon()
        else
            chat("Szkolenie niepomyślne")
            end
        end
    end
end
quest medal6 begin
    state start begin
        when 50050.use with horse.get_level()>=21 and horse.get_level()<30 and horse.get_grade()==3 and pc.get_level()>=45 begin
        if pc.getqf("czas") > get_time() then
            chat("Nie możesz jeszcze szkolić konia!")
            return
        end
        pc.setqf("czas", get_time()+2*60*60)
        local pass_percent=25
        local s=number(1,100)
        pc.remove_item(50050, 1)
        if s<=pass_percent then
            chat("Szkolenie przebiegło pomyślnie")
            chat("Poziom konia został zwiększony")
            horse.advance()
            horse.summon()
        else
            chat("Szkolenie niepomyślne")
            end
        end
    end
end
quest medal7 begin
    state start begin
        when 50050.use with horse.get_level()==0 and pc.get_level()<25 begin
        chat("Aby otrzymać konia musisz mieć co najmniej 25 poziom")
        end
    end
end
quest medal8 begin
    state start begin
        when 50050.use with horse.get_level()==10 and pc.get_level()<35 begin
        chat("Aby otrzymać konia bojowego musisz mieć co najmniej 35 poziom")
        end
    end
end
quest medal9 begin
    state start begin
        when 50050.use with horse.get_level()==20 and pc.get_level()<45 begin
        chat("Aby otrzymać konia militarnego musisz mieć co najmniej 45 poziom")
        end
    end
end 


Quest by: Endymionek

 pc.setqf("czas", get_time zmień na jaki chcesz. 

Prosiłem o napisanie questa, bo w google to ja tez potrafie znaleźć.

Działa on na tej samej zasadzie co napisałem?

Opublikowano
local pass_percent=100

zmień na 44

 

pc.setqf("czas", get_time 

Będziesz miał czas i procenty tak jak chciałeś .

 

Na czacie wyskoczy :

chat("Szkolenie przebiegło pomyślnie")
            chat("Poziom konia został zwiększony")
Opublikowano
local pass_percent=100

zmień na 44

 

pc.setqf("czas", get_time 

Będziesz miał czas i procenty tak jak chciałeś .

 

Na czacie wyskoczy :

chat("Szkolenie przebiegło pomyślnie")
            chat("Poziom konia został zwiększony")

 

,nie chciałem czytać od 25/35/45 lvla, tylko od razu od 1 . Na 1 nawet można wbić militara.

Czysty plagiat, bo nic od siebie nie dodałeś.

Opublikowano

2.

quest bronie75 begin
	state start begin
		when 20348.chat."Wymiana Szkatułek" begin
			say_title(mob_name(npc.get_race())..":[ENTER]")
			say_item_vnum(50082)
			say("")
			say("Za 3 "..item_name(50082).." mogę podarować ci")
			say("dowolną, wybraną przez ciebie broń na 75 poziom.[ENTER]")
			wait()
			if pc.count_item(50082) >= 3 then
				say_title(mob_name(npc.get_race())..":")
				say("Wybierz interesującą cię broń na 75 poziom:[ENTER]")
				local items = {180, 190, 1130, 3160, 2170, 5120}
				local q = {}
				for i = 1, table.getn(items) do
					table.insert(q, item_name(items[i]))
				end
				table.insert(q, "Zamknij")
				local s = select_table(q)
				if s == table.getn(items)+1 then return end
				pc.remove_item(50082, 3)
				pc.give_item2(items[s], 1)
			else
				say_title(mob_name(npc.get_race())..":")
				say("Niestety, nie posiadasz 3 szkatułek![ENTER]")
			end
		end
	end
end
727881401622271220780.jpeg
Opublikowano
1 quest nie działa, wyświetla się coś takiego:

Co dokładnie zmieniałeś ?

 

 

 

 

quest medal1 begin
    state start begin
        when 50050.use with horse.get_level()==0 and horse.get_grade()==0 and pc.get_level()>=1 begin
        if pc.getqf("30") > get_time() then
            chat("Nie możesz jeszcze szkolić konia!")
            return
        end
        pc.setqf("30", get_time()+2*60*60)
        local pass_percent=100
        local s=number(1,100)
        pc.remove_item(50050, 1)
        if s<=pass_percent then
            chat("Szkolenie przebiegło pomyślnie")
            chat("Otrzymałeś zwykłego konia")
            pc.give_item2(50051)
            horse.advance()
            horse.summon()
        else
            chat("Szkolenie niepomyślne")
            end
        end
    end
end
quest medal2 begin
    state start begin
        when 50050.use with horse.get_level()>=1 and horse.get_level()<10 and horse.get_grade()==1 and pc.get_level()>=1 begin
        if pc.getqf("30") > get_time() then
            chat("Nie możesz jeszcze szkolić konia!")
            return
        end
        pc.setqf("30", get_time()+2*60*60)
        local pass_percent=90
        local s=number(1,100)
        pc.remove_item(50050, 1)
        if s<=pass_percent then
            chat("Szkolenie przebiegło pomyślnie")
            chat("Poziom konia został zwiększony")
            horse.advance()
            horse.summon()
        else
            chat("Szkolenie niepomyślne")
            end
        end
    end
end
quest medal3 begin
    state start begin
        when 50050.use with horse.get_level()==10 and horse.get_grade()==1 and pc.get_level()>=1 begin
        if pc.getqf("30") > get_time() then
            chat("Nie możesz jeszcze szkolić konia!")
            return
        end
        pc.setqf("30", get_time()+2*60*60)
        local pass_percent=25
        local s=number(1,100)
        pc.remove_item(50050, 1)
        if s<=pass_percent then
            chat("Szkolenie przebiegło pomyślnie")
            chat("Otrzymałeś konia bojowego")
            pc.give_item2(50052)
            pc.remove_item(50051, 1)
            horse.unride()
            horse.unsummon()
            horse.advance()
            horse.summon()
        else
            chat("Szkolenie niepomyślne")
            end
        end
    end
end
quest medal4 begin
    state start begin
        when 50050.use with horse.get_level()>10 and horse.get_level()<20 and horse.get_grade()==2 and pc.get_level()>=1 begin
        if pc.getqf("30") > get_time() then
            chat("Nie możesz jeszcze szkolić konia!")
            return
        end
        pc.setqf("30", get_time()+2*60*60)
        local pass_percent=50
        local s=number(1,100)
        pc.remove_item(50050, 1)
        if s<=pass_percent then
            chat("Szkolenie przebiegło pomyślnie")
            chat("Poziom konia został zwiększony")
            horse.advance()
            horse.summon()ć
        else
            chat("Szkolenie niepomyślne")
            end
        end
    end
end
quest medal5 begin
    state start begin
        when 50050.use with horse.get_level()==20 and horse.get_grade()==2 and pc.get_level()>=1 begin
        if pc.getqf("30") > get_time() then
            chat("Nie możesz jeszcze szkolić konia!")
            return
        end
        pc.setqf("30", get_time()+2*60*60)
        local pass_percent=10
        local s=number(1,100)
        pc.remove_item(50050, 1)
        if s<=pass_percent then
            chat("Szkolenie przebiegło pomyślnie")
            chat("Otrzymałeś konia wojskowego")
            pc.give_item2(50053)
            pc.remove_item(50052, 1)
            horse.unride()
            horse.unsummon()
            horse.advance()
            horse.summon()
        else
            chat("Szkolenie niepomyślne")
            end
        end
    end
end
quest medal6 begin
    state start begin
        when 50050.use with horse.get_level()>=21 and horse.get_level()<30 and horse.get_grade()==3 and pc.get_level()>=1 begin
        if pc.getqf("30") > get_time() then
            chat("Nie możesz jeszcze szkolić konia!")
            return
        end
        pc.setqf("30", get_time()+2*60*60)
        local pass_percent=25
        local s=number(1,100)
        pc.remove_item(50050, 1)
        if s<=pass_percent then
            chat("Szkolenie przebiegło pomyślnie")
            chat("Poziom konia został zwiększony")
            horse.advance()
            horse.summon()
        else
            chat("Szkolenie niepomyślne")
            end
        end
    end
end

 

 

Opublikowano

Można tylko jest dany czas co 180min bodajże zmień go na jaki chcesz :D

Jeżeli Ci pomogłem. Kliknij 1387468256-U352037.png, Dzięki :)

Opublikowano

Można tylko jest dany czas co 180min bodajże zmień go na jaki chcesz :D

nie o to chodzi.

Chciałem jak będzie pomyślne to można za 30min przeczytać, a jak niepomyślne to nie trzeba czekać 30min tylko od razu.

Jestem zielony w questach. nie ogarniam tego xD

 

 

 

 
quest medal1 begin
state start begin
when 50050.use with horse.get_level()==0 and horse.get_grade()==0 and pc.get_level()>=1 begin
if pc.getqf("1") > get_time() then
chat("Nie możesz jeszcze szkolić konia! ")
return
end
pc.setqf("1", get_time()+2*60*60)
local pass_percent=100
local s=number(1,100)
pc.remove_item(50050, 1)
if s<=pass_percent then
chat("Szkolenie przebiegło pomyślnie ")
chat("Otrzymałeś zwykłego konia ")
pc.give_item2(50051)
horse.advance()
horse.summon()
else
chat("Szkolenie niepomyślne! ")
end
end
end
end
quest medal2 begin
state start begin
when 50050.use with horse.get_level()>=1 and horse.get_level()<10 and horse.get_grade()==1 and pc.get_level()>=1 begin
if pc.getqf("1") > get_time() then
chat("Nie możesz jeszcze szkolić konia! ")
return
end
pc.setqf("1", get_time()+2*60*60)
local pass_percent=90
local s=number(1,100)
pc.remove_item(50050, 1)
if s<=pass_percent then
chat("Szkolenie przebiegło pomyślnie ")
chat("Poziom konia został zwiększony ")
horse.advance()
horse.summon()
else
chat("Szkolenie niepomyślne! ")
end
end
end
end
quest medal3 begin
state start begin
when 50050.use with horse.get_level()==10 and horse.get_grade()==1 and pc.get_level()>=1 begin
if pc.getqf("1") > get_time() then
chat("Nie możesz jeszcze szkolić konia! ")
return
end
pc.setqf("1", get_time()+2*60*60)
local pass_percent=25
local s=number(1,100)
pc.remove_item(50050, 1)
if s<=pass_percent then
chat("Szkolenie przebiegło pomyślnie ")
chat("Otrzymałeś konia bojowego ")
pc.give_item2(50052)
pc.remove_item(50051, 1)
horse.unride()
horse.unsummon()
horse.advance()
horse.summon()
else
chat("Szkolenie niepomyślne! ")
end
end
end
end
quest medal4 begin
state start begin
when 50050.use with horse.get_level()>10 and horse.get_level()<20 and horse.get_grade()==2 and pc.get_level()>=1 begin
if pc.getqf("1") > get_time() then
chat("Nie możesz jeszcze szkolić konia! ")
return
end
pc.setqf("1", get_time()+2*60*60)
local pass_percent=50
local s=number(1,100)
pc.remove_item(50050, 1)
if s<=pass_percent then
chat("Szkolenie przebiegło pomyślnie ")
chat("Poziom konia został zwiększony ")
horse.advance()
horse.summon()
else
chat("Szkolenie niepomyślne! ")
end
end
end
end
quest medal5 begin
state start begin
when 50050.use with horse.get_level()==20 and horse.get_grade()==2 and pc.get_level()>=1 begin
if pc.getqf("1") > get_time() then
chat("Nie możesz jeszcze szkolić konia! ")
return
end
pc.setqf("1", get_time()+2*60*60)
local pass_percent=10
local s=number(1,100)
pc.remove_item(50050, 1)
if s<=pass_percent then
chat("Szkolenie przebiegło pomyślnie ")
chat("Otrzymałeś konia wojskowego ")
pc.give_item2(50053)
pc.remove_item(50052, 1)
horse.unride()
horse.unsummon()
horse.advance()
horse.summon()
else
chat("Szkolenie niepomyślne! ")
end
end
end
end
quest medal6 begin
state start begin
when 50050.use with horse.get_level()>=21 and horse.get_level()<30 and horse.get_grade()==3 and pc.get_level()>=1 begin
if pc.getqf("1") > get_time() then
chat("Nie możesz jeszcze szkolić konia! ")
return
end
pc.setqf("1", get_time()+2*60*60)
local pass_percent=25
local s=number(1,100)
pc.remove_item(50050, 1)
if s<=pass_percent then
chat("Szkolenie przebiegło pomyślnie ")
chat("Poziom konia został zwiększony ")
horse.advance()
horse.summon()
else
chat("Szkolenie niepomyślne! ")
end
end
end
end
quest medal7 begin
state start begin
when 50050.use with horse.get_level()==0 and pc.get_level()<1 begin
chat("Aby otrzymać konia musisz mieć co najmniej 1 poziom ")
end
end
end
quest medal8 begin
state start begin
when 50050.use with horse.get_level()==10 and pc.get_level()<1 begin
chat("Aby otrzymać konia bojowego musisz mieć co najmniej 1 poziom ")
end
end
end
quest medal9 begin
state start begin
when 50050.use with horse.get_level()==20 and pc.get_level()<1 begin
chat("Aby otrzymać konia militarnego musisz mieć co najmniej 1 poziom ")
end
end
end

 

 

Opublikowano

Dodałem czytanie co 30min i jak jest nie pomyślne to bez 30min czekania ale nie wiem czy zadziała sprawdź:

http://wklej.to/bpEuO
Jak to nie zadziała to to spróbuj ;D

 

http://wklej.to/ukOVb

1 quest nie działa, nie można czytać od razu jak nie powiedzie a 2 quest od razu daje 24 lvl konia ;d

może odpuśćmy sobie ten quest, niech ktoś napisze nowy taki jak ja chce, bo z tego chyba nic nie będzie

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...