-
Posts
378 -
Joined
-
Last visited
-
Days Won
8 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by MrLibya
-
-
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
- 36
- 1
- 1
- 1
- 1
- 8
- 1
- 1
- 36
-
-
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
-
But server_timer must be defined by login or something else
when test.server_timer begin
not ned to login
-
-
why u dont use lua ? os.date
-
-
hallo all
from some time i get this bug
https://www.youtube.com/watch?v=MguNZvEo6dg
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
-
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)
-
i think u dont need it
-
tell me what u want to do !
-
if u want to use int
then use unsigned int
-
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
- 2
-
it's from source
- 1
-
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
-
thx for the system i didnt test it or add it
also iam not c++ progream but your code it seem to be uglygood luck
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 know that it isn't the best c++ Code, but I really.love using maps ^^
Py part is 1:1 from wom:o
And yeah the German sentence comes through
sorry for that ^^
Mobile phone and yeah
i dont know how to tell u why he is ugly
also iam arabic from libya not germany
-
thx for the system i didnt test it or add it
also iam not c++ progream but your code it seem to be uglygood 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
-
item_proto -> size
-
Auto Event Quest
in Quests
Posted
yes my u stole it , i dont care anyway
yeah i know , thx