Custom Query (126 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (28 - 30 of 126)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Ticket Resolution Summary Owner Reporter
#122 fixed GetLog function of WebAPI results in ArgumentException Alloc theit8514
Description I'm unable to view the logs on the web frontend due to an exception in GetLog. The issue stems from LogBuffer.GetRange. After review of the code on svn, the GetLog handler is hard coded to 50 for _count but the MAX_ENTRIES on the LogBuffer is set to 30. Since LogBuffer.GetRange does not check upper bounds, GetLog can never retrieve the logs.

Options:
1. Update GetLog.HandleRequest to utilize LogBuffer.MAX_ENTRIES (make public)
2. Update LogBuffer.GetRange to check if we can pull _count items based on _start and listOffset, and reset _count to a sane value

{{{
2015-12-27T03:20:22 97520.419 ERR Error in ApiHandler.HandleRequest(): Handler getlog threw an exception:
2015-12-27T03:20:22 97520.420 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.Servers.Web.WebConnection user, Int32 permissionLevel)[0x00000] in <filename unknown>:0
at AllocsFixes.NetConnections.Servers.Web.Handlers.ApiHandler.HandleRequest (System.Net.HttpListenerRequest req, System.Net.HttpListenerResponse resp, AllocsFixes.NetConnections.Servers.Web.WebConnection user, Int32 permissionLevel) [0x00000] in <filename unknown>:0
}}}
#121 invalid WebServer doesn't start with Alpha 13 Alloc H3llGhost
Description I have noticed the WebServer isn't started any longer.

Log:
{{{
2015-12-24T23:53:14 41.637 INF WorldStaticData.Init() needed 25.393s
Platform assembly: /home/sdtd/engine/7DaysToDieServer_Data/Managed/System.Configuration.dll (this message is harmless)
2015-12-24T23:53:14 41.711 INF Started Telnet on 8081
2015-12-24T23:53:14 41.724 INF Error in StateManager.Awake: System.MissingMethodException: Method not found: 'NGuiInvGridCreativeMenu.GetAllItems'.
at AllocsFixes.StateManager.Awake () [0x00000] in <filename unknown>:0
2015-12-24T23:53:14 41.726 ERR GetInt: InvalidCastException FavoriteServersList
2015-12-24T23:53:14 41.726 INF Webserver not started (ControlPanelPort not within 1-65534)
2015-12-24T23:53:14 41.726 INF Awake done
2015-12-24T23:53:16 43.335 INF Atlas reset took 150 ms
2015-12-24T23:53:16 43.336 INF Atlas load took 1605 ms
2015-12-24T23:53:16 43.437 INF NET: Starting server protocols
2015-12-24T23:53:16 43.460 INF NET: Unity NW server started
...
GamePref.ConnectToServerIP = 127.0.0.1
GamePref.ConnectToServerPort = 26900
GamePref.ControlPanelEnabled = True
GamePref.ControlPanelPort = 8082
GamePref.CraftTimer = 1
}}}
#120 fixed API for showing only own data Alloc Alloc
Description YurFired:
... is it possible to set it up in such a way that players can only see themselves and their own claim blocks on the map?
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
Note: See TracQuery for help on using queries.