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

Pisanie / Poprawa Questów !


PoczatKujacy

Rekomendowane odpowiedzi

Opublikowano

targrt.vid
Abort (core dumped)

 

Coś takiego ;)

Poprawione:

 



quest dt_king begin
	state start begin
			when login or levelup with pc.get_level() >= 86 begin
					setstate(jeden)
			end
	end
	state jeden begin
			when letter begin
					send_letter("Idz do Kapitana ")
					local v = find_npc_by_vnum(id_npc)
							if v != 0 then
									target.vid("__TARGET__", v, "kapitan")
							end
			end
			when __TARGET__.target.click or id_npc.click begin
					target.delete("__TARGET__")
					say("wpisz tekst.. ")
					say("Nie mam weny.. ")
					say("")
					setstate(dwa)
			end
	end
	state dwa begin
			when 1091.kill begin
					pc.setqf("krol_dt", 1)
					send_letter("wroc do kapitana")
			end
			when id_npc.click begin
					if pc.getqf("krol_dt") < 1 then
							say("najpierw zabij krola. ")
							say("potem do mnie wroc ")
							say("")
					else
							say("zabiles krola dt. ")
							say("oto nagroda: ")
							say(" 1kkk exp i 1kkk yang ")
							pc.change_money( 1000000000 )
							pc.give_exp2( 1000000000 )
							setstate(koniec)
					end
			end
	end
	state koniec begin
	end
end

 

 

I uzupełnij id_npc ...

***


Nie gram już w ogóle w metina,


ale jeśli potrzeba komuś pomoc z questem


to jeśli będę potrafił to mogę pomóc.


***

  • Odpowiedzi 8,7 tys.
  • Dodano
  • Ostatniej odpowiedzi
Opublikowano

Poprawione:

 



quest dt_king begin
	state start begin
			when login or levelup with pc.get_level() >= 86 begin
					setstate(jeden)
			end
	end
	state jeden begin
			when letter begin
					send_letter("Idz do Kapitana ")
					local v = find_npc_by_vnum(id_npc)
							if v != 0 then
									target.vid("__TARGET__", v, "kapitan")
							end
			end
			when __TARGET__.target.click or id_npc.click begin
					target.delete("__TARGET__")
					say("wpisz tekst.. ")
					say("Nie mam weny.. ")
					say("")
					setstate(dwa)
			end
	end
	state dwa begin
			when 1091.kill begin
					pc.setqf("krol_dt", 1)
					send_letter("wroc do kapitana")
			end
			when id_npc.click begin
					if pc.getqf("krol_dt") < 1 then
							say("najpierw zabij krola. ")
							say("potem do mnie wroc ")
							say("")
					else
							say("zabiles krola dt. ")
							say("oto nagroda: ")
							say(" 1kkk exp i 1kkk yang ")
							pc.change_money( 1000000000 )
							pc.give_exp2( 1000000000 )
							setstate(koniec)
					end
			end
	end
	state koniec begin
	end
end

 

 

I uzupełnij id_npc ...

 

Dziekuje ;) Lajka już dalem :)

 

@Edit:

 

Gdy zabije króla pokazuje się tylko Wróc do Kapitana ale kapitan nie rozpoczyna konwersacji werbalnej (rozmowy) ;/

1348158873-U272526.jpg

Opublikowano

Dziekuje ;) Lajka już dalem :)

 

@Edit:

 

Gdy zabije króla pokazuje się tylko Wróc do Kapitana ale kapitan nie rozpoczyna konwersacji werbalnej (rozmowy) ;/

Zmień to:

                               when id_npc.click begin
                                               if pc.getqf("krol_dt") < 1 then

Na to:

                               when id_npc.chat."Zabilem" begin
                                               if pc.getqf("krol_dt") < 1 then

***


Nie gram już w ogóle w metina,


ale jeśli potrzeba komuś pomoc z questem


to jeśli będę potrafił to mogę pomóc.


***

Opublikowano

Czesc moglibyscie zlaczyc mi te questy w jedno ? Zaa limit lubie to !

Loteria/Przemówienie/sztabki/kraina lodu

 

Loteria:

 

-------------------------------------------------------------------

--- Misja by Czarny dla CzarnyMT2 oraz Czarny-questy.cba.pl ---

--- Prosze o nie przypisywanie sobie cudzej pracy! Pozdrawiam :)---

--- Życzę miłej zabawy i powodzenia :) ---

-------------------------------------------------------------------

quest loteria_z_biletem begin

state start begin

when 20083.chat."Loteria! " begin

say_title(mob_name(20083)..":")

say("Witaj! Prowadze loterie! ")

say("Jestes zainteresowany? ")

say("")

say("W loterii mozesz wygrac wiele ")

say("przedmiotow, niektore cenne inne mniej! ")

say("")

wait()

say_title(mob_name(20083)..":")

say("Jesli jestes chetny na wziecie ")

say("udzialu w loteri musisz speliac warunki")

say("loterii! ")

say("")

say("A sa dwa warunki! ")

say("")

say("Misisz miec 5.000.000 yang ")

say("oraz Bilet na loterie! ")

say("")

say("Posiadasz wszystko? ")

locale s = select("Tak, mam wszystko", "Nie, przyjde pozniej.. ")

if s == 2 then

say_title(mob_name(20083)..":")

say("Dobrze ze sie przynales! ")

say("Ja jestem juz stary, moglbym ")

say("cos przypadkiem przeoczyc. ")

say("")

say("Dziekuje! Wroc kiedy bedziesz mial wszystko! ")

say("")

end

if s == 1 then

if pc.count_item(50027) >= 1 then

if pc.get_money() >= 5000000 then

say_title(mob_name(20083)..":")

say("No to dobrze! Cieszy mnie to, a wiec tak ")

say("Za chwile zaczne losowanie przedmiotu ")

say("dla ciebie. ")

say("")

say("Ale najpierw musze napisac ")

say("na twoim bilecie numerek! ")

say("")

say("Jest to potrzebne, poniewaz bede ")

say("wiedzial, ze bilet byl juz uzyty! ")

say("")

wait()

say_title(mob_name(20083)..":")

say("No wiec zaczynajmy loterie! ")

say("Do wygrania jest ponad 30 rozych ")

say("cennych przedmiotow! ")

say("")

say_reward("Pamietaj, ze nie wszystkie ")

say_reward("przedmioty sa warte tyle samo! ")

say("")

wait()

local los = number(1, 35)

if los == 1 then

say_title(mob_nem(20083)..": ")

say("Wygrales: ")

say_item_vnum(50012)

say("oraz")

say_item_vnum(50008)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(50012, 1)

pc.give_item2(50008, 1)

end

if los == 2 then

say_title(mob_nem(20083)..": ")

say("Wygrales: ")

say_item_vnum(50037 , " x 3")

say("")

say("Gratuluje! ")

say("")

pc.give_item2(50037, 3)

end

if los == 3 then

say_title(mob_nem(20083)..": ")

say("Wygrales: ")

say_item_vnum(50011)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(50011, 1)

end

if los == 4 then

say_title(mob_nem(20083)..": ")

say("Wygrales: ")

say_item_vnum(50070)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(50070, 1)

end

if los == 5 then

say_title(mob_nem(20083)..": ")

say("Wygrales: ")

say_item_vnum(50071)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(50071, 1)

end

if los == 6 then

say_title(mob_nem(20083)..": ")

say("Wygrales: ")

say_item_vnum(50073)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(50073, 1)

end

if los == 7 then

say_title(mob_nem(20083)..": ")

say("Wygrales: ")

say_item_vnum(50076)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(50076, 1)

end

if los == 8 then

say_title(mob_nem(20083)..": ")

say("Wygrales: ")

say_item_vnum(13064)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(13064, 1)

end

if los == 9 then

say_title(mob_nem(20083)..": ")

say("Wygrales: ")

say_item_vnum(13084)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(13084, 1)

end

if los == 10 then

say_title(mob_nem(20083)..": ")

say("Wygrales: ")

say_item_vnum(13104)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(13104, 1)

end

if los == 11 then

say_title(mob_nem(20083)..": ")

say("Wygrales: ")

say_item_vnum(13124)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(13124, 1)

end

if los == 12 then

say_title(mob_nem(20083)..": ")

say("Wygrales: ")

say_item_vnum(14144)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(14144, 1)

end

if los == 13 then

say_title(mob_nem(20083)..": ")

say("Wygrales: ")

say_item_vnum(14164)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(14164, 1)

end

if los == 14 then

say_title(mob_nem(20083)..": ")

say("Wygrales: ")

say_item_vnum(14184)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(14184, 1)

end

if los == 15 then

say_title(mob_nem(20083)..": ")

say("Wygrales: ")

say_item_vnum(14204)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(14204, 1)

end

if los == 16 then

say_title(mob_nem(20083)..": ")

say("Wygrales: ")

say_item_vnum(28630)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(28630, 1)

end

if los == 17 then

say_title(mob_nem(20083)..": ")

say("Wygrales: ")

say_item_vnum(28631)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(28631, 1)

end

if los == 18 then

say_title(mob_nem(20083)..": ")

say("Wygrales: ")

say_item_vnum(28632)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(28632, 1)

end

if los == 19 then

say_title(mob_nem(20083)..": ")

say("Wygrales: ")

say_item_vnum(28633)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(28633, 1)

end

if los == 20 then

say_title(mob_nem(20083)..": ")

say("Wygrales: ")

say_item_vnum(28634)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(28634, 1)

end

if los == 21 then

say_title(mob_nem(20083)..": ")

say("Wygrales: ")

say_item_vnum(28635)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(28635, 1)

end

if los == 22 then

say_title(mob_nem(20083)..": ")

say("Wygrales: ")

say_item_vnum(28636)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(28636, 1)

end

if los == 23 then

say_title(mob_nem(20083)..": ")

say("Wygrales: ")

say_item_vnum(28637)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(28637, 1)

end

if los == 24 then

say_title(mob_nem(20083)..": ")

say("Wygrales: ")

say_item_vnum(28642)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(28642, 1)

end

if los == 25 then

say_title(mob_nem(20083)..": ")

say("Wygrales: ")

say_item_vnum(28643)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(28643, 1)

end

if los == 26 then

say_title(mob_nem(20083)..": ")

say("Wygrales: ")

say_item_vnum(27992)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(27992, 1)

end

if los == 27 then

say_title(mob_nem(20083)..": ")

say("Wygrales: ")

say_item_vnum(27993)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(27993, 1)

end

if los == 28 then

say_title(mob_nem(20083)..": ")

say("Wygrales: ")

say_item_vnum(27994)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(27994, 1)

end

if los == 29 then

say_title(mob_nem(20083)..": ")

say("Wygrales: ")

say_item_vnum(71084 , "x 100")

say("")

say("Gratuluje! ")

say("")

pc.give_item2(71084, 100)

end

if los == 30 then

say_title(mob_nem(20083)..": ")

say("Wygrales: ")

say_item_vnum(71085 , "x 100")

say("")

say("Gratuluje! ")

say("")

pc.give_item2(71085, 100)

end

if los == 31 then

say_title(mob_nem(20083)..": ")

say("Wygrales: ")

say_item_vnum(71051)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(71051, 1)

end

if los == 32 then

say_title(mob_nem(20083)..": ")

say("Wygrales: ")

say_item_vnum(71052)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(71052, 1)

end

if los == 33 then

say_title(mob_nem(20083)..": ")

say("Wygrales: ")

say_item_vnum(71036)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(71036, 1)

end

if los == 34 then

say_title(mob_nem(20083)..": ")

say("Wygrales: ")

say_item_vnum(71038)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(71038, 1)

end

if los == 35 then

say_title(mob_nem(20083)..": ")

say("Wygrales: ")

say_item_vnum(71039)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(71039, 1)

end

end

end

end

end

end

end

 

Przemowienie:

 

 

---------------------------------------------------------------

--- Misja by Czarny dla CzarnyMT2 oraz Czarny-questy.cba.pl ---

--- Proszę o nie przypisywanie sobie cudzej pracy! ---

--- Pozdrawiam i życzę miłej zabawy! :) ---

---------------------------------------------------------------

quest powiedz begin

state start begin

when 9008.chat."Powiedz coœ " begin

say_title(mob_name(9008)..":")

say("Witaj! Jeœli zapłacisz mi 10.000.000 yang ")

say("Będziesz mógł powiedzieć coœ całemu œwiatu! ")

say("")

local s = select("Tak", "Nie")

if s == 2 then

return

end

if s == 1 then

if pc.get_money() >= 10000000 then

pc.change_money( -10000000 )

say_title(mob_name(9008)..":")

say("No to tutaj możesz napisać coœ do całego œwiata ")

say("")

say("Np. ofertę kupna lub sprzedaży czegoœ ")

say("Albo po prostu napisz co chcesz :) ")

say("")

local tekst = input()

if tekst != null then

notice_all(pc.get_name().."("..pc.get_level().." lvl): "..tekst)

end

else

say("Nie masz tyle yang... ;/ ")

end

end

end

end

end

 

sztabki

 

 

quest wymieniacz begin

state start begin

when 9233.click begin

local s = select("200 sztabek za 2kkk", "100 sztabek za 1kkk", "50 sztabek za 500kk", "2kkk za 200 sztabek", "1kkk za 100 sztabek", "500kk za 50 sztabek", "Zakończ")

if s == 7 then

return

end

if s == 3 with pc.get_money() >= 500000000 then

say_title("Informacja:")

say("Czy chcesz zmienić 500kk sztabek za 50 sztabek?")

local a == select("Tak", "Nie")

if a == 2 then

return

end

if a == 1 then

pc.change_money(-500000000)

pc.give_item2(ID_SZTABKI, 50)

end

 

if s == 2 with pc.get_money() >= 1000000000 then

say_title("Informacja:")

say("Czy chcesz zmienić 1kkk sztabek za 100 sztabek?")

local c == select("Tak", "Nie")

if c == 2 then

return

end

if c == 1 then

pc.change_money(-1000000000)

pc.give_item2(ID_SZTABKI, 100)

end

 

if s == 1 with pc.get_money() >= 2000000000 then

say_title("Informacja:")

say("Czy chcesz zmienić 2kkk sztabek za 200 sztabek?")

local b == select("Tak", "Nie")

if b == 2 then

return

end

if b == 1 then

pc.change_money(-2000000000)

pc.give_item2(ID_SZTABKI, 200)

end

 

if s == 4 with pc.count_item(ID_sztabki) >= 200 then

say_title("Informacja:")

say("Czy chcesz zmienić 200 sztabek za 2kkk?")

local r == select("Tak", "Nie")

if r == 2 then

return

end

if r == 1 then

pc.change_money(2000000000)

pc.remove_item(ID_SZTABKI, 200)

end

 

if s == 5 with pc.count_item(ID_SZTABKI) >= 100 then

say_title("Informacja:")

say("Czy chcesz zmienić 100 sztabek za 1kkk?")

local t == select("Tak", "Nie")

if t == 2 then

return

end

if t == 1 then

pc.change_money(1000000000)

pc.remove_item(ID_SZTABKI, 100)

end

 

if s == 6 with pc.count_item(IDZ_SZTABKI) >= 50 then

say_title("Informacja:")

say("Czy chcesz zmienić 50 sztabek za 500kk?")

local y == select("Tak", "Nie")

if y == 2 then

return

end

if y == 1 then

pc.change_money(500000000)

pc.remove_item(ID_SZTABKI, 50)

end

 

else

say_title("Informacja:")

say("Nie masz wystarczajšcej iloœci Yang.")

end

end

end

end

 

kraina lodu :

czy chcesz abym przeniosl Cie do krainy wiecznego lodu ?

tak/nie

Koordy mapy:

1177600    102400

Więcej straci ten co to wszystko liczy...

Wigilia 24 Grudnia 2011 ROK SϒS™ Obchodzi 14 Wigilię w Swoim Życiu..

Życzę wszystkim wesołych,pogodnych świąt ,tym czasem ja kończę zabawę w forumowanie i idę

z D&G'em polować na łanie =)

Opublikowano

@UP

 

-------------------------------------------------------------------
--- Misja by Czarny dla CzarnyMT2 oraz Czarny-questy.cba.pl ---
--- Prosze o nie przypisywanie sobie cudzej pracy! Pozdrawiam ---
--- Życzę miłej zabawy i powodzenia  ---
-------------------------------------------------------------------
--- Edit by GoGame ---
-------------------------------------------------------------------
quest loteria_z_biletem begin
   state start begin
       when 20083.chat."Loteria! " begin
           say_title(mob_name(20083)..":")
           say("Witaj! Prowadze loterie! ")
           say("Jestes zainteresowany? ")
           say("")
           say("W loterii mozesz wygrac wiele ")
           say("przedmiotow, niektore cenne inne mniej! ")
           say("")
           wait()
           say_title(mob_name(20083)..":")
           say("Jesli jestes chetny na wziecie ")
           say("udzialu w loteri musisz speliac warunki")
           say("loterii! ")
           say("")
           say("A sa dwa warunki! ")
           say("")
           say("Misisz miec 5.000.000 yang ")
           say("oraz Bilet na loterie! ")
           say("")
           say("Posiadasz wszystko? ")
           locale s = select("Tak, mam wszystko", "Nie, przyjde pozniej.. ")
           if s == 2 then
           say_title(mob_name(20083)..":")
           say("Dobrze ze sie przynales! ")
           say("Ja jestem juz stary, moglbym ")
           say("cos przypadkiem przeoczyc. ")
           say("")
           say("Dziekuje! Wroc kiedy bedziesz mial wszystko! ")
           say("")
           end
           if s == 1 then
           if pc.count_item(50027) >= 1 then
           if pc.get_money() >= 5000000 then
           say_title(mob_name(20083)..":")
           say("No to dobrze! Cieszy mnie to, a wiec tak ")
           say("Za chwile zaczne losowanie przedmiotu ")
           say("dla ciebie. ")
           say("")
           say("Ale najpierw musze napisac ")
           say("na twoim bilecie numerek! ")
           say("")
           say("Jest to potrzebne, poniewaz bede ")
           say("wiedzial, ze bilet byl juz uzyty! ")
           say("")
           wait()
           say_title(mob_name(20083)..":")
           say("No wiec zaczynajmy loterie! ")
           say("Do wygrania jest ponad 30 rozych ")
           say("cennych przedmiotow! ")
           say("")
           say_reward("Pamietaj, ze nie wszystkie ")
           say_reward("przedmioty sa warte tyle samo! ")
           say("")
           wait()
           local los = number(1, 35)
           if los == 1 then
           say_title(mob_nem(20083)..": ")
           say("Wygrales: ")
           say_item_vnum(50012)
           say("oraz")
           say_item_vnum(50008)
           say("")
           say("Gratuluje! ")
           say("")
           pc.give_item2(50012, 1)
           pc.give_item2(50008, 1)
           end
           if los == 2 then
           say_title(mob_nem(20083)..": ")
           say("Wygrales: ")
           say_item_vnum(50037 , " x 3")
           say("")
           say("Gratuluje! ")
           say("")
           pc.give_item2(50037, 3)
           end
           if los == 3 then
           say_title(mob_nem(20083)..": ")
           say("Wygrales: ")
           say_item_vnum(50011)
           say("")
           say("Gratuluje! ")
           say("")
           pc.give_item2(50011, 1)
           end
           if los == 4 then
           say_title(mob_nem(20083)..": ")
           say("Wygrales: ")
           say_item_vnum(50070)
           say("")
           say("Gratuluje! ")
           say("")
           pc.give_item2(50070, 1)
           end
           if los == 5 then
           say_title(mob_nem(20083)..": ")
           say("Wygrales: ")
           say_item_vnum(50071)
           say("")
           say("Gratuluje! ")
           say("")
           pc.give_item2(50071, 1)
           end
           if los == 6 then
           say_title(mob_nem(20083)..": ")
           say("Wygrales: ")
           say_item_vnum(50073)
           say("")
           say("Gratuluje! ")
           say("")
           pc.give_item2(50073, 1)
           end
           if los == 7 then
           say_title(mob_nem(20083)..": ")
           say("Wygrales: ")
           say_item_vnum(50076)
           say("")
           say("Gratuluje! ")
           say("")
           pc.give_item2(50076, 1)
           end
           if los == 8 then
           say_title(mob_nem(20083)..": ")
           say("Wygrales: ")
           say_item_vnum(13064)
           say("")
           say("Gratuluje! ")
           say("")
           pc.give_item2(13064, 1)
           end
           if los == 9 then
           say_title(mob_nem(20083)..": ")
           say("Wygrales: ")
           say_item_vnum(13084)
           say("")
           say("Gratuluje! ")
           say("")
           pc.give_item2(13084, 1)
           end
           if los == 10 then
           say_title(mob_nem(20083)..": ")
           say("Wygrales: ")
           say_item_vnum(13104)
           say("")
           say("Gratuluje! ")
           say("")
           pc.give_item2(13104, 1)
           end
           if los == 11 then
           say_title(mob_nem(20083)..": ")
           say("Wygrales: ")
           say_item_vnum(13124)
           say("")
           say("Gratuluje! ")
           say("")
           pc.give_item2(13124, 1)
           end
           if los == 12 then
           say_title(mob_nem(20083)..": ")
           say("Wygrales: ")
           say_item_vnum(14144)
           say("")
           say("Gratuluje! ")
           say("")
           pc.give_item2(14144, 1)
           end
           if los == 13 then
           say_title(mob_nem(20083)..": ")
           say("Wygrales: ")
           say_item_vnum(14164)
           say("")
           say("Gratuluje! ")
           say("")
           pc.give_item2(14164, 1)
           end
           if los == 14 then
           say_title(mob_nem(20083)..": ")
           say("Wygrales: ")
           say_item_vnum(14184)
           say("")
           say("Gratuluje! ")
           say("")
           pc.give_item2(14184, 1)
           end
           if los == 15 then
           say_title(mob_nem(20083)..": ")
           say("Wygrales: ")
           say_item_vnum(14204)
           say("")
           say("Gratuluje! ")
           say("")
           pc.give_item2(14204, 1)
           end
           if los == 16 then
           say_title(mob_nem(20083)..": ")
           say("Wygrales: ")
           say_item_vnum(28630)
           say("")
           say("Gratuluje! ")
           say("")
           pc.give_item2(28630, 1)
           end
           if los == 17 then
           say_title(mob_nem(20083)..": ")
           say("Wygrales: ")
           say_item_vnum(28631)
           say("")
           say("Gratuluje! ")
           say("")
           pc.give_item2(28631, 1)
           end
           if los == 18 then
           say_title(mob_nem(20083)..": ")
           say("Wygrales: ")
           say_item_vnum(28632)
           say("")
           say("Gratuluje! ")
           say("")
           pc.give_item2(28632, 1)
           end
           if los == 19 then
           say_title(mob_nem(20083)..": ")
           say("Wygrales: ")
           say_item_vnum(28633)
           say("")
           say("Gratuluje! ")
           say("")
           pc.give_item2(28633, 1)
           end
           if los == 20 then
           say_title(mob_nem(20083)..": ")
           say("Wygrales: ")
           say_item_vnum(28634)
           say("")
           say("Gratuluje! ")
           say("")
           pc.give_item2(28634, 1)
           end
           if los == 21 then
           say_title(mob_nem(20083)..": ")
           say("Wygrales: ")
           say_item_vnum(28635)
           say("")
           say("Gratuluje! ")
           say("")
           pc.give_item2(28635, 1)
           end
           if los == 22 then
           say_title(mob_nem(20083)..": ")
           say("Wygrales: ")
           say_item_vnum(28636)
           say("")
           say("Gratuluje! ")
           say("")
           pc.give_item2(28636, 1)
           end
           if los == 23 then
           say_title(mob_nem(20083)..": ")
           say("Wygrales: ")
           say_item_vnum(28637)
           say("")
           say("Gratuluje! ")
           say("")
           pc.give_item2(28637, 1)
           end
           if los == 24 then
           say_title(mob_nem(20083)..": ")
           say("Wygrales: ")
           say_item_vnum(28642)
           say("")
           say("Gratuluje! ")
           say("")
           pc.give_item2(28642, 1)
           end
           if los == 25 then
           say_title(mob_nem(20083)..": ")
           say("Wygrales: ")
           say_item_vnum(28643)
           say("")
           say("Gratuluje! ")
           say("")
           pc.give_item2(28643, 1)
           end
           if los == 26 then
           say_title(mob_nem(20083)..": ")
           say("Wygrales: ")
           say_item_vnum(27992)
           say("")
           say("Gratuluje! ")
           say("")
           pc.give_item2(27992, 1)
           end
           if los == 27 then
           say_title(mob_nem(20083)..": ")
           say("Wygrales: ")
           say_item_vnum(27993)
           say("")
           say("Gratuluje! ")
           say("")
           pc.give_item2(27993, 1)
           end
           if los == 28 then
           say_title(mob_nem(20083)..": ")
           say("Wygrales: ")
           say_item_vnum(27994)
           say("")
           say("Gratuluje! ")
           say("")
           pc.give_item2(27994, 1)
           end
           if los == 29 then
           say_title(mob_nem(20083)..": ")
           say("Wygrales: ")
           say_item_vnum(71084 , "x 100")
           say("")
           say("Gratuluje! ")
           say("")
           pc.give_item2(71084, 100)
           end
           if los == 30 then
           say_title(mob_nem(20083)..": ")
           say("Wygrales: ")
           say_item_vnum(71085 , "x 100")
           say("")
           say("Gratuluje! ")
           say("")
           pc.give_item2(71085, 100)
           end
           if los == 31 then
           say_title(mob_nem(20083)..": ")
           say("Wygrales: ")
           say_item_vnum(71051)
           say("")
           say("Gratuluje! ")
           say("")
           pc.give_item2(71051, 1)
           end
           if los == 32 then
           say_title(mob_nem(20083)..": ")
           say("Wygrales: ")
           say_item_vnum(71052)
           say("")
           say("Gratuluje! ")
           say("")
           pc.give_item2(71052, 1)
           end
           if los == 33 then
           say_title(mob_nem(20083)..": ")
           say("Wygrales: ")
           say_item_vnum(71036)
           say("")
           say("Gratuluje! ")
           say("")
           pc.give_item2(71036, 1)
           end
           if los == 34 then
           say_title(mob_nem(20083)..": ")
           say("Wygrales: ")
           say_item_vnum(71038)
           say("")
           say("Gratuluje! ")
           say("")
           pc.give_item2(71038, 1)
           end
           if los == 35 then
           say_title(mob_nem(20083)..": ")
           say("Wygrales: ")
           say_item_vnum(71039)
           say("")
           say("Gratuluje! ")
           say("")
           pc.give_item2(71039, 1)
           end
           end
           end
           end
       end
       when 9008.chat."Powiedz coo " begin
           say_title(mob_name(9008)..":")
           say("Witaj! Jeoli zapłacisz mi 10.000.000 yang ")
           say("Będziesz mógł powiedzieć coo całemu owiatu! ")
           say("")
           local s = select("Tak", "Nie")
           if s == 2 then
           return
           end
           if s == 1 then
           if pc.get_money() >= 10000000 then
           pc.change_money( -10000000 )
           say_title(mob_name(9008)..":")
           say("No to tutaj możesz napisać coo do całego owiata ")
           say("")
           say("Np. ofertę kupna lub sprzedaży czegoo ")
           say("Albo po prostu napisz co chcesz  ")
           say("")
           local tekst = input()
           if tekst != null then
           notice_all(pc.get_name().."("..pc.get_level().." lvl): "..tekst)
           end
           else
           say("Nie masz tyle yang... ;/ ")
           end
           end
       end
       when 9233.click begin
           local s = select("200 sztabek za 2kkk", "100 sztabek za 1kkk", "50 sztabek za 500kk", "2kkk za 200 sztabek", "1kkk za 100 sztabek", "500kk za 50 sztabek", "Zakończ")
           if s == 7 then
           return
           end
           if s == 3 with pc.get_money() >= 500000000 then
           say_title("Informacja:")
           say("Czy chcesz zmienić 500kk sztabek za 50 sztabek?")
           local a == select("Tak", "Nie")
           if a == 2 then
           return
           end
           if a == 1 then
           pc.change_money(-500000000)
           pc.give_item2(ID_SZTABKI, 50)
           end

           if s == 2 with pc.get_money() >= 1000000000 then
           say_title("Informacja:")
           say("Czy chcesz zmienić 1kkk sztabek za 100 sztabek?")
           local c == select("Tak", "Nie")
           if c == 2 then
           return
           end
           if c == 1 then
           pc.change_money(-1000000000)
           pc.give_item2(ID_SZTABKI, 100)
           end

           if s == 1 with pc.get_money() >= 2000000000 then
           say_title("Informacja:")
           say("Czy chcesz zmienić 2kkk sztabek za 200 sztabek?")
           local b == select("Tak", "Nie")
           if b == 2 then
           return
           end
           if b == 1 then
           pc.change_money(-2000000000)
           pc.give_item2(ID_SZTABKI, 200)
           end

           if s == 4 with pc.count_item(ID_sztabki) >= 200 then
           say_title("Informacja:")
           say("Czy chcesz zmienić 200 sztabek za 2kkk?")
           local r == select("Tak", "Nie")
           if r == 2 then
           return
           end
           if r == 1 then
           pc.change_money(2000000000)
           pc.remove_item(ID_SZTABKI, 200)
           end

           if s == 5 with pc.count_item(ID_SZTABKI) >= 100 then
           say_title("Informacja:")
           say("Czy chcesz zmienić 100 sztabek za 1kkk?")
           local t == select("Tak", "Nie")
           if t == 2 then
           return
           end
           if t == 1 then
           pc.change_money(1000000000)
           pc.remove_item(ID_SZTABKI, 100)
           end

           if s == 6 with pc.count_item(IDZ_SZTABKI) >= 50 then
           say_title("Informacja:")
           say("Czy chcesz zmienić 50 sztabek za 500kk?")
           local y == select("Tak", "Nie")
           if y == 2 then
           return
           end
           if y == 1 then
           pc.change_money(500000000)
           pc.remove_item(ID_SZTABKI, 50)
           end

           else
           say_title("Informacja:")
           say("Nie masz wystarczajšcej ilooci Yang.")
           end
       end
   end
