Changeset 84 for binary-improvements/7dtd-server-fixes
- Timestamp:
- Jul 19, 2014, 12:47:32 PM (10 years ago)
- 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 31 31 <Reference Include="System" /> 32 32 <Reference Include="Assembly-CSharp"> 33 <HintPath>..\ NamePatcher\bin\Release\Assembly-CSharp.dll</HintPath>33 <HintPath>..\assembly-patcher\bin\Release\Assembly-CSharp.dll</HintPath> 34 34 </Reference> 35 35 <Reference Include="UnityEngine"> … … 46 46 <Compile Include="src\TelnetCommands\SayToPlayer.cs" /> 47 47 <Compile Include="src\AllocsLogFunctions.cs" /> 48 <Compile Include="src\TelnetCommands\SetTimeReal.cs" /> 49 <Compile Include="src\AdminToolsStuff.cs" /> 48 50 </ItemGroup> 49 51 <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> -
binary-improvements/7dtd-server-fixes/src/AllocsNetTelnetServer.cs
r83 r84 137 137 console.AddCommand(new ListPlayersExtended(console)); 138 138 console.AddCommand(new SayToPlayer(console)); 139 console.AddCommand(new SetTimeReal(console)); 139 140 } 140 141 -
binary-improvements/7dtd-server-fixes/src/TelnetCommands/GetTime.cs
r77 r84 26 26 hour -= 24; 27 27 } 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)); 30 30 } 31 31 }
Note:
See TracChangeset
for help on using the changeset viewer.