Users Equips

Results 1 to 4 of 4
  1. #1
    Newbie heintzman is offline
    MemberRank
    Aug 2007 Join Date
    22Posts

    Users Equips

    How would I go about getting the Item ID of the equipment a user is wearing? And if possible weather it is a wepon necklace/coro/hat/helmet sheild boots or anything elese thanks.


  2. #2
    Member Lateralus is offline
    MemberRank
    Apr 2008 Join Date
    Louisiana, USALocation
    51Posts

    Re: Users Equips

    You could look in a decrypted itemtype.dat for the specific items that they are wearing. Not sure about getting them with packets, not that experienced.

  3. #3
    Member metalicgecko is offline
    MemberRank
    Dec 2007 Join Date
    45Posts

    Re: Users Equips

    Quote Originally Posted by heintzman View Post
    How would I go about getting the Item ID of the equipment a user is wearing? And if possible weather it is a wepon necklace/coro/hat/helmet sheild boots or anything elese thanks.
    Depends on how you have your system written, if you have your item system setup where you have variables that are constant reads from the database, than you can do like client.char.inventory.spot.1 or however you have your item system setup.

  4. #4
    Elite Member Hyberkill is offline
    Member +Rank
    May 2005 Join Date
    HeavenLocation
    104Posts

    Re: Users Equips

    foreach (int[] Equip in Char.Equipment)
    {
    Equip[0] // ItemUID
    Equip[1] // ItemID
    }



    Thats the main code... the numbers inside Equip[] depend on the coding of the server....
    Char.Equipment - Its a value set in Character.cs...... it might be Char.Equips... or whatever



Advertisement