Thread: [667] Female Character Clothing (Fixed)

Results 1 to 10 of 10
  1. #1 [667] Female Character Clothing (Fixed) 
    Alex
    Riddle Me That's Avatar
    Join Date
    Jul 2011
    Posts
    830
    Thanks given
    125
    Thanks received
    99
    Rep Power
    0
    The female clothing tops are showing through the chest plates and robes. What is causing this?

    Pic: [Only registered and activated users can see links. ]

    Code:
    item = player.getEquipment().getItems().get(Equipment.SLOT_CHEST);
    			if (item == null || !Equipment.isFullBody(item)) 
    				stream.writeShort(0x100 + lookI[3]);
    			else
    				stream.writeByte(0);
    Code:
    private static String[] FULL_BODY = { "robe", "blouse",
    		"pernix body", "vesta's chainbody", "armour", "hauberk", "top",
    		"shirt", "platebody", "ahrim's robe top", "Karils leathertop",
    		"brassard", "chestplate", "torso", "morrigan's", "zuriel's",
    	};

    FIXED. I replaced my Appearance class with this: [Only registered and activated users can see links. ]
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    May 2016
    Posts
    383
    Thanks given
    52
    Thanks received
    30
    Rep Power
    29
    Wrong slot maybe
    Code:
    var slot = ??
    player.equipment.set(slot, ahrim_top)
    donald trump approves this message
    Reply With Quote  
     

  3. #3  
    Alex
    Riddle Me That's Avatar
    Join Date
    Jul 2011
    Posts
    830
    Thanks given
    125
    Thanks received
    99
    Rep Power
    0
    Quote Originally Posted by Java100 View Post
    Wrong slot maybe
    Code:
    var slot = ??
    player.equipment.set(slot, ahrim_top)
    Can you explain a little more, where exactly would I look for this?
    Reply With Quote  
     

  4. #4  
    Registered Member
    bracket's Avatar
    Join Date
    Aug 2009
    Posts
    5,211
    Thanks given
    990
    Thanks received
    1,119
    Rep Power
    4080
    There should be an array named fullbody, adding the item name should fix it.
    Reply With Quote  
     

  5. #5  
    Alex
    Riddle Me That's Avatar
    Join Date
    Jul 2011
    Posts
    830
    Thanks given
    125
    Thanks received
    99
    Rep Power
    0
    Quote Originally Posted by bracket View Post
    There should be an array named fullbody, adding the item name should fix it.
    I tried doing that, no luck yet. Any other reason that might be happening?

    Code:
    private static String[] FULL_BODY = { "robe", "blouse",
    		"pernix body", "vesta's chainbody", "armour", "hauberk", "top",
    		"shirt", "platebody", "ahrim's robe top", "Karils leathertop",
    		"brassard", "chestplate", "torso", "morrigan's", "zuriel's",
    	};
    Reply With Quote  
     

  6. #6  
    Registered Member
    bracket's Avatar
    Join Date
    Aug 2009
    Posts
    5,211
    Thanks given
    990
    Thanks received
    1,119
    Rep Power
    4080
    Quote Originally Posted by Riddle Me That View Post
    I tried doing that, no luck yet. Any other reason that might be happening?

    Code:
    private static String[] FULL_BODY = { "robe", "blouse",
    		"pernix body", "vesta's chainbody", "armour", "hauberk", "top",
    		"shirt", "platebody", "ahrim's robe top", "Karils leathertop",
    		"brassard", "chestplate", "torso", "morrigan's", "zuriel's",
    	};
    Make sure that the name of the item definition matches the one you're defining in the array.

    edit: also make sure it's (not) case sensitive.
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    May 2016
    Posts
    383
    Thanks given
    52
    Thanks received
    30
    Rep Power
    29
    Quote Originally Posted by Riddle Me That View Post
    Can you explain a little more, where exactly would I look for this?
    If your using matrix there will be something like SLOT_BODY = 5; or something in equipment class, try changing the number 5 or whatever it currently is to something else
    donald trump approves this message
    Reply With Quote  
     

  8. #8  
    Registered Member
    Join Date
    Jun 2016
    Posts
    306
    Thanks given
    208
    Thanks received
    62
    Rep Power
    44
    Quote Originally Posted by Riddle Me That View Post
    The female clothing tops are showing through the chest plates and robes. What is causing this?

    Pic: [Only registered and activated users can see links. ]

    Code:
    item = player.getEquipment().getItems().get(Equipment.SLOT_CHEST);
    			if (item == null || !Equipment.isFullBody(item)) 
    				stream.writeShort(0x100 + lookI[3]);
    			else
    				stream.writeByte(0);
    Code:
    private static String[] FULL_BODY = { "robe", "blouse",
    		"pernix body", "vesta's chainbody", "armour", "hauberk", "top",
    		"shirt", "platebody", "ahrim's robe top", "Karils leathertop",
    		"brassard", "chestplate", "torso", "morrigan's", "zuriel's",
    	};
    Code:
    Item item = player.getEquipment().getItems().get(Equipment.SLOT_CHEST);
    			stream.writeShort(item == null ? 0x100 + lookI[2] : 32768 + item.getEquipId());
    			item = player.getEquipment().getItems().get(Equipment.SLOT_SHIELD);
    			if (item == null)
    				stream.writeByte(0);
    			else
    				stream.writeShort(32768 + item.getEquipId());
    			item = player.getEquipment().getItems().get(Equipment.SLOT_CHEST);
    			if (item == null || !Equipment.isFullBody(item)) 
    				stream.writeShort(0x100 + lookI[3]);
    			else
    				stream.writeByte(0);
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  9. #9  
    Alex
    Riddle Me That's Avatar
    Join Date
    Jul 2011
    Posts
    830
    Thanks given
    125
    Thanks received
    99
    Rep Power
    0
    Quote Originally Posted by Smirnoff View Post
    Code:
    Item item = player.getEquipment().getItems().get(Equipment.SLOT_CHEST);
    			stream.writeShort(item == null ? 0x100 + lookI[2] : 32768 + item.getEquipId());
    			item = player.getEquipment().getItems().get(Equipment.SLOT_SHIELD);
    			if (item == null)
    				stream.writeByte(0);
    			else
    				stream.writeShort(32768 + item.getEquipId());
    			item = player.getEquipment().getItems().get(Equipment.SLOT_CHEST);
    			if (item == null || !Equipment.isFullBody(item)) 
    				stream.writeShort(0x100 + lookI[3]);
    			else
    				stream.writeByte(0);
    I really can't figure this out. At this point, I feel like it's nothing to do with Equipment/Appearence.java I've redone that entire class top to bottom.

    It's either my PlayerLook, or ItemDefinions class.
    Reply With Quote  
     

  10. #10  
    Registered Member
    arch337's Avatar
    Join Date
    Sep 2008
    Posts
    2,537
    Thanks given
    156
    Thanks received
    223
    Rep Power
    395
    First make sure this code is true: "!Equipment.isFullBody(item)"
    Second it is "Ahrim's robetop" and not "ahrim's robe top".


    "A fail act is something you do regular, but a dumb act is something you can learn from"
    Spoiler for Problem?:
    Reply With Quote  
     


Thread Information
Users Browsing this Thread

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

Similar Threads

  1. 667 character clothes appearence -REQ-
    By ChromeII in forum Requests
    Replies: 10
    Last Post: 06-07-2015, 02:56 AM
  2. [317] Loading 667 items female characters have no arms
    By i break your code in forum Help
    Replies: 7
    Last Post: 05-01-2015, 09:03 PM
  3. Replies: 17
    Last Post: 01-04-2014, 02:54 AM
  4. Replies: 23
    Last Post: 12-31-2009, 03:56 PM
  5. making character clothe and hair save?
    By travisman26 in forum Help
    Replies: 1
    Last Post: 08-02-2009, 05:41 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •