Nume: Shop intr-o anumita mapa
Descriere:
1. Questul este facut pe baza de item (manunchi)
2. Atunci cand se face click dreapta pe manunchi se va deschide o fereastra de quest si va informa jucatorul ca magazinele se pot deschide doar in mapa speciala.
3. Vor fi doua butoane
a) Teleportare ( Il va teleporta in mapa setata pentru shop-uri aleasa de voi)
b) Deschid Shop ( daca el se afla in alta mapa si apasa pe acest buton, nu va functiona) Daca se afla in mapa unde la teleportat anterior, si apasa pe acest buton Deschide Shop ii va deschide shop-ul.
Questul l-am facut de ceva luni in urma si nu mai stiu exact cum se manifesta.
Precizez ca este creat de mine, poate aveti nevoie , poate nu.
Imagini: N-am
Quest:
Cod: Selectaţi tot
quest Knop_shopinterzis begin
state start begin
when 50200.use begin
say_title("Shop Metin2Angora")
say("")
say_galben("Un shop se poate face doar in mapa speciala")
say_galben("Pentru shop-uri online")
say("")
say_albastru_deschis("Daca vrei sa faci un shop, alege")
say_verde_inchis("Deschide Shop")
say("")
say_reward("Alegerea este: ?")
local s=select("Teleportare","Deschid Shop")
if s==1 then
pc.warp(1082600, 1793400)
end
if s==2 then
local m_idx = pc.get_map_index()
if m_idx == 301 then
cmdchat("OpenPrivateShop")
end
say("Doar in mapa speciala se pot face Shop-uri")
end
end
when logout begin
local m_idx = pc.get_map_index()
if m_idx == 301 then
command("close_shop")
end
end
end
endCod: Selectaţi tot
quest Knop_shopinterzis begin
state start begin
when 50200.use begin
local m_idx = pc.get_map_index()
if m_idx == 301 then
cmdchat("OpenPrivateShop")
end
end
when logout begin
local m_idx = pc.get_map_index()
if m_idx == 301 then
command("close_shop")
end
end
end
end- Salvaţi conţinutul quest-ului într-un fişier text numit de exemplu nume_quest.quest/.lua
- Vă conectaţi la filezilla / winscp şi întrati în /usr/home/game/share/locale/germany/quest (depinde ce server aveţi).
- Îl puneţi acolo (să fie .quest sau .lua).
- Te loghezi în FreeBSD / putty şi scrii în felul următor: cd /usr/home/game/share/locale/germany/quest (depinde ce server aveţi) apoi ./qc nume_quest.quest/.lua
- Intraţi pe server şi scrieţi /reload q
- Testaţi quest-ul.





de