Thread: making items unstackable

Results 1 to 10 of 10
  1. #1 making items unstackable 
    Registered Member
    Join Date
    Feb 2012
    Posts
    383
    Thanks given
    43
    Thanks received
    10
    Rep Power
    15
    i just added a new item to my itemdef/item.cfg and when i spawned 2 of them it , they stacked on each other. Its not declared a stackable item in item.java.. s how would i make it unstackable?
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Feb 2012
    Posts
    383
    Thanks given
    43
    Thanks received
    10
    Rep Power
    15
    bump
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Feb 2012
    Posts
    383
    Thanks given
    43
    Thanks received
    10
    Rep Power
    15
    bumpppp
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Feb 2012
    Posts
    383
    Thanks given
    43
    Thanks received
    10
    Rep Power
    15
    supah bump
    Reply With Quote  
     

  5. #5  
    Registered Member
    Join Date
    Dec 2011
    Posts
    109
    Thanks given
    9
    Thanks received
    1
    Rep Power
    11
    Need help with this too
    Reply With Quote  
     

  6. #6  
    Registered Member Mini's Avatar
    Join Date
    Jul 2007
    Posts
    285
    Thanks given
    5
    Thanks received
    7
    Rep Power
    35
    It would be helpful if you let us know what source you're using and perhaps provide some code for us to look at. I'd start with posting the line you added and perhaps the method that loads it.
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Dec 2011
    Posts
    109
    Thanks given
    9
    Thanks received
    1
    Rep Power
    11
    Quote Originally Posted by Mini` View Post
    It would be helpful if you let us know what source you're using and perhaps provide some code for us to look at. I'd start with posting the line you added and perhaps the method that loads it.
    I'm using HybridPVP3

    I added it in itemdef and it was already a null in item.cfg so changed the name and it now let's me stack the items

    any help with that?
    Reply With Quote  
     

  8. #8  
    Registered Member
    Join Date
    Jan 2012
    Posts
    269
    Thanks given
    155
    Thanks received
    78
    Rep Power
    50
    Do this snippet:
    http://www.rune-server.org/runescape...stackable.html

    The only step you change is "3" Make it to false instead.

    Code:
    itemStackable[item id] = false;
    (Change item id to your item id)
    Reply With Quote  
     

  9. Thankful user:


  10. #9  
    Registered Member
    Join Date
    Dec 2011
    Posts
    109
    Thanks given
    9
    Thanks received
    1
    Rep Power
    11
    Quote Originally Posted by Tomson View Post
    Do this snippet:
    http://www.rune-server.org/runescape...stackable.html

    The only step you change is "3" Make it to false instead.

    Code:
    itemStackable[item id] = false;
    (Change item id to your item id)
    Worked perfectly, THANKYOU

    Repped + thanked
    Reply With Quote  
     

  11. Thankful user:


  12. #10  
    PokeFrontier Java Developer

    Pokemon's Avatar
    Join Date
    May 2011
    Posts
    2,726
    Thanks given
    495
    Thanks received
    807
    Rep Power
    1260
    item.java


    Attached image


    I love
    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. Buying Unstackable Items
    By HLK113 in forum Help
    Replies: 0
    Last Post: 02-10-2012, 08:22 AM
  2. [pi] making items stackable?
    By ispitbars12 in forum Help
    Replies: 0
    Last Post: 11-29-2010, 06:11 AM
  3. Money unstackable
    By KalaZ in forum Help
    Replies: 2
    Last Post: 08-05-2009, 09:18 PM
  4. Making Items For You
    By theotherscape in forum Tutorials
    Replies: 13
    Last Post: 04-19-2008, 09:00 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
  •