end

 

chyba będzie działać :)

gogame.png

Opublikowano

@GO Game coś mi nie działa :P

 

 

end

if los == 12 then

say_title ( mob_nem ( 20356 ) .. ": " )

say ( "Wygrales: " )

say_item_vnum ( 14144 )

say ( "" )

say ( "Gratuluje! " )

say ( "" )

pc . give_item2 ( 14144 , 1 )

end

if los == 13 then

say_title ( mob_nem ( 20356 ) .. ": " )

say ( "Wygrales: " )

say_item_vnum ( 50807 )

say ( "" )

say ( "Gratuluje! " )

say ( "" )

pc . give_item2 ( 50807 , 1 )

end

if los == 14 then

say_title ( mob_nem ( 20356 ) .. ": " )

say ( "Wygrales: " )

say_item_vnum ( 49140 )

say ( "" )

say ( "Gratuluje! " )

say ( "" )

pc . give_item2 ( 49140 , 1 )

end

if los == 15 then

say_title ( mob_nem ( 20356 ) .. ": " )

say ( "Wygrales: " )

say_item_vnum ( 30190 )

say ( "" )

say ( "Gratuluje! " )

say ( "" )

pc . give_item2 ( 30190 , 1 )

end

if los == 16 then

say_title ( mob_nem ( 20356 ) .. ": " )

say ( "Wygrales: " )

say_item_vnum ( 28630 )

say ( "" )

say ( "Gratuluje! " )

say ( "" )

pc . give_item2 ( 28630 , 1 )

end

if los == 17 then

say_title ( mob_nem ( 20356 ) .. ": " )

say ( "Wygrales: " )

say_item_vnum ( 28631 )

say ( "" )

say ( "Gratuluje! " )

say ( "" )

pc . give_item2 ( 28631 , 1 )

end

if los == 18 then

say_title ( mob_nem ( 20356 ) .. ": " )

say ( "Wygrales: " )

say_item_vnum ( 28632 )

say ( "" )

say ( "Gratuluje! " )

say ( "" )

pc . give_item2 ( 28632 , 1 )

end

if los == 19 then

say_title ( mob_nem ( 20356 ) .. ": " )

say ( "Wygrales: " )

say_item_vnum ( 28633 )

say ( "" )

say ( "Gratuluje! " )

say ( "" )

pc . give_item2 ( 28633 , 1 )

end

if los == 20 then

say_title ( mob_nem ( 20356 ) .. ": " )

say ( "Wygrales: " )

say_item_vnum ( 28634 )

say ( "" )

say ( "Gratuluje! " )

say ( "" )

pc . give_item2 ( 71082 , 1 )

end

if los == 21 then

say_title ( mob_nem ( 20356 ) .. ": " )

say ( "Wygrales: " )

say_item_vnum ( 71082 )

say ( "" )

say ( "Gratuluje! " )

say ( "" )

pc . give_item2 ( 28635 , 1 )

end

if los == 22 then

say_title ( mob_nem ( 20356 ) .. ": " )

say ( "Wygrales: " )

say_item_vnum ( 28636 )

say ( "" )

say ( "Gratuluje! " )

say ( "" )

pc . give_item2 ( 28636 , 1 )

end

if los == 23 then

say_title ( mob_nem ( 20356 ) .. ": " )

say ( "Wygrales: " )

say_item_vnum ( 28637 )

say ( "" )

say ( "Gratuluje! " )

say ( "" )

pc . give_item2 ( 28637 , 1 )

end

if los == 24 then

say_title ( mob_nem ( 20356 ) .. ": " )

say ( "Wygrales: " )

say_item_vnum ( 28642 )

say ( "" )

say ( "Gratuluje! " )

say ( "" )

pc . give_item2 ( 28642 , 1 )

end

if los == 25 then

say_title ( mob_nem ( 20356 ) .. ": " )

say ( "Wygrales: " )

say_item_vnum ( 28643 )

say ( "" )

say ( "Gratuluje! " )

say ( "" )

pc . give_item2 ( 28643 , 1 )

end

if los == 26 then

say_title ( mob_nem ( 20356 ) .. ": " )

say ( "Wygrales: " )

say_item_vnum ( 27992 )

say ( "" )

say ( "Gratuluje! " )

say ( "" )

pc . give_item2 ( 27992 , 1 )

end

if los == 27 then

say_title ( mob_nem ( 20356 ) .. ": " )

say ( "Wygrales: " )

say_item_vnum ( 27993 )

say ( "" )

say ( "Gratuluje! " )

say ( "" )

pc . give_item2 ( 27993 , 1 )

end

if los == 28 then

say_title ( mob_nem ( 20356 ) .. ": " )

say ( "Wygrales: " )

say_item_vnum ( 27994 )

say ( "" )

say ( "Gratuluje! " )

say ( "" )

pc . give_item2 ( 27994 , 1 )

end

if los == 29 then

say_title ( mob_nem ( 20356 ) .. ": " )

say ( "Wygrales: " )

say_item_vnum ( 71084 , "x 100" )

say ( "" )

say ( "Gratuluje! " )

say ( "" )

pc . give_item2 ( 71084 , 100 )

end

if los == 30 then

say_title ( mob_nem ( 20356 ) .. ": " )

say ( "Wygrales: " )

say_item_vnum ( 71085 , "x 100" )

say ( "" )

say ( "Gratuluje! " )

say ( "" )

pc . give_item2 ( 71085 , 100 )

end

if los == 31 then

