Skip to content

Commit e38b3fd

Browse files
nThoinThoi
authored andcommitted
Fix LocalPlayer Struct (Playername Offset changed)
1 parent a4b2a8c commit e38b3fd

16 files changed

+9
-10
lines changed

nEShit/.vs/nEShit/v16/.suo

17.5 KB
Binary file not shown.
2.49 MB
Binary file not shown.
Binary file not shown.
Binary file not shown.

nEShit/AuraModule/ASM.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public static IntPtr GetInventoryAccessPtr()
6868
IntPtr res = info.GetEntityInfo.inventoryPtr;
6969
return res;
7070
}
71-
private static uint GetInventorySize()
71+
public static uint GetInventorySize()
7272
{
7373
uint count = 0;
7474
for (uint i = 0; i <= (uint)InventoryBagType.IBT_MAX; ++i)

nEShit/AuraModule/Pattern/Memory.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
using System.Text;
66
using System.Threading.Tasks;
77

8-
98
public class MemoryStore
109
{
1110
public static IntPtr GET_LOCAL_PLAYER = IntPtr.Zero;
@@ -92,9 +91,10 @@ public static bool RetrieveAddresses(uint gamePID)
9291
MemoryStore.CURRENT_MAP_BASE == IntPtr.Zero ||
9392

9493
MemoryStore.PLAYER_DoUIAction == IntPtr.Zero ||
95-
MemoryStore.PLAYER_Resurrection == IntPtr.Zero //||
94+
MemoryStore.PLAYER_Resurrection == IntPtr.Zero ||
9695

97-
//MemoryStore.FISHING_SetNextState == IntPtr.Zero
96+
MemoryStore.FISHING_SetNextState == IntPtr.Zero ||
97+
MemoryStore.FISHING_ExitState == IntPtr.Zero
9898

9999
)
100100
return true;

nEShit/AuraModule/Struct.cs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,12 @@ public float SetMovementValue(float val = 20)
9999
{
100100
if (IsValid && GetEntityInfo.IsValid && GetEntityInfo.MovementValue != 0)
101101
{
102-
if (GetEntityInfo.MovementValue < val)
103-
GetEntityInfo.MovementValue = val;
104-
105102
if (GetModelInfo.IsMounted)
103+
{
106104
GetEntityInfo.MovementValue = val + 10;
105+
}
106+
else
107+
GetEntityInfo.MovementValue = val;
107108
}
108109
return GetEntityInfo.MovementValue;
109110
}
@@ -153,7 +154,7 @@ public string charName
153154
{
154155
get
155156
{
156-
return Memory.Reader.ReadString(Pointer + 0x12C, Encoding.UTF7);
157+
return Memory.Reader.ReadSTDString(Pointer + 0x128, Encoding.UTF7);
157158
}
158159
}
159160
public uint fishingDurability

nEShit/AuraModule/obj/Debug/AuraModule.csproj.FileListAbsolute.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,3 @@ E:\VS\nEShit\nEShit\AuraModule\obj\Debug\AuraModule.csproj.GenerateResource.cach
3939
E:\VS\nEShit\nEShit\AuraModule\obj\Debug\AuraModule.csproj.CopyComplete
4040
E:\VS\nEShit\nEShit\AuraModule\obj\Debug\AuraModule.dll
4141
E:\VS\nEShit\nEShit\AuraModule\obj\Debug\AuraModule.pdb
42-
E:\VS\nEShit\nEShit\AuraModule\bin\Debug\nMnemonics.pdb
Binary file not shown.

nEShit/AuraModule/obj/Debug/build.force

Whitespace-only changes.

0 commit comments

Comments
 (0)