Thread: InsidiaX switch drop?

Results 1 to 6 of 6
  1. #1 InsidiaX switch drop? 
    Banned
    Join Date
    Sep 2011
    Posts
    177
    Thanks given
    32
    Thanks received
    13
    Rep Power
    0
    Okay say you're pking, you switch to a different armor set or maybe even eat food, randomly it drops the item you click. Anyone know a fix? Please reply, much appreciated. I'll rep if I can!
    Reply With Quote  
     

  2. #2  
    Banned
    Join Date
    Sep 2011
    Posts
    177
    Thanks given
    32
    Thanks received
    13
    Rep Power
    0
    bump. Help please?
    Reply With Quote  
     

  3. #3  
    arrowzftw
    Guest
    Maybe if you'd post your addItem code and your wearItem code it'll help.
    Reply With Quote  
     

  4. #4  
    Banned
    Join Date
    Sep 2011
    Posts
    177
    Thanks given
    32
    Thanks received
    13
    Rep Power
    0
    i don't know if this is what you're looking for. but here.
    public void wearItem(int wearID, int wearAmount, int targetSlot) {
    synchronized(c) {
    if(c.getOutStream() != null && c != null ) {
    c.getOutStream().createFrameVarSizeWord(34);
    c.getOutStream().writeWord(1688);
    c.getOutStream().writeByte(targetSlot);
    c.getOutStream().writeWord(wearID+1);

    if (wearAmount > 254) {
    c.getOutStream().writeByte(255);
    c.getOutStream().writeDWord(wearAmount);
    } else {
    c.getOutStream().writeByte(wearAmount);
    }
    c.getOutStream().endFrameVarSizeWord();
    c.flushOutStream();
    c.playerEquipment[targetSlot]=wearID;
    c.playerEquipmentN[targetSlot]=wearAmount;
    c.getItems().sendWeapon(c.playerEquipment[c.playerWeapon], c.getItems().getItemName(c.playerEquipment[c.playerWeapon]));
    c.getItems().resetBonus();
    c.getItems().getBonus();
    c.getItems().writeBonus();
    c.getCombat().getPlayerAnimIndex(c.getItems().getI temName(c.playerEquipment[c.playerWeapon]).toLowerCase());
    c.updateRequired = true;
    c.setAppearanceUpdateRequired(true);
    }
    }
    }

    public void updateSlot(int slot) {
    synchronized(c) {
    if(c.getOutStream() != null && c != null ) {
    c.getOutStream().createFrameVarSizeWord(34);
    c.getOutStream().writeWord(1688);
    c.getOutStream().writeByte(slot);
    c.getOutStream().writeWord(c.playerEquipment[slot] + 1);
    if (c.playerEquipmentN[slot] > 254) {
    c.getOutStream().writeByte(255);
    c.getOutStream().writeDWord(c.playerEquipmentN[slot]);
    } else {
    c.getOutStream().writeByte(c.playerEquipmentN[slot]);
    }
    c.getOutStream().endFrameVarSizeWord();
    c.flushOutStream();
    }
    }

    }
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Jul 2012
    Posts
    361
    Thanks given
    185
    Thanks received
    9
    Rep Power
    25
    i need this
    Reply With Quote  
     

  6. #6 i have same prob 
    Registered Member
    Join Date
    Aug 2012
    Posts
    39
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    add me on skype josh.perkins92 admin spot open if u can help
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. insidiax client???
    By Ohad in forum Help
    Replies: 3
    Last Post: 09-09-2011, 05:15 PM
  2. InsidiaX run.bat Fix!
    By 504 Boyz in forum Snippets
    Replies: 7
    Last Post: 09-05-2011, 04:05 AM
  3. Replies: 1
    Last Post: 07-12-2011, 11:39 PM
  4. [525] Switch items 2 (Bank tabs, Inteface switch)
    By 'Mystic Flow in forum Snippets
    Replies: 11
    Last Post: 01-22-2011, 01:25 PM
  5. Adding a ::switch to Switch Magic
    By mans in forum Tutorials
    Replies: 6
    Last Post: 09-26-2008, 04:27 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •