Ignore:
Timestamp:
Apr 20, 2015, 7:21:24 PM (10 years ago)
Author:
alloc
Message:

Fixes

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

Legend:

Unmodified
Added
Removed
  • binary-improvements/7dtd-server-fixes/src/API.cs

    r230 r232  
    1414               
    1515                public override void SavePlayerData (int _clientId, PlayerDataFile _playerDataFile) {
     16                        PlayerDataStuff.GM_SavePlayerData (_clientId, _playerDataFile);
    1617                }
    1718
  • binary-improvements/7dtd-server-fixes/src/AssemblyInfo.cs

    r230 r232  
    1818// and "{Major}.{Minor}.{Build}.*" will update just the revision.
    1919
    20 [assembly: AssemblyVersion("0.113.*")]
     20[assembly: AssemblyVersion("0.11.3.0")]
    2121
    2222// The following attributes are used to specify the signing key for the assembly,
  • binary-improvements/7dtd-server-fixes/src/PersistentData/Inventory.cs

    r224 r232  
    3333                                                int count = sourceFields [i].count;
    3434                                                int maxAllowed = ItemBase.list [sourceFields [i].itemValue.type].Stacknumber.Value;
    35                                                 string name = getInvFieldName (sourceFields [i]);
     35                                                string name = ItemBase.list [sourceFields [i].itemValue.type].GetItemName ();
    3636
    3737                                                if (count > maxAllowed)
     
    4545                }
    4646
    47                 private string getInvFieldName (InventoryField item)
    48                 {
    49                         ItemBase iBase = ItemBase.list [item.itemValue.type];
    50                         return iBase.GetItemName ();
    51                 }
    52 
    5347
    5448        }
  • binary-improvements/7dtd-server-fixes/src/PlayerDataStuff.cs

    r230 r232  
    88        {
    99
    10                 public static void GM_SavePlayerData (GameManager manager, int _clientId, PlayerDataFile _playerDataFile)
     10                public static void GM_SavePlayerData (int _clientId, PlayerDataFile _playerDataFile)
    1111                {
    1212                        try {
  • binary-improvements/7dtd-server-fixes/src/StateManager.cs

    r230 r232  
    99                {
    1010                        try {
    11                                 Log.Out ("[7dtd-server-fixes by Alloc] Version: " + Assembly.GetExecutingAssembly ().GetName ().Version);
    12 
    1311                                ItemList.Instance.Init ();
    1412
Note: See TracChangeset for help on using the changeset viewer.