reply for second question: change time of opening mazes
find: your server files -> resource -> garner2 (for Chaos)
-> abandonedcity (for FC)
-> darkswamp (for DS)
-> puzzleworld (for DW)
find in choosed folder file ctrl.lua in this file find code (this guide for Chaos):
Code:
function init_entry(map)
SetMapEntryMapName(map, "darkblue")
SetMapEntryTime(map, "2009/02/13/15/0", "0/2/0", "0/0/30", "0/0/45")
end
"2009/02/13/15/0" - year/month/day/time (hour)/ time (min) - first open of maze, its counting point. in this code Chaos was opened at 15p.m. 13 february 2009
"0/2/0" - day/hour/minute - period of time between the opening, in this case portal opening every two hours from the counting point (15p.m. 13 feb 2009)
"0/0/30" - day/hour/minute - open time portal, portal will be open 30 minutes
"0/0/45" - day/hour/minute - open time map, 45 minutes close map
this scheme works in all mazes, but in Chaos's (garner2) ctrl.lua you must delete this fragment of code:
Code:
function can_open_entry_garner2( map )
-- local time = GetTickCount ( )
local Now_Time = GetNowTime()
if Now_Time ==14 or Now_Time == 20 then
return 1
else
return 0
end
end
otherwise Chaos will not work
try&enjoy!
P.S. sorry for bad english, russian user =)