Thread: Custom item wont work

Results 1 to 6 of 6
  1. #1 Custom item wont work 
    Registered Member
    Join Date
    Nov 2011
    Posts
    47
    Thanks given
    4
    Thanks received
    0
    Rep Power
    11
    i just added a custom item but my client freezes when i spawn it its the first time im trying to add custom items

    this is the error that popsup in the client Console

    Pi source if u need to know

    Code:
    Exception in thread "Thread-3" java.lang.ArrayIndexOutOfBoundsException: 22494
            at ItemDef.forID(ItemDef.java:31)
            at ItemDef.getSprite(ItemDef.java:984)
            at client.drawInterface(client.java:9073)
            at client.drawTabArea(client.java:2450)
            at client.drawGameScreen(client.java:8857)
            at client.processDrawing(client.java:9806)
            at RSApplet.run(RSApplet.java:117)
            at client.run(client.java:5297)
            at java.lang.Thread.run(Unknown Source)
    Reply With Quote  
     

  2. #2  
    Banned

    Join Date
    Nov 2010
    Age
    11
    Posts
    2,645
    Thanks given
    158
    Thanks received
    280
    Rep Power
    0
    change ur model header?
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Nov 2011
    Posts
    47
    Thanks given
    4
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by sk3l3ton View Post
    change ur model header?
    can u please help :9 make an tutorial for me or something?
    Reply With Quote  
     

  4. #4  
    Banned

    Join Date
    Nov 2010
    Age
    11
    Posts
    2,645
    Thanks given
    158
    Thanks received
    280
    Rep Power
    0
    Quote Originally Posted by affe View Post
    can u please help :9 make an tutorial for me or something?
    lol?

    replace your model.java with any other server that has 600+ loading items.
    Reply With Quote  
     

  5. #5  
    Donator


    Join Date
    Mar 2012
    Posts
    1,025
    Thanks given
    220
    Thanks received
    297
    Rep Power
    587
    the item id is too high
    Reply With Quote  
     

  6. Thankful user:


  7. #6  
    Registered Member Verisimilitude's Avatar
    Join Date
    Mar 2012
    Age
    23
    Posts
    488
    Thanks given
    45
    Thanks received
    17
    Rep Power
    0
    Quote Originally Posted by affe View Post
    i just added a custom item but my client freezes when i spawn it its the first time im trying to add custom items

    this is the error that popsup in the client Console

    Pi source if u need to know

    Code:
    Exception in thread "Thread-3" java.lang.ArrayIndexOutOfBoundsException: 22494
            at ItemDef.forID(ItemDef.java:31)
            at ItemDef.getSprite(ItemDef.java:984)
            at client.drawInterface(client.java:9073)
            at client.drawTabArea(client.java:2450)
            at client.drawGameScreen(client.java:8857)
            at client.processDrawing(client.java:9806)
            at RSApplet.run(RSApplet.java:117)
            at client.run(client.java:5297)
            at java.lang.Thread.run(Unknown Source)
    1.) Item id "22494" is too high for your server so change it too any other id number low than 20,000.
    2.) If you want to change it but don't want to change the id number to an item useful for the game go to your item.java file in the source/server side.
    3.) press ctrl+f and search up "null". Use any null item ids that you want for your item.
    4.) Save,compile,run.
    [spoil][/spoil]
    Code:
    [Today 05:35 AM] Verisimilitude: My new siggy
    [Today 05:34 AM] Verisimilitude: Ikr
    [Today 05:34 AM] a Kitty: 'there is litteraly nothing i can do to reach him, so i will just stand here and accept my fate'

    Reply With Quote  
     

  8. Thankful user:



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: 0
    Last Post: 07-04-2013, 04:04 PM
  2. Replies: 0
    Last Post: 07-04-2013, 03:46 AM
  3. Noted items wont work???..
    By Famouz in forum Help
    Replies: 11
    Last Post: 04-24-2012, 10:04 PM
  4. Pickup Or Item wont work?
    By GasMask in forum Help
    Replies: 3
    Last Post: 12-20-2010, 07:22 AM
  5. [508] custom item wont load wieldId
    By tinosk in forum Help
    Replies: 4
    Last Post: 07-25-2010, 12:47 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
  •