Skip to content

Commit 6c29539

Browse files
committed
Aberration
1 parent 072d4dc commit 6c29539

File tree

4 files changed

+15
-5
lines changed

4 files changed

+15
-5
lines changed

ArkSavegameToolkitNet.Domain/ArkLocation.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ public class ArkLocation
1717
{ "TheIsland", Tuple.Create(50.0f, 8000.0f, 50.0f, 8000.0f) },
1818
{ "TheCenter", Tuple.Create(30.34223747253418f, 9584.0f, 55.10416793823242f, 9600.0f) },
1919
{ "ScorchedEarth_P", Tuple.Create(50.0f, 8000.0f, 50.0f, 8000.0f) },
20+
{ "Aberration_P", Tuple.Create(50.0f, 8000.0f, 50.0f, 8000.0f) },
2021
{ "Valhalla", Tuple.Create(48.813560485839844f, 14750.0f, 48.813560485839844f, 14750.0f) },
2122
{ "MortemTupiu", Tuple.Create(32.479148864746094f, 20000.0f, 40.59893798828125f, 16000.0f) },
2223
{ "ShigoIslands", Tuple.Create(50.0f, 8128.0f, 50.0f, 8128.0f) },
@@ -43,6 +44,7 @@ static ArkLocation()
4344
{ "TheIsland", Tuple.Create(island.Width, island.Height, 7.2f, 7.2f, 92.8f, 92.8f) },
4445
{ "TheCenter", Tuple.Create(center.Width, center.Height, -2.5f, 1f, 104.5f, 101f) },
4546
{ "ScorchedEarth_P", Tuple.Create(scorched.Width, scorched.Height, 7.2f, 7.2f, 92.8f, 92.8f) },
47+
{ "Aberration_P", Tuple.Create(1024, 1024, 7.2f, 7.2f, 92.8f, 92.8f) },
4648
{ "Ragnarok", Tuple.Create(ragnarok.Width, ragnarok.Height, 0.0f, 0.0f, 100.0f, 100.0f) }
4749
};
4850
}

ArkSavegameToolkitNet.Domain/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("1.6.0.0")]
36-
[assembly: AssemblyFileVersion("1.6.0.0")]
35+
[assembly: AssemblyVersion("1.7.0.0")]
36+
[assembly: AssemblyFileVersion("1.7.0.0")]
3737

3838
//todo: temp for dev purposes
3939
[assembly: InternalsVisibleTo("ArkSavegameToolkitNet.TestConsoleApp")]

ArkSavegameToolkitNet/GameObject.cs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ private enum GameObjectIs
3737
IsDroppedItem = 1 << 13,
3838
IsPlayerCharacter = 1 << 14,
3939
IsStructurePaintingComponent = 1 << 15,
40-
IsSomethingElse = 1 << 16
40+
IsDeathItemCache = 1 << 16,
41+
IsSomethingElse = 1 << 17
4142
}
4243

4344
private static ILog _logger = LogManager.GetLogger(typeof(GameObject));
@@ -79,6 +80,7 @@ private enum GameObjectIs
7980
public bool IsDroppedItem => (_isFlags & GameObjectIs.IsDroppedItem) == GameObjectIs.IsDroppedItem;
8081
public bool IsPlayerCharacter => (_isFlags & GameObjectIs.IsPlayerCharacter) == GameObjectIs.IsPlayerCharacter;
8182
public bool IsStructurePaintingComponent => (_isFlags & GameObjectIs.IsStructurePaintingComponent) == GameObjectIs.IsStructurePaintingComponent;
83+
public bool IsDeathItemCache => (_isFlags & GameObjectIs.IsDeathItemCache) == GameObjectIs.IsDeathItemCache;
8284
public bool IsSomethingElse => (_isFlags & GameObjectIs.IsSomethingElse) == GameObjectIs.IsSomethingElse;
8385

8486
//public bool IsCreature { get; set; }
@@ -263,6 +265,12 @@ public void loadProperties(ArkArchive archive, GameObject next, long propertiesB
263265

264266
if (Properties.ContainsKey(_ownerName) || Properties.ContainsKey(_bHasResetDecayTime))
265267
{
268+
if (ClassName.Token.StartsWith("DeathItemCache_"))
269+
{
270+
_isFlags |= GameObjectIs.IsDeathItemCache;
271+
goto SkipRest;
272+
}
273+
266274
_isFlags |= GameObjectIs.IsStructure;
267275
goto SkipRest;
268276
}

ArkSavegameToolkitNet/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("1.6.0.0")]
36-
[assembly: AssemblyFileVersion("1.6.0.0")]
35+
[assembly: AssemblyVersion("1.7.0.0")]
36+
[assembly: AssemblyFileVersion("1.7.0.0")]
3737

3838
[assembly: InternalsVisibleTo("ArkSavegameToolkitNet.Domain")]

0 commit comments

Comments
 (0)