Jump to content

iLLNESS

Members
  • Posts

    4
  • Joined

Everything posted by iLLNESS

  1. UPDATE 2: I'm an idiot. I had the script in the library folder and not the base game folder. Works now Are hooks still working? I have tried a few examples in this thread, and resorted to the example from the wiki. Inside /usr/local/lib/7dtd/hooks/playerConnect after chmod +x: #!/bin/bash . /usr/local/lib/7dtd/common.sh telnetCommand $1 "sayplayer $4 \"Hello $3.\"" It does not do anything on player connect. Running the script manually results in: failed to load external entity "/home/sdtd/instances/sayplayer/config.xml" failed to load external entity "/home/sdtd/instances/sayplayer/config.xml" failed to load external entity "/home/sdtd/instances/sayplayer/config.xml" Telnet not enabled. Telnet is enabled in the instance configuration, but is passworded. UPDATE: seems as though the hook is not pulling the instance name like it should. telnetCommand $1 just sets the instance name as the first word in the " ". I assume this should not be the case?
  2. Nice! Just what I'm looking for. is your reboot script for the computer? or is it to fire up your instances?
  3. Alloc, Great work man I'm really loving the scripts after a week or so of use. It's made running a server very streamlined! I had checked around for a way to auto reboot the server and most implementations are windows based client programs. I notice there is a ticket you previously created for this kind of feature https://7dtd.illy.bz/ticket/15 I was wondering if this is still being planned on implementation? Ideally it would be nice if it: - Run script at specified time/interval (interval could be bash) - Check if users online - If users online, say countdown to server restart while monitoring if users connected. - If no users online or prior to that final time there are no users, initiate restart.
  4. Hey there! First time posting! Got a server setup on ubuntu and the server fixes/improvements, everything seems to be running fine except for the logs under the webserver. No log shows up when I click on it, and it continues to throw errors until I go back to the map. 2016-01-01T19:30:13 22933.850 ERR Error in ApiHandler.HandleRequest(): Handler getlog threw an exception: 2016-01-01T19:30:13 22933.850 EXC index and count exceed length of list ArgumentException: index and count exceed length of list at System.Collections.Generic.List`1[AllocsFixes.NetConnections.Servers.Web.LogBuffer+LogEntry].CheckRange (Int32 idx, Int32 count) [0x00000] in <filename unknown>:0 at System.Collections.Generic.List`1[AllocsFixes.NetConnections.Servers.Web.LogBuffer+LogEntry].GetRange (Int32 index, Int32 count) [0x00000] in <filename unknown>:0 at AllocsFixes.NetConnections.Servers.Web.LogBuffer.GetRange (System.Int32& _start, Int32 _count, System.Int32& _end) [0x00000] in <filename unknown>:0 at AllocsFixes.NetConnections.Servers.Web.API.GetLog.HandleRequest (System.Net.HttpListenerRequest req, System.Net.HttpListenerResponse resp, AllocsFixes.NetConnections.S$ at AllocsFixes.NetConnections.Servers.Web.Handlers.ApiHandler.HandleRequest (System.Net.HttpListenerRequest req, System.Net.HttpListenerResponse resp, AllocsFixes.NetConn$ UnityEngine.Debug:Internal_LogException(Exception, Object) UnityEngine.Debug:LogException(Exception) Logger:masterLogException(Exception) Logger:Exception(Exception) Log:Exception(Exception) AllocsFixes.NetConnections.Servers.Web.Handlers.ApiHandler:HandleRequest(HttpListenerRequest, HttpListenerResponse, WebConnection, Int32) AllocsFixes.NetConnections.Servers.Web.Web:HandleRequest(IAsyncResult) System.Net.ListenerAsyncResult:InvokeCallback(Object) (Filename: Line: -1) I've tried reinstalling the mods and checking file permissions for the output log but I don't see any obvious signs. What could be causing this issue?
×
×
  • Create New...