Thread: Why is my new item on server Null?

Results 1 to 6 of 6
  1. #1 Why is my new item on server Null? 
    #Is This Life?
    T y g a's Avatar
    Join Date
    Apr 2012
    Posts
    15
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Can someone tell me why my Polypore staff is a "null" when i spawn it? Does something have to be in cache i've followed these and yh im new to coding

    http://www.rune-server.org/runescape...pore-shiz.html

    http://www.rune-server.org/runescape...aff-317-a.html


    I did try adding the item to item.cfg but then my server wouldnt run it said some error to do with itemhandler n sht..

    Please post what needs to be done if you know, thanks.
    Reply With Quote  
     

  2. #2  


    RS Wiki's Avatar
    Join Date
    Mar 2011
    Age
    29
    Posts
    9,688
    Thanks given
    1,752
    Thanks received
    3,103
    Rep Power
    5000
    client sided?
    All the best,
    Wiki




    coming soon
    Reply With Quote  
     

  3. #3  
    #Is This Life?
    T y g a's Avatar
    Join Date
    Apr 2012
    Posts
    15
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by RS Wiki View Post
    client sided?
    No i never touched any client files so server sided if thats what u mean, i done what that tutorial says, what have i got to do to make it an item not null?
    Reply With Quote  
     

  4. #4  
    Banned
    Join Date
    May 2012
    Posts
    158
    Thanks given
    22
    Thanks received
    12
    Rep Power
    0
    nvm, you need to add it to item.cfg (make sure all the spaces are tabed) item assistant so it's wielded in the proper slot, and you need to add the ints to item.def
    Reply With Quote  
     

  5. #5  
    #Is This Life?
    T y g a's Avatar
    Join Date
    Apr 2012
    Posts
    15
    Thanks given
    0
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by NlCK View Post
    nvm, you need to add it to item.cfg (make sure all the spaces are tabed) item assistant so it's wielded in the proper slot, and you need to add the ints to item.def
    Everytime i add it to item.cfg i get this im adding it wrong probably but i dont know how to add it but i just copied one of the other codes like it and change the item id and name:

    Exception in thread "main" java.lang.ExceptionInInitializerError
    Caused by: java.lang.ArrayIndexOutOfBoundsException: 6
    at server.world.ItemHandler.loadItemList(ItemHandler. java:365)
    at server.world.ItemHandler.<init>(ItemHandler.java:3 3)
    at server.Server.<clinit>(Server.java:62)
    Press any key to continue . . .
    And the item.def i dont have a file called that if its even a file im using an InsidiaX source btw, thanks for your time.
    Reply With Quote  
     

  6. #6  
    Registered Member yunaaa's Avatar
    Join Date
    Apr 2012
    Posts
    641
    Thanks given
    89
    Thanks received
    26
    Rep Power
    6
    a Model ID needs to go in cache<raw, The poly staff ints need to go in itemdef in the client side.

    On the Itemdef part, it should be 'case ###' - that is where you put your item id from item.cfg.
    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. [PI] Null Item Name
    By Kobarz in forum Help
    Replies: 13
    Last Post: 03-20-2012, 04:40 AM
  2. [PI] Null Item Name
    By Kobarz in forum Help
    Replies: 5
    Last Post: 03-20-2012, 03:14 AM
  3. Replies: 6
    Last Post: 02-04-2010, 08:37 AM
  4. Replies: 2
    Last Post: 07-09-2009, 10:46 PM
  5. 317 Item ID Null Problem...
    By Reloader in forum Help
    Replies: 9
    Last Post: 05-31-2009, 10:06 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
  •