File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ protected override IntPtr ReadControllerBase(GameProcess gameProcess)
4040 var listEntry = gameProcess . Process . Read < IntPtr > ( EntityList + 8 * entryIndex + 16 ) ;
4141
4242 return listEntry != IntPtr . Zero
43- ? gameProcess . Process . Read < IntPtr > ( listEntry + 120 * ( Id & 0x1FF ) )
43+ ? gameProcess . Process . Read < IntPtr > ( listEntry + 112 * ( Id & 0x1FF ) )
4444 : IntPtr . Zero ;
4545 }
4646
@@ -53,7 +53,7 @@ protected override IntPtr ReadAddressBase(GameProcess gameProcess)
5353 var listEntry = gameProcess . Process . Read < IntPtr > ( EntityList + 0x8 * pawnIndex + 16 ) ;
5454
5555 return listEntry != IntPtr . Zero
56- ? gameProcess . Process . Read < IntPtr > ( listEntry + 120 * ( playerPawn & 0x1FF ) )
56+ ? gameProcess . Process . Read < IntPtr > ( listEntry + 112 * ( playerPawn & 0x1FF ) )
5757 : IntPtr . Zero ;
5858 }
5959
@@ -94,4 +94,5 @@ private bool UpdateBonePositions(GameProcess gameProcess)
9494 return false ;
9595 }
9696 }
97- }
97+
98+ }
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ public sealed class TriggerBot : ThreadedServiceBase
1010 private const int TriggerDelayMs = 5 ;
1111 private const int EntityListMultiplier = 0x8 ;
1212 private const int EntityEntryOffset = 0x10 ;
13- private const int EntityStride = 120 ;
13+ private const int EntityStride = 112 ;
1414 private const int EntityIndexMask = 0x1FF ;
1515 private const int EntityIndexShift = 9 ;
1616 private static Keys _triggerBotHotKey ;
@@ -103,4 +103,5 @@ public override void Dispose()
103103 base . Dispose ( ) ;
104104 GC . SuppressFinalize ( this ) ;
105105 }
106- }
106+
107+ }
You can’t perform that action at this time.
0 commit comments