Thread: [Emulous] Firecape on death

Results 1 to 3 of 3
  1. #1 [Emulous] Firecape on death 
    Since '06

    Ayton's Avatar
    Join Date
    Dec 2006
    Age
    28
    Posts
    1,420
    Thanks given
    66
    Thanks received
    37
    Rep Power
    327
    Lately today I have been working with my Emulous source, and noticed that other players are able to pick your firecape when you die.
    I tried somethings, such as deleting it on death, but without succes.

    Now I'd like to have help making it delete on dead.

    Thanks
    Reply With Quote  
     

  2. #2  
    Apple Computers
    Bridget7298's Avatar
    Join Date
    Aug 2007
    Age
    32
    Posts
    1,088
    Thanks given
    99
    Thanks received
    49
    Rep Power
    219
    Add this void:
    Code:
    public void deleteequipment(int wearID, int slot) {
    		playerEquipment[slot] = -1;
    		playerEquipmentN[slot] = 0;
    		outStream.createFrame(34);
    		outStream.writeWord(6);
    		outStream.writeWord(1688);
    		outStream.writeByte(slot);
    		outStream.writeWord(0);
    		outStream.writeByte(0);
    		ResetBonus();
    		GetBonus();
    		WriteBonus();
    			if (slot == playerWeapon) {
    				SendWeapon(-1, "Unarmed");
    			}
    		updateRequired = true; appearanceUpdateRequired = true;
    	}
    Under your death method add this:
    Code:
    deleteequipment(6570, playerCape);
    Try that, tell me if it works.
    Reply With Quote  
     

  3. #3  
    Since '06

    Ayton's Avatar
    Join Date
    Dec 2006
    Age
    28
    Posts
    1,420
    Thanks given
    66
    Thanks received
    37
    Rep Power
    327
    Doesnt work =[
    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

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •