Results 1 to 2 of 2
  1. #1
    Jorndel's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Location
    Norway
    Posts
    8,674
    Reputation
    905
    Thanks
    18,541
    My Mood
    Angelic

    Red face Basic Class Editor (Functions)

    Just wanted to share some functions I made.
    These are for basic Class Editors

    Don't forget to give credit if you use this
    Also thanks to dharbert (For addresses)


    Example Usage:
    Code:
    void WriteBytes(int Address, byte[] Value)
            { /*****/ }
    
            private void button1_Click(object sender, EventArgs e)
            {
                WriteBytes(0x0,Camo_Primarys(1, 4));//Set Camo
    
                WriteBytes(0x0, Weapon_Primary(1, Weapons_Assault.Type25));//Set Weapon (Primary)
            }
    
            byte[] Camo_Primarys(int Class, int Camo)
            {
                if (Class % 2 == 0)
                    return BitConverter.GetBytes(Camo * 64);
                else return BitConverter.GetBytes(Camo * 4);
            }
            byte[] Camo_Secondarys(int Class, int Camo)
            {
                if (Class % 2 == 0)
                    return BitConverter.GetBytes(Camo * 32);
                else return BitConverter.GetBytes(Camo * 2);
            }
    
            byte[] Weapon_Primary(int Class, object WeaponStruct_Weapon)
            {
                if (Class % 2 == 0)
                    return BitConverter.GetBytes(((int)WeaponStruct_Weapon * 16) + 3);
                else return BitConverter.GetBytes((int)WeaponStruct_Weapon);
            }
            byte[] Weapon_Secondary(int Class, object WeaponStruct_Weapon)
            {
                if (Class % 2 == 0)
                    return BitConverter.GetBytes(((int)WeaponStruct_Weapon * 16));
                else return BitConverter.GetBytes((int)WeaponStruct_Weapon);
            }
        }
    
        //Weapon List (Primary)
        enum Weapons_Assault
        { MTAR = 128, Type25 = 112, SWAT556 = 108, FAL = 116, M27=124, Scar=100, SMR=120, M8A1 = 96, AN94 = 104 }
        enum Weapons_Shotgun
        { R870 = 188, S12 = 196, KSG = 200, M1216 = 192 }
        enum Weapons_Sub
        { MP7 = 52, PDW57 = 60, VectorK10 = 72, MSMC = 68, ChicomCQB = 64, SkorpionEVO = 56 }
        enum Weapons_Light
        { MK48 = 144, QBBLSW = 148, LSAT = 152, HAMR = 156 }
        enum Weapons_Sniper
        { SVUAS = 172, DSR50 = 176, Ballista = 168, XPR50 = 180 }
        enum Weapons_Special
        { Shield = 228 }
    
        //Weapon List (Secondary)
        enum Weapons_Pistols
        { FiveSeven = 12, Tac45 = 6, B23R = 8, Executioner = 10, KAP40 = 4 }
        enum Weapons_Launchers
        { SMAW = 106, FHJ18AA = 108, RPG = 110 }
        enum Weapons_Specials
        { Crossbow = 116, BallisticKnife = 118 }
    Last edited by Jorndel; 12-30-2012 at 06:17 PM. Reason: Updated

     
    Contributor 01.27.2012 - N/A
    Donator 07-17-2012 - Current
    Editor/Manager 12-16-12 - N/A
    Minion 01-10-2013 - 07.17.13
    Former Staff 09-20-2012 - 01-10-2013 / 07-17-2013 - Current
    Cocksucker 20-04-2013 - N/A

  2. The Following 3 Users Say Thank You to Jorndel For This Useful Post:

    hacksorce (12-30-2012),hmrneves (12-30-2012),[MPGH]Horror (01-09-2013)

  3. #2
    Captainkerns88's Avatar
    Join Date
    Feb 2013
    Gender
    male
    Posts
    6
    Reputation
    10
    Thanks
    0

    Hey

    How do you use those functions? Another hack had me download AHK but it won't run the function you have and I don't know anything about this stuff. I'm used to modding skyrim lol this is entirely different I feel illiterate.

Similar Threads

  1. [Release] Easy Custom Class Editor by MeeKaaH
    By Thijs12 in forum Call of Duty 6 - Modern Warfare 2 (MW2) Hacks
    Replies: 113
    Last Post: 03-07-2010, 09:08 PM
  2. Patch 1.0.182 - Custom Class Editor PATCHED!
    By Thijs12 in forum Call of Duty Modern Warfare 2 Discussions
    Replies: 0
    Last Post: 02-04-2010, 01:25 AM
  3. class editor
    By akitheone in forum Call of Duty Modern Warfare 2 Help
    Replies: 1
    Last Post: 02-03-2010, 12:07 AM
  4. class editor help pl0x
    By akitheone in forum Call of Duty Hacks & Cheats
    Replies: 1
    Last Post: 02-02-2010, 10:57 PM
  5. [Release] Custom Class Editor!
    By David in forum Call of Duty 6 - Modern Warfare 2 (MW2) Hacks
    Replies: 26
    Last Post: 01-28-2010, 01:31 AM