Thread: item spawn crashes client

Results 1 to 9 of 9
  1. #1 item spawn crashes client 
    Registered Member
    Join Date
    Feb 2012
    Posts
    384
    Thanks given
    43
    Thanks received
    10
    Rep Power
    15
    closed*
    Reply With Quote  
     

  2. #2  
    Registered Member
    Join Date
    Feb 2012
    Posts
    384
    Thanks given
    43
    Thanks received
    10
    Rep Power
    15
    bump~

    EDIT: sorry for posting before 24 hours, posted it last night and i thought i would post again, anyways really need this.
    Reply With Quote  
     

  3. #3  
    Banned
    Join Date
    Mar 2012
    Posts
    123
    Thanks given
    64
    Thanks received
    4
    Rep Power
    0
    because ur client doesnt load those items O_o its not added.
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Feb 2012
    Posts
    384
    Thanks given
    43
    Thanks received
    10
    Rep Power
    15
    but ive added items in itemdef and put models in raw folder. they worked before when i had the codes below 20800, but i changed the item ids to the actual rs ids, now they wont load.
    Reply With Quote  
     

  5. #5  
    Banned
    Join Date
    Apr 2012
    Posts
    17
    Thanks given
    0
    Thanks received
    2
    Rep Power
    0
    you don't have the models. If you have 20801 you need the model otherwise there is no fix
    Reply With Quote  
     

  6. #6  
    Banned
    Join Date
    Mar 2012
    Posts
    123
    Thanks given
    64
    Thanks received
    4
    Rep Power
    0
    Quote Originally Posted by Phat Stacks View Post
    but ive added items in itemdef and put models in raw folder. they worked before when i had the codes below 20800, but i changed the item ids to the actual rs ids, now they wont load.
    the way ur adding items is hard coded, if u want to use the actual numbers u will have to make ur client load those revisions
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Feb 2012
    Posts
    384
    Thanks given
    43
    Thanks received
    10
    Rep Power
    15
    i have the right models, everything worked perfect when i had the ids below 20800, as soon as i changed the item ids above 20800, the items would not load, and crash my client.
    Reply With Quote  
     

  8. #8  
    Donator


    Join Date
    Jul 2009
    Posts
    1,874
    Thanks given
    119
    Thanks received
    233
    Rep Power
    408
    Code:
    Exception in thread "Thread-3" java.lang.ArrayIndexOutOfBoundsException: 23639
            at ItemDef.forID(ItemDef.java:185)
    read that
    Code:
    public class ArrayIndexOutOfBoundsException
    extends IndexOutOfBoundsException
    Thrown to indicate that an array has been accessed with an illegal index. The index is either negative or greater than or equal to the size of the array.
    
    Since:
    JDK1.0
    Reply With Quote  
     

  9. #9  
    Registered Member
    Join Date
    Feb 2012
    Posts
    384
    Thanks given
    43
    Thanks received
    10
    Rep Power
    15
    clossed* just decided to switch ids back to old ones.
    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. Replies: 14
    Last Post: 02-28-2012, 12:59 AM
  2. [PI] NPC spawn crashes server
    By MecJr in forum Help
    Replies: 3
    Last Post: 01-03-2012, 01:14 PM
  3. Replies: 19
    Last Post: 09-07-2011, 01:29 PM
  4. [pi] you cant spawn this item [pi] help?
    By pkinliyfe in forum Help
    Replies: 14
    Last Post: 08-29-2011, 12:26 AM
  5. [pi] you cant spawn this item [pi]
    By pkinliyfe in forum Help
    Replies: 1
    Last Post: 08-27-2011, 11:39 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
  •