Skip to content

Commit

Permalink
2.0.17
Browse files Browse the repository at this point in the history
+ Ashen Lord Skull Cloud
+ Ashen Lord Skeleton
+ Health Fix
  • Loading branch information
xTeJk committed Jul 30, 2020
1 parent 4feb4d3 commit d929832
Show file tree
Hide file tree
Showing 4 changed files with 115 additions and 34 deletions.
83 changes: 82 additions & 1 deletion Cheat.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,56 @@ void cCheat::readData()
}
}

//ASHEN LORD SKELETON
if (name.find("BP_GiantSkeletonPawnBase_C") != std::string::npos)
{
auto pos = actor.GetRootComponent().GetPosition();
auto distance = SOT->localCamera.position.DistTo(pos) / 100.00f;

Vector2 Screen;
if (Misc->WorldToScreen(pos, &Screen))
{
Vector3 headPos = Vector3(pos.x, pos.y, pos.z + 100);

Vector2 ScreenTop;
Color boxColor = { Vars.ESP.MenuTake.CaptainColor[0],Vars.ESP.MenuTake.CaptainColor[1],Vars.ESP.MenuTake.CaptainColor[2],Vars.ESP.MenuTake.CaptainColor[3] };

if (Misc->WorldToScreen(headPos, &ScreenTop))
{
int hi = (Screen.y - ScreenTop.y) * 2;
int wi = hi * 0.65;

if (Vars.ESP.MenuTake.Skeleton)
{
DrawBox(ScreenTop.x - wi / 2, ScreenTop.y, wi, hi, boxColor);
}
if (Vars.ESP.MenuTake.SkeletonName)
{
if ((int)distance < 25) {
DrawString("» • «", Screen.x, Screen.y, boxColor, true, "dist_3");
}
else if ((int)distance < 15) {
DrawString("» • «", Screen.x, Screen.y, boxColor, true, "dist_2");
}
else if ((int)distance < 5) {
DrawString("» • «", ScreenTop.x, ScreenTop.y - 14, boxColor, true, "dist_1");
}
else {
DrawString(std::string("Ashen Lord » " + std::to_string((int)distance) + "m").c_str(), ScreenTop.x, ScreenTop.y - 14, boxColor, true, "small");
}
}
if (Vars.ESP.MenuTake.SkeletonItem)
{
auto ItemName = actor.GetWieldedItemComponent().GetWieldedItem().GetItemInfo().GetItemDesc().GetName();

if (ItemName.length() < 32)
DrawString(ItemName.c_str(), ScreenTop.x, ScreenTop.y + hi, boxColor, true, "small");
}

}
}
}

//AMMO CRATE
else if (name.find("Ammo") != std::string::npos)
{
Expand Down Expand Up @@ -847,6 +897,36 @@ void cCheat::readData()
}
}

//ASHEN SKULL / 2.0.17
else if (name.find("BP_AshenLord_SkullCloud_C") != std::string::npos)
{
auto pos = actor.GetRootComponent().GetPosition();
auto distance = SOT->localCamera.position.DistTo(pos) / 100.00f;

Color color = { Vars.ESP.colorWorld[0],Vars.ESP.colorWorld[1],Vars.ESP.colorWorld[2],Vars.ESP.colorWorld[3] };


Vector2 Screen;
if (Misc->WorldToScreen(pos, &Screen))
if (Vars.ESP.MenuTake.EventsFort)
{
if ((int)distance >= 1500)
{
DrawString(std::string("ASHEN SKULL » " + std::to_string((int)distance) + "m").c_str(), Screen.x, Screen.y, color, true, "small");
}
else if ((int)distance < 1500) {
DrawString(std::string("ASHEN SKULL » " + std::to_string((int)distance) + "m").c_str(), Screen.x, Screen.y, color, true, "small");
}
else if ((int)distance < 100) {
DrawString(std::string("ASHEN SKULL » " + std::to_string((int)distance) + "m").c_str(), Screen.x, Screen.y, color, true, "mini");
}
else
{
DrawString(std::string("ASHEN SKULL » " + std::to_string((int)distance) + "m").c_str(), Screen.x, Screen.y, color, true, "small");
}
}
}

//FOTD
else if (name.find("RitualSkullCloud") != std::string::npos)
{
Expand Down Expand Up @@ -1240,8 +1320,9 @@ void cCheat::readData()
DrawString(std::string("Own Galleon » " + std::to_string((int)distance) + "m").c_str(), Screen.x, Screen.y, color, true, "small");
}
}

//ROWBOAT
else if (name.find("BP_Rowboat_C") != std::string::npos || name.find("BP_RowboatRowingSeat_C") != std::string::npos || name.find("BP_Rowboat_WithFrontHarpoon_C") != string::npos)
else if (name.find("BP_Rowboat_C") != std::string::npos || name.find("BP_RowboatRowingSeat_C") != std::string::npos || name.find("BP_Rowboat_WithFrontHarpoon_C") != std::string::npos)
{
auto pos = actor.GetRootComponent().GetPosition();
auto distance = SOT->localCamera.position.DistTo(pos) / 100.00f;
Expand Down
2 changes: 1 addition & 1 deletion Menu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ void cDrawing::Draw()
colors[counter] += 0.05f;
}
//
String(std::string("SEA OF TAKE - 2.0.16").c_str(), 10, Process->Size[1] - 20, D3DCOLOR_XRGB(163, 116, 219), false, "small");
String(std::string("SEA OF TAKE - 2.0.17").c_str(), 10, Process->Size[1] - 20, D3DCOLOR_XRGB(163, 116, 219), false, "small");