say_title ( mob_nem ( 20356 ) .. ": " )

say ( "Wygrales: " )

say_item_vnum ( 71051 )

say ( "" )

say ( "Gratuluje! " )

say ( "" )

pc . give_item2 ( 71051 , 1 )

end

if los == 32 then

say_title ( mob_nem ( 20356 ) .. ": " )

say ( "Wygrales: " )

say_item_vnum ( 71052 )

say ( "" )

say ( "Gratuluje! " )

say ( "" )

pc . give_item2 ( 71052 , 1 )

end

if los == 33 then

say_title ( mob_nem ( 20356 ) .. ": " )

say ( "Wygrales: " )

say_item_vnum ( 7105 )

say ( "" )

say ( "Gratuluje! " )

say ( "" )

pc . give_item2 ( 7105 , 1 )

end

if los == 34 then

say_title ( mob_nem ( 20356 ) .. ": " )

say ( "Wygrales: " )

say_item_vnum ( 71052 )

say ( "" )

say ( "Gratuluje! " )

say ( "" )

pc . give_item2 ( 71052 , 1 )

end

if los == 35 then

say_title ( mob_nem ( 20356 ) .. ": " )

say ( "Wygrales: " )

say_item_vnum ( 71054 )

say ( "" )

say ( "Gratuluje! " )

say ( "" )

pc . give_item2 ( 71054 , 1 )

end

end

end

end

syntax error : [string "start"]:20: `=' expected near `s'

loteria_z_biletem.quest:386:Abort (core dumped)

 

 

Więcej straci ten co to wszystko liczy...

Wigilia 24 Grudnia 2011 ROK SϒS™ Obchodzi 14 Wigilię w Swoim Życiu..

Życzę wszystkim wesołych,pogodnych świąt ,tym czasem ja kończę zabawę w forumowanie i idę

z D&G'em polować na łanie =)

Opublikowano

SIEMA

 

Napisze mi ktoś quest na teleportacjie do nowej mapy ale jak wejdze na nową mape i wyjde to 2 raz będe mógłdopiero za 30 min

warpy do mapy:

80000 0

Za pomoc "Lubie To" i 5*

Opublikowano

Witam potrzebuję działającego questa na 10 pieter dt ( na ostatnim żeby była niebieska śmierć.

 

Wgrałem ten quest :

 

http://wklej.to/yCLYx

 

Ale wyskakuje błąd jak go dodaje :

 

 

 


WHEN  : 1093.kill
	with pc . in_dungeon ( ) and pc . get_map_index ( ) >= 660000 and pc . get_map_index ( ) < 670000
WHEN  : devil_end_jump.timer
WHEN  : 1095.kill
	with pc . in_dungeon ( )
WHEN  : devil_jump_10.timer
Calls undeclared function! :
ssay
Abort (core dumped)


 

 

 

Otwórz

 

Szukam questera na serwer dedykowany !

 

Opublikowano

SIEMA

 

Napisze mi ktoś quest na teleportacjie do nowej mapy ale jak wejdze na nową mape i wyjde to 2 raz będe mógłdopiero za 30 min

warpy do mapy:

80000 0

Za pomoc "Lubie To" i 5*

Opublikowano

Witam potrzebuję działającego questa na 10 pieter dt ( na ostatnim żeby była niebieska śmierć.

 

Wgrałem ten quest :

 

http://wklej.to/yCLYx

 

Ale wyskakuje błąd jak go dodaje :

 

 

 


WHEN  : 1093.kill
	with pc . in_dungeon ( ) and pc . get_map_index ( ) >= 660000 and pc . get_map_index ( ) < 670000
WHEN  : devil_end_jump.timer
WHEN  : 1095.kill
	with pc . in_dungeon ( )
WHEN  : devil_jump_10.timer
Calls undeclared function! :
ssay
Abort (core dumped)


 

 

 

Otwórz

 

Szukam questera na serwer dedykowany !

 

 

wedle błędu, powinno być say, nie ssay

	if pc.level >=75 then
		ssay("Kazdy z graczy zostanie przeniesiony!")
		timer("devil_jump_7", 6)
		return

 

 

@EDIT

tidu, wstaw tego questa w spoiler...

***


Nie gram już w ogóle w metina,


ale jeśli potrzeba komuś pomoc z questem


to jeśli będę potrafił to mogę pomóc.


***

Opublikowano

@Up

 

 

 

quest deviltower begin

state start begin

when login begin

if pc.get_map_index() == 66 then

-- ¨Ă«D¦b1ĽÓ®É, °eŞđĄ~­±.

-- ĽhĽĆ ˝dłň

-- 1ĽÓ 88 577 236 737

-- 2ĽÓ 91 343 238 504

-- 3ĽÓ 104 107 248 269

if pc.get_x() < 2048+88 or pc.get_y() < 6656+577 or pc.get_x() > 2048+236 or pc.get_y() > 6656+737 then

pc.warp((5376+532)*100, (512+596+4)*100, 65)

end

pc.set_warp_location(65, 5376+532, 512+596+4)

elseif pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 then

pc.set_warp_location(65, 5376+532, 512+596+4)

end

end

when deviltower_man.chat.locale.deviltower_man_chat begin

if pc.get_level() < 40 then

say(locale.deviltower_man_say_you_cant)

else

say(locale.deviltower_man_say)

local s = select(locale.deviltower_enter,locale.deviltower_no_enter)

if s == 1 then

-- warp into!

pc.warp(216500,727000)

end

end

end

when devil_stone1.kill begin

timer("devil_stone1_1", 6)

end

when devil_stone1_1.timer begin

local mapto7= pc.count_item(30302) -- ®ř·Ŕ¤ŁŞľ¬O§_¦s¦bŞşŻu¤`ĆF¶đ

pc.remove_item(30302,mapto7)

local boxto7= pc.count_item(30300) -- ®ř·Ŕ¤ŁŞľ¬O§_¦s¦bŞş¤ŁŞľ¦WŞş˝c¤l

pc.remove_item(30300,boxto7)

d.new_jump_all(66, special.devil_tower[1][1], special.devil_tower[1][2])

d.regen_file("data/dungeon/deviltower2_regen.txt")

d.set_warp_at_eliminate(4, d.get_map_index(), special.devil_tower[2][1], special.devil_tower[2][2], "data/dungeon/deviltower3_regen.txt")

end

--when devil_stone2.kill begin

--d.jump_all_local(special.devil_tower[2][1], special.devil_tower[2][2])

--end

when devil_stone3.kill begin

--d.jump_all_local(special.devil_tower[3][1], special.devil_tower[3][2])

--d.set_exit_all_at_eliminate(6)

--d.set_warp_at_eliminate(6, d.get_map_index(), 100, 100)

--d.set_warp_at_eliminate(4, 65, 5376+532, 512+596+4)

d.set_warp_at_eliminate(4, d.get_map_index(), special.devil_tower[3][1], special.devil_tower[3][2], "data/dungeon/deviltower4_regen.txt")

d.check_eliminated()

--d.exit_all()

end

function get_4floor_stone_pos()

local positions = {

{368, 629},

{419, 630},

{428, 653},

{422, 679},

{395, 689},

{369, 679},

{361, 658},

}

for i = 1, 6 do

local j = number(i, 7)

if i != j then

local t = positions;

positions = positions[j];

positions[j] = t;

end

end

--for i = 1, 7 do

-- positions[1] = positions[1] * 100

-- positions[2] = positions[2] * 100

-- end

return positions

end

when 8016.kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin

d.setf("level", 4)

-- ¦A˛{¤j¶q©ÇŞ«¤Î»słyŻuĄŰŔY©M°˛ĄŰŔY

--d.regen_file("data/dungeon/deviltower4_regen.txt")

local positions = deviltower_zone.get_4floor_stone_pos()

for i = 1, 6 do

chat(positions[1], positions[2])

d.set_unique("fake" .. i , d.spawn_mob(8017, positions[1], positions[2]))

end

chat(positions[7][1], positions[7][2])

local vid = d.spawn_mob(8017, positions[7][1], positions[7][2])

chat(vid)

d.set_unique("real", vid)

server_loop_timer('devil_stone4_update', 10, pc.get_map_index())

server_timer('devil_stone4_fail1', 5*60, pc.get_map_index())

d.notice("Brawo, udalo sie Tobie");

d.notice("zniszczyc kamien metin!");

d.notice("Macie 15 minut na nastepnym pietrze[ENTER] zanim zostaniecie wylogowani.");

d.notice("Spieszcie sie!");

end

when devil_stone4_fail1.server_timer begin

if d.select(get_server_timer_arg()) then

d.notice("Pozostalo 10 minut!")

server_timer('devil_stone4_fail2', 5*60, get_server_timer_arg())

end

end

when devil_stone4_fail2.server_timer begin

if d.select(get_server_timer_arg()) then

d.notice("Pozostalo 5 minut!")

server_timer('devil_stone4_fail', 5*60, get_server_timer_arg())

end

end

when devil_stone4_fail.server_timer begin

if d.select(get_server_timer_arg()) then

d.notice("Nie udalo sie, zostaniecie wylogowany!")

d.exit_all()

clear_server_timer('devil_stone4_update', get_server_timer_arg())

end

end

when devil_stone4_update.server_timer begin

if d.select(get_server_timer_arg()) then

if not d.is_unique_dead("real") then

for i = 1, 6 do

if d.getf("fakedead" .. i) == 0 then

if d.unique_get_hp_perc("fake" .. i) < 50 then

d.purge_unique("fake" .. i)

d.setf("fakedead" .. i, 1)

d.notice("To nie ten kamien!");

end

end

end

else

--d.clear_regen()

--d.regen_file("data/dungeon/deviltower5_regen.txt")

server_timer("devil_stone4_end", 5, get_server_timer_arg())

d.notice("Udalo sie! Zabij wszystkie potwory na nastepnym");

d.notice("pietrze, aby zdobyc kamien otwarcia!")

clear_server_timer('devil_stone4_fail1', get_server_timer_arg())

clear_server_timer('devil_stone4_fail2', get_server_timer_arg())

clear_server_timer('devil_stone4_fail', get_server_timer_arg())

end

else

server_timer('devil_stone4_stop_timer', 1, get_server_timer_arg())

end

end

when devil_stone4_stop_timer.server_timer begin

clear_server_timer('devil_stone4_update', get_server_timer_arg())

end

when devil_stone4_end.server_timer begin

if d.select(get_server_timer_arg()) then

d.setf("level", 5)

d.setf("stone_count", 5)

d.notice("Brawo, jestes na 5 pietrze!")

d.notice("Aby przejsc na 6 pietro musisz zabic")

d.notice("wszystkie potwory tutaj, zdobyc kamien")

d.notice("otwarcia i otworzyc pieczecie przed czasem!")

d.jump_all(special.devil_tower[4][1], special.devil_tower[4][2])

server_timer('devil_stone5_fail1', 5*60, get_server_timer_arg())

clear_server_timer('devil_stone4_update', get_server_timer_arg())

-- 5ĽÓÄ~Äň¦A˛{

d.set_regen_file("data/dungeon/deviltower5_regen.txt")

-- 5ĽÓ«Ę¦LĄŰ¦A˛{

d.spawn_mob(20073, 421, 452)

d.spawn_mob(20073, 380, 460)

d.spawn_mob(20073, 428, 414)

d.spawn_mob(20073, 398, 392)

d.spawn_mob(20073, 359, 426)

end

end

when devil_stone5_fail1.server_timer begin

if d.select(get_server_timer_arg()) then

d.notice("Pozostalo 15 minut!")

server_timer('devil_stone5_fail2', 5*60, get_server_timer_arg())

end

end

when devil_stone5_fail2.server_timer begin

if d.select(get_server_timer_arg()) then

d.notice("Pozostalo 10 minut!")

server_timer('devil_stone5_fail3', 5*60, get_server_timer_arg())

end

end

when devil_stone5_fail3.server_timer begin

if d.select(get_server_timer_arg()) then

d.notice("Pozostalo 5 minut!")

server_timer('devil_stone5_fail', 5*60, get_server_timer_arg())

end

end

when devil_stone5_fail.server_timer begin

if d.select(get_server_timer_arg()) then

d.notice("Nie udalo sie, zostaniesz wylogowany!")

d.exit_all()

end

end

--when devil_stone4.kill begin

--d.setf("level", 5)

--d.setf("stone_count", 4)

--d.clear_regen()

--d.regen_file("data/dungeon/deviltower5_regen.txt")

--d.jump_all_local(special.devil_tower[4][1], special.devil_tower[4][2])

--end

when 1062.kill with pc.in_dungeon() and d.getf("level") == 5 begin

local KILL_COUNT_FOR_DROP_KEY = 50

--if is_test_server() then

--KILL_COUNT_FOR_DROP_KEY = 1

--end

local n =d.getf("count") + 1

d.setf("count", n)

if n == KILL_COUNT_FOR_DROP_KEY then

-- ±Ľ¤UÂę°Í

game.drop_item(50084, 1)

d.setf("count", 0)

end

end

when devil_stone5.take with item.vnum == 50084 begin

npc.purge()

item.remove()

d.setf("stone_count", d.getf("stone_count") - 1)

if d.getf("stone_count") <= 0 then

d.setf("level", 6)

d.clear_regen()

d.regen_file("data/dungeon/deviltower6_regen.txt")

d.notice("Brawo udalo sie! jestes na 6 pietrze!")

d.notice("Zabij wszystkie potwory!")

d.jump_all(special.devil_tower[5][1], special.devil_tower[5][2])

clear_server_timer('devil_stone5_fail1', get_server_timer_arg())

clear_server_timer('devil_stone5_fail2', get_server_timer_arg())

clear_server_timer('devil_stone5_fail3', get_server_timer_arg())

clear_server_timer('devil_stone5_fail', get_server_timer_arg())

else

d.notice("Nie wiem1"..d.getf("stone_count").."Nie wiem 2")

end

end

when devil_stone6.kill begin

-- ¶Ç°e¨ě·Ň¸t©Ň¦bŞş¦aąĎ

-- §_«hˇA¶}ł]¤@­Ó·s·Ň¸t

--d.jump_all(special.devil_tower[6][1], special.devil_tower[6][2])

d.kill_all()

-- d.set_warp_at_eliminate(3*60, 65, 5376+532, 512+596+4)

d.check_eliminated()

local reward_alchemist = {20074, 20075, 20076}

d.spawn_mob(reward_alchemist[number(1,3)], 425, 216);

d.setqf("can_refine", 1)

end

--------------------------------------

-- ĄŃ¶i¤J7ĽÓ¦Ü¨ěąF8ĽÓ¤§«e

--------------------------------------

when 20074.chat."Chce przejsc dalej" with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin

say(""..mob_name(20074).."")

say("Zostaniesz przeniesiony")

say("na 7 pietro Wiezy Demonow!")

say("Lecz uwazaj...")

say("Tam nie bedzie tak latwo jak wczesniej!")

wait()

if pc.level >=75 then

say("Kazdy z graczy zostanie przeniesiony!")

timer("devil_jump_7", 6)

return

end

say("Mozesz przejsc dalej!")

say("")

say("")

wait()

pc.warp(590500, 110500)

return

end

when 20075.chat."Chce przejsc dalej" with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin

say(""..mob_name(20075).."")

say("Zostaniesz przeniesiony")

say("na 7 pietro Wiezy Demonow!")

say("Lecz uwazaj...")

say("Tam nie bedzie tak latwo jak wczesniej!")

wait()

if pc.level >=75 then

say("Kazdy z graczy zostanie przeniesiony!")

timer("devil_jump_7", 6)

return

end

say("Mozesz przejsc dalej!")

say("")

say("")

wait()

pc.warp(590500, 110500)

return

end

when 20076.chat."Chce przejsc dalej" with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin

say(""..mob_name(20076).."")

say("Zostaniesz przeniesiony")

say("na 7 pietro Wiezy Demonow!")

say("Lecz uwazaj...")

say("Tam nie bedzie tak latwo jak wczesniej!")

wait()

if pc.level >=75 then

ssay("Kazdy z graczy zostanie przeniesiony!")

timer("devil_jump_7", 6)

return

end

say("Mozesz przejsc dalej!")

say("")

say("")

wait()

pc.warp(590500, 110500)

return

end

when devil_jump_7.timer begin

d.clear_regen()

d.spawn_mob(8018, 639, 658)

d.spawn_mob(8018, 611, 637)

d.spawn_mob(8018, 596, 674)

d.spawn_mob(8018, 629, 670)

d.setf("level", 7)

d.jump_all(2048+590, 6656+638)

end

when 8018.kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin

local cont = d.getf("7_stone_kill") + 1

d.setf("7_stone_kill", cont)

if cont >= 4 then

d.setf("7_stone_kill", 0)

d.set_regen_file("data/dungeon/deviltower7_regen.txt")

end

end

when 8019.kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin

game.drop_item(30300, 1)

end

when 30300.use with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin

pc.remove_item("30300", 1)

local pct = number(1,10)

if pct == 1 then

-- ±Ľ¤UŻu¦aąĎ

game.drop_item(30302, 1)

d.clear_regen()

else

-- ±Ľ¤U°˛¦aąĎ

game.drop_item(30301, 1)

 

end

end

when 30302.use with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin

-- ¶Ç°e¨ě8ĽÓ

say("Przeniesiesz sie na 8 pietro!")

pc.remove_item("30302", 1)

timer("devil_jump_8", 6)

d.clear_regen()

end

 

--------------------------------------------

-- ĄŃ¶i¤J8ĽÓ¦Ü¨ěąF9ĽÓ¤§«e

--------------------------------------------

when devil_jump_8.timer begin

d.setf("level", 8)

d.jump_all(2048+590, 6656+403)

d.set_regen_file("data/dungeon/deviltower8_regen.txt")

d.spawn_mob(20366, 640, 460)

local _count= pc.count_item(30302)-- ®ř·ŔŻu¤`ĆF¶đ

pc.remove_item(30302,_count)

end

when 1040.kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin

local pct1 = number(1, 5)

if pct1 == 1 then

local pct2 = number(1, 10)

if pct2 == 1 then

-- ±Ľ¤UŻuÂę°Í

game.drop_item(30304, 1)

else

-- ±Ľ¤U°˛Âę°Í

game.drop_item(30303, 1)

end

else

return

end

end

when 20366.take with item.vnum == 30304 begin

-- 9ĽÓ«Ę¦L¸Ń°Ł

d.notice("Zostaniecie przeniesieni na 9 pietro!")

npc.purge()

item.remove()

timer("devil_jump_9", 6)

end

---------------------------------------------

-- ĄŃ¶i¤J9ĽÓ¦Üµ˛§ô

---------------------------------------------

when devil_jump_9.timer begin

d.setf("level", 9)

d.jump_all(2048+590, 6656+155)

d.regen_file("data/dungeon/deviltower9_regen.txt")

end

when 1093.kill with pc.in_dungeon() and pc.get_map_index() >= 660000 and pc.get_map_index() < 670000 begin

d.kill_all()

notice_all(pc.get_name().." zabil Umarlego Rozpruwacza!")

timer("devil_end_jump", 60)

end

when devil_end_jump.timer begin

d.exit_all()

end

end

end

 

 

 

 

 

Ponawiam swoją prośbę ze strony 114

 

@Stelios zrobione

Opublikowano

SIEMA

 

 

Napisze mi ktoś quest na teleportacjie do nowej mapy ale jak wejdze na nową mape i wyjde to 2 raz będe mógłdopiero za 30 min

warpy do mapy:

80000 0

Za pomoc "Lubie To" i 5*

 

30minut od wyjścia z mapy będzie można się ponownie zalogować,

czy 30minut od przejścia na mapę?

Trzymaj, zrobiłem pewne zabezpieczenia. :)

Musisz tylko dodać id_npc czyli u jakiego npc będzie można się przenieść

i najważniejsze INDEX czyli id mapki na którą będzie przenosić.

 

quest telep begin
state start begin
	when id_npc.chat."Nazwa mapy " begin
			say_title(mob_name(id_npc)..":")
		if pc.getqf("czas") == 0 then
			say("Witaj "..pc.get_name())
			say("Moge cie przeniesc na nowa mape ")
			say("")
			say("Chcesz? ")
			say("")
			local s = select("Tak", "Nie")
				if s == 2 then
					return
				end
				if s == 1 then
					say("Zostaniesz przeniesiony ")
					wait()
					pc.warp(80000, 0)
					pc.setqf("wejscie", 1)
				end
		else
			say("Nie mozesz jeszcze przejsc na mape")
			say("")
		end
	end
	when logout with pc.get_map_index() == INDEX begin
		pc.setqf("mapa", get_time()+60*30)
	end
	when login begin
		if get_time() >= pc.getqf("mapa") then
			pc.setqf("mapa", 0)
		end
	end
	when login with pc.get_map_index() == INDEX begin
		if pc.getqf("wejscie") == 1 then
			return
		else
			local e = pc.get_empire()
				if e == 1 then
					pc.warp(474100, 954500)
				elseif e == 2 then
					pc.warp(63600, 166400)
				elseif e == 3 then
					pc.warp(959900, 269300)
				end
		end
	end
end
end

 

 

 

@tidu, zwiń quest do spoilera, proszę.

@Dziękuje :)

