Skip to content

Commit

Permalink
Fix LocalPlayer Struct (Playername Offset changed)
Browse files Browse the repository at this point in the history
  • Loading branch information
nThoi authored and nThoi committed Aug 5, 2020
1 parent a4b2a8c commit e38b3fd
Show file tree
Hide file tree
Showing 16 changed files with 9 additions and 10 deletions.
Binary file modified nEShit/.vs/nEShit/v16/.suo
Binary file not shown.
Binary file modified nEShit/.vs/nEShit/v16/Server/sqlite3/storage.ide
Binary file not shown.
Binary file modified nEShit/.vs/nEShit/v16/Server/sqlite3/storage.ide-shm
Binary file not shown.
Binary file modified nEShit/.vs/nEShit/v16/Server/sqlite3/storage.ide-wal
Binary file not shown.
2 changes: 1 addition & 1 deletion nEShit/AuraModule/ASM.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public static IntPtr GetInventoryAccessPtr()
IntPtr res = info.GetEntityInfo.inventoryPtr;
return res;
}
private static uint GetInventorySize()
public static uint GetInventorySize()
{
uint count = 0;
for (uint i = 0; i <= (uint)InventoryBagType.IBT_MAX; ++i)
Expand Down
6 changes: 3 additions & 3 deletions nEShit/AuraModule/Pattern/Memory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
using System.Text;
using System.Threading.Tasks;


public class MemoryStore
{
public static IntPtr GET_LOCAL_PLAYER = IntPtr.Zero;
Expand Down Expand Up @@ -92,9 +91,10 @@ public static bool RetrieveAddresses(uint gamePID)
MemoryStore.CURRENT_MAP_BASE == IntPtr.Zero ||

MemoryStore.PLAYER_DoUIAction == IntPtr.Zero ||
MemoryStore.PLAYER_Resurrection == IntPtr.Zero //||
MemoryStore.PLAYER_Resurrection == IntPtr.Zero ||

//MemoryStore.FISHING_SetNextState == IntPtr.Zero
MemoryStore.FISHING_SetNextState == IntPtr.Zero ||
MemoryStore.FISHING_ExitState == IntPtr.Zero

)
return true;
Expand Down
9 changes: 5 additions & 4 deletions nEShit/AuraModule/Struct.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,12 @@ public float SetMovementValue(float val = 20)
{
if (IsValid && GetEntityInfo.IsValid && GetEntityInfo.MovementValue != 0)
{
if (GetEntityInfo.MovementValue < val)
GetEntityInfo.MovementValue = val;

if (GetModelInfo.IsMounted)
{
GetEntityInfo.MovementValue = val + 10;
}
else
GetEntityInfo.MovementValue = val;
}
return GetEntityInfo.MovementValue;
}
Expand Down Expand Up @@ -153,7 +154,7 @@ public string charName
{
get
{
return Memory.Reader.ReadString(Pointer + 0x12C, Encoding.UTF7);
return Memory.Reader.ReadSTDString(Pointer + 0x128, Encoding.UTF7);
}
}
public uint fishingDurability
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,3 @@ E:\VS\nEShit\nEShit\AuraModule\obj\Debug\AuraModule.csproj.GenerateResource.cach
E:\VS\nEShit\nEShit\AuraModule\obj\Debug\AuraModule.csproj.CopyComplete
E:\VS\nEShit\nEShit\AuraModule\obj\Debug\AuraModule.dll
E:\VS\nEShit\nEShit\AuraModule\obj\Debug\AuraModule.pdb
E:\VS\nEShit\nEShit\AuraModule\bin\Debug\nMnemonics.pdb
Binary file not shown.
Empty file.
Binary file modified nEShit/Library/obj/Debug/Library.csprojAssemblyReference.cache
Binary file not shown.
Binary file modified nEShit/nEShit/obj/Debug/DesignTimeResolveAssemblyReferences.cache
Binary file not shown.
Binary file not shown.
1 change: 0 additions & 1 deletion nEShit/nEShit/obj/Debug/nEShit.csproj.FileListAbsolute.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,3 @@ E:\VS\nEShit\nEShit\nEShit\obj\Debug\nEShit.csproj.GenerateResource.cache
E:\VS\nEShit\nEShit\nEShit\obj\Debug\nEShit.csproj.CopyComplete
E:\VS\nEShit\nEShit\nEShit\obj\Debug\nEShit.exe
E:\VS\nEShit\nEShit\nEShit\obj\Debug\nEShit.pdb
E:\VS\nEShit\nEShit\nEShit\bin\Debug\nMnemonics.pdb
Binary file modified nEShit/nEShit/obj/Debug/nEShit.csproj.GenerateResource.cache
Binary file not shown.
Binary file modified nEShit/nEShit/obj/Debug/nEShit.csprojAssemblyReference.cache
Binary file not shown.

0 comments on commit e38b3fd

Please sign in to comment.