Skip to content

Commit 5c07ae0

Browse files
authored
DEV BRANCH
TEST ENVIRONMENT FOR NEW FEATURES TO BE MERGED WITH MAIN EVENTUALLY
1 parent 2a7ebe1 commit 5c07ae0

5 files changed

+31
-7
lines changed

SOURCE/Helpers/WeaponStats.cs

+4-3
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ private bool DoCurentWeaponShootBullet(float weaponDamage, float weaponSpread, f
6161

6262
public void ResetStats()
6363
{
64-
foreach (var weaponSave in weaponsSave) {
64+
foreach (var weaponSave in weaponsSave)
65+
{
6566
_m.WriteMemory((weaponSave.Key + gData.Damage).ToString("X"), "float", weaponSave.Value.damage);
6667
_m.WriteMemory((weaponSave.Key + gData.Spread).ToString("X"), "float", weaponSave.Value.spread);
6768
_m.WriteMemory((weaponSave.Key + gData.Penetration).ToString("X"), "float", weaponSave.Value.penetration);
@@ -110,10 +111,10 @@ public void WEAPONHACK()
110111
_m.WriteMemory(gData.WEAPON_MVELOCITY, "float", gData.pVelocity);
111112
_m.WriteMemory(gData.WEAPON_RANGE, "float", gData.pRange);
112113
_m.WriteMemory(gData.WEAPON_RECOIL, "float", gData.pRecoil);
113-
114+
114115
#endregion
115116
}
116-
117+
117118
#endregion
118119
}
119120
}

SOURCE/Helpers/gData.cs

+22-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,28 @@
1-
namespace Simple_GTAV_External_Trainer.Helpers
1+
namespace Simple_GTAV_External_Trainer.Helpers
22
{
33
class gData
44
{
5+
//POINTER AoB's
6+
//WorldPTR = 48 8B 05 ? ? ? ? 45 ? ? ? ? 48 8B 48 08 48 85 C9 74 07
7+
//BlipPTR = 4C 8D 05 ? ? ? ? 0F B7 C1
8+
//ReplayInterfacePTR = 48 8D 0D ? ? ? ? 48 8B D7 E8? ? ? ? 48 8D 0D ? ? ? ? 8A D8 E8
9+
//LocalScriptsPTR = 48 8B 05 ? ? ? ? 8B CF 48 8B 0C C8 39 59 68)
10+
//GlobalPTR = 4C 8D 05 ? ? ? ? 4D 8B 08 4D 85 C9 74 11
11+
//PlayerCountPTR = 48 8B 0D ? ? ? ? E8? ? ? ? 48 8B C8 E8? ? ? ? 48 8B CF
12+
//PickupDataPTR = 48 8B 05 ? ? ? ? 48 8B 1C F8 8B
13+
//SettingsPTR = 44 39 05 ? ? ? ? 75 0D
14+
15+
//Social Club Edition
16+
//- WORLDPTR = GTA5.exe+252DCD8
17+
//
18+
19+
//Epic Games Edition
20+
// WORLDPTR = GTA5.exe+
21+
22+
//STEAM Edition
23+
// WORLDPTR = GTA5.exe+25333D8
24+
25+
526
//Triggerbot Info
627
public const string ENEMY_IN_CROSSHAIRS = "GTA5.exe+1FB2380";
728
public const string IS_ZOOMED = "GTA5.exe+1FB23A4";

SOURCE/Overlay.Designer.cs

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

SOURCE/Overlay.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ void triggerbot()
160160
shoot(7);
161161
shoot(1);
162162
}
163-
163+
164164
}
165165

166166
//Controller mode because why not
@@ -312,7 +312,7 @@ private void EJECT()
312312
#region WEAPON DATA
313313

314314
weapon.ResetStats();
315-
315+
316316
#endregion
317317

318318
bAutoShoot = false;
@@ -462,7 +462,7 @@ private void MemoryTimer_Tick(object sender, EventArgs e)
462462
INFINITEAMMO();
463463
ALLOFF();
464464
}
465-
465+
466466
private void WindowHookTimer_Tick(object sender, EventArgs e)
467467
{
468468
GetWindowRect(handle, out rect);

SOURCE/Simple-GTAV-External-Trainer.csproj

+1
Original file line numberDiff line numberDiff line change
@@ -115,5 +115,6 @@
115115
<ItemGroup>
116116
<None Include="App.config" />
117117
</ItemGroup>
118+
<ItemGroup />
118119
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
119120
</Project>

0 commit comments

Comments
 (0)