BaSsHaXoR
Your not logged in!

BaSsHaXoR

Gaming
 
HomePortalCalendarFAQSearchMemberlistUsergroupsRegisterLog in
Top posters
Admin (66)
 
TeachMe (2)
 
EaTthEC00kie (1)
 
Hex_only (1)
 
tony220171 (1)
 
DJ107RX (1)
 
ace812 (1)
 
Cain532 (1)
 
derek878 (1)
 
Keywords
Who is online?
In total there is 1 user online :: 0 Registered, 0 Hidden and 1 Guest

None

Most users ever online was 22 on Thu Mar 02, 2017 5:30 am
Latest topics

Share | 
 

 MW3 Forcehost C#

View previous topic View next topic Go down 
AuthorMessage
Admin
Admin
avatar

Posts : 66
L337 R4NK : 198
R3p : 0
Join date : 2013-09-21
Age : 27
Location : http://www.youtube.com/BaSs_HaXoR

PostSubject: MW3 Forcehost C#   Mon Mar 31, 2014 11:11 am

CREDITS TO momo5502 for ForceHost code

Made a tool, feel free to download: MW3 ForceHost {BHv1.2}

(.rar) MD5: DEAE6091EDF16C59D996B47ADF3219B0

old versions:
Spoiler:
 
Source Download:
MW3ForceHost (Source) {BH}








Code:
void lockIntDvarToValue(uint pointer, byte value)
        {
            uint _flag = 0x4;          // First value is pointer to name ( const char* ), so dvar flag is at 0x4
            uint _value = 0xB;      // Default value is at 0x11
                                              //Thanks To momo5502
            // Get pointer to dvar
            byte[] buffer = new byte[4];
            GetMemory(pointer, ref buffer);
            Array.Reverse(buffer);
            uint dvar = BitConverter.ToUInt32(buffer, 0);

            // Get current dvar flag
            byte[] flag = new byte[2];
            GetMemory(dvar + _flag, ref flag);
            Array.Reverse(flag);
            ushort shortFlag = BitConverter.ToUInt16(flag, 0);

            // Check if dvar is already write protected
            if ((shortFlag & 0x800) != 0x800)
            {
                shortFlag |= 0x800;

                flag = BitConverter.GetBytes(shortFlag);
                Array.Reverse(flag);

                // Apply new dvarflag
                SetMemory(dvar + _flag, flag);
            }

            // Apply new value
            SetMemory(dvar + _value, new byte[] { value });
        }
Code:
void forceHost()
        {
            lockIntDvarToValue(0x8AEE34, 0x1);  // Lock 'party_minplayers' to 1/*change 0x01 to 0x06 for default*/
            lockIntDvarToValue(0x8AEE40, 0x12); // Lock 'party_maxplayers' to 18 /*You can change 0x12, to 0x4 for 4 clients, or 6 for 6 clients and so on...*/
                       //Thanks To momo5502
        }
*For MAX Players, this will ONLY work if your connection can handle it. So to check to see how many players you can host go into private match and see:



Again, all credits go to momo5502 for helping out on my MW3 ForceHost question thread: http://www.nextgenupdate.com/forums/modern-warfare-3-questions-inquiries/692376-forcehost-offset-dvar-mw3.html
Also thanks to kiwi_Modz

Proof:

Back to top Go down
View user profile http://www.3ncryp73d.com
 
MW3 Forcehost C#
View previous topic View next topic Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
BaSsHaXoR :: PS3 :: PS3 Hacking-
Jump to: