Skinksteek (10-30-2012)
Skinksteek (10-30-2012)
Force Host Player ammo and magazine Ammo
offset between players is 0x38EC
I just need to find the player ID / name to match then up
Skinksteek (10-30-2012)
Skinksteek (10-30-2012)
Unable to edit but here are the player primary ammunition addresses for use in forced host
Any chance of someone helping with the writable health addresses, 1 will be fine as at least that will give me a start pointCode:Dim p1pa As Integer = &H1D02968 'Player 1 primary ammo Dim p2pa As Integer = &H1D06254 'Player 2 primary ammo Dim p3pa As Integer = &H1D09B40 'Player 3 primary ammo Dim p4pa As Integer = &H1D0D42C 'Player 4 primary ammo Dim p5pa As Integer = &H1D10D18 'Player 5 primary ammo Dim p6pa As Integer = &H1D14604 'Player 6 primary ammo Dim p7pa As Integer = &H1D17EF0 'Player 7 primary ammo Dim p8pa As Integer = &H1D1B7DC 'Player 8 primary ammo Dim p9pa As Integer = &H1D1F0C8 'Player 9 primary ammo Dim p10pa As Integer = &H1D229B8 'Player 10 primary ammo Dim p11pa As Integer = &H1D262A0 'Player 11 primary ammo Dim p12pa As Integer = &H1D29BC8 'Player 12 primary ammo Dim p13pa As Integer = &H1D2D478 'Player 13 primary ammo Dim p14pa As Integer = &H1D30D64 'Player 14 primary ammo Dim p15pa As Integer = &H1D35650 'Player 15 primary ammo Dim p16pa As Integer = &H1D37F3C 'Player 16 primary ammo Dim p17pa As Integer = &H1D3B828 'Player 17 primary ammo Dim p18pa As Integer = &H1D3F114 'Player 18 primary ammo
I will post other addresses for secondary and nades, flash etc, but they are all offsets
Geometrical (10-06-2012),Skinksteek (10-30-2012)
Don't forget roll! It's a Vector3, not 2.
Now, time for me to add something. For engine boxes, hook 0x540D6D and set the byte at 0x9D6230 to 10h (16d) and the dword at 0x9D6224 to 0. You can also check the word at 0x9D6230 for being 1000h to get isplaying if you get strange spectating bugs. Was going to release it, but it's too small.
Last edited by rawr im a tiger; 10-06-2012 at 09:39 PM. Reason: d != h
Geometrical (10-11-2012),Skinksteek (10-30-2012)
Here you have an easier way of doing this:
All you need to do now is mainly update the First AddressCode:Enum PlayerAmmo Player1 = &H1D02968 Player2 = Player1 + &H38EC Player3 = Player2 + &H38EC Player4 = Player3 + &H38EC Player5 = Player4 + &H38EC Player6 = Player5 + &H38EC Player7 = Player6 + &H38EC Player8 = Player7 + &H38EC Player9 = Player8 + &H38EC Player10 = Player9 + &H38EC Player11 = Player10 + &H38EC Player12 = Player11 + &H38EC Player13 = Player12 + &H38EC Player14 = Player13 + &H38EC Player15 = Player14 + &H38EC Player16 = Player15 + &H38EC Player17 = Player16 + &H38EC Player18 = Player17 + &H38EC End Enum
And if it would become wrong, you find the ammo for player 1 and 2. Then you take player 2 - player 1.
And you have the DifVal and you can use it as I have done here.
EDIT:
In the code you can use it like this:
[code]WriteInteger(PlayerAmmo.Player1, 500)
__________________
EDIT:
Usage Like:Code:Function SetAmmo(ByRef PlayerIndex As Integer) If (PlayerIndex > 17) Then Return 0 Return &H1CFF07C + (&H38EC * PlayerIndex) End Function
Code:WriteInteger(SetAmmo(0), 100)
Edit to my TP code.
Code:void TP(int Player, float cX, float, cY, float cZ) { int pX = 0x1CFEC70 + (0x38EC * Player); int pY = 0x1CFEC74 + (0x38EC * Player); int pZ = 0x1CFEC78 + (0x38EC * Player); WriteFloat(pX, cX); WriteFloat(pY, cY); WriteFloat(pZ, cZ); }
Last edited by Jorndel; 10-07-2012 at 07:35 AM.
Geometrical (10-08-2012),gteuk (10-07-2012),Skinksteek (10-29-2012),true1495 (10-08-2012)
Update value: +3300 (Hex)
---------- Post added at 08:44 PM ---------- Previous post was at 08:35 PM ----------
---------- Post added at 08:48 PM ---------- Previous post was at 08:44 PM ----------
Constant UAV:
5AC6E34
'1-Byte
Last edited by Jorndel; 10-10-2012 at 01:21 PM.
Geometrical (10-11-2012),gteuk (10-10-2012),lol12345x (10-10-2012),Skinksteek (10-29-2012),stevonator (10-10-2012)
1.9.453
Credits: Me, g0dly, @killstreak, @barata55, @NightmareTX, @master131 and BaberZzCode:--------------[Auto Generated by -InSaNe- Scanner]--------------- ---------------[Process: iw5mp.exe | Oct 10 2012]---------------- //Classes and Variables RefDef...................0x00A44530 CG.......................0x009D9320 CGS......................0x009D4DA0 ViewMatrix...............0x0113DF6C Entity...................0x00AE2940 Entity_Size..............0x000001F8 ClientInfo...............0x00AD69F8 ClientInfo_Size..........0x00000564 Input....................0x0113E010 IsInGame.................0x009D9330 Advanced UAV.............0x009D9524 Zoom.....................0x0113AB10 FullBright...............0x06098CEC NoFog....................0x06098CF0 MagicNumber..............0x010CF7B0 GetWeaponName............0x00ADE5CC ClanTag_Byte.............0x014039AB ClanTag_Text.............0x014039C0 Title_Byte...............0x014039AC Title_Text...............0x014039AD Title....................0x014039C8 //Functions RegisterFont.............0x00496D90 RegisterShader...........0x0049B130 EngineText...............0x0043C490 StrWidth.................0x005099A0 StrHeight................0x004F1AB0 CG_Trace.................0x00506110 IsVisible................0x00415450 GetPlayerTag.............0x0058A4E0 RegisterTag..............0x00401B30 NoRecoil.................0x00522E49 GetScreenMatrix..........0x00405C30 WorldToScreen............0x005A41B0 CG_Draw2D ...............0x0048C940 UI.ShowList..............0x0065F250 SendCommandToConsole.....0x00575880 DrawRotatedPic...........0x004D3E50 ProcessCommand...........0x00575880 BulletPenetration........0x005C4290 BulletPenetrationCheck...0x005C1840 DisableBulletImpacts.....0x005C41C0 No-Recoil2................0x005C99B7 Gun Laser................0x005C20F7
Last edited by MarkHC; 10-10-2012 at 02:01 PM.
CoD Minion from 09/19/2012 to 01/10/2013
Geometrical (10-10-2012),gteuk (10-10-2012),jerry51 (10-11-2012),lol12345x (10-10-2012),Skinksteek (10-29-2012),stevonator (10-10-2012),Templar (10-21-2012)
FoV:
5AC11E0
'Float
Title Text:
014039AD
'String
Unlock Title:
014039AC
'1-Byte
Set Title Image:
014039C8
'Bytes
________________
Clan Tag Text:
014039CC
'String (4 Length)
Unlock Clan Tag:
014039AB
'1-Byte
---------- Post added at 09:06 PM ---------- Previous post was at 08:59 PM ----------
Force Host:
5AB6BA0
'Integer
Max Players (Force Host Dvar):
ReadInteger(140C124 + 0xC)
'Integer
---------- Post added at 09:09 PM ---------- Previous post was at 09:06 PM ----------
Player Names: (Host Needed!)
Code:enum Players { Player1 = 0x1d08c50, Player2 = Player1 + 0x38EC, Player3 = Player2 + 0x38EC, Player4 = Player3 + 0x38EC, Player5 = Player4 + 0x38EC, Player6 = Player5 + 0x38EC, Player7 = Player6 + 0x38EC, Player8 = Player7 + 0x38EC, Player9 = Player8 + 0x38EC, Player10 = Player9 + 0x38EC, Player11 = Player10 + 0x38EC, Player12 = Player11 + 0x38EC, Player13 = Player12 + 0x38EC, Player14 = Player13 + 0x38EC, Player15 = Player14 + 0x38EC, Player16 = Player15 + 0x38EC, Player17 = Player16 + 0x38EC, Player18 = Player17 + 0x38EC }
---------- Post added at 09:14 PM ---------- Previous post was at 09:09 PM ----------
Third-Person View:
5AC2318 (Fixed)
'1-Byte
Third-Person Range:
5AC2234
'Float
Third-Person Angle:
5AC2280
'Float
Last edited by Jorndel; 10-10-2012 at 02:28 PM.
Geomatrical the 7th (10-31-2012),Geometrical (10-11-2012),lol12345x (10-10-2012),Skinksteek (10-29-2012),stevonator (10-10-2012)
Why don't you use client_t to get player names?
So you just read the 0x00AD69F8 + 0x564 * clientnum and get the name from thereCode:typedef struct { int Valid; //0x0 (0xAD69F8) char _0x0004[0x8]; //0x4 char Name[16]; //0xC (0xAD6A04) int Team; //0x1C (0xAD6A14) char _0x0020[0x4]; //0x20 int Rank; //0x24 (0xAD6A1C) char _0x0028[0x10]; //0x28 int Perk; //0x38 (0xAD6A30) char _0x003C[0x8]; //0x3C int Score; //0x44 (0xAD6A3C) char _0x0048[0x458]; //0x48 int Attacking; //0x4A0 (0xAD6E98) char _0x04A4[0x4]; //0x4A4 int Zooming; //0x4A8 (0xAD6EA0) char _0x04AC[0xB8]; //0x4AC }client_t; //[Addr: 0xAD69F8] [Size: 0x564]
Last edited by MarkHC; 10-10-2012 at 11:43 PM.
Geomatrical the 7th (11-14-2012),Geometrical (10-11-2012),Skinksteek (10-29-2012)
Credits to CypherPresents, godly, King-Orgy, raiders, cardoow, poink, Hooch, BaberZz, Chod and myself, master131.Code:Game Version.............1.9.453 Version Build Date.......Mon Oct 01 21:28:16 2012 -------- Classes -------- Refdef...................0x00A44530 CG.......................0x009D9320 CGS......................0x009D4DA0 Entity...................0x00AE2940 Entity Size..............0x000001F8 ClientInfo...............0x00AD69F8 ClientInfo Size..........0x00000564 ViewMatrix...............0x0113DF28 -------- Variables -------- IsInGame.................0x009D9330 Refdef ViewAngles........0x00A4905C ServerSet................0x01B3F228 PlayerSnap...............0x009D9320 KButtons.................0x00C14630 CvarList.................0x05AAA200 CvarList Size............0x05AA51D8 MapLighting (Fullbright).0x06098CEC ViewAngleX...............0x0113E008 ViewAngleY...............0x0113E004 WeaponViewAngleX.........0x00A49098 WeaponViewAngleY.........0x00A4909C GetWeaponName............0x00ADE5CC GetWeapon................0x009B7D50 UserCmd Input............0x0113E010 UserCmd Size.............0x0000002C -------- Functions -------- ProcessCommand...........0x00575880 CG_Trace.................0x005C66E0 CG_Init..................0x004D1160 CG_Obituary..............0x005A5FF0 RenderDevice.............0x06099328 RegisterFont.............0x00496D90 RegisterShader...........0x0049B130 DrawEngineText...........0x0043C490 DrawStretchPic...........0x004BC980 DrawRotatedPic...........0x004D3E50 GetScreenMatrix..........0x00405C30 StrWidth.................0x005099A0 WritePacket..............0x00489E10 GetSnapshot..............0x00493320 Thermal Overlay..........0x00461110 Adavanced UAV............0x01D057E4 DrawEngineRadar..........0x00455810 OverlayPackage...........0x0055C280 OverlayEnemy.............0x00477F60 OverlayFriendly..........0x004A8350 OverlayTurret............0x00551A40 OverlayHeli..............0x004D7040 OverlayLocal.............0x004FF0A0 OverlayPlane.............0x0042F3E0 Com_Error................0x0041D280 Com_Notice...............0x0049C120 MsgManager...............0x00436170 GetPlayerTag/GetBonePos..0x004865E0 GetTagPointer............0x0049AD10 RegisterTag..............0x00505680 IsVisible................0x00415450 BulletPenetrationCheck...0x005C1840 GetCurrentWeapon.........0x00415490 GetWeaponSpread..........0x0043E850 GetRandomFloat...........0x005FAE30 -------- Other/Unknown -------- KeyCatcher...............0x0113A96C Aim Assist...............0x0058A4E0 Console..................0x00575880 Fonts....................0x004D1334 KillIcons................0x004D1433 Com_HashKey..............0x00443830 ServerCommandsSequence...0x00C37BF4 ServerCommands...........0x00C37BFC CurrentCmdNumberAddr.....0x0113F610 CSnapshot................0x01147EE8
Last edited by master131; 10-11-2012 at 12:02 AM.
Donate:
BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9
Handy Tools/Hacks:
Extreme Injector v3.7.3
A powerful and advanced injector in a simple GUI.
Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!
Minion Since: 13th January 2011
Moderator Since: 6th May 2011
Global Moderator Since: 29th April 2012
Super User/Unknown Since: 23rd July 2013
'Game Hacking' Team Since: 30th July 2013
--My Art--
[Roxas - Pixel Art, WIP]
[Natsu - Drawn]
[Natsu - Coloured]
All drawings are coloured using Photoshop.
--Gifts--
[Kyle]
Geometrical (10-11-2012),jerry51 (10-15-2012),Skinksteek (10-29-2012)
Name: Advanced UAV
Address: 9D9524
Value: 1
Skinksteek (10-29-2012)
AUG HBAR Custom Class #1
Address: 1DBD7D0
Bytes: 5A 00 00 00 00 00 08
Skinksteek (10-29-2012)
1.9.453:
g_gravity:
0x0048DE96
g_speed:
0x0056C9AA
@Isaakske
Donate:
BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9
Handy Tools/Hacks:
Extreme Injector v3.7.3
A powerful and advanced injector in a simple GUI.
Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!
Minion Since: 13th January 2011
Moderator Since: 6th May 2011
Global Moderator Since: 29th April 2012
Super User/Unknown Since: 23rd July 2013
'Game Hacking' Team Since: 30th July 2013
--My Art--
[Roxas - Pixel Art, WIP]
[Natsu - Drawn]
[Natsu - Coloured]
All drawings are coloured using Photoshop.
--Gifts--
[Kyle]
Horror (10-11-2012),Skinksteek (10-29-2012)