Thread: [delta] help

Results 1 to 5 of 5
  1. #1 [delta] help 
    Donator

    mike623030's Avatar
    Join Date
    Oct 2008
    Posts
    402
    Thanks given
    40
    Thanks received
    4
    Rep Power
    92
    i add some items in 2 my item cfg file and i get this error when i run my server no errors when compiling
    Code:
    falconpking Is online on port 43594
    Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 17
            at ItemHandler.loadItemList(ItemHandler.java:283)
            at ItemHandler.<init>(ItemHandler.java:173)
            at server.main(server.java:111)
    i look the lines up n i cant work it out

    Spoiler for at ItemHandler.loadItemList(ItemHandler.java:283):
    { 1424, 1, 32, 1, 1129, 1093 },
    { 1141, 1, 33, 1, 1127, 1102 },
    { 1281, 1, 34, 1, 1128, 1085 },
    { 821, 10, 34, 1, 1124, 1107 },
    { 1539, 15, 34, 1, 13357, 13358 },
    { 41, 15, 35, 1, 1130, 1108 },
    { 1325, 1, 35, 2, 1116, 1087 },
    { 1295, 1, 36, 2, 1089, 1086 },
    { 1157, 1, 37, 2, 1113, 1103 },
    { 865, 5, 37, 1, 1131, 1106 },
    { 1177, 1, 38, 2, 1114, 1104 },
    { 1339, 1, 39, 3, 1118, 1083 },
    { 1365, 1, 40, 3, 1095, 1092 },
    { 1105, 1, 41, 3, 1109, 1098 },
    { 1193, 1, 42, 3, 1115, 1105 },
    { 3097, 1, 43, 2, ***8, ***9 },
    { 1311, 1, 44, 3, 1090, 1088 },
    { 1083, 1, 46, 3, 1111, 1100 },
    { 1069, 1, 46, 3, 1110, 1099 },
    { 1119, 1, 48, 5, 1112, 1101 },/* Specials */
    { 4544, 1, 49, 1, 11459, 11461 },
    { 2370, 1, 36, 1, 1135, 1134 } },
    { { 1209, 1, 50, 1, 1125, 1094 }, { 1355, 1, 51, 1, 1126, 1091 },
    { 1428, 1, 52, 1, 1129, 1093 },
    { 1143, 1, 53, 1, 1127, 1102 },
    { 1285, 1, 53, 1, 1128, 1085 },//283 line here
    { 822, 10, 54, 1, 1124, 1107 },
    { 4822, 15, 54, 1, 13357, 13358 },
    { 42, 15, 55, 1, 1130, 1108 },
    { 1329, 1, 55, 2, 1116, 1087 },
    { 1299, 1, 56, 2, 1089, 1086 },
    { 1159, 1, 57, 2, 1113, 1103 },
    { 866, 5, 57, 1, 1131, 1106 },
    { 1181, 1, 58, 2, 1114, 1104 },
    { 1343, 1, 59, 3, 1118, 1083 },
    { 1369, 1, 60, 3, 1095, 1092 },
    { 1109, 1, 61, 3, 1109, 1098 },
    { 1197, 1, 62, 3, 1115, 1105 },
    { 3099, 1, 63, 2, ***8, ***9 },


    Spoiler for at ItemHandler.<init>(ItemHandler.java:173):
    7138, 7128, 7134, 7138, 6752, 6627, 7593, 6324, 6135, 6130, 6141,
    6108, 6625, 6809, 6924, 6655, 7386, 7388, 7366, 7368, 7398, 7382,
    7384, 7380, 7378, 1835, 538, 1033, 5555, 4759, 6386, 6390, 2497,
    2495, 2493, 1099, 4113, 4103, 4093, 6185, 6181, 3059, 4510, 4505,
    4070, 538, 542, 548, 1011, 1013, 1015, 1067, 1069, 1071, 1073,
    1075, 1077, 1079, 1081, 1083, 1085, 1087, 1089, 1091, 1093, 2585,
    2593, 2601, 2609, 2617, 2625, 2655, 2663, 2671, 3059, 3389, 3472,
    3473, 3474, 3475, 3476, 3477, 3478, 3479, 3480, 3483, 3485, 3795,
    4087, 4585, 4712, 4714, 4722, 4730, 4738, 4751, 4759, 4874, 4875,
    4876, 4877, 4898, 4899, 4900, 4901, 4922, 4923, 4924, 4925, 4946,
    4947, 4948, 4949, 4970, 4971, 4972, 4973, 4994, 4995, 4996, 4997,
    5048, 5050, 5052, 5576, 6107, 6130, 6187, 6390, 6386, 6390, 6396,
    6404, 428, 7659, 7662, 7668, 7670, 7690, 7696, 7699 };

    public static int normal_gems[] = { 1623, 1621, 1619, 1617 };
    public static int platebody[] = {577,2896,2906,2916,2926,2936,6654,2520,1107,638 , 640 , 642, 430, 10300, 11154, 11471, 10625, 10628, 10930,
    10933, 10935, 10937, 13654, 10939, 10941, 10927, 11998, 11997, 11281,
    10222, 11268, 10408, 11977, 11975, 11198, 11199, 11200, 11173,
    11175, 11177, 11179, 11181, 11183, 11185, 11187, 11171, 11169,
    11162, 11158, 11143, 11138, 11134, 5032, 5028, 6065, 1844, 5034,
    6750, 6617, 5575, 7399, 6322, 6139, 6133, 6129, 7390, 7392, 6916,
    1035, 540, 5553, 4757, 1833, 1835, 6388, 6384, 1355, 4111, 4101,
    4091, 6186, 6184, 6180, 3058, 4509, 4504, 4069, 4728, 4736, 4712,
    6107, 2661, 3140, 1115, 1117, 1119, 1121, 1123, 1125, 1127, 2583,
    2591, 2599, 2607, 2615, 2623, 2653, 2669, 3481, 4720, 4728, 4749,
    2661, 426, 3387, 7695, 544, 7689, 7660, 7670, 7661, 7669, 7698,//173 line here
    7642, 546, 75 };

    public static int rings[] = { 6583, 6575, 6731, 6733, 6735, 6737, 773,
    1635, 1637, 1639, 1641, 1643, 1645, 2550, 2552, 2554, 2556, 2558,
    2560, 2562, 2564, 2566, 2568, 2570, 2572, 4202, 4657, 6465 };
    public static int shields[] = {1191,3095,3096,3097,3098,3099,3100,3101, 10226, 10227, 10228, 10229, 10230, 10231,
    10232, 10234, 11814, 11815, 11145, 6631, 6633, 6889, 6591, 7332,
    7338, 7344, 7350, 7356, 7334, 1171, 1173, 1175, 1177, 1179, 1181, 1183,
    1185, 1187, 1189, 1191, 1193, 1195, 1197, 1199, 1201, 1540, 2589, 2597,
    2603, 2611, 2621, 2629, 2659, 2667, 2675, 2890, 3122, 3488, 3758,
    3839, 3840, 3841, 3***, 3843, 3844, 4072, 4156, 4224, 4225, 4226,
    4227, 4228, 4229, 4230, 4231, 4232, 4233, 4234, 4302, 4507, 4512,
    6215, 6217, 6219, 6221, 6223, 6225, 6227, 6229, 6231, 6233, 6235,
    6237, 6239, 6241, 6243, 6245, 6247, 6249, 6251, 6253, 6255, 6257,
    6259, 6261, 6263, 6265, 6267, 6269, 6271, 6273, 6275, 6277, 6279,
    6524, 7334, 7340, 7346, 7352, 7358, 7336, 7342, 7348, 7354, 7360,


    Spoiler for at server.main(server.java:111):

    }
    clientHandler = new server();
    (new Thread(clientHandler)).start(); // launch server listener
    playerHandler = new PlayerHandler();
    npcHandler = new NPCHandler();
    itemHandler = new ItemHandler();
    doorHandler = new DoorHandler();
    GraphicsHandler = new GraphicsHandler();
    //checkPlayerCapes = new checkPlayerCapes();
    /*handlers made by Ddsspeced*/
    Wearing = new Wearing();
    special = new special();
    setConfig = new setConfig();
    textHandler = new textHandler();
    potions = new potions();
    clickingMost = new clickingMost();
    /*end of handlers made by Ddsspeced*/
    if (itemHandler == null) {
    misc.println("ERROR NULL");
    }



    ddsspec souce (delta)
    Reply With Quote  
     

  2. #2  
    Emergency
    Guest
    You probably added spaces instead of tabs.
    Reply With Quote  
     

  3. #3  
    Donator

    mike623030's Avatar
    Join Date
    Oct 2008
    Posts
    402
    Thanks given
    40
    Thanks received
    4
    Rep Power
    92
    Quote Originally Posted by Emergency View Post
    You probably added spaces instead of tabs.
    no i show what i add
    Spoiler for adding:
    item = 8002 dragon_claws a set of fighting claws 600000 40000 200000 110 110 110 -10 0 0 0 0 -2 0 100 2
    item = 9000 Spectral_spirit_shield. An ethereal shield with a spectral sigil attached to it. 0 5 10 0 0 0 0 0 53 55 73 30 52 10 3
    item = 9001 divine_spirit_shield An_ethereal_shield_with_a_divine_sigil_attached_to _it. 0 5 10 0 0 0 0 0 0 63 65 75 2 57 65 10 3
    item = 9002 blessed_spirit_shield An_ethereal_shield_that_has been_blessed_with_holy_powers. 0 5 10 0 0 0 0 0 53 55 73 2 52 65 10 3
    item = 9003 Elysian_spirit_shield An_ethereal_shield_with_an_elysian_sigil_attached_ to_it. 0 5 10 0 0 0 0 0 63 65 75 2 57 65 10 3
    item = 9004 Spirit_shield An_ethereal_shield. an_ethereal_shield. 0 3 6 0 0 0 0 0 39 41 50 1 45 5 1
    item = 9005 Arcane_spirit_shield An_ethereal_shield_with_an_arcane_sigil_attached_t o_it 0 5 10 0 0 0 20 0 53 55 73 2 52 65 10 3
    item = 9765 dragon_c'bow a_powerful_and_rare_cross_bow 10000000 1000 10000 0 0 0 0 170 0 0 0 0 0 0 15
    item = 9992 bandos_gloves glove_from_the_war_chief_graardor_-silentcj- 2000 200 50 50 50 50 30 -10 40 40 40 -10 20 13 15
    item = 9993 bandos_whip a_whip_from_the_warchief_graardor_-silentcj- 150000 10000 1000 120 120 120 -5 0 0 0 0 0 130 70
    item = 9994 dragon_kiteshield. A_rare,_protective_kiteshield. 10000000 500000 7000000 10 50 60 81 101 99 48 36 57 20 80 -5 100 70 20
    item = 9995 salyer_helm. it's_a_slayer helm!. 1000000 10000 1000 55 40 70 -5 1 20 40 50 -2 5 10 0
    item = 9998 death_cape. the_cape_of_death! 1 1 1 80 90 110 52 70 150 160 90 80 90 100 50 60 40
    item = 13634 bandos_kite An_ancient_kiteshield_from_the_warchief_graardor 150000 50000 100000 0 0 0 -3 0 50 50 50 -20 30 10 2
    item = 14076 dragon_whip the_whip_of_the_dragon 10000 10000 5000 110 110 110 -5 0 0 0 0 0 0 110 50
    Reply With Quote  
     

  4. #4  
    Registered Member
    CTucker's Avatar
    Join Date
    Oct 2008
    Posts
    2,422
    Thanks given
    263
    Thanks received
    281
    Rep Power
    343
    erase what you added. the begging from the name to the first value is hard to getg correct. just copy and paste it and redo it
    Reply With Quote  
     

  5. #5  
    Registered Member
    Vox''s Avatar
    Join Date
    Nov 2008
    Age
    31
    Posts
    3,113
    Thanks given
    49
    Thanks received
    181
    Rep Power
    731
    haha, i copy and pasted it into editpad pro, and you added a tab after the last numbe rin dragon whip. use this instead
    Code:
    item = 8002 dragon_claws a set of fighting claws 600000 40000 200000 110 110 110 -10 0 0 0 0 -2 0 100 2
    item = 9000 Spectral_spirit_shield. An ethereal shield with a spectral sigil attached to it. 0 5 10 0 0 0 0 0 53 55 73 30 52 10 3
    item = 9001 divine_spirit_shield An_ethereal_shield_with_a_divine_sigil_attached_to _it. 0 5 10 0 0 0 0 0 0 63 65 75 2 57 65 10 3
    item = 9002 blessed_spirit_shield An_ethereal_shield_that_has been_blessed_with_holy_powers. 0 5 10 0 0 0 0 0 53 55 73 2 52 65 10 3
    item = 9003 Elysian_spirit_shield An_ethereal_shield_with_an_elysian_sigil_attached_ to_it. 0 5 10 0 0 0 0 0 63 65 75 2 57 65 10 3
    item = 9004 Spirit_shield An_ethereal_shield. an_ethereal_shield. 0 3 6 0 0 0 0 0 39 41 50 1 45 5 1
    item = 9005 Arcane_spirit_shield An_ethereal_shield_with_an_arcane_sigil_attached_t o_it 0 5 10 0 0 0 20 0 53 55 73 2 52 65 10 3
    item = 9765 dragon_c'bow a_powerful_and_rare_cross_bow 10000000 1000 10000 0 0 0 0 170 0 0 0 0 0 0 15
    item = 9992 bandos_gloves glove_from_the_war_chief_graardor_-silentcj- 2000 200 50 50 50 50 30 -10 40 40 40 -10 20 13 15
    item = 9993 bandos_whip a_whip_from_the_warchief_graardor_-silentcj- 150000 10000 1000 120 120 120 -5 0 0 0 0 0 130 70
    item = 9994 dragon_kiteshield. A_rare,_protective_kiteshield. 10000000 500000 7000000 10 50 60 81 101 99 48 36 57 20 80 -5 100 70 20
    item = 9995 slayer_helm. it's_a_slayer helm!. 1000000 10000 1000 55 40 70 -5 1 20 40 50 -2 5 10 0
    item = 9998 death_cape. the_cape_of_death! 1 1 1 80 90 110 52 70 150 160 90 80 90 100 50 60 40
    item = 13634 bandos_kite An_ancient_kiteshield_from_the_warchief_graardor 150000 50000 100000 0 0 0 -3 0 50 50 50 -20 30 10 2
    item = 14076 dragon_whip the_whip_of_the_dragon 10000 10000 5000 110 110 110 -5 0 0 0 0 0 0 110 50
    and if that doesnt work, then it means you didnt add tabs, cause when i was spacing them out, the tabs were larger, but this isnt the tabbed version (:

    Quote Originally Posted by Zirtrix View Post
    So I've recently changed some things in the server, but when i compile it says
    Code:
    source\server\model\players\packets\Commands.java: 58: error: cannot find symbol
    This.Antileech("Remove This Line");
    ^
    Anyone know the problem?
    Student and Developer for http://www.rune-server.org/runescape...pve-based.html
    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

Tags for this Thread

View Tag Cloud

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