quest clean_inventory_happ begin
state start begin
when 20041.chat."Curãþã Inventarul" begin
local f = "BlockItem"
if pc.getf(f,"Enable") == 1 then
say_title2("Protecþie Iteme[ENTER]")
say2("Protecþia pentru iteme este activatã.")
say2("Dezactiveaz-o pentru a putea face acest lucru![ENTER]")
return
end
say_title("Prostul Satului")
say_size(350, 350)
say("La mine, îþi poþi face ordine ºi curãþenie printre lucruri!")
say("Doreºti sã îþi goleºti o paginã sau mai multe din inventar?[ENTER]")
say_reward("Alege pagina inventarului pe care doreºti sã o goleºti.[ENTER]")
local clean = select("Inventarul - I","Inventarul - II","Inventarul - III","Inventarul - IV","Sterge-mi toate itemele","Închide")
if clean == 1 then
say_title("Prostul Satului[ENTER]")
say("Eºti sigur cã doreºti sã ºtergi toate itemele din Inventar I?[ENTER]")
local aprob = select("Da","Nu")
if aprob == 2 then
return
else
clean_inventory_happ.empty(0,44)
end
end
if clean == 2 then
say_title("Prostul Satului[ENTER]")
say("Eºti sigur cã doreºti sã ºtergi toate itemele din Inventar II?[ENTER]")
local aprob = select("Da","Nu")
if aprob == 2 then
return
else
clean_inventory_happ.empty(45,89)
end
end
if clean == 3 then
say_title("Prostul Satului[ENTER]")
say("Eºti sigur cã doreºti sã ºtergi toate itemele din Inventar III?[ENTER]")
local aprob = select("Da","Nu")
if aprob == 2 then
return
else
clean_inventory_happ.empty(90,134)
end
end
if clean == 4 then
say_title("Prostul Satului[ENTER]")
say("Eºti sigur cã doreºti sã ºtergi toate itemele din Inventar IV?[ENTER]")
local aprob = select("Da","Nu")
if aprob == 2 then
return
else
clean_inventory_happ.empty(135,179)
end
end
if clean == 5 then
say_title("Prostul Satului[ENTER]")
say("Eºti sigur cã doreºti sã ºtergi toate itemele?")
say("Itemele echipate nu vor fi ºterse![ENTER]")
local aprob = select("Da","Nu")
if aprob == 2 then
return
else
clean_inventory_happ.empty(0,179)
end
end
end
function empty(a,b)
for i=a, b do
item.select_cell(i)
item.remove()
end
end
end
end
-
#721Reply in Gaming
-
#722Reply in Gaming
quest levelup begin state start begin when levelup begin if pc.get_level() == 10 then notice_all(“”.. pc.get_name() ..” a facut level 10!”) notice_all(“Quest nume.”) elseif pc.get_level() == 20 then notice_all(“”.. pc.get_name() ..” a facut level 20!”) notice_all(“Quest nume.”) elseif pc.get_level() == 30 then notice_all(“”.. pc.get_name() ..” a facut level 30!”) notice_all(“Quest nume.”) elseif pc.get_level() == 40 then notice_all(“”.. pc.get_name() ..”a facut level 40!”) notice_all(“Quest nume.”) elseif pc.get_level() == 50 then notice_all(“”.. pc.get_name() ..” a facut level 50!”) notice_all(“Quest nume.”) elseif pc.get_level() == 60 then notice_all(“”.. pc.get_name() ..” a facut level 60!”) notice_all(“Quest nume.”) elseif pc.get_level() == 70 then notice_all(“”.. pc.get_name() ..” a facut level 70!”) notice_all(“Quest nume.”) elseif pc.get_level() == 80 then notice_all(“”.. pc.get_name() ..” a facut level 80!”) notice_all(“Quest nume.”) elseif pc.get_level() == 90 then notice_all(“”.. pc.get_name() ..” a facut level 90!”) notice_all(“Quest nume.”) notice_all(“Quest nume.”) end end end endInstalare:
1. Creezi un fişier text cu numele nume_quest.quest.
2. Vă conectaţi la filezilla / winscp şi întrati în /usr/home/game/share/locale/germany/quest (depinde ce server aveţi).
3. Îl puneţi acolo (să fie .quest) şi da-ţi permisiuni 777.
4. Te loghezi în FreeBSD / putty şi scrii în felul următor: cd /usr/home/game/share/locale/germany/quest apoi ./qc nume_quest.quest
5. Intraţi pe server şi scrieţi /reload q .
-
#723Reply in Gaming
Query MOB:
INSERT INTO `mob_proto` VALUES ('30123', 'Sanctuarul Intunecat', 0x53616E6374756172756C20496E74756E65636174, '5', '1', '0', '70', '', 'NOMOVE', '0', 'ANIMAL', '', '0', 'stray_dog', '0', '3', '6', '5', '2', '20', '24', '126', '6', '7', '288000', '432000', '1200', '4', '100', '100', '0', '2000', '175', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '1', '0', '0', '0', '70104', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0');Quest-ul :
quest Tempel_of_dragon begin state start begin when 30121.chat."Templul Dragonului" with pc.get_map_index() == 73 begin if get_time() > game.get_event_flag("Grotte_time") then game.set_event_flag("Grotte_zugang",0) end if pc.is_gm() then say_title(""..mob_name(30121).."") say("") say("Salut, "..pc.get_name().."") say("Ce faci sefule ? vrei sa intri ?") say("Okay, n-ai nevoie de cheie sau parola.") wait() pc.warp(843200, 1066900) return end if pc.count_item("80041") >= 1 then say_title(""..mob_name(30121).."") say("") say("Tu n-ai nevoie de item, poti intra.") wait() return end if game.get_event_flag("Grotte_zugang") == 0 and pc.count_item(30179) < 3 then say_title(""..mob_name(30121).."") say("") say("Tu n-ai "..item_name(30179).."") say_item_vnum(30179) say("Ai nevoie de 3 obiecte.") return end if game.get_event_flag("Grotte_zugang") == 1 then say_title(""..mob_name(30121).."") say("") pc.setqf("grotte_passworto", 078954687921) if pc.getqf("abgabe") == 1 then pc.setqf("abgabe",0) say("Tu ai trimis deja 3 chei.") say("Te voi lasa sa intri.") pc.setqf("erlaubt",1) wait() pc.warp(843200, 1066900) return end say("Imi pare rau, Templul este deja rezervat.") say("Exista deja o cheie de acces setata,") say("daca o stii, scrie-o mai jos.") local passwort = tonumber(input("")) --pc.setqf("grotte_passworto", passwort) if game.get_event_flag("Grotte_passwort") == passwort then say_title(""..mob_name(30121).."") say("") say("Codul este acelas.") if pc.count_item(30179) < 3 then say("Tu n-ai acces ...iti lipsesc cheile") say("acestea "..item_name(30179).."") say_item_vnum(30179) say("Revin-o cand ai 3 chei.") return end pc.remove_item("30179",3) say("Puteti intra ....") pc.setqf("erlaubt",1) wait() pc.warp(843200, 1066900) elseif passi != pc.getqf("grotte_passworto") then say_title(""..mob_name(30121).."") say("") say("Parola introdusa nu este corecta.") return end end if game.get_event_flag("Grotte_zugang") == 0 and pc.count_item(30179) >= 3 then say_title(""..mob_name(30121).."") say("Detin în mine, ultima suflare a zului dragon.") say("Aceasta suflare magica te pot ajuta sa mergi în") say_reward("Camera de cristal.") local i = select("Vreau sa intru.", "Nu vreau sa intru.") if 1 == i then say_title(""..mob_name(30121).."") say("Seteaza cheia de acces.") local passwort = tonumber(input("")) if passwort and passwort <= 999999999 and pc.count_item(30179)>=1 then game.set_event_flag("Grotte_zugang",1) game.set_event_flag("Grotte_passwort",passwort) local times = get_time() + 300 --Wartezeit game.set_event_flag("Grotte_time", times) say_title(""..mob_name(30121).."") pc.setqf("abgabe",1) say("") say("Cheia de acces este:") chat("Cheia de acces pentru camera dragonului este: "..passwort.."") say_reward(""..passwort.."") say("Da-le colegilor tai cheia de la camera.") pc.remove_item("30179",3) else say_title(""..mob_name(30121).."") say("") say("Accest cod nu este corect, incearca din nou.") say("Cheia trebuie sa fie alcatuita din cifre.") end end end end when login with pc.get_map_index() == 196 and not pc.is_gm() begin if pc.count_item("80041") >= 1 then chat("Templul Dragonului: Tu esti gm, controlul va fi blocat.") return end if pc.get_level() < 75 or pc.getqf("erlaubt") == 0 and pc.get_map_index() == 196 then chat("Nu este permis sa intrati in aceasta harta prin efractie. "..pc.get_level().." "..pc.getqf("erlaubt").." "..pc.get_map_index().." ") warp_to_village() end chat("Bine ai venit, pentru a dovedi ca esti destul de bun incat sa omori Dragonul,") chat("Distruge piatra metin corecta.") local sekunden = game.get_event_flag("Grotte_time") - get_time() notice_in_map("Timp ramas: "..sekunden.." Sekunden") timer("skipia_boss_ende", sekunden) pc.set_warp_location(73 , 1825, 12207) end when 8023.kill with pc.get_map_index() == 196 begin timer("skipia_boss_goo", 2) notice_in_map("Ati distrus piatra metin corecta, veti urca la etajul urmator.") end when skipia_boss_goo.timer begin game.set_event_flag("Grotte_zugang",0) d.new_jump_all(196, 8436, 10669) d.setf("grotte_boss", 1) d.spawn_mob(9012, 239, 173) end when 8031.kill or 8032.kill or 8033.kill or 8034.kill with pc.in_dungeon() and d.getf("grotte_boss") == 2 begin local n =d.getf("count") + 1 d.setf("count", n) --notice_all("Metin killed "..n.."") if n > 2 then local t = number(1,4) --notice_all("Spawn Metin") if 1 == t then d.regen_file("data/dungeon/skia_boss1.txt") elseif 2 == t then d.regen_file("data/dungeon/skia_boss2.txt") elseif 3 == t then d.regen_file("data/dungeon/skia_boss3.txt") else d.regen_file("data/dungeon/skia_boss4.txt") end end end when 2493.kill with pc.in_dungeon() and d.getf("grotte_boss") == 2 begin d.setf("grotte_boss", 3) notice_all("Grupul lui "..pc.get_name().." a reusit sa-l ucida pe Dragonul Albastru.") d.notice("Impresionant, ati reusit sa invingeti Dragonul.") -- Als Abschluss könnt ihr noch die Metins zerstören") d.notice("Aveti timp 60 de secunde sa strangeti tot.") timer("skipia_boss_end", 60) d.kill_all() d.spawn_mob(9012, 239, 173) d.clear_regen() end when login with pc.in_dungeon() and d.getf("grotte_boss") == 2 begin pc.set_warp_location(73 , 1825, 12207) end when login with pc.in_dungeon() and d.getf("grotte_boss") == 1 begin timer("skipia_boss_end", 3600) d.set_regen_file("data/dungeon/skia_boss.txt") local t = number(1,4) if 1 == t then d.regen_file("data/dungeon/skia_boss1.txt") elseif 2 == t then d.regen_file("data/dungeon/skia_boss2.txt") elseif 3 == t then d.regen_file("data/dungeon/skia_boss3.txt") else d.regen_file("data/dungeon/skia_boss4.txt") end local o = number(1,4) if 1 == o then d.regen_file("data/dungeon/skia_boss1.txt") elseif 2 == o then d.regen_file("data/dungeon/skia_boss2.txt") elseif 3 == o then d.regen_file("data/dungeon/skia_boss3.txt") else d.regen_file("data/dungeon/skia_boss4.txt") end d.setf("grotte_boss", 2) d.notice("Bine ati venit in Templul Dragonului, aveti maxim o ora la dispozitie sa-l invingeti pe dragon.") d.setf("count", 0) pc.set_warp_location(73 , 1825, 12207) end when login with pc.in_dungeon() and d.getf("grotte_boss") == 3 begin -- begin --pc.warp(181700, 1220600) end when skipia_boss_end.timer begin d.exit_all() end when skipia_boss_ende.timer begin kill_all_in_map(196) game.set_event_flag("Grotte_zugang",0) d.setf("grotte_boss", 1) d.exit_all() end when login with pc.get_map_index() != 196 or not pc.in_dungeon() begin pc.setqf("erlaubt",0) end end endTutorial instalare quest:
1. Salvaţi conţinutul quest-ului într-un fişier text numit de exemplu nume_quest.quest .
2. Vă conectaţi la filezilla / winscp şi întrati în /usr/home/game/share/locale/germany/quest (depinde ce server aveţi).
3. Îl puneţi acolo (să fie .quest) şi da-ţi permisiuni 777.
4. Te loghezi în FreeBSD / putty şi scrii în felul următor: cd /usr/home/game/share/locale/germany/quest apoi ./qc nume_quest.quest
5. Intraţi pe server şi scrieţi /reload q .
-
#724Reply in Technical Support
Dacă te auzi nașpa este de la microfon. Îți las mai jos 3 comenzi rcon .
amx_rcon sv_voiceenable 1 - Permite playerilor sa foloseasca microfonul.
amx_rcon sv_alltalt 1 -> Te pot auzi si cei din echipa contrara.
amx_rcon sv_voicequality 5 -> Calitate mai buna
Dacă nici așa nu îți merge,schimbă microfonul și cs-ul.
-
#725Reply in Technical Support
T/C
-
#726Reply in Introduce Yourself
Servus și ședere plăcută.
-
#727Reply in Introduce Yourself
Noroc.
-
#728Reply in Creations Archive
Textul este foarte frumos dar blur-ul nu prea se observă,în rest 10+.
KW.
-
#729Reply in Forum games
Ce să fac cu el,îl apreciez deoarece omul respectiv a plătit la rândul său pentru el.
-
#730Reply in Technical Support
Contactează un Fondator/C.E.O Manager pentru DNS în caz dacă nu ai făcut asta. Topicul rămâne deschis până la următorul post al membrului D.@dY
-
#731Reply in Rank Requests
Deoarece nu ai vreo reclamaţie făcută/primită la adresa ta/altui membru staff,îţi voi acorda un :pro: . Dar un sfat ar fi să îţi măreşti activitatea,puţin mai mult ca în momentul de faţă.
-
#732Reply in Gaming
pc.give_item2(30157, 10)quest moscraciun begin state moscraciun begin when 20031.chat."Sosete" begin say_title("Mos Craciun") if pc.count_item(50010) <= 4 then say("Salut ".. pc.get_name()) say("Am o mica problema ... nu stiu cum sa iti spun") say("dar din greseala mi-am pierdut toate sosetele!") say("De fapt vroiam sa le umplu cu cadouri si sa") say("le dau copiilor ... dar acum ...") wait() say("Daca gasesti sosetele te rog sa mi le aduci.") say("Vei primi si o recompensa pentru ele!") say("") say_reward("Iti voi da o recompensa in schimbul a 5 sosete!") else say("Ach mi-ai gasit sosetele?") say("Ce frumos!Mi le poti da?") say("Vei primi o recompensa") say("in schimb!") local s3 = select("Poftim sosetele", "Nu iti dau nimic") if s3 == 1 then say_title("Mos craciun:") say("Iti multumesc mult!") say("Stai sa caut in sac") say("sa vad ce am pentru") say("tine ...") wait() local beutel = number(1, 5) if beutel == 1 then say("Ce frumos!Ai primit SCRI CE VREI TU ") pc.give_item2(30157, 10) elseif beutel == 2 then say("Ce frumos!Ai primit SCRI CE VREI TU") pc.give_item2(40004, 1) elseif beutel == 3 then say("Ce frumos!Ai primit SCRI CE VREI TU") pc.give_item2(13269, 1) elseif beutel == 4 then say("Ce frumos!Ai primit SCRI CE VREI TU") say("Succes") pc.give_item2(419, 1) else say("Ce frumos!Ai primit SCRI CE VREI TU") say("Succes") pc.give_item2(40003, 1) end end end end end endquest moscraciun begin state moscraciun begin when 20031.chat."Sosete" begin say_title("Mos Craciun") if pc.count_item(50010) <= 4 then say("Salut ".. pc.get_name()) say("Am o mica problema ... nu stiu cum sa iti spun") say("dar din greseala mi-am pierdut toate sosetele!") say("De fapt vroiam sa le umplu cu cadouri si sa") say("le dau copiilor ... dar acum ...") wait() say("Daca gasesti sosetele te rog sa mi le aduci.") say("Vei primi si o recompensa pentru ele!") say("") say_reward("Iti voi da o recompensa in schimbul a 5 sosete!") else say("Ach mi-ai gasit sosetele?") say("Ce frumos!Mi le poti da?") say("Vei primi o recompensa") say("in schimb!") local s3 = select("Poftim sosetele", "Nu iti dau nimic") if s3 == 1 then say_title("Mos craciun:") say("Iti multumesc mult!") say("Stai sa caut in sac") say("sa vad ce am pentru") say("tine ...") wait() local beutel = number(1, 5) if beutel == 1 then say("Ce frumos!Ai primit SCRI CE VREI TU ") pc.give_item2(30157, 10) elseif beutel == 2 then say("Ce frumos!Ai primit SCRI CE VREI TU") pc.give_item2(40004, 1) elseif beutel == 3 then say("Ce frumos!Ai primit SCRI CE VREI TU") pc.give_item2(13269, 1) elseif beutel == 4 then say("Ce frumos!Ai primit SCRI CE VREI TU") say("Succes") pc.give_item2(419, 1) else say("Ce frumos!Ai primit SCRI CE VREI TU") say("Succes") pc.give_item2(40003, 1) end end end end end endTutorial instalare quest:
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
-
#733Reply in Gaming
quest onlinegm begin state start begin when login with pc.is_gm() begin command("n ".. pc.get_name() .." Este online") command("n Pentru intrebarile dvs. PM . thenewworld.mt2.ro ") end end endquest onlinegm begin state start begin when login with pc.is_gm() begin command("n ".. pc.get_name() .." Este online") command("n Pentru intrebarile dvs. PM . thenewworld.mt2.ro ") end end endTutorial instalare quest:
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
-
#734Reply in Gaming
quest item_premiu begin state start begin when 40003.use begin say_title("Item ca premiu!") say("") say_reward("Salut "..pc.get_name().."") say("Aici poti alege dintr-o lista,") say("de premii, unul care sa te ajute") say("pe parcursul evolutiei tale pe server!") say("") wait() say_title("Lista iteme pagina '1':") say("") say_reward("Leu Alb (20 mobi, 3k PV)") say_reward("Costum Inger Universal (2k PV, 20 Mobi, 15hh)") say_reward("Pet Panda (STR 20, mobi 20, 2k PV)") say_reward("Pet Ursulet (INT 20, mobi 20, 2k PV)") say_reward("Pet Leu (DEX 20, mobi 20, 2k PV)") say_reward("Licoare 100% exp") say_reward("Pet Dur (4k PV, 40 Mobi, 15 hh, )") say_reward("Perla alba") say_reward("Perla albastra") say_reward("Colier Campion (15 hh,10 PGM, 10 PC)") say_title("***********************************************") say_reward("Pagina urmatoare ->") say_title("***********************************************") wait() say_title("Lista iteme pagina '2':") say("") say_reward("TEST") --adauga item aici say_reward("TEST") --adauga item aici say_reward("TEST") --adauga item aici say_reward("TEST") --adauga item aici say_reward("TEST") --adauga item aici say_reward("TEST") --adauga item aici say_reward("TEST") --adauga item aici say_reward("TEST") --adauga item aici say_reward("TEST") --adauga item aici say_reward("TEST") --adauga item aici say_title("Doresti sa alegi un item?") local optiune = select ("Da", "Nu acum.") if optiune == 1 then say_title("Alege item!") local alege = select("Leu alb","Costum Inger Universal","Pet Panda","Pet Ursulet","Pet Leu" ,"Licoare exp","Pet Dur","Colier Campion","Perla alba","Perla albastra","Iesire") local premiu = { {71124,1}, {9970,1}, {53009,1}, {53008,1}, {53010,1}, {71153,1}, {53003,1}, {71145,1}, {27992,1}, {27993,1}, --poti adauga oricate iteme vrei dupa modelul acela } pc.give_item2(premiu[alege][1],premiu[alege][2]) pc.remove_item("40003") say("") say("") say_reward("Ai primit: ") say("") say("") say_item_vnum(premiu[alege][1]) end end end endTutorial instalare quest:
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
-
#735Reply in Chat & Socialize
Vorba aia,dacă dai într-o fată/femeie nu te poţi numi bărbat/băiat denotă faptu' că nu ai doxă.
-
#736Reply in Forum games
-
#737Reply in Gaming
automex begin quests were start begin When letter with PC. is_gm () begin send_letter ( "GM Panel") end When info button or begin a = select ( "AutoMessaggio Enable", "Disable AutoMessaggio", "Set Time In The News", "Close") if a == 1 then if game. get_event_flag ( "auto")> = 1 then say ( "E 'already active") else say ( "AutoMessaggio Activated") game. set_event_flag ( "auto" 1) server_timer ( "mex", t) end elseif a == 2 then say ( "AutoMessaggio Off") game. set_event_flag ( "auto", 0) clear_server_timer ( "mex") clear_server_timer ( "mex1") elseif a == 3 then say ( "enter time") m = ToNumber (input ()) if m == nil then say ( "You must enter a number") elseif m <1 then say ( "You must enter a positive number") else h = select ( "Seconds", "Minutes", "hours") if h == 1 then t = m elseif h == 2 then t = ToNumber (m * 60) elseif h == 3 then t = ToNumber (m * 60 * 60) end end end end When mex.server_timer begin if game. get_event_flag ( "auto") == 1 then notice_all ( "Download Patch and info") <- Change the text here if b! = "" then notice_all ( "AVAILABLE on the site and in") <- Change the text here end if c! = "" then notice_all ( "ChannelByBlasphemy" channel) <- Change the text here end server_timer ( "mex1", t) else end end When mex1.server_timer begin if game. get_event_flag ( "auto") == 1 then notice_all ( "Download Patch and info") <- Change the text here if b! = "" then notice_all ( "AVAILABLE on the site and in") <- Change the text here end if c! = "" then notice_all ( "ChannelByBlasphemy" channel) <- Change the text here end server_timer ( "mex", t) else end end end end -
#738Reply in Gaming
quest grad_modul_liber begin state start begin when kill with npc.is_pc() begin if pc.get_alignment() < 500 then syschat("Ai primit grad maxim.Renunta totusi la modul 'Liber'.") pc.change_alignment(120000) end end end endTutorial instalare quest:
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
-
#739Reply in Gaming
quest mentenanta begin state start begin when login with game.get_event_flag("mentenanta") == 1 begin timer("mentenanta", 1) end when login with game.get_event_flag("mentenanta") == 0 begin timer("mentenanta_check", 10) end when mentenanta_check.timer begin if game.get_event_flag("mentenanta") == 1 then command("quit") else return end end when mentenanta.timer begin say_gold("Este mentenanta,[ENTER]trebuie sa introduci parola,[ENTER]altfel nu poti intra pe server:") local pw = input ( ) if pw == "parola_mentenanta" then say_green("Codul este bun!") say_green("Poti intra!") else say_red("Parola este incorecta!") say_red("Te voi da afara!") say_white("[DELAY value; 1000]. . . . .[/DELAY]") command("quit") end end when 20095.chat."GM: Mentenanta" with pc.is_gm() begin say_title("Mentenanta") say_gold("Introdu parola pentru a putea [ENTER]activa sau dezactiva [ENTER]mentenanta") local pass_m = input() if pass_m == "parola_meniu" then say_gold("Optiuni mentenanta") if game.get_event_flag("mentenanta") == 0 then local meniu_m1 = select ("Porneste mentenanta", "Iesire") if meniu_m1 == 2 then return elseif meniu_m1 == 1 then game.set_event_flag("mentenanta", 1) notice_all("[MENTENANTA] Serverul a intrat in mentenanta revenim curand!") timer("mentenanta_check", 5) end elseif game.get_event_flag("mentenanta") == 1 then local meniu_m2 = select ("Opreste mentenanta", "Iesire") if meniu_m2 == 2 then return elseif meniu_m2 == 1 then game.set_event_flag("mentenanta", 0) notice_all("[MENTENANTA A FOST OPRITA]") end end else say_title("Mentenanta") say_red("Parola este incorecta") end end --when end endTutorial instalare quest:
1. Salvaţi conţinutul quest-ului într-un fişier text numit mentenanta.lua
2. Vă conectaţi la filezilla / winscp şi întrati în /usr/home/game/share/locale/romania/quest (depinde ce server aveţi).
3. Îl puneţi acolo (să fie .lua) şi da-ţi permisiuni 777.
4. Te loghezi în FreeBSD / putty şi scrii în felul următor: cd /usr/home/game/share/locale/romania/quest apoi
./qc mentenanta.lua
5. Intraţi pe server şi scrieţi /reload q .
-
#740Reply in Gaming
quest activare_rate begin state start begin when letter with pc.is_gm() begin send_letter("Activeazã Ratele") end when info or button with pc.is_gm() begin command("priv_empire 0 1 1000 1000") command("priv_empire 0 2 1000 1000") command("priv_empire 0 3 1000 1000") command("priv_empire 0 4 1000 1000") send_letter("Activeazã Ratele") end end endTutorial instalare quest:
1. Salvaţi conţinutul quest-ului într-un fişier text numit de exemplu nume_quest.quest .
2. Vă conectaţi la filezilla / winscp şi întrati în /usr/home/game/share/locale/germany/quest (depinde ce server aveţi).
3. Îl puneţi acolo (să fie .quest) şi da-ţi permisiuni 777.
4. Te loghezi în FreeBSD / putty şi scrii în felul următor: cd /usr/home/game/share/locale/germany/quest apoi ./qc nume_quest.quest
5. Intraţi pe server şi scrieţi /reload q.