if (Vars.ESP.MenuV2.MenuActive)
String(std::string("HOME » Shown » Menu").c_str(), 135, Process->Size[1] - 20, D3DCOLOR_XRGB(61, 168, 71), false, "small");
Expand Down
62 changes: 31 additions & 31 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SoT ESP
Sea of Thieves - Advanced ESP - 2.0.16
Sea of Thieves - Advanced ESP - 2.0.17
[![Discord](https://discordapp.com/api/guilds/370909694056726528/widget.png?style=shield)](https://discord.gg/jqbq85J)


Expand All @@ -17,46 +17,46 @@ Sea of Thieves - Advanced ESP - 2.0.16
- Includes +: `C:\Program Files %28x86%29\Microsoft DirectX SDK %28June 2010%29\Include`
- Libraries +: `C:\Program Files %28x86%29\Microsoft DirectX SDK %28June 2010%29\Lib\x64`
- /Od disabled (default)
- (Ready to compile source version for 2.0.16 is available to download in Releases)
- (Ready to compile source version for 2.0.17 is available to download in Releases)
- Compile as `Release x64` version

## Offsets:
- Download: https://github.com/Shat-sky/SoT-SDK (2.0.16)
- Download: https://github.com/Shat-sky/SoT-SDK (2.0.17)
- If ^ SDK is outdated, you should look for new one here: https://github.com/search?o=desc&q=sot+sdk&s=updated&type=Repositories
- Put OffsetFinder.exe in SDK directory
- Launch OffsetFinder.exe
- Copy `offsets` into cheat directory

## Current Offsets (22.07.2020 / 2.0.16):
## Current Offsets (30.07.2020 / 2.0.17):
```
{
"AActor.HealthComponent": 2120,
"AActor.PlayerState": 1072,
"AActor.WieldedItemComponent": 2080,
"AActor.actorId": 24,
"AActor.rootComponent": 368,
"ABootyItemInfo.BootyType": 1360,
"ABootyItemInfo.Rarity": 1684,
"ACrewService.Crews": 1496,
"AFauna.Name": 2104,
"AItemInfo.UItemDesc": 1128,
"AItemProxy.AItemInfo": 1496,
"AMapTable.MapPins": 1280,
"AMapTable.ServerCenter": 1248,
"AMapTable.TrackedShips": 1220,
"APlayerCameraManager.CameraCache": 1152,
"APlayerController.CameraManager": 1184,
"APlayerController.ControlRotation": 684,
"APlayerController.Pawn": 1048,
"APlayerState.PlayerName": 1048,
"AShip.CrewOwnershipComponent": 1920,
"AWieldableItem.ItemInfo": 1464,
"UCrewOwnershipComponent.CrewId": 212,
"UGameInstance.LocalPlayers": 56,
"ULocalPlayer.PlayerController": 48,
"UWieldedItemComponent.WieldedItem": 656,
"UWorld.OwningGameInstance": 448,
"UWorld.PersistentLevel": 48
"AActor.HealthComponent": 2136,
"AActor.PlayerState": 1072,
"AActor.WieldedItemComponent": 2096,
"AActor.actorId": 24,
"AActor.rootComponent": 368,
"ABootyItemInfo.BootyType": 1360,
"ABootyItemInfo.Rarity": 1724,
"ACrewService.Crews": 1496,
"AFauna.Name": 2104,
"AItemInfo.UItemDesc": 1128,
"AItemProxy.AItemInfo": 1496,
"AMapTable.MapPins": 1280,
"AMapTable.ServerCenter": 1248,
"AMapTable.TrackedShips": 1220,
"APlayerCameraManager.CameraCache": 1152,
"APlayerController.CameraManager": 1184,
"APlayerController.ControlRotation": 684,
"APlayerController.Pawn": 1048,
"APlayerState.PlayerName": 1048,
"AShip.CrewOwnershipComponent": 1920,
"AWieldableItem.ItemInfo": 1464,
"UCrewOwnershipComponent.CrewId": 212,
"UGameInstance.LocalPlayers": 56,
"ULocalPlayer.PlayerController": 48,
"UWieldedItemComponent.WieldedItem": 656,
"UWorld.OwningGameInstance": 448,
"UWorld.PersistentLevel": 48
}
```

Expand Down
2 changes: 1 addition & 1 deletion SotStuff.h
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ class UHealthComponent
int GetHealth();
int GetMaxHealth();
private:
unsigned char UnknownData00[0xD4];
unsigned char UnknownData00[0xD8]; // 2.0.17 health fix
float maxHealth;
float health;
unsigned char UnknownData01[0xC4];
Expand Down

1 comment on commit d929832

@thekitt18
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How dobi start cheat and what file is the cheat directory

Please sign in to comment.