[Quest] - Mantie-Auto
Scris: 15 Iun 2020, 12:36
Monstrii vor fi non-stop pe mod agresiv.
Tutorial instalare quest:
Cod: Selectaţi tot
quest mantii_auto_metin2 begin
state start begin
--when login begin
-- if pc.getqf("mantie") == 1 then
-- pc.setqf("mantie", 0)
-- end
--end
when login begin
send_letter("A/D Mantii Automate")
end
when button or info begin
if pc.getqf("mantie") == 0 then
pc.setqf("mantie", 1)
syschat("Mantiile automate au fost activate!")
pc.aggregate_monster()
timer("mandi_1", 1)
return
end
if pc.getqf("mantie") == 1 then
pc.setqf("mantie", 0)
syschat("Mantiile automate au fost dezactivate!")
return
end
end
when mandi_1.timer with pc.getqf("mantie") == 1 begin
pc.aggregate_monster()
timer("mandi_2", 1)
pc.setqf("mantie", 1)
end
when mandi_2.timer with pc.getqf("mantie") == 1 begin
pc.aggregate_monster()
timer("mandi_1", 1)
pc.setqf("mantie", 1)
end
when login with pc.getqf("mantie") == 1 begin
syschat("|cFF3CB371|h[System Mantii Automate]:|h|r Activ. Monstrii vor fi non-stop pe mod agresiv.")
pc.aggregate_monster()
timer("mandi_1", 1)
pc.setqf("mantie", 1)
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.