Changeset 270 for binary-improvements


Ignore:
Timestamp:
Apr 28, 2016, 7:31:35 PM (9 years ago)
Author:
alloc
Message:

Fixed Web log

Location:
binary-improvements
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • binary-improvements/AllocsCommands/AllocsCommands.csproj

    r254 r270  
    5656    <Compile Include="Commands\BuffPlayer.cs" />
    5757    <Compile Include="Commands\DebuffPlayer.cs" />
     58    <Compile Include="Commands\RepairChunkDensity.cs" />
    5859  </ItemGroup>
    5960  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
  • binary-improvements/MapRendering/Web/LogBuffer.cs

    r253 r270  
    88{
    99        public class LogBuffer {
    10                 private const int MAX_ENTRIES = 30;
     10                private const int MAX_ENTRIES = 3000;
    1111                private static LogBuffer instance;
    1212
     
    108108                                }
    109109
     110                                int index = _start - listOffset;
     111
     112                                if (index + _count > logEntries.Count) {
     113                                        _count = logEntries.Count - index;
     114                                }
     115
    110116                                _end = _start + _count;
    111                                 return logEntries.GetRange (_start - listOffset, _count);
     117
     118                                return logEntries.GetRange (index, _count);
    112119                        }
    113120                }
  • binary-improvements/server-fixes.userprefs

    r267 r270  
    11<Properties>
    22  <MonoDevelop.Ide.Workspace ActiveConfiguration="Release_Version" />
    3   <MonoDevelop.Ide.Workbench ActiveDocument="MapRendering/API.cs">
     3  <MonoDevelop.Ide.Workbench ActiveDocument="MapRendering/Web/Handlers/ItemIconHandler.cs">
    44    <Files>
    55      <File FileName="7dtd-server-fixes/ModInfo.xml" Line="1" Column="1" />
    66      <File FileName="AllocsCommands/ModInfo.xml" Line="1" Column="1" />
    7       <File FileName="MapRendering/ModInfo.xml" Line="1" Column="1" />
    8       <File FileName="MapRendering/Web/Web.cs" Line="10" Column="10" />
     7      <File FileName="MapRendering/ModInfo.xml" Line="7" Column="7" />
     8      <File FileName="MapRendering/Web/Web.cs" Line="1" Column="1" />
    99      <File FileName="MapRendering/Web/API/ExecuteConsoleCommand.cs" Line="1" Column="1" />
    1010      <File FileName="MapRendering/Web/LogBuffer.cs" Line="1" Column="1" />
     
    1414      <File FileName="MapRendering/Commands/WebTokens.cs" Line="1" Column="1" />
    1515      <File FileName="AllocsCommands/Commands/TeleportPlayer.cs" Line="1" Column="1" />
    16       <File FileName="MapRendering/Web/Handlers/ItemIconHandler.cs" Line="20" Column="20" />
    17       <File FileName="MapRendering/API.cs" Line="1" Column="1" />
     16      <File FileName="MapRendering/Web/Handlers/ItemIconHandler.cs" Line="1" Column="1" />
     17      <File FileName="AllocsCommands/Commands/ListLandProtection.cs" Line="5" Column="5" />
     18      <File FileName="AllocsCommands/Commands/RemoveLandProtection.cs" Line="1" Column="1" />
    1819    </Files>
    1920  </MonoDevelop.Ide.Workbench>
  • binary-improvements/webserver/css/style.css

    r250 r270  
    339339.adminlog .logcol_type {
    340340        white-space: nowrap;
     341        text-align: center;
    341342}
    342343.adminlog .logcol_msg {
Note: See TracChangeset for help on using the changeset viewer.