Socket Item HEX Code

Results 1 to 10 of 10
  1. #1
    Valued Member Djirko is offline
    MemberRank
    Jun 2004 Join Date
    LithuaniaLocation
    119Posts

    Socket Item HEX Code

    Hello. Maybe someone already find out socket items hex code in .87 versions, what and how exactly changes values in code by changing options of socket. I mean like on this thread: http://forum.ragezone.com/f196/guide...x-code-192016/
    I would really appreciate your help.
    Last edited by Djirko; 12-11-09 at 10:55 AM.


  2. #2
    Valued Member GrInYa is offline
    MemberRank
    Oct 2008 Join Date
    ChisinauLocation
    149Posts

    Re: [Help] Socket Item HEX Code

    yea...i need it too

  3. #3
    Valued Member tagegor is offline
    MemberRank
    Nov 2008 Join Date
    Russia/EkaterinLocation
    142Posts

    Re: [Help] Socket Item HEX Code

    Open MuMaker and see changes in HEX when you adding socket-options...

  4. #4
    The Fearless One Not4You is offline
    Super ModRank
    Oct 1973 Join Date
    3,270Posts

    Re: [Help] Socket Item HEX Code

    look in hex , what has been changed in hex when u add socket opts u.u

  5. #5
    Valued Member Djirko is offline
    MemberRank
    Jun 2004 Join Date
    LithuaniaLocation
    119Posts

    Re: [Help] Socket Item HEX Code

    Quote Originally Posted by Not4You View Post
    look in hex , what has been changed in hex when u add socket opts u.u
    I would do that, but for now i dont have opportunity to do that, so why i'm asking here, maybe someone already find out that.

    Quote Originally Posted by tagegor View Post
    Open MuMaker and see changes in HEX when you adding socket-options...
    1.12 mumaker dont work correctly with .87 sockets.

  6. #6
    Valued Member Djirko is offline
    MemberRank
    Jun 2004 Join Date
    LithuaniaLocation
    119Posts

    Re: Socket Item HEX Code

    anybody ?

  7. #7
    Kingdom of Shadows [RCZ]ShadowKing is offline
    MemberRank
    Jul 2007 Join Date
    1,644Posts

    Re: Socket Item HEX Code

    PHP Code:
        $id=        hexdec(substr($item,0,2));        // Item ID
        
    $lsl=        hexdec(substr($item,2,2));        // Item Level/Skill/Luck
        
    $dur=        hexdec(substr($item,4,2));        // Item Durability
        
    $serial=    hexdec(substr($item,6,8));        // Item Serial
        
    $exe=        hexdec(substr($item,14,2));        // Item Excellent
        
    $anc=        hexdec(substr($item,16,2));        // Item Ancient
        
    $type=    (hexdec(substr($item,18,2)))/16;    // Item Type
        
    $h_option=    hexdec(substr($item,20,1));        // Item Harmony Option
        
    $h_value=    hexdec(substr($item,21,1));        // Item Harmony Option Value

        
    $s1=        hexdec(substr($item,22,2));        // Socket Option 1
        
    $s2=        hexdec(substr($item,24,2));        // Socket Option 2
        
    $s3=        hexdec(substr($item,26,2));        // Socket Option 3
        
    $s4=        hexdec(substr($item,28,2));        // Socket Option 4
        
    $s5=        hexdec(substr($item,30,2));        // Socket Option 5 
    item structure made for a personal creation in version .60 gs,it may work in .90 or .87

    PS: item length 30 or 32 including 0x prefix
    Last edited by [RCZ]ShadowKing; 13-11-09 at 06:49 PM.

  8. #8
    Valued Member GrInYa is offline
    MemberRank
    Oct 2008 Join Date
    ChisinauLocation
    149Posts

    Re: Socket Item HEX Code

    Quote Originally Posted by [RCZ]ShadowKing View Post
    PHP Code:
        $h_option=    hexdec(substr($item,20,1));        // Item Harmony Option
        
    $h_value=    hexdec(substr($item,21,1));        // Item Harmony Option Value

        
    $s1=        hexdec(substr($item,22,2));        // Socket Option 1
        
    $s2=        hexdec(substr($item,24,2));        // Socket Option 2
        
    $s3=        hexdec(substr($item,26,2));        // Socket Option 3
        
    $s4=        hexdec(substr($item,28,2));        // Socket Option 4
        
    $s5=        hexdec(substr($item,30,2));        // Socket Option 5 
    item structure made for a personal creation in version .60 gs,it may work in .90 or .87
    Cool...thanks a lot, but this is only a part of answer :(...maybe you know and values of every options of socket and harmony? i mean like excellent options ;)

  9. #9
    Kingdom of Shadows [RCZ]ShadowKing is offline
    MemberRank
    Jul 2007 Join Date
    1,644Posts

    Re: Socket Item HEX Code

    this is the only thing made for sockets,i'm still at decoding and rendering in vault the other options,sorry..

  10. #10
    Valued Member Djirko is offline
    MemberRank
    Jun 2004 Join Date
    LithuaniaLocation
    119Posts

    Re: Socket Item HEX Code

    Thanks ShadowKing, soon i will start researching for every option by myself.



Advertisement