*Problemă/Întrebare:Intrebare
Tipologie server:pvm
*Resursă folosită:-
*ServerFiles utilizat:=
*Syserr:-
Poză:-
*Detalii suplimentare: Caut si eu un quest auto-event pentru clar de luna, am gasit doar asta
quest auto_events begin
state start begin
when 20086.chat."auto event" with pc.is_gm() begin
say_title(" Hallo "..pc.get_name())
say(" state now "..game.get_event_flag("autoevent").." ")
say(" ")
local s = select(" active "," disable "," close ")
if s == 1 then
setskin(NOWINDOW)
server_loop_timer("auto_event_timer", 1)
game.set_event_flag("autoevent", 1)
elseif s == 2 then
setskin(NOWINDOW)
clear_server_timer("auto_event_timer")
game.set_event_flag("autoevent", 0)
end
end
when auto_event_timer.server_timer begin
local events_info = {
{"Sat 19:00", "hair", "event", "hairup", 1, " 1 hours ", "Sat 20:00", 0},
{"Sun 19:00", "6 Shabe Box", "event", "2006_drop", 1, " 1 hours ", "Sun 20:00", 0},
{"Mon 19:00", "Gold ball", "event", "gold_bool", 1, " 1 hours ", "Mon 20:00", 0},
{"Tue 19:00", "dressup box", "event", "dressup", 1, " 1 hours ", "Tue 20:00", 0},
{"Wed 19:00", "fotball box", "event", "football_drop", 1, " 1 hours ", "Wed 20:00", 0},
{"Thu 19:00", "moon box", "event", "drop_moon", 1, " 1 hours ", "Thu 20:00", 0},
{"Fri 19:00", "mount", "event", "Mount_Ring_Event", 1, " 1 hours ", "Fri 20:00", 0},
}
local day_time = os.date("%a %H:%M")
for i,v in ipairs(events_info) do
if v[1] == day_time then
if game.get_event_flag(v[4]) != v[5] then
notice_all("notice: event "..v[2].." actived for "..v[6].." started from now! ")
game.set_event_flag(v[4], v[5])
end
elseif v[7] == day_time then
if game.get_event_flag(v[4]) != v[8] then
notice_all(" notice: event "..v[2].." finish, see u with other events !! ")
game.set_event_flag(v[4], v[8])
end
end
end
end
end
end
Insa nu mi dau seama cum il pot modifica doar pentru clar de luna.
Auto event Clar de luna
- k1d0r
-

- Mesaje: 55
- Membru din: 12 Mar 2019, 22:42
- Regat: Chunjo
- Aprecieri: 9
- Mulţumiri: 7
- Discord: Copiază ID
- Contact:
Pai si eventul pe care l-ai gasit ce problema are? poate te putem ajuta.
nu stiu cum trebuie completat/modificat ca sa fie doar pentru clar de luna
cineva?
-
- Informaţie
-
Cine este conectat
Utilizatori ce ce navighează pe acest forum: cosminusi93ksm, Google [Bot] și 66 vizitatori




