Thread: Item List Error

Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1 Item List Error 
    Registered Member DestriX's Avatar
    Join Date
    Nov 2008
    Posts
    1,323
    Thanks given
    490
    Thanks received
    152
    Rep Power
    257
    Can Someone Help me?

    I was editing my item.cfg by putting item bonuses and stuff on it anyways.
    and i get this error, it has something to do with the itemhandler, I'm using deltascape cleaned, because i think its an ok, starter base and all, back on topic, i need someone to help me.

    -Thank You

    Code:
    Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 16
            at ItemHandler.loadItemList(ItemHandler.java:283)
            at ItemHandler.<init>(ItemHandler.java:173)
            at server.main(server.java:116)
    Attached image
    Reply With Quote  
     

  2. #2  
    Registered Member

    Join Date
    Jun 2007
    Age
    29
    Posts
    3,003
    Thanks given
    52
    Thanks received
    98
    Rep Power
    3208
    Oh yes I can tell it was something in item.cfg.

    Erm when you added the new item you probably added a accidental tab or some extra numbers.
    Reply With Quote  
     

  3. #3  
    Registered Member DestriX's Avatar
    Join Date
    Nov 2008
    Posts
    1,323
    Thanks given
    490
    Thanks received
    152
    Rep Power
    257
    Code:
    item.cfg paste
    Attached image
    Reply With Quote  
     

  4. #4  
    Registered Member

    Join Date
    Jun 2007
    Age
    29
    Posts
    3,003
    Thanks given
    52
    Thanks received
    98
    Rep Power
    3208
    The actual file lol
    Reply With Quote  
     

  5. #5  
    Registered Member DestriX's Avatar
    Join Date
    Nov 2008
    Posts
    1,323
    Thanks given
    490
    Thanks received
    152
    Rep Power
    257
    I know
    Code:
    item = 8017	Dark_Robin_Hat	The_Dark_Rangers_Headwear.	250	250	250	0	0	0	-10	8	4	6	8	4	4	0	0	124	5342	124	522	23123
    item = 8016	Dark_Ranger_Boots	Boots_of_Darkness.	100	160	181.443095635579	0	0	0	-10	8	2	3	4	2	0	0	0
    item = 8015	Dragon_Pickaxe	The_Master_Pickaxe.	20700.6752763817	20700.6752763817	26600.5098484539	0	0	0	0	0	0	0	0	0	0	0	0
    item = 8014	Saradomin_Godbow	A_Bow_Once_Used_by_Saradomin_Archers.	134	265	452	-34	5602	1233	271	3	-345	389	0	0	0	0	0	0	0
    item = 8013	Bandos_Godbow	A_Bow_Once_Used_by_Bandos_Archers.	134	265	452	-34	5602	1233	271	3	-345	389	0	0	0	0	0	0	0
    item = 8012	Armadyl_Godbow	A_Bow_Once_Used_by_Armadyl_Archers.	134	265	452	-34	5602	1233	271	3	-345	389	0	0	0	0	0	0	0
    item = 8011	Zamorak_Godbow	A_Bow_Once_Used_by_Zamorak_Archers.	134	265	452	-34	5602	1233	271	3	-345	389	0	0	0	0	0	0	0
    item = 8003	Flared_Trousers	These'll help me stay alive.	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0
    item = 8023	Armadyl_Godsword	A_powerful_sword_Armadyl_Guardians_once_used.	0	132	80	0	0	0	0	0	0	0	132	8
    item = 8024	Bandos_Godsword	A_powerful_sword_Bandos_Guardians_once_used.	0	132	80	0	0	0	0	0	0	0	132	8
    item = 8025	Saradomin_Sword	A_powerful_sword_Saradomin_once_used.	0	132	80	0	0	0	0	0	0	0	132	8
    item = 8026	Saradomin_Godsword	A_powerful_sword_Saradomin_Guardians_once_used.	0	132	80	0	0	0	0	0	0	0	132	8
    item = 8027	Zamorak_Godsword	A_powerful_sword_Zamorak_Guardians_once_used.	0	132	80	0	0	0	0	0	0	0	132	8
    item = 7621	Black_Partyhat	The_rarest_Hat_in_the_game.	0	0	0	0	0	0	0	0
    item = 8028	Dragonfire_Shield	A_heavy_shield_with_a_snarling,_draconic_visage.	0	0	0	-10	-5	20	25	22	10	22	7	0
    item = 8029	Black_Mask	A_magic_cave_Horror_Mask	0	0	0	-3	-1	9	10	8	-1	9	0	0
    item = 8030	Rune c'bow	A_runite_crossbow.	0	0	0	0	90	0	0	0	0	0	0	0
    item = 8031	Dark_Bow	A_Bow_from_a_darker_dimension.	0	0	0	0	95	0	0	0	0	0	0	0
    item = 8032	DC_Hat	Fo'_Sho!	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0
    item = 8033	Cigarette	Smokin'	0	0	0	0	0	0	0	0	0	0	0	0	0	0	0
    item = 8002	Dragon_Claws	A_set_of_fighting_claws.	41	57	-4	0	0	13	26	7	0	0	0	56	0
    item = 8034	Metallica_t-shirt	Yope.	0 	0	0	0	0	0	0	0	0	0	0	0	0	0	0
    item = 8035	Owner_Cape	Worn_by_Owners	0	0	0	0	0	0	0	0	0	0	0	0	0	73	0
    item = 8036	Death_Cape	The_cape_worn_by_masters_of_PKing.
    item = 8037	Dragon_Platebody	Provides_excellent_protection.	0	0	0	-30	0	109	107	97	-6	106	0	0
    item = 8038	Top_Hat	Comes_with_a_free_rabbit!	0	0	0	0	0	0	0	0	0	0	0	0	0	0
    Attached image
    Reply With Quote  
     

  6. #6  
    Registered Member DestriX's Avatar
    Join Date
    Nov 2008
    Posts
    1,323
    Thanks given
    490
    Thanks received
    152
    Rep Power
    257
    Nice, sig the guy doesn move the position
    Attached image
    Reply With Quote  
     

  7. #7  
    Registered Member

    Join Date
    Jun 2007
    Age
    29
    Posts
    3,003
    Thanks given
    52
    Thanks received
    98
    Rep Power
    3208
    check the file and make sure there is no extra numbers
    Reply With Quote  
     

  8. #8  
    Registered Member DestriX's Avatar
    Join Date
    Nov 2008
    Posts
    1,323
    Thanks given
    490
    Thanks received
    152
    Rep Power
    257
    ok, i've been deleting some 0's still nothing...
    Attached image
    Reply With Quote  
     

  9. #9  
    Registered Member DestriX's Avatar
    Join Date
    Nov 2008
    Posts
    1,323
    Thanks given
    490
    Thanks received
    152
    Rep Power
    257
    do you think number id's may be too high?
    Attached image
    Reply With Quote  
     

  10. #10  
    Registered Member DestriX's Avatar
    Join Date
    Nov 2008
    Posts
    1,323
    Thanks given
    490
    Thanks received
    152
    Rep Power
    257
    Code:
    Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 5001
            at ItemHandler.<init>(ItemHandler.java:159)
            at server.main(server.java:116)
    I changed some thing in Itemhandler, because i think the numbers may be too high.
    Attached image
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •