Jump to content

MrLibya

Premium
  • Posts

    378
  • Joined

  • Last visited

  • Days Won

    8
  • Feedback

    0%

Everything posted by MrLibya

  1. yes my u stole it , i dont care anyway yeah i know , thx
  2. 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
  3. yes , but use loob server timer beeter and when test.server_timer begin u make the even info and time and use os.data
  4. 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
  5. 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]
  6. 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)
  7. if u want to use int then use unsigned int
  8. it's very simple open input_login.cpp bool NewPlayerTable2(TPlayerTable * table, const char * name, BYTE race, BYTE shape, BYTE bEmpire) u will find this in the function : table->level = 1; change 1 to the level u want
  9. i really like it m icant wait to see it but it's bed old pets will not include the update
  10. 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
  11. ​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
  12. 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
  13. 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
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.