Help plz AddItem2Packet

Discussion in 'Help' started by CharM1nG, Jun 6, 2011.

  1. CharM1nG

    CharM1nG AdvExt64 Customers (IL)

    My Packet

    Error:

    Whu ? :(
     
  2. pashatlt

    pashatlt New Member

    Had the same problem.

     
  3. KOC2000

    KOC2000 AdvExt64 Customers (GF/GE/HF)

  4. Zhengyi

    Zhengyi New Member

    Dont think either of them are AdvExt customers so that link will not help, it's linked to a private area.
     
  5. KOC2000

    KOC2000 AdvExt64 Customers (GF/GE/HF)

    here you are.
     
  6. Zhengyi

    Zhengyi New Member

    Guess they should also post which version they are using because that will be different depending on which one.
    Code:
    function l2_additem2 ( $char_id, $warehouse, $item_type, $amount, $enchant, $eroded, $bless, $ident, $wished ) {
      // 55 - AddItem2, char_id, warehouse, item_type, amount, enchant, eroded, bless, ident, wished
      $cached_op = pack ( "cVVVVVVVVVV", 55, $char_id, $warehouse, $item_type, $amount, $enchant, $eroded, $bless, $ident, $wished, 1 );
      $cached_op .= ansi2unicode ( $_SESSION [ "account" ] );
      $ret_string = l2_cached_push ( pack ( "s", strlen ( $cached_op ) + 2 ) . $cached_op );
      return ( $ret_string );
    }
    
    But should have enough info to figure it out now.