Ignore:
Timestamp:
Jul 19, 2014, 12:47:32 PM (6 years ago)
Author:
alloc
Message:

fixes

Location:
binary-improvements/7dtd-server-fixes
Files:
2 added
5 edited

Legend:

Unmodified
Added
Removed
  • binary-improvements/7dtd-server-fixes/7dtd-server-fixes.csproj

    r83 r84  
    3131    <Reference Include="System" />
    3232    <Reference Include="Assembly-CSharp">
    33       <HintPath>..\NamePatcher\bin\Release\Assembly-CSharp.dll</HintPath>
     33      <HintPath>..\assembly-patcher\bin\Release\Assembly-CSharp.dll</HintPath>
    3434    </Reference>
    3535    <Reference Include="UnityEngine">
     
    4646    <Compile Include="src\TelnetCommands\SayToPlayer.cs" />
    4747    <Compile Include="src\AllocsLogFunctions.cs" />
     48    <Compile Include="src\TelnetCommands\SetTimeReal.cs" />
     49    <Compile Include="src\AdminToolsStuff.cs" />
    4850  </ItemGroup>
    4951  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
  • binary-improvements/7dtd-server-fixes/src/AllocsNetTelnetServer.cs

    r83 r84  
    137137                console.AddCommand(new ListPlayersExtended(console));
    138138                console.AddCommand(new SayToPlayer(console));
     139                console.AddCommand(new SetTimeReal(console));
    139140        }
    140141
  • binary-improvements/7dtd-server-fixes/src/TelnetCommands/GetTime.cs

    r77 r84  
    2626                        hour -= 24;
    2727                }
    28                 int sec = (int)(time % 1000) * 60 / 1000;
    29                 m_Console.md000a (String.Format ("Day {0}, {1:00}:{2:00} ", day, hour, sec));
     28                int min = (int)(time % 1000) * 60 / 1000;
     29                m_Console.md000a (String.Format ("Day {0}, {1:00}:{2:00} ", day, hour, min));
    3030        }
    3131}
Note: See TracChangeset for help on using the changeset viewer.