Thread: Weapon Id..

Results 1 to 7 of 7
  1. #1
    Zaczero's Avatar
    Join Date
    Oct 2013
    Gender
    male
    Location
    localhost
    Posts
    3,288
    Reputation
    1517
    Thanks
    14,262
    My Mood
    Angelic

    Weapon Id..

    I'm stupid. Idk why it is not working...
    I'm trying to get active weapon id

    Code:
                            if (EspActiveWeapon)
                            {
    
                                var weaponEntityId = m[entityPointer, false].Read<int>(m_hActiveWeapon);
                                weaponEntityId &= 0xFFF;
    
                                var weaponEntityPointer = m["client.dll"].Read<IntPtr>(Memory.EntityListBase + (weaponEntityId - 1) * 0x10);
    
                                var weaponId = m[weaponEntityPointer , false].Read<int>(m_iWeaponID);
                            }
    everything works fine until weaponId reading.
    all values/pointers are changing correctly.
    but weaponId is returning 257 all the time.
    . . . malsignature.com . . .



    [ global rules ] [ scam report ] [ image title ] [ name change ] [ anime force ]
    [ league of legends marketplace rules ] [ battlefield marketplace rules ]

    "because everytime you post a picture of anime in here
    your virginity's time increases by 1 month"
    ~Smoke 2/18/2018


    Former Staff 09-29-2018
    Battlefield Minion 07-21-2018
    Premium Seller 03-04-2018
    Publicist 12-10-2017
    League of Legends Minion 05-31-2017
    Premium 02-05-2017
    Member 10-13-2013

  2. #2
    armez47's Avatar
    Join Date
    Dec 2015
    Gender
    male
    Posts
    252
    Reputation
    10
    Thanks
    932
    Active Weapon :
    Code:
    int iGetActiveWeapon()
    {
             DWORD wpnhandl = Memory.Read<DWORD>(BaseEntity + Offsets.m_hActiveWeapon) & 0xFFF;
    	 DWORD wpnadd = Memory.Read<DWORD>(GetClientDLL() + Offsets.m_dwEntityList + (wpnhandl - 1) * 0x10);
             return Memory.Read<int>(wpnadd + Offsets.m_iItemDefinitionIndex);
    }
    And now esp codenz, pseudocode
    Code:
    if(bWeaponESP)
    {
       draw.whatever(x,y,colorez,wpn_name_array[iGetActiveWeapon()]);
    }
    Last edited by armez47; 11-12-2016 at 04:07 AM.

  3. #3
    Zaczero's Avatar
    Join Date
    Oct 2013
    Gender
    male
    Location
    localhost
    Posts
    3,288
    Reputation
    1517
    Thanks
    14,262
    My Mood
    Angelic
    Quote Originally Posted by armez47 View Post
    Active Weapon :
    Code:
    int iGetActiveWeapon()
    {
             DWORD wpnhandl = Memory.Read<DWORD>(BaseEntity + Offsets.m_hActiveWeapon) & 0xFFF;
    	 DWORD wpnadd = Memory.Read<DWORD>(GetClientDLL() + Offsets.m_dwEntityList + (wpnhandl - 1) * 0x10);
             return Memory.Read<int>(wpnadd + Offsets.m_iItemDefinitionIndex);
    }
    And now esp codenz, pseudocode
    Code:
    if(bWeaponESP)
    {
       draw.whatever(x,y,colorez,wpn_name_array[iGetActiveWeapon()]);
    }
    what's the current offset of m_iItemDefinitionIndex ?
    . . . malsignature.com . . .



    [ global rules ] [ scam report ] [ image title ] [ name change ] [ anime force ]
    [ league of legends marketplace rules ] [ battlefield marketplace rules ]

    "because everytime you post a picture of anime in here
    your virginity's time increases by 1 month"
    ~Smoke 2/18/2018


    Former Staff 09-29-2018
    Battlefield Minion 07-21-2018
    Premium Seller 03-04-2018
    Publicist 12-10-2017
    League of Legends Minion 05-31-2017
    Premium 02-05-2017
    Member 10-13-2013

  4. #4
    armez47's Avatar
    Join Date
    Dec 2015
    Gender
    male
    Posts
    252
    Reputation
    10
    Thanks
    932
    m_iItemDefinitionIndex = 0x2F88

  5. #5
    Zaczero's Avatar
    Join Date
    Oct 2013
    Gender
    male
    Location
    localhost
    Posts
    3,288
    Reputation
    1517
    Thanks
    14,262
    My Mood
    Angelic
    Quote Originally Posted by armez47 View Post
    m_iItemDefinitionIndex = 0x2F88
    Now it works
    btw how can i get this value?
    is there any dumper with this value?
    . . . malsignature.com . . .



    [ global rules ] [ scam report ] [ image title ] [ name change ] [ anime force ]
    [ league of legends marketplace rules ] [ battlefield marketplace rules ]

    "because everytime you post a picture of anime in here
    your virginity's time increases by 1 month"
    ~Smoke 2/18/2018


    Former Staff 09-29-2018
    Battlefield Minion 07-21-2018
    Premium Seller 03-04-2018
    Publicist 12-10-2017
    League of Legends Minion 05-31-2017
    Premium 02-05-2017
    Member 10-13-2013

  6. #6
    armez47's Avatar
    Join Date
    Dec 2015
    Gender
    male
    Posts
    252
    Reputation
    10
    Thanks
    932
    Quote Originally Posted by Zaczero View Post


    Now it works
    btw how can i get this value?
    is there any dumper with this value?
    y3t1y3t dumper, netvar section. You're a little hopeless, search button doesn't bite

  7. #7
    Zaczero's Avatar
    Join Date
    Oct 2013
    Gender
    male
    Location
    localhost
    Posts
    3,288
    Reputation
    1517
    Thanks
    14,262
    My Mood
    Angelic
    Quote Originally Posted by armez47 View Post
    y3t1y3t dumper, netvar section. You're a little hopeless, search button doesn't bite
    thanks xd
    . . . malsignature.com . . .



    [ global rules ] [ scam report ] [ image title ] [ name change ] [ anime force ]
    [ league of legends marketplace rules ] [ battlefield marketplace rules ]

    "because everytime you post a picture of anime in here
    your virginity's time increases by 1 month"
    ~Smoke 2/18/2018


    Former Staff 09-29-2018
    Battlefield Minion 07-21-2018
    Premium Seller 03-04-2018
    Publicist 12-10-2017
    League of Legends Minion 05-31-2017
    Premium 02-05-2017
    Member 10-13-2013

Similar Threads

  1. warrock weapon skin hack
    By slash83 in forum WarRock - International Hacks
    Replies: 45
    Last Post: 02-10-2006, 04:43 PM
  2. list of weapon packets changed...
    By LuKan in forum WarRock - International Hacks
    Replies: 10
    Last Post: 02-09-2006, 05:19 AM
  3. [Searching] Weapons Hack
    By OutZida in forum WarRock - International Hacks
    Replies: 4
    Last Post: 01-19-2006, 12:06 PM
  4. [SEARCH]weapons
    By neoRUS in forum WarRock - International Hacks
    Replies: 4
    Last Post: 01-14-2006, 02:03 PM
  5. Two more weapons in Warrock
    By Zededarian in forum Game Hacking Tutorials
    Replies: 4
    Last Post: 01-04-2006, 01:54 PM