KURE556 Posted July 22, 2016 Share Posted July 22, 2016 Hi all. thx coming this Topic now, I made 1 mod. but,app say <<crached>> http://steamcommunity.com/sharedfiles/filedetails/?id=724361144 plz check & tell me bug point. -------------------------------------------------------- name = "Server AD" description = "for Servers.Custom yourself & use it!" author = "Owner KURE" version = "1.3" api_version = 10 all_clients_require_mod = false dst_compatible = true client_only_mod = false server_only_mod = true server_filter_tags = {"utility"} priority = 0 ------------------------- -- Configuration Settings ------------------------- configuration_options = { { name = "AD_ANNOUNCE_TIME", label = "Announce Period", options = { {description = "10sec", data = 10 }, {description = "20sec", data = 20 }, {description = "30sec", data = 30 }, {description = "60sec", data = 60 }, {description = "120sec", data = 120 }, {description = "180sec", data = 180 }, {description = "1/2days", data = 240 }, {description = "1day", data = 480 }, {description = "2days", data = 960 }, {description = "5days", data = 2400 }, }, default = 480, }, } ------------------------------------------------------------------------------------------------- --local function GetConfig(s,default) -- local c = GetModConfigData(s) -- if c==nil then -- c=default -- end -- if type(c)=="table" then -- c=c.option_data -- end -- return c --end local KURE_TIME = GetConfig(AD_ANNOUNCE_TIME) local KURE_TEXT1 = "Welcome to [JP] JAPAN ENDLESS SERVER." local KURE_TEXT2 = "Check Rules -> web site Google search -dstjapanserver-" local KURE_TEXT3 = "https://sites.google.com/site/dstjapanserver/" --if AD_ANNOUNCE_TIME > 0 then local function Ad_announce1() GLOBAL.TheNet:Announce( KURE_TEXT1 )end local function Ad_announce2() GLOBAL.TheNet:Announce( KURE_TEXT2 )end local function Ad_announce3() GLOBAL.TheNet:Announce( KURE_TEXT3 )end GLOBAL.scheduler:ExecuteInTime(KURE_TIME+0, Ad_announce1) GLOBAL.scheduler:ExecuteInTime(KURE_TIME+2, Ad_announce2) GLOBAL.scheduler:ExecuteInTime(KURE_TIME+4, Ad_announce3) --end Link to comment Share on other sites More sharing options...
Muche Posted July 22, 2016 Share Posted July 22, 2016 Please attach your log file that contains the crashlog. Client_log (if you're the client or are hosting a single-level world) can be found here: PC: Documents\Klei\DoNotStarveTogether\client_log.txt Mac: ~/Documents/Klei/DoNotStarveTogether/client_log.txt Linux: ~/.klei/DoNotStarveTogether/client_log.txt Server_log (if you're hosting a multi-level world): PC: Documents\Klei\DoNotStarveTogether\Cluster_{N}\Master\server_log.txt PC: Documents\Klei\DoNotStarveTogether\Cluster_{N}\Caves\server_log.txt where {N} is the number of the save slot. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now