Results 1 to 3 of 3
  1. #1
    HexMurder's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Location
    System.Diagnostics
    Posts
    344
    Reputation
    96
    Thanks
    3,170

    Reading Weapon ids from Entity List?

    Trying to do this externally. Just not sure how to read the correct weapon ids.

    I would like to read their ids as follows
    Code:
    enum ItemDefinitionIndex: int {
    	WEAPON_DEAGLE = 1,
    	WEAPON_ELITE = 2,
    	WEAPON_FIVESEVEN = 3,
    	WEAPON_GLOCK = 4,
    	WEAPON_AK47 = 7,
    	WEAPON_AUG = 8,
    	WEAPON_AWP = 9,
    	WEAPON_FAMAS = 10,
    	WEAPON_G3SG1 = 11,
    	WEAPON_GALILAR = 13,
    	WEAPON_M249 = 14,
    	WEAPON_M4A1 = 16,
    	WEAPON_MAC10 = 17,
    	WEAPON_P90 = 19,
    	WEAPON_UMP45 = 24,
    	WEAPON_XM1014 = 25,
    	WEAPON_BIZON = 26,
    	WEAPON_MAG7 = 27,
    	WEAPON_NEGEV = 28,
    	WEAPON_SAWEDOFF = 29,
    	WEAPON_TEC9 = 30,
    	WEAPON_TASER = 31,
    	WEAPON_HKP2000 = 32,
    	WEAPON_MP7 = 33,
    	WEAPON_MP9 = 34,
    	WEAPON_NOVA = 35,
    	WEAPON_P250 = 36,
    	WEAPON_SCAR20 = 38,
    	WEAPON_SG556 = 39,
    	WEAPON_SSG08 = 40,
    	WEAPON_KNIFE = 42,
    	WEAPON_FLASHBANG = 43,
    	WEAPON_HEGRENADE = 44,
    	WEAPON_SMOKEGRENADE = 45,
    	WEAPON_MOLOTOV = 46,
    	WEAPON_DECOY = 47,
    	WEAPON_INCGRENADE = 48,
    	WEAPON_C4 = 49,
    	WEAPON_KNIFE_T = 59,
    	WEAPON_M4A1_SILENCER = 60,
    	WEAPON_USP_SILENCER = 61,
    	WEAPON_CZ75A = 63,
    	WEAPON_REVOLVER = 64,
    	WEAPON_KNIFE_BAYONET = 500,
    	WEAPON_KNIFE_FLIP = 505,
    	WEAPON_KNIFE_GUT = 506,
    	WEAPON_KNIFE_KARAMBIT = 507,
    	WEAPON_KNIFE_M9_BAYONET = 508,
    	WEAPON_KNIFE_TACTICAL = 509,
    	WEAPON_KNIFE_FALCHION = 512,
    	WEAPON_KNIFE_SURVIVAL_BOWIE = 514,
    	WEAPON_KNIFE_BUTTERFLY = 515,
    	WEAPON_KNIFE_PUSH = 516
    };
    In this picture, the glock should be reading 4, and the p250 should be reading 36


    I dug and dug and i couldn't seem to find the offset. Any help will be appreciated.

  2. #2
    PhY'z's Avatar
    Join Date
    Aug 2013
    Gender
    male
    Posts
    518
    Reputation
    58
    Thanks
    1,310
    My Mood
    Angelic
    Show us some code about what you are doing...
    You could use the search bar also, but you probably will need to get the class id of those entities and then compare to the classid list.
    Contact with me in any question...


    Hi (:

  3. #3
    HexMurder's Avatar
    Join Date
    Apr 2011
    Gender
    male
    Location
    System.Diagnostics
    Posts
    344
    Reputation
    96
    Thanks
    3,170
    Quote Originally Posted by PhY'z View Post
    Show us some code about what you are doing...
    You could use the search bar also, but you probably will need to get the class id of those entities and then compare to the classid list.
    I am simply reading the entity list.

    Mem.read(entity + 0x0)
    in this case.

    I am using entity base +0x6c to get the model name. And that works correctly. I want to be able to read like the ammo count of the entity if possible.

Similar Threads

  1. [Info] Black Ops 2 Zombies - (Request) Custom weapon IDs list
    By LeDerpinator in forum Call of Duty Black Ops 2 Coding, Programming & Source Code
    Replies: 13
    Last Post: 12-09-2016, 06:33 PM
  2. [Release] List of Weapon IDs
    By xKickAss in forum CrossFire Hack Coding / Programming / Source Code
    Replies: 13
    Last Post: 01-02-2012, 07:37 AM
  3. Whats your Favorite gun from the list
    By sheepong in forum Combat Arms Europe Hacks
    Replies: 32
    Last Post: 12-13-2009, 10:15 PM
  4. Replies: 5
    Last Post: 07-22-2009, 04:26 PM
  5. Hide from process list
    By superHackz in forum Visual Basic Programming
    Replies: 1
    Last Post: 06-23-2008, 04:51 PM