***


Nie gram już w ogóle w metina,


ale jeśli potrzeba komuś pomoc z questem


to jeśli będę potrafił to mogę pomóc.


***

Opublikowano

Wgrałem ten quest :

 

 

-------------------------------------------------------------------

--- Misja by Czarny dla CzarnyMT2 oraz Czarny-questy.cba.pl ---

--- Prosze o nie przypisywanie sobie cudzej pracy! Pozdrawiam :)---

--- Życzę miłej zabawy i powodzenia :) ---

-------------------------------------------------------------------

--- Edit by GoGame ---

-------------------------------------------------------------------

quest loteria_z_biletem begin

state start begin

when 20356.chat."Loteria! " begin

say_title(mob_name(20356)..":")

say("Witaj! Prowadze loterie! ")

say("Jestes zainteresowany? ")

say("")

say("W loterii mozesz wygrac wiele ")

say("przedmiotow, niektore cenne inne mniej! ")

say("")

wait()

say_title(mob_name(20356)..":")

say("Jesli jestes chetny na wziecie ")

say("udzialu w loteri musisz spelniac warunki")

say("loterii! ")

say("")

say("A sa dwa warunki! ")

say("")

say("Misisz miec 1.000.000.000 yang ")

say("oraz Bilet na loterie! ")

say("")

say("Posiadasz wszystko? ")

locale s = select("Tak, mam wszystko", "Nie, przyjde pozniej.. ")

if s == 2 then

say_title(mob_name(20356)..":")

say("Dobrze ze sie przynales! ")

say("Ja jestem juz stary, moglbym ")

say("cos przypadkiem przeoczyc. ")

say("")

say("Dziekuje! Wroc kiedy bedziesz mial wszystko! ")

say("")

end

if s == 1 then

if pc.count_item(50083) >= 1 then

if pc.get_money() >= 1000000000 then

say_title(mob_name(20356)..":")

say("No to dobrze! Cieszy mnie to, a wiec tak ")

say("Za chwile zaczne losowanie przedmiotu ")

say("dla ciebie. ")

say("")

say("Ale najpierw musze napisac ")

say("na twoim bilecie numerek! ")

say("")

say("Jest to potrzebne, poniewaz bede ")

say("wiedzial, ze bilet byl juz uzyty! ")

say("")

wait()

say_title(mob_name(20356)..":")

say("No wiec zaczynajmy loterie! ")

say("Do wygrania jest ponad 30 rozych ")

say("cennych przedmiotow! ")

say("")

say_reward("Pamietaj, ze nie wszystkie ")

say_reward("przedmioty sa warte tyle samo! ")

say("")

wait()

local los = number(1, 35)

if los == 1 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(50082)

say("oraz")

say_item_vnum(50073)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(50082, 1)

pc.give_item2(50073, 1)

end

if los == 2 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(12669 , " x 1")

say("")

say("Gratuluje! ")

say("")

pc.give_item2(12669, 1)

end

if los == 3 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(12529)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(12529, 1)

end

if los == 4 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(50070)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(50070, 1)

end

if los == 5 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(50071)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(50071, 1)

end

if los == 6 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(50073)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(50073, 1)

end

if los == 7 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(50076)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(50076, 1)

end

if los == 8 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(13064)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(13064, 1)

end

if los == 9 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(13084)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(13084, 1)

end

if los == 10 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(70301)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(70301, 1)

end

if los == 11 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(13124)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(13124, 1)

end

if los == 12 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(14144)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(14144, 1)

end

if los == 13 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(50807)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(50807, 1)

end

if los == 14 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(49140)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(49140, 1)

end

if los == 15 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(30190)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(30190, 1)

end

if los == 16 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(28630)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(28630, 1)

end

if los == 17 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(28631)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(28631, 1)

end

if los == 18 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(28632)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(28632, 1)

end

if los == 19 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(28633)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(28633, 1)

end

if los == 20 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(28634)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(71082, 1)

end

if los == 21 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(71082)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(28635, 1)

end

if los == 22 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(28636)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(28636, 1)

end

if los == 23 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(28637)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(28637, 1)

end

if los == 24 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(28642)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(28642, 1)

end

if los == 25 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(28643)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(28643, 1)

end

if los == 26 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(27992)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(27992, 1)

end

if los == 27 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(27993)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(27993, 1)

end

if los == 28 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(27994)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(27994, 1)

end

if los == 29 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(71084 , "x 100")

say("")

say("Gratuluje! ")

say("")

pc.give_item2(71084, 100)

end

if los == 30 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(71085 , "x 100")

say("")

say("Gratuluje! ")

say("")

pc.give_item2(71085, 100)

end

if los == 31 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(71051)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(71051, 1)

end

if los == 32 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(71052)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(71052, 1)

end

if los == 33 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(7105)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(7105, 1)

end

if los == 34 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(71052)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(71052, 1)

end

if los == 35 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(71054)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(71054, 1)

end

end

end

end

end

when 20356.chat."Powiedz cos " begin

say_title(mob_name(20356)..":")

say("Witaj! Jezeli zapłacisz mi 10.000.000 yang ")

say("Będziesz mógł powiedzieć cos całemu swiatu! ")

say("")

local s = select("Tak", "Nie")

if s == 2 then

return

end

if s == 1 then

if pc.get_money() >= 10000000 then

pc.change_money( -10000000 )

say_title(mob_name(20356)..":")

say("No to tutaj możesz napisać coo do całego owiata ")

say("")

say("Np. ofertę kupna lub sprzedaży czegoo ")

say("Albo po prostu napisz co chcesz :) ")

say("")

local tekst = input()

if tekst != null then

notice_all(pc.get_name().."("..pc.get_level().." lvl): "..tekst)

end

else

say("Nie masz tyle yang... ;/ ")

end

end

end

when 9233.click begin

local s = select("200 sztabek za 2kkk", "100 sztabek za 1kkk", "50 sztabek za 500kk", "2kkk za 200 sztabek", "1kkk za 100 sztabek", "500kk za 50 sztabek", "Zakończ")

if s == 7 then

return

end

if s == 3 with pc.get_money() >= 500000000 then

say_title("Informacja:")

say("Czy chcesz zmienić 500kk sztabek za 50 sztabek?")

local a == select("Tak", "Nie")

if a == 2 then

return

end

if a == 1 then

pc.change_money(-500000000)

pc.give_item2(80007, 50)

end

if s == 2 with pc.get_money() >= 1000000000 then

say_title("Informacja:")

say("Czy chcesz zmienić 1kkk sztabek za 100 sztabek?")

local c == select("Tak", "Nie")

if c == 2 then

return

end

if c == 1 then

pc.change_money(-1000000000)

pc.give_item2(80007, 100)

end

if s == 1 with pc.get_money() >= 2000000000 then

say_title("Informacja:")

say("Czy chcesz zmienić 2kkk sztabek za 200 sztabek?")

local b == select("Tak", "Nie")

if b == 2 then

return

end

if b == 1 then

pc.change_money(-2000000000)

pc.give_item2(80007, 200)

end

if s == 4 with pc.count_item(80007) >= 200 then

say_title("Informacja:")

say("Czy chcesz zmienić 200 sztabek za 2kkk?")

local r == select("Tak", "Nie")

if r == 2 then

return

end

if r == 1 then

pc.change_money(2000000000)

pc.remove_item(80007, 200)

end

if s == 5 with pc.count_item(80007) >= 100 then

say_title("Informacja:")

say("Czy chcesz zmienić 100 sztabek za 1kkk?")

local t == select("Tak", "Nie")

if t == 2 then

return

end

if t == 1 then

pc.change_money(1000000000)

pc.remove_item(80007, 100)

end

if s == 6 with pc.count_item(IDZ_SZTABKI) >= 50 then

say_title("Informacja:")

say("Czy chcesz zmienić 50 sztabek za 500kk?")

local y == select("Tak", "Nie")

if y == 2 then

return

end

if y == 1 then

pc.change_money(500000000)

pc.remove_item(80007, 50)

end

else

say_title("Informacja:")

say("Nie masz wystarczajšcej ilosci Yang.")

end

end

end

end

 

i taki błąd po wgraniu :

 

syntax error : [string "start"]:20: `=' expected near `s'
loteria_z_biletem.quest:386:Abort (core dumped)

Więcej straci ten co to wszystko liczy...

Wigilia 24 Grudnia 2011 ROK SϒS™ Obchodzi 14 Wigilię w Swoim Życiu..

Życzę wszystkim wesołych,pogodnych świąt ,tym czasem ja kończę zabawę w forumowanie i idę

z D&G'em polować na łanie =)

Opublikowano

@Stelios

a da się jakoś zrobić żeby teleportowało na 3 mapach to ten npc u którego można się teleportować jest w 3 królestwach :)

 

Tego teleportera możesz wstawić na wszystkich mapach.

Zabezpieczenie obejmuje np. logowanie się przez zwój powrotu :)

***


Nie gram już w ogóle w metina,


ale jeśli potrzeba komuś pomoc z questem


to jeśli będę potrafił to mogę pomóc.


***

Opublikowano

Mi coś ten quest nie działa idę do npc u którego można się teleportować i mnie teleportuje wracam do M1 i znów chce się teleportować i mnie teleportuje ;/ a nie minęło 30 min

PS. może nie działać dlatego że zmieniłem z:

 

 

                when id_npc.chat."Nazwa mapy " begin

na:

				when 20086.chat."TEST MAP" with pc.get_map_index() == 21 begin
Opublikowano

Mi coś ten quest nie działa idę do npc u którego można się teleportować i mnie teleportuje wracam do M1 i znów chce się teleportować i mnie teleportuje ;/ a nie minęło 30 min

 

Pomyliło mi się coś..

Teraz powinno działać:

 

quest telep begin
state start begin
	when id_npc.chat."Nazwa mapy " begin
			say_title(mob_name(id_npc)..":")
		if pc.getqf("mapa") == 0 then
			say("Witaj "..pc.get_name())
			say("Moge cie przeniesc na nowa mape ")
			say("")
			say("Chcesz? ")
			say("")
			local s = select("Tak", "Nie")
				if s == 2 then
					return
				end
				if s == 1 then
					say("Zostaniesz przeniesiony ")
					wait()
					pc.warp(80000, 0)
					pc.setqf("wejscie", 1)
				end
		else
			say("Nie mozesz jeszcze przejsc na mape")
			say("")
		end
	end
	when logout with pc.get_map_index() == INDEX begin
		pc.setqf("mapa", get_time()+60*30)
	end
	when login begin
		if get_time() >= pc.getqf("mapa") then
			pc.setqf("mapa", 0)
		end
	end
	when login with pc.get_map_index() == INDEX begin
		if pc.getqf("wejscie") == 1 then
			return
		else
			local e = pc.get_empire()
				if e == 1 then
					pc.warp(474100, 954500)
				elseif e == 2 then
					pc.warp(63600, 166400)
				elseif e == 3 then
					pc.warp(959900, 269300)
				end
		end
	end
end
end

 

 

@EDIT

@UP Będzie działać :)

***


Nie gram już w ogóle w metina,


ale jeśli potrzeba komuś pomoc z questem


to jeśli będę potrafił to mogę pomóc.


***

Opublikowano

Wgrałem ten quest :

 

 

-------------------------------------------------------------------

--- Misja by Czarny dla CzarnyMT2 oraz Czarny-questy.cba.pl ---

--- Prosze o nie przypisywanie sobie cudzej pracy! Pozdrawiam :)---

--- Życzę miłej zabawy i powodzenia :) ---

-------------------------------------------------------------------

--- Edit by GoGame ---

-------------------------------------------------------------------

quest loteria_z_biletem begin

state start begin

when 20356.chat."Loteria! " begin

say_title(mob_name(20356)..":")

say("Witaj! Prowadze loterie! ")

say("Jestes zainteresowany? ")

say("")

say("W loterii mozesz wygrac wiele ")

say("przedmiotow, niektore cenne inne mniej! ")

say("")

wait()

say_title(mob_name(20356)..":")

say("Jesli jestes chetny na wziecie ")

say("udzialu w loteri musisz spelniac warunki")

say("loterii! ")

say("")

say("A sa dwa warunki! ")

say("")

say("Misisz miec 1.000.000.000 yang ")

say("oraz Bilet na loterie! ")

say("")

say("Posiadasz wszystko? ")

locale s = select("Tak, mam wszystko", "Nie, przyjde pozniej.. ")

if s == 2 then

say_title(mob_name(20356)..":")

say("Dobrze ze sie przynales! ")

say("Ja jestem juz stary, moglbym ")

say("cos przypadkiem przeoczyc. ")

say("")

say("Dziekuje! Wroc kiedy bedziesz mial wszystko! ")

say("")

end

if s == 1 then

if pc.count_item(50083) >= 1 then

if pc.get_money() >= 1000000000 then

say_title(mob_name(20356)..":")

say("No to dobrze! Cieszy mnie to, a wiec tak ")

say("Za chwile zaczne losowanie przedmiotu ")

say("dla ciebie. ")

say("")

say("Ale najpierw musze napisac ")

say("na twoim bilecie numerek! ")

say("")

say("Jest to potrzebne, poniewaz bede ")

say("wiedzial, ze bilet byl juz uzyty! ")

say("")

wait()

say_title(mob_name(20356)..":")

say("No wiec zaczynajmy loterie! ")

say("Do wygrania jest ponad 30 rozych ")

say("cennych przedmiotow! ")

say("")

say_reward("Pamietaj, ze nie wszystkie ")

say_reward("przedmioty sa warte tyle samo! ")

say("")

wait()

local los = number(1, 35)

if los == 1 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(50082)

say("oraz")

say_item_vnum(50073)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(50082, 1)

pc.give_item2(50073, 1)

end

if los == 2 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(12669 , " x 1")

say("")

say("Gratuluje! ")

say("")

pc.give_item2(12669, 1)

end

if los == 3 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(12529)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(12529, 1)

end

if los == 4 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(50070)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(50070, 1)

end

if los == 5 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(50071)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(50071, 1)

end

if los == 6 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(50073)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(50073, 1)

end

if los == 7 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(50076)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(50076, 1)

end

if los == 8 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(13064)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(13064, 1)

end

if los == 9 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(13084)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(13084, 1)

end

if los == 10 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(70301)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(70301, 1)

end

if los == 11 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(13124)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(13124, 1)

end

if los == 12 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(14144)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(14144, 1)

end

if los == 13 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(50807)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(50807, 1)

end

if los == 14 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(49140)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(49140, 1)

end

if los == 15 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(30190)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(30190, 1)

end

if los == 16 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(28630)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(28630, 1)

end

if los == 17 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(28631)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(28631, 1)

end

if los == 18 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(28632)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(28632, 1)

end

if los == 19 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(28633)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(28633, 1)

end

if los == 20 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(28634)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(71082, 1)

end

if los == 21 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(71082)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(28635, 1)

end

if los == 22 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(28636)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(28636, 1)

end

if los == 23 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(28637)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(28637, 1)

end

if los == 24 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(28642)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(28642, 1)

end

if los == 25 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(28643)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(28643, 1)

end

if los == 26 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(27992)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(27992, 1)

end

if los == 27 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(27993)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(27993, 1)

end

if los == 28 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(27994)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(27994, 1)

end

if los == 29 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(71084 , "x 100")

say("")

say("Gratuluje! ")

say("")

pc.give_item2(71084, 100)

end

if los == 30 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(71085 , "x 100")

say("")

say("Gratuluje! ")

say("")

pc.give_item2(71085, 100)

end

if los == 31 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(71051)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(71051, 1)

end

if los == 32 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(71052)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(71052, 1)

end

if los == 33 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(7105)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(7105, 1)

end

if los == 34 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(71052)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(71052, 1)

end

if los == 35 then

say_title(mob_nem(20356)..": ")

say("Wygrales: ")

say_item_vnum(71054)

say("")

say("Gratuluje! ")

say("")

pc.give_item2(71054, 1)

end

end

end

end

end

when 20356.chat."Powiedz cos " begin

say_title(mob_name(20356)..":")

say("Witaj! Jezeli zapłacisz mi 10.000.000 yang ")

say("Będziesz mógł powiedzieć cos całemu swiatu! ")

say("")

local s = select("Tak", "Nie")

if s == 2 then

return

end

if s == 1 then

if pc.get_money() >= 10000000 then

pc.change_money( -10000000 )

say_title(mob_name(20356)..":")

say("No to tutaj możesz napisać coo do całego owiata ")

say("")

say("Np. ofertę kupna lub sprzedaży czegoo ")

say("Albo po prostu napisz co chcesz :) ")

say("")

local tekst = input()

if tekst != null then

notice_all(pc.get_name().."("..pc.get_level().." lvl): "..tekst)

end

else

say("Nie masz tyle yang... ;/ ")

end

end

end

when 9233.click begin

local s = select("200 sztabek za 2kkk", "100 sztabek za 1kkk", "50 sztabek za 500kk", "2kkk za 200 sztabek", "1kkk za 100 sztabek", "500kk za 50 sztabek", "Zakończ")

if s == 7 then

return

end

if s == 3 with pc.get_money() >= 500000000 then

say_title("Informacja:")

say("Czy chcesz zmienić 500kk sztabek za 50 sztabek?")

local a == select("Tak", "Nie")

if a == 2 then

return

end

if a == 1 then

pc.change_money(-500000000)

pc.give_item2(80007, 50)

end

if s == 2 with pc.get_money() >= 1000000000 then

say_title("Informacja:")

say("Czy chcesz zmienić 1kkk sztabek za 100 sztabek?")

local c == select("Tak", "Nie")

if c == 2 then

return

end

if c == 1 then

pc.change_money(-1000000000)

pc.give_item2(80007, 100)

end

if s == 1 with pc.get_money() >= 2000000000 then

say_title("Informacja:")

say("Czy chcesz zmienić 2kkk sztabek za 200 sztabek?")

local b == select("Tak", "Nie")

if b == 2 then

return

end

if b == 1 then

pc.change_money(-2000000000)

pc.give_item2(80007, 200)

end

if s == 4 with pc.count_item(80007) >= 200 then

say_title("Informacja:")

say("Czy chcesz zmienić 200 sztabek za 2kkk?")

local r == select("Tak", "Nie")

if r == 2 then

return

end

if r == 1 then

pc.change_money(2000000000)

pc.remove_item(80007, 200)

end

if s == 5 with pc.count_item(80007) >= 100 then

say_title("Informacja:")

say("Czy chcesz zmienić 100 sztabek za 1kkk?")

local t == select("Tak", "Nie")

if t == 2 then

return

end

if t == 1 then

pc.change_money(1000000000)

pc.remove_item(80007, 100)

end

if s == 6 with pc.count_item(IDZ_SZTABKI) >= 50 then

say_title("Informacja:")

say("Czy chcesz zmienić 50 sztabek za 500kk?")

local y == select("Tak", "Nie")

if y == 2 then

return

end

if y == 1 then

pc.change_money(500000000)

pc.remove_item(80007, 50)

end

else

say_title("Informacja:")

say("Nie masz wystarczajšcej ilosci Yang.")

end

end

end

end

 

i taki błąd po wgraniu :

 

syntax error : [string "start"]:20: `=' expected near `s'
loteria_z_biletem.quest:386:Abort (core dumped)

Więcej straci ten co to wszystko liczy...

Wigilia 24 Grudnia 2011 ROK SϒS™ Obchodzi 14 Wigilię w Swoim Życiu..

Życzę wszystkim wesołych,pogodnych świąt ,tym czasem ja kończę zabawę w forumowanie i idę

z D&G'em polować na łanie =)

Opublikowano

 

 

-------------------------------------------------------------------
--- Misja by Czarny dla CzarnyMT2 oraz Czarny-questy.cba.pl ---
--- Prosze o nie przypisywanie sobie cudzej pracy! Pozdrawiam ---
--- Życzę miłej zabawy i powodzenia  ---
-------------------------------------------------------------------
--- Edit by GoGame ---
-------------------------------------------------------------------
quest loteria_z_biletem begin
state start begin
when 20356.chat."Loteria! " begin
say_title(mob_name(20356)..":")
say("Witaj! Prowadze loterie! ")
say("Jestes zainteresowany? ")
say("")
say("W loterii mozesz wygrac wiele ")
say("przedmiotow, niektore cenne inne mniej! ")
say("")
wait()
say_title(mob_name(20356)..":")
say("Jesli jestes chetny na wziecie ")
say("udzialu w loteri musisz spelniac warunki")
say("loterii! ")
say("")
say("A sa dwa warunki! ")
say("")
say("Misisz miec 1.000.000.000 yang ")
say("oraz Bilet na loterie! ")
say("")
say("Posiadasz wszystko? ")
locale s = select("Tak, mam wszystko", "Nie, przyjde pozniej.. ")
if s == 2 then
say_title(mob_name(20356)..":")
say("Dobrze ze sie przynales! ")
say("Ja jestem juz stary, moglbym ")
say("cos przypadkiem przeoczyc. ")
say("")
say("Dziekuje! Wroc kiedy bedziesz mial wszystko! ")
say("")
end
if s == 1 then
if pc.count_item(50083) >= 1 then
if pc.get_money() >= 1000000000 then
say_title(mob_name(20356)..":")
say("No to dobrze! Cieszy mnie to, a wiec tak ")
say("Za chwile zaczne losowanie przedmiotu ")
say("dla ciebie. ")
say("")
say("Ale najpierw musze napisac ")
say("na twoim bilecie numerek! ")
say("")
say("Jest to potrzebne, poniewaz bede ")
say("wiedzial, ze bilet byl juz uzyty! ")
say("")
wait()
say_title(mob_name(20356)..":")
say("No wiec zaczynajmy loterie! ")
say("Do wygrania jest ponad 30 rozych ")
say("cennych przedmiotow! ")
say("")
say_reward("Pamietaj, ze nie wszystkie ")
say_reward("przedmioty sa warte tyle samo! ")
say("")
wait()
local los = number(1, 35)
if los == 1 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(50082)
say("oraz")
say_item_vnum(50073)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(50082, 1)
pc.give_item2(50073, 1)
end
if los == 2 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(12669 , " x 1")
say("")
say("Gratuluje! ")
say("")
pc.give_item2(12669, 1)
end
if los == 3 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(12529)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(12529, 1)
end
if los == 4 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(50070)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(50070, 1)
end
if los == 5 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(50071)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(50071, 1)
end
if los == 6 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(50073)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(50073, 1)
end
if los == 7 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(50076)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(50076, 1)
end
if los == 8 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(13064)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(13064, 1)
end
if los == 9 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(13084)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(13084, 1)
end
if los == 10 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(70301)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(70301, 1)
end
if los == 11 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(13124)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(13124, 1)
end
if los == 12 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(14144)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(14144, 1)
end
if los == 13 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(50807)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(50807, 1)
end
if los == 14 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(49140)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(49140, 1)
end
if los == 15 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(30190)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(30190, 1)
end
if los == 16 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(28630)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(28630, 1)
end
if los == 17 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(28631)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(28631, 1)
end
if los == 18 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(28632)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(28632, 1)
end
if los == 19 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(28633)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(28633, 1)
end
if los == 20 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(28634)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(71082, 1)
end
if los == 21 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(71082)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(28635, 1)
end
if los == 22 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(28636)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(28636, 1)
end
if los == 23 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(28637)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(28637, 1)
end
if los == 24 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(28642)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(28642, 1)
end
if los == 25 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(28643)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(28643, 1)
end
if los == 26 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(27992)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(27992, 1)
end
if los == 27 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(27993)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(27993, 1)
end
if los == 28 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(27994)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(27994, 1)
end
if los == 29 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(71084 , "x 100")
say("")
say("Gratuluje! ")
say("")
pc.give_item2(71084, 100)
end
if los == 30 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(71085 , "x 100")
say("")
say("Gratuluje! ")
say("")
pc.give_item2(71085, 100)
end
if los == 31 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(71051)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(71051, 1)
end
if los == 32 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(71052)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(71052, 1)
end
if los == 33 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(7105)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(7105, 1)
end
if los == 34 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(71052)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(71052, 1)
end
if los == 35 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(71054)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(71054, 1)
end
end
end
end
end
when 20356.chat."Powiedz cos " begin
say_title(mob_name(20356)..":")
say("Witaj! Jezeli zapłacisz mi 10.000.000 yang ")
say("Będziesz mógł powiedzieć cos całemu swiatu! ")
say("")
local s = select("Tak", "Nie")
if s == 2 then
return
end
if s == 1 then
if pc.get_money() >= 10000000 then
pc.change_money( -10000000 )
say_title(mob_name(20356)..":")
say("No to tutaj możesz napisać coo do całego owiata ")
say("")
say("Np. ofertę kupna lub sprzedaży czegoo ")
say("Albo po prostu napisz co chcesz  ")
say("")
local tekst = input()
if tekst != null then
notice_all(pc.get_name().."("..pc.get_level().." lvl): "..tekst)
end
else
say("Nie masz tyle yang... ;/ ")
end
end
end
end
when 9233.click begin
local s = select("200 sztabek za 2kkk", "100 sztabek za 1kkk", "50 sztabek za 500kk", "2kkk za 200 sztabek", "1kkk za 100 sztabek", "500kk za 50 sztabek", "Zakończ")
if s == 7 then
return
end
if s == 3 with pc.get_money() >= 500000000 then
say_title("Informacja:")
say("Czy chcesz zmienić 500kk sztabek za 50 sztabek?")
local a == select("Tak", "Nie")
if a == 2 then
return
end
if a == 1 then
pc.change_money(-500000000)
pc.give_item2(80007, 50)
end
if s == 2 with pc.get_money() >= 1000000000 then
say_title("Informacja:")
say("Czy chcesz zmienić 1kkk sztabek za 100 sztabek?")
local c == select("Tak", "Nie")
if c == 2 then
return
end
if c == 1 then
pc.change_money(-1000000000)
pc.give_item2(80007, 100)
end
if s == 1 with pc.get_money() >= 2000000000 then
say_title("Informacja:")
say("Czy chcesz zmienić 2kkk sztabek za 200 sztabek?")
local b == select("Tak", "Nie")
if b == 2 then
return
end
if b == 1 then
pc.change_money(-2000000000)
pc.give_item2(80007, 200)
end
if s == 4 with pc.count_item(80007) >= 200 then
say_title("Informacja:")
say("Czy chcesz zmienić 200 sztabek za 2kkk?")
local r == select("Tak", "Nie")
if r == 2 then
return
end
if r == 1 then
pc.change_money(2000000000)
pc.remove_item(80007, 200)
end
if s == 5 with pc.count_item(80007) >= 100 then
say_title("Informacja:")
say("Czy chcesz zmienić 100 sztabek za 1kkk?")
local t == select("Tak", "Nie")
if t == 2 then
return
end
if t == 1 then
pc.change_money(1000000000)
pc.remove_item(80007, 100)
end
if s == 6 with pc.count_item(IDZ_SZTABKI) >= 50 then
say_title("Informacja:")
say("Czy chcesz zmienić 50 sztabek za 500kk?")
local y == select("Tak", "Nie")
if y == 2 then
return
end
if y == 1 then
pc.change_money(500000000)
pc.remove_item(80007, 50)
end
else
say_title("Informacja:")
say("Nie masz wystarczajšcej ilosci Yang.")
end
end
end
end

 

