-
Posts
378 -
Joined
-
Last visited
-
Days Won
8 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Everything posted by MrLibya
-
yes my u stole it , i dont care anyway yeah i know , thx
-
M2 Download Center Download Here ( Internal ) hallo all i want public my auto even quest , it's very simple to understand i made it from some long time 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 14:00", "hair", "event", "hairup", 1, " 4 hours ", "Sat 18:00", 0}, {"Sun 14:00", "6 Shabe Box", "event", "2006_drop", 1, " 4 hours ", "Sun 18:00", 0}, {"Mon 13:00", "Gold ball", "event", "gold_bool", 1, " 4 hours ", "Mon 18:00", 0}, {"Tue 14:00", "dressup box", "event", "dressup", 1, " 4 hours ", "Tue 18:00", 0}, {"Wed 14:00", "fotball box", "event", "football_drop", 1, " 4 hours ", "Wed 18:00", 0}, {"Thu 14:00", "moon box", "event", "drop_moon", 1, " 4 hours ", "Thu 18:00", 0}, {"Fri 14:00", "mount", "event", "Mount_Ring_Event", 1, " 4 hours ", "Fri 18: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
- 13 replies
-
- 86
-
#up
-
Function when (date/time) begin?
MrLibya replied to Necro's topic in Community Support - Questions & Answers
yes , but use loob server timer beeter and when test.server_timer begin u make the even info and time and use os.data -
try this function is_weekend() local weekend = os.date("%w") local day = os.date("%%A") if day == weekend return true else return false end end
-
Function when (date/time) begin?
MrLibya replied to Necro's topic in Community Support - Questions & Answers
when test.server_timer begin not ned to login -
Function when (date/time) begin?
MrLibya replied to Necro's topic in Community Support - Questions & Answers
server timer -
Function when (date/time) begin?
MrLibya replied to Necro's topic in Community Support - Questions & Answers
why u dont use lua ? os.date -
intrologin.py - official client
MrLibya replied to Montjet's topic in Community Support - Questions & Answers
it's cython -
hallo all from some time i get this bug [Hidden Content] not allways it's sometime come ( duel or by mob ) syserr client : 0729 02:28:54444 :: ELTimer_GetMSec() - m_dwEmoticonTime 0729 02:28:55635 :: CInstanceBase::PushTCPState You can't send move packets to yourself! 0729 02:31:52134 :: CInstanceBase::PushTCPState You can't send move packets to yourself! 0729 02:32:00263 :: ELTimer_GetMSec() - m_dwEmoticonTime 0729 02:32:31435 :: ELTimer_GetMSec() - m_dwEmoticonTime [/code]
-
maybe becous it's long name
-
[HowTo]Disable Syserr client
MrLibya replied to FlorinMarian's topic in Community Support - Questions & Answers
1- cooment all TraceError in binary source 2- idk -
i even didn't understand which bug u try to fix ? u made the 80 slot and now want it 40 slot ? if this what u want to do then do like night said get back the original files ( source/python)
-
How to change CheckClientVersion type ?
MrLibya replied to FlorinMarian's topic in Community Support - Questions & Answers
i think u dont need it -
tell me what u want to do !
-
if u want to use int then use unsigned int
-
i really like it m icant wait to see it but it's bed old pets will not include the update
-
hallo what is the wrong local data01 = { 19, 29, 39, 49, 59, } for i = 1,data01[1],1 do if item.vnum == data01[1+1*(i-1)] then mount_levelup.upgrade_mount(50067,2) else say(gameforge.training_mount._63_say) end end
-
Ingame Channel Switcher System
MrLibya replied to Micha aka xCPx's topic in Features & Metin2 Systems
Really? I can't find anything ugly about this. Actually the c++ part is very nice. I didn't check on python. And why are you wishing him good luck at his own release? ._. Sometimes I don't understand people...^^ Anyway, the idea behind that is great and I like the c++ part a lot. Oh, and a german sentence slipped through i dont know how to tell u why he is ugly also iam arabic from libya not germany -
Ingame Channel Switcher System
MrLibya replied to Micha aka xCPx's topic in Features & Metin2 Systems
thx for the system i didnt test it or add it also iam not c++ progream but your code it seem to be ugly good luck -
the problem is , this not really good for metin2 becous there too many items drops by mobs - stone ... so every time when u want pick up the item it will take time , so this is very borring
-
Error shop`s client
MrLibya replied to Avalonking's topic in Community Support - Questions & Answers
item_proto -> size -
Nice