Ignore:
Timestamp:
Jul 27, 2014, 11:30:15 AM (10 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

    r109 r113  
    5959    <Compile Include="src\TelnetCommands\Reply.cs" />
    6060    <Compile Include="src\TelnetCommands\Kill.cs" />
     61    <Compile Include="src\TelnetCommands\ListLandProtection.cs" />
     62    <Compile Include="src\TelnetCommands\RemoveLandProtection.cs" />
    6163  </ItemGroup>
    6264  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
  • binary-improvements/7dtd-server-fixes/src/CommandExtensions.cs

    r109 r113  
    1010                        manager.m_GUIConsole.AddCommand (new GetTime (manager.m_GUIConsole));
    1111                        manager.m_GUIConsole.AddCommand (new Kill (manager.m_GUIConsole));
     12                        manager.m_GUIConsole.AddCommand (new ListLandProtection (manager.m_GUIConsole));
    1213                        manager.m_GUIConsole.AddCommand (new ListPlayersExtended (manager.m_GUIConsole));
     14                        manager.m_GUIConsole.AddCommand (new RemoveLandProtection (manager.m_GUIConsole));
    1315                        manager.m_GUIConsole.AddCommand (new Reply (manager.m_GUIConsole));
    1416                        manager.m_GUIConsole.AddCommand (new SayToPlayer (manager.m_GUIConsole));
  • binary-improvements/7dtd-server-fixes/src/TelnetCommands/Kill.cs

    r112 r113  
    2020        public override void Run (string[] _params)
    2121        {
     22                m_Console.SendResult("Command \"kill\" is currently not implemented!");
     23                return;
     24                /*
    2225                try {
    2326                        if (_params.Length != 1) {
     
    3336                        }
    3437
    35                         CommonMappingFunctions.GetEntityPlayer(ci).Kill(null);
     38                        EntityPlayer p = CommonMappingFunctions.GetEntityPlayer(ci);
     39                        p.Stats.Health.Value = 1;
     40                        p.Stats.SendAll();
    3641                        m_Console.SendResult ("Killed player " + _params[0]);
    3742                } catch (Exception e) {
    3843                        Log.Out ("Error in Kill.Run: " + e);
    39                 }
     44                }*/
    4045        }
    4146}
Note: See TracChangeset for help on using the changeset viewer.