Sprawdz teraz.

***


Nie gram już w ogóle w metina,


ale jeśli potrzeba komuś pomoc z questem


to jeśli będę potrafił to mogę pomóc.


***

Opublikowano

Czesc , poszukuję questa , ''zamiana'' po kliknięciu w ID 21333 to zamienia w dzikiego psa..

@UP zaraz sprawdze ;)

Więcej straci ten co to wszystko liczy...

Wigilia 24 Grudnia 2011 ROK SϒS™ Obchodzi 14 Wigilię w Swoim Życiu..

Życzę wszystkim wesołych,pogodnych świąt ,tym czasem ja kończę zabawę w forumowanie i idę

z D&G'em polować na łanie =)

Opublikowano

Czesc , poszukuję questa , ''zamiana'' po kliknięciu w ID 21333 to zamienia w dzikiego psa..

@UP zaraz sprawdze ;)

quest poli begin
   state start begin
       when 21333.use begin
           pc.polymorph(101, 600)
       end
   end
end

600 to czas na jaki zmieni w potworka, w sekundach.

Możesz również napisać 60*10 czyli 10 minut czyli 600 sekund ;P :)

***


Nie gram już w ogóle w metina,


ale jeśli potrzeba komuś pomoc z questem


to jeśli będę potrafił to mogę pomóc.


***

Opublikowano

@Stelios

Jest mały problem jak zrobię nową postać to ciągle teleportuje mnie w 1 miejsce chyba dlatego że jest to:

												pc.warp(474100, 954500)
									elseif e == 2 then
											pc.warp(63600, 166400)
									elseif e == 3 then
											pc.warp(959900, 269300)

Bo tak usuwam te wary to przestaje mnie ciągle teleportować :)

Opublikowano

 

-------------------------------------------------------------------
--- Misja by Czarny dla CzarnyMT2 oraz Czarny-questy.cba.pl ---
--- Prosze o nie przypisywanie sobie cudzej pracy! Pozdrawiam ---
--- Życzę miłej zabawy i powodzenia  ---
-------------------------------------------------------------------
--- Edit by GoGame ---
-------------------------------------------------------------------
quest loteria_z_biletem begin
state start begin
when 20356.chat."Loteria! " begin
say_title(mob_name(20356)..":")
say("Witaj! Prowadze loterie! ")
say("Jestes zainteresowany? ")
say("")
say("W loterii mozesz wygrac wiele ")
say("przedmiotow, niektore cenne inne mniej! ")
say("")
wait()
say_title(mob_name(20356)..":")
say("Jesli jestes chetny na wziecie ")
say("udzialu w loteri musisz spelniac warunki")
say("loterii! ")
say("")
say("A sa dwa warunki! ")
say("")
say("Misisz miec 1.000.000.000 yang ")
say("oraz Bilet na loterie! ")
say("")
say("Posiadasz wszystko? ")
locale s = select("Tak, mam wszystko", "Nie, przyjde pozniej.. ")
if s == 2 then
say_title(mob_name(20356)..":")
say("Dobrze ze sie przynales! ")
say("Ja jestem juz stary, moglbym ")
say("cos przypadkiem przeoczyc. ")
say("")
say("Dziekuje! Wroc kiedy bedziesz mial wszystko! ")
say("")
end
if s == 1 then
if pc.count_item(50083) >= 1 then
if pc.get_money() >= 1000000000 then
say_title(mob_name(20356)..":")
say("No to dobrze! Cieszy mnie to, a wiec tak ")
say("Za chwile zaczne losowanie przedmiotu ")
say("dla ciebie. ")
say("")
say("Ale najpierw musze napisac ")
say("na twoim bilecie numerek! ")
say("")
say("Jest to potrzebne, poniewaz bede ")
say("wiedzial, ze bilet byl juz uzyty! ")
say("")
wait()
say_title(mob_name(20356)..":")
say("No wiec zaczynajmy loterie! ")
say("Do wygrania jest ponad 30 rozych ")
say("cennych przedmiotow! ")
say("")
say_reward("Pamietaj, ze nie wszystkie ")
say_reward("przedmioty sa warte tyle samo! ")
say("")
wait()
local los = number(1, 35)
if los == 1 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(50082)
say("oraz")
say_item_vnum(50073)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(50082, 1)
pc.give_item2(50073, 1)
end
if los == 2 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(12669 , " x 1")
say("")
say("Gratuluje! ")
say("")
pc.give_item2(12669, 1)
end
if los == 3 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(12529)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(12529, 1)
end
if los == 4 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(50070)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(50070, 1)
end
if los == 5 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(50071)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(50071, 1)
end
if los == 6 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(50073)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(50073, 1)
end
if los == 7 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(50076)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(50076, 1)
end
if los == 8 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(13064)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(13064, 1)
end
if los == 9 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(13084)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(13084, 1)
end
if los == 10 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(70301)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(70301, 1)
end
if los == 11 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(13124)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(13124, 1)
end
if los == 12 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(14144)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(14144, 1)
end
if los == 13 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(50807)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(50807, 1)
end
if los == 14 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(49140)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(49140, 1)
end
if los == 15 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(30190)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(30190, 1)
end
if los == 16 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(28630)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(28630, 1)
end
if los == 17 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(28631)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(28631, 1)
end
if los == 18 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(28632)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(28632, 1)
end
if los == 19 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(28633)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(28633, 1)
end
if los == 20 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(28634)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(71082, 1)
end
if los == 21 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(71082)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(28635, 1)
end
if los == 22 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(28636)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(28636, 1)
end
if los == 23 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(28637)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(28637, 1)
end
if los == 24 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(28642)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(28642, 1)
end
if los == 25 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(28643)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(28643, 1)
end
if los == 26 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(27992)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(27992, 1)
end
if los == 27 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(27993)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(27993, 1)
end
if los == 28 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(27994)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(27994, 1)
end
if los == 29 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(71084 , "x 100")
say("")
say("Gratuluje! ")
say("")
pc.give_item2(71084, 100)
end
if los == 30 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(71085 , "x 100")
say("")
say("Gratuluje! ")
say("")
pc.give_item2(71085, 100)
end
if los == 31 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(71051)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(71051, 1)
end
if los == 32 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(71052)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(71052, 1)
end
if los == 33 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(7105)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(7105, 1)
end
if los == 34 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(71052)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(71052, 1)
end
if los == 35 then
say_title(mob_nem(20356)..": ")
say("Wygrales: ")
say_item_vnum(71054)
say("")
say("Gratuluje! ")
say("")
pc.give_item2(71054, 1)
end
end
end
end
end
when 20356.chat."Powiedz cos " begin
say_title(mob_name(20356)..":")
say("Witaj! Jezeli zapłacisz mi 10.000.000 yang ")
say("Będziesz mógł powiedzieć cos całemu swiatu! ")
say("")
local s = select("Tak", "Nie")
if s == 2 then
return
end
if s == 1 then
if pc.get_money() >= 10000000 then
pc.change_money( -10000000 )
say_title(mob_name(20356)..":")
say("No to tutaj możesz napisać coo do całego owiata ")
say("")
say("Np. ofertę kupna lub sprzedaży czegoo ")
say("Albo po prostu napisz co chcesz  ")
say("")
local tekst = input()
if tekst != null then
notice_all(pc.get_name().."("..pc.get_level().." lvl): "..tekst)
end
else
say("Nie masz tyle yang... ;/ ")
end
end
end
end
when 9233.click begin
local s = select("200 sztabek za 2kkk", "100 sztabek za 1kkk", "50 sztabek za 500kk", "2kkk za 200 sztabek", "1kkk za 100 sztabek", "500kk za 50 sztabek", "Zakończ")
if s == 7 then
return
end
if s == 3 with pc.get_money() >= 500000000 then
say_title("Informacja:")
say("Czy chcesz zmienić 500kk sztabek za 50 sztabek?")
local a == select("Tak", "Nie")
if a == 2 then
return
end
if a == 1 then
pc.change_money(-500000000)
pc.give_item2(80007, 50)
end
if s == 2 with pc.get_money() >= 1000000000 then
say_title("Informacja:")
say("Czy chcesz zmienić 1kkk sztabek za 100 sztabek?")
local c == select("Tak", "Nie")
if c == 2 then
return
end
if c == 1 then
pc.change_money(-1000000000)
pc.give_item2(80007, 100)
end
if s == 1 with pc.get_money() >= 2000000000 then
say_title("Informacja:")
say("Czy chcesz zmienić 2kkk sztabek za 200 sztabek?")
local b == select("Tak", "Nie")
if b == 2 then
return
end
if b == 1 then
pc.change_money(-2000000000)
pc.give_item2(80007, 200)
end
if s == 4 with pc.count_item(80007) >= 200 then
say_title("Informacja:")
say("Czy chcesz zmienić 200 sztabek za 2kkk?")
local r == select("Tak", "Nie")
if r == 2 then
return
end
if r == 1 then
pc.change_money(2000000000)
pc.remove_item(80007, 200)
end
if s == 5 with pc.count_item(80007) >= 100 then
say_title("Informacja:")
say("Czy chcesz zmienić 100 sztabek za 1kkk?")
local t == select("Tak", "Nie")
if t == 2 then
return
end
if t == 1 then
pc.change_money(1000000000)
pc.remove_item(80007, 100)
end
if s == 6 with pc.count_item(IDZ_SZTABKI) >= 50 then
say_title("Informacja:")
say("Czy chcesz zmienić 50 sztabek za 500kk?")
local y == select("Tak", "Nie")
if y == 2 then
return
end
if y == 1 then
pc.change_money(500000000)
pc.remove_item(80007, 50)
end
else
say_title("Informacja:")
say("Nie masz wystarczajšcej ilosci Yang.")
end
end
end
end

 

Sprawdz teraz.

błąd:

 

syntax error : [string "start"]:20: `=' expected near `s'
loteria_z_biletem.quest:386:Abort (core dumped)

Więcej straci ten co to wszystko liczy...

Wigilia 24 Grudnia 2011 ROK SϒS™ Obchodzi 14 Wigilię w Swoim Życiu..

Życzę wszystkim wesołych,pogodnych świąt ,tym czasem ja kończę zabawę w forumowanie i idę

z D&G'em polować na łanie =)

Opublikowano

@Stelios

Jest mały problem jak zrobię nową postać to ciągle teleportuje mnie w 1 miejsce chyba dlatego że jest to:

												pc.warp(474100, 954500)
									elseif e == 2 then
											pc.warp(63600, 166400)
									elseif e == 3 then
											pc.warp(959900, 269300)

Bo tak usuwam te wary to przestaje mnie ciągle teleportować :)

A ustawiłeś tutaj INDEX czyli wpisałeś id mapy?

when login with pc.get_map_index() == INDEX begin

***


Nie gram już w ogóle w metina,


ale jeśli potrzeba komuś pomoc z questem


to jeśli będę potrafił to mogę pomóc.


***

Zarchiwizowany

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

×
×
  • Dodaj nową pozycję...