Thread: Switch items look 718/742 *

Page 2 of 2 FirstFirst 12
Results 11 to 20 of 20
  1. #11  
    Registered Member alkharidrsps's Avatar
    Join Date
    Jun 2014
    Posts
    282
    Thanks given
    9
    Thanks received
    4
    Rep Power
    13
    Quote Originally Posted by Midgars View Post
    Do you have the model .dat file which your trying to add into the cache? That's what you'll need in order to pack it into your cache (use SomethinCatchy). It'll give you a model id and that's what you'll switch your current model id with (on FCE).
    Well I already have the ids, I want the item 23659 (new tok) to turn the old one with the models ids that I already have, I just do not know where to move

    Bump
    Reply With Quote  
     

  2. #12  
    Donator
    conmenderls's Avatar
    Join Date
    Sep 2014
    Posts
    129
    Thanks given
    15
    Thanks received
    18
    Rep Power
    11
    Quote Originally Posted by Mike Hitz View Post
    Well I already have the ids, I want the item 23659 (new tok) to turn the old one with the models ids that I already have, I just do not know where to move

    Bump
    If you already packed them, you just need to add in both of the items (new and old) and have them switch whenever you want them to.
    Reply With Quote  
     

  3. #13  
    Registered Member alkharidrsps's Avatar
    Join Date
    Jun 2014
    Posts
    282
    Thanks given
    9
    Thanks received
    4
    Rep Power
    13
    Quote Originally Posted by Midgars View Post
    If you already packed them, you just need to add in both of the items (new and old) and have them switch whenever you want them to.
    I know, but do you know any way to do this?
    Reply With Quote  
     

  4. #14  
    Donator
    conmenderls's Avatar
    Join Date
    Sep 2014
    Posts
    129
    Thanks given
    15
    Thanks received
    18
    Rep Power
    11
    Quote Originally Posted by Mike Hitz View Post
    I know, but do you know any way to do this?
    Normally 718's already come with different item looks, but if it's another revision you'll need to implement it yourself. If you cannot, then I would advice finding someone who can.
    Reply With Quote  
     

  5. #15  
    Registered Member alkharidrsps's Avatar
    Join Date
    Jun 2014
    Posts
    282
    Thanks given
    9
    Thanks received
    4
    Rep Power
    13
    Quote Originally Posted by Midgars View Post
    What revision are you working on? It changes everything. Normally 718's already come with different item looks, but if it's another revision you'll need to implement it yourself. If you cannot, then I would advice finding someone who can.
    718*742
    Reply With Quote  
     

  6. #16  
    Donator
    conmenderls's Avatar
    Join Date
    Sep 2014
    Posts
    129
    Thanks given
    15
    Thanks received
    18
    Rep Power
    11
    Quote Originally Posted by Mike Hitz View Post
    718*742
    It should already have switchitemslook? did you look around to see how your command is handled?
    Reply With Quote  
     

  7. #17  
    Registered Member
    Join Date
    Feb 2014
    Posts
    129
    Thanks given
    122
    Thanks received
    35
    Rep Power
    46
    Ive done it simpler like this instead if u want to know

    https://i.gyazo.com/336b44a2e01a2f6a...2c9cdcae2a.mp4
    Reply With Quote  
     

  8. #18  
    Registered Member alkharidrsps's Avatar
    Join Date
    Jun 2014
    Posts
    282
    Thanks given
    9
    Thanks received
    4
    Rep Power
    13
    Quote Originally Posted by willy300 View Post
    Ive done it simpler like this instead if u want to know

    https://i.gyazo.com/336b44a2e01a2f6a...2c9cdcae2a.mp4
    Can you help me do this?
    Reply With Quote  
     

  9. #19  
    Registered Member
    Join Date
    Feb 2014
    Posts
    129
    Thanks given
    122
    Thanks received
    35
    Rep Power
    46
    Quote Originally Posted by Mike Hitz View Post
    Can you help me do this?
    yes - load frostys item editor and for both tokhaar capes, the 23659 + your item code for the old tokhaar and do the same for both:

    change your inventory options to this on 23659 and old kiln item code

    Attached image

    then go to your source InventoryOptionsHandler.java and put this code in the handleItemOption3 part

    Code:
    		else if (itemId == PutYourItemCodeHere) {
    		    player.getInventory().replaceItem(23659, 1, slotId);
    		    player.getPackets().sendGameMessage("You have changed the look of your kiln cape");
    		} else if (itemId == 23659) {
    		    player.getInventory().replaceItem(PutYourItemCodeHere, 1, slotId);
    		    player.getPackets().sendGameMessage("You have changed the look of your kiln cape");
    if you dont have replaceItem - add this in Inventory.java at the bottom
    Code:
        public void replaceItem(int id, int amount, int slot) {
    	Item item = items.get(slot);
    	if (item == null)
    	    return;
    	item.setId(id);
    	item.setAmount(amount);
    	refresh(slot);
        }
    Reply With Quote  
     

  10. #20  
    Registered Member alkharidrsps's Avatar
    Join Date
    Jun 2014
    Posts
    282
    Thanks given
    9
    Thanks received
    4
    Rep Power
    13
    Quote Originally Posted by willy300 View Post
    yes - load frostys item editor and for both tokhaar capes, the 23659 + your item code for the old tokhaar and do the same for both:

    change your inventory options to this on 23659 and old kiln item code

    Attached image

    then go to your source InventoryOptionsHandler.java and put this code in the handleItemOption3 part

    Code:
    		else if (itemId == PutYourItemCodeHere) {
    		    player.getInventory().replaceItem(23659, 1, slotId);
    		    player.getPackets().sendGameMessage("You have changed the look of your kiln cape");
    		} else if (itemId == 23659) {
    		    player.getInventory().replaceItem(PutYourItemCodeHere, 1, slotId);
    		    player.getPackets().sendGameMessage("You have changed the look of your kiln cape");
    if you dont have replaceItem - add this in Inventory.java at the bottom
    Code:
        public void replaceItem(int id, int amount, int slot) {
    	Item item = items.get(slot);
    	if (item == null)
    	    return;
    	item.setId(id);
    	item.setAmount(amount);
    	refresh(slot);
        }
    thanks man
    Reply With Quote  
     

Page 2 of 2 FirstFirst 12

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. 718/742 Cache [switch items look] issue...
    By Lonely_One in forum Help
    Replies: 5
    Last Post: 04-18-2016, 10:48 PM
  2. Fixing old item looks 718/742
    By Dan_ in forum Help
    Replies: 3
    Last Post: 02-29-2016, 09:10 AM
  3. Fixing switch items look bugs! [742+ - NEW]
    By Motherboard in forum Snippets
    Replies: 36
    Last Post: 02-02-2014, 10:00 PM
  4. 718 Switch items look???
    By Ynneh in forum Help
    Replies: 0
    Last Post: 04-05-2013, 07:28 PM
  5. 718/742 Switch items look
    By BANGED-OUT in forum Requests
    Replies: 1
    Last Post: 01-25-2013, 10:25 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
  •