Ignore:
Timestamp:
Aug 16, 2019, 7:58:34 PM (5 years ago)
Author:
alloc
Message:

A18 preps

Location:
binary-improvements/7dtd-server-fixes
Files:
1 added
3 edited

Legend:

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

    r345 r354  
    1010    <AssemblyName>7dtd-server-fixes</AssemblyName>
    1111    <RootNamespace>AllocsFixes</RootNamespace>
    12     <TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
     12    <TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
    1313  </PropertyGroup>
    1414  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
     
    7777  <ItemGroup>
    7878    <Compile Include="src\AssemblyInfo.cs" />
     79    <Compile Include="src\JSON\JsonManualBuilder.cs" />
    7980    <Compile Include="src\LiveData\Animals.cs" />
    8081    <Compile Include="src\LiveData\Hostiles.cs" />
  • binary-improvements/7dtd-server-fixes/src/API.cs

    r345 r354  
    8989                        if (_cInfo != null) {
    9090                                Log.Out ("Sent chat hook reply to {0}", _cInfo.playerId);
    91                                 _cInfo.SendPackage (new NetPackageChat (EChatType.Whisper, -1, ANSWER, "", false, null));
     91                                _cInfo.SendPackage (NetPackageManager.GetPackage<NetPackageChat> ().Setup (EChatType.Whisper, -1, ANSWER, "", false, null));
    9292                        } else {
    9393                                Log.Error ("ChatHookExample: Argument _cInfo null on message: {0}", _msg);
  • binary-improvements/7dtd-server-fixes/src/PersistentData/InvItem.cs

    r351 r354  
    1414                public int maxUseTimes;
    1515                [OptionalField]
    16                 public int useTimes;
     16                public float useTimes;
    1717
    18                 public InvItem (string _itemName, int _count, int _quality, int _maxUseTimes, int _maxUse) {
     18                public InvItem (string _itemName, int _count, int _quality, int _maxUseTimes, float _maxUse) {
    1919                        itemName = _itemName;
    2020                        count = _count;
Note: See TracChangeset for help on using the changeset viewer.