Aces quest este bun pentru a evita lagul 
Cod: Selectaţi tot
quest anti_afk begin
state start begin
function scrivi(var)
chat(locale.ROSSO_COLOR.. var)
end
when 50200.use begin
pc.setqf("lock", 0)
end
when login begin
if pc.getqf("sonouscito") == 1 then
anti_afk.scrivi("Ai fost deconectat pentru ca ai fost absent mai mult de 30 minute!")
pc.setqf("sonouscito", 0)
end
pc.setqf("adessox", pc.get_local_x())
pc.setqf("adessoy", pc.get_local_y())
timer("timee", 60*30)
end
when timee.timer with pc.get_map_index() ~= 1 and pc.get_map_index() ~= 3 and pc.get_map_index() ~= 21 and pc.get_map_index() ~= 41 and pc.get_map_index() ~= 43 and pc.get_map_index() ~= 78 and pc.get_map_index() ~= 78 and pc.get_map_index() ~= 113 and pc.get_map_index() ~= 193 begin
if pc.getqf("adessox") == pc.get_local_x() and pc.getqf("adessoy") == pc.get_local_y() and pc.getqf("lock") == 1 then
command("logout")
say("Utilizator absent de 30 de minute, deconectare automata.")
pc.setqf("sonouscito", 1)
say(delay(10000) .. " .")
return
else
pc.setqf("adessox", pc.get_local_x())
pc.setqf("adessoy", pc.get_local_y())
timer("timee", 60*30)
end
end
end"
SAUDacă un jucător este afk mai mult de 30 min este deconectat de pe srv automat
Cum îl instalaţi?
Atenţie!!!! când eşti şop nu te scoate1. Il uploadati in usr/.../share/locale/.../quest
2. Va logati in putty si scrieti comanda cd usr/.../share/locale/.../quest (in functie de ce server file folositi si unde este instalat)
3. ./qc anti_afk.quest
4. Reboot la server.
Instalare:
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 .
6. Testaţi quest-ul .




