[Tut] make silabs items work

Page 1 of 2 12 LastLast
Results 1 to 15 of 17
  1. #1
    Account Upgraded | Title Enabled! NaikBoi is offline
    MemberRank
    Aug 2006 Join Date
    EstoniaLocation
    279Posts

    [Tut] make silabs items work

    I WILL NOT TAKE ANY CREDIT FROM THIS TUT , THIS IS NOT MADE BY ME

    now ... if you are a little short in time then dont bother , this is going to be a long tutorial

    oh and first of all ... make a backup :eek:

    SilabSoft Client FAQ's

    What is Silabs Client: Silabs client is a new revolutionary client that has helped the RS2 Private Server Community. She had a program that unpacked and packed the cache, so she can edit the items.

    Why does Silabs Client take forever to download? It takes forever to download because many people, at the same time, are attempting to contact the server where she has the files, and download them. Think how long the server will take to respond to everybody. If this happens to you, just close the client, and reopen it. It might work this time.

    So What do I have to do to make Silabs new client work? What you have to do is very simple. Find this code in client.java:
    Code:
    else if (command.startsWith("pickup") && playerRights >= 2)) {
    				try {
    					int newItemID = Integer.parseInt(command.substring(7,11));
    					int newItemAmount = Integer.parseInt(command.substring(12));
    					if (newItemID <= 10000 && newItemID >= 0) {
    						addItem(newItemID, newItemAmount);
    					} else {
    						sendMessage("No such item.");
    					}
    				} catch(Exception e) {
    					sendMessage("Wrong Syntax! Use as ::pickup 0995 10");
    				}
    Replace your "pickup" command with this one"
    Code:
    if (command.startsWith("pickup") && (playerRights >= 3)) {
    				try {
    					int newItemID = Integer.parseInt(command.substring(7,12));
    					int newItemAmount = Integer.parseInt(command.substring(13));
    					if (newItemID <= 20000 && newItemID >= 0) {
    						addItem(newItemID, newItemAmount);
    					} else {
    						sendMessage("That Item Doesn't Exist");
    					}
    				} catch(Exception e) {
    					sendMessage("Cmon Type IT AGIAN ! ");
    				}
    			}
    This code is a command. It is used to spawn items, it is built slightly different from a command, because instead of doing something by just typing the actual command, you need to put in the item ID and command. The 'int newItemId = Integer.parseInt(command.substring(7,12));' tells the server that you are spawning a new item. The 'int newItemAmount = Integer.parseInt(command.substring(13));' tells the server how much of that item you want. The 'addItem(newItemID, newItemAmount);' actually gives you the item into your inventory. You may also know this command as 'Item' on some servers.

    If that doesn't work, then add this command:
    Code:
    if (command.startsWith("pick")) {
    				try {
    					int newitem = 
    
    	Integer.parseInt(command.substring(5));
    					if (newitem >= 0) { 
    								
    
    					addItem(newitem, 1);	
    					} else {
    						sendMessage("No such item");
    					}
    				} catch(Exception e) {
    					sendMessage("Bad item ID");
    				}
    This command is doing the same thing as the command above, it is telling the server that you wish to spawn an item, and a certain amount of that item. Very basic.

    You will also have to go into Item.cfg and add the item id with their prices and bonuses.

    Also, in Item.java, you must add the Item ID to the correct spot. I.E. Hats, Gloves, Body, FullHelm...

    If you have any questions, please feel free to ask them. But remember, your question will most likely be already asked, so please read the thread first.

    UPDATES
    Update #1

    Step 1: Go into Item.Java, find:
    Code:
    public static boolean[] itemStackable = new boolean[10000];
    Step 2: Next replace it from the first to the last with:
    Code:
    	public static boolean[] itemStackable = new boolean[11999];
    	public static boolean[] itemIsNote = new boolean[11999];
    	public static boolean[] itemTwoHanded = new boolean[11999];
    	public static boolean[] itemTradeable = new boolean[11999];
    	public static boolean[] itemSellable = new boolean[11999];
    What this code basically does, is declaring how large the arrays are.

    Update #2
    This part is added on information that will help you with trading and so fourth.

    Duel Items:
    Search for:
    Code:
    otherDuelItems[i] > 10000
    change to
    Code:
    otherDuelItems[i] > 20000
    search
    Code:
    otherDuelItems[i] = 10000;
    change to
    Code:
    otherDuelItems[i] = 20000;
    Equipment Items:
    search for
    Code:
    item < 10000
    change to
    Code:
    item < 20000
    search for
    Code:
    if(playerItems[rr] > 0 && playerItems[rr] < 10000)
    change to
    Code:
    if(playerItems[rr] > 0 && playerItems[rr] < 20000)
    Items:
    search for
    Code:
    playerItems[i] > 10000
    change to
    Code:
    playerItems[i] > 20000
    search for
    Code:
    playerItems[i] = 10000
    change to
    Code:
    playerItems[i] = 20000
    Clues:
    search for
    Code:
    clueItems[i] > 10000
    change to
    Code:
    clueItems[i] > 20000
    search for
    Code:
    clueItems[i] = 10000
    change to
    Code:
    clueItems[i] = 20000
    Smithing items:
    search for
    Code:
    Item.SmithingItems[i][0] > 10000
    change to
    Code:
    Item.SmithingItems[i][0] > 20000
    search for
    Code:
    playerItems[i] = 10000;
    change to
    Code:
    playerItems[i] = 20000;
    On reset items:
    search for
    Code:
    playerTItems[i] > 10000
    change to
    Code:
    playerTItems[i] > 20000
    search for
    Code:
    playerTItems[i] = 10000
    change to
    Code:
    playerTItems[i] = 20000
    Items on trade:
    search for
    Code:
    playerOTItems[i] > 10000
    change to
    Code:
    playerOTItems[i] > 20000
    search for
    Code:
    playerOTItems[i] = 10000
    change to
    Code:
    playerOTItems[i] = 20000
    Shop items:
    search for
    Code:
    server.shopHandler.ShopItems[ShopID][i] > 10000
    change to
    Code:
    server.shopHandler.ShopItems[ShopID][i] > 20000
    Bank items:
    search for
    Code:
    bankItems[i] > 10000
    change to
    Code:
    bankItems[i] > 20000
    warning : the value may not be 10000 it may be 7800 or something like that ... and you might not have clues or something like that in so you may not find that... but whatever you do have ... change it

    Now open up Item.java

    If you scroll down a bit, you will see a large code that says: capes, boots, gloves etc. Erase that entire thing, and replace it with this:
    Code:
    //Few item types for equipping
    	public static int capes[] = {10412,11370,6568,6111,7623,6570,6568,1007,7655,7650,7648,7653,1019,1021,1023,1027,1029,1031,1052,2412,2413,2414,4304,4315,4317,4319,4321,4323,4325,4327,4329,4331,4333,4335,4337,4339,4341,4343,4345,4347,4349,4351,4353,4355,4357,4359,4361,4363,4365,4367,4369,4371,4373,4375,4377,4379,4381,4383,4385,4387,4389,4391,4393,4395,4397,4399,4401,4403,4405,4407,4409,4411,4413,4514,4516,6070,6568,6570,4315,7535,4515,4513,7535,3759,3761,3763,3765,3777,3779,3781,3783,3785,3787,3789,6959,6111,6570,6568,1007,1019,1021,1023,1027,1029,1031,1052,2412,2413,2414,4304,4315,4317,4319,4321,4323,4325,4327,4329,4331,4333,4335,4337,4339,4341,4343,4345,4347,4349,4351,4353,4355,4357,4359,4361,4363,4365,4367,4369,4371,4373,4375,4377,4379,4381,4383,4385,4387,4389,4391,4393,4395,4397,4399,4401,4403,4405,4407,4409,4411,4413,4514,4516,6070,6568,6570,7623,7626,7628,7630,7632,7634,7636,7638,7640,7657,7672,7674,7678,7680,7676,7685,7682,11191,11192,11193,11194,10704,10705,10707,10708,10710,10711,10713,10714,10716,10717,10719,10720,10722,10723,10725,10726,10728,10729,10731,10732,10734,10735,10737,10738,10740,10741,10743,10744,10746,10747,10749,10750,10752,10753,10755,10756,10758,10759,10761,10762,10764,10765,10767,10768,10770,10771};
    	public static int boots[] = {6619,1044,11981,7596,6061,6106,88,89,626,628,630,632,634,1061,1837,1846,2577,2579,2894,2904,2914,2924,2934,3061,3105,3107,3791,4097,4107,4117,4119,4121,4123,4125,4127,4129,4131,4310,5064,5345,5557,6069,6106,6143,6145,6147,6328,6349,6357,6367,6377,7596,7159,7114,6893,6790,6666,6619,6920,6061,6106,88,89,626,628,630,632,634,1061,1837,1846,2577,2579,2894,2904,2914,2924,2934,3061,3105,3107,3791,4097,4107,4117,4119,4121,4123,4125,4127,4129,4131,4310,5064,5345,5557,6069,6106,6143,6145,6147,6328,3393,7664,7666,7700};
    	public static int gloves[] = {6922,11157,11161,10410,11153,11137,7453,7454,7455,7456,7457,7458,7459,7460,7461,7462,6629,7595,7462,2491,1065,2487,2489,3060,1495,775,777,778,6708,1059,1063,1065,1580,2487,2489,2491,2902,2912,2922,2932,2942,3060,3799,4095,4105,4115,4308,5556,6068,6110,6149,6151,6153,2997,6359,6369,6379,6347,6330,7595,7453,6720,6629,6922,2491,1065,2487,2489,3060,1495,775,777,778,6708,1059,1063,1065,1580,2487,2489,2491,2902,2912,2922,2932,2942,2799,3060,3799,4095,4105,4115,4308,5556,6068,6110,6149,6151,6153,7454,7455,7456,7457,7458,7459,7460,7461,7462,3391,7671,7688,11711};
    	public static int shields[] = {6889,3101,11145,7053,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,3842,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,7350,7352,7354,7356,7358,7360,7348,7346,7344,7342,7340,7338,7336,6894,6631,6633,6889,7332,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,3842,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,7643,7625,7692,10226,10227,10228,10229,10230,10231,10232,11814};
    	public static int hats[] = {6623,11156,11160,11164,10407,11140,11136,11144,9200,6621,7656,7649,7651,7654,7594,7532,7394,4753,4732,4745,4856,4857,4858,4859,4880,4881,4882,4883,4904,4905,4906,4907,4928,4929,4930,4931,4952,4953,4954,4955,4976,4977,4978,4979,4611,6188,6182,4511,4056,4071,4724,2639,2641,2643,2665,6109,5525,5527,5529,5531,5533,5535,5537,5539,5541,5543,5545,5547,5549,5551,74,579,656,658,660,662,664,740,1017,1037,1038,1040,1042,1044,1046,1048,1050,1053,1055,1057,1137,1139,1141,1143,1145,1147,1149,1151,1153,1155,1157,1159,1161,1163,1165,1506,1949,2422,2581,2587,2595,2605,2613,2619,2627,2631,2633,2635,2637,2651,2657,2673,2900,2910,2920,2930,2940,2978,2979,2980,2981,2982,2983,2984,2985,2986,2987,2988,2989,2990,2991,2992,2993,2994,2995,3057,3385,3486,3748,3749,3751,3753,3755,3797,4041,4042,4071,4089,4099,4109,4164,4302,4506,4511,4513,4515,4551,4567,4708,4716,4724,4856,4857,4858,4859,4880,4881,4882,4883,4904,4905,4906,4907,4952,4953,4954,4955,4976,4977,4978,4979,5013,5014,5554,5574,6109,6128,6131,6137,6182,6188,6335,6337,6339,6345,6355,6365,6375,6382,6392,6400,6918,2979,2980,2981,2982,2983,2984,2985,2986,2978,1038,1040,1042,1044,1046,1048,6182,4516,4514,6547,6548,4168,4166,3327,3329,3331,3333,3335,3337,3339,3341,3343,2645,2647,2649,1167,1169,6326,7594,7539,7534,7327,7325,7323,7321,7319,7136,7130,7124,7112,7003,6895,6887,6886,6885,6862,6860,6858,6856,6665,6621,6623,6918,6656,7400,7321,7323,7219,7325,7327,7396,7394,4732,4753,4611,6188,6182,4511,4056,4071,4724,2639,2641,2643,2665,6109,5525,5527,5529,5531,5533,5535,5537,5539,5541,5543,5545,5547,5549,5551,74,579,656,658,660,662,664,740,1017,1037,1038,1040,1042,1044,1046,1048,1050,1053,1055,1057,1137,1139,1141,1143,1145,1147,1149,1151,1153,1155,1157,1159,1161,1163,1165,1506,1949,2422,2581,2587,2595,2605,2613,2619,2627,2631,2633,2635,2637,2651,2657,2673,2900,2910,2920,2930,2940,2978,2979,2980,2981,2982,2983,2984,2985,2986,2987,2988,2989,2990,2991,2992,2993,2994,2995,3057,3385,3486,3748,3749,3751,3753,3755,3797,4041,4042,4071,4089,4099,4109,4164,4302,4506,4511,4513,4515,4551,4567,4708,4716,4724,4745,4753,4856,4857,4858,4859,4880,4881,4882,4883,4904,4905,4906,4907,4952,4953,4954,4955,4976,4977,4978,4979,5013,5014,5554,5574,6109,6128,6131,6137,6182,6188,6335,6337,6339,6345,6355,6365,6375,6382,6392,6400,6885,6886,7621,7624,7627,7629,7631,7633,7635,7637,7639,7641,6887,7652,7647,7658,7663,7665,7673,7675,7677,7679,7681,7686,7687,7691,7693,7694,7683,7697,10261,10262,10263,10264,10265,10266,10267,10268,10269,10270,10271,10706,10709,10712,10715,10718,10721,10724,10727,10730,10733,10736,10739,10742,10745,10748,10751,10754,10757,10760,10763,10766,10769,10771,11938,11939,11940};
    	public static int amulets[] = {3861,10413,11141,7803,6585,86,87,295,421,552,589,1478,1692,1694,1696,1698,1700,1702,1704,1706,1708,1710,1712,1725,1727,1729,1731,4021,4081,4250,4677,6040,6041,6208,4306,2406,1716,1722,1796,774,1009,1654,616,6544,6863,6861,6859,6857,6707,6577,1724,1718,6585,86,87,295,421,552,589,1478,1692,1694,1696,1698,1700,1702,1704,1706,1708,1710,1712,1725,1727,1729,1731,4021,4081,4250,4677,6040,6041,6208,11716};
    	public static int arrows[] = {78,598,877,878,879,880,881,882,883,884,885,886,887,888,889,890,891,892,893,942,2532,2533,2534,2535,2536,2537,2538,2539,2540,2541,2866,4160,4172,4173,4174,4175,4740,5616,5617,5618,5619,5620,5621,5622,5623,5624,5625,5626,5627,6061,6062,4798,4793,4788,4783,4773,4778,4803,78,598,877,878,879,880,881,882,883,884,885,886,887,888,889,890,891,892,893,942,2532,2533,2534,2535,2536,2537,2538,2539,2540,2541,2866,4160,4172,4173,4174,4175,4740,5616,5617,5618,5619,5620,5621,5622,5623,5624,5625,5626,5627,6061,6062};
    	public static int rings[] = {6735,6737,6731,773,1635,1637,1639,1641,1643,1645,2550,2552,2554,2556,2558,2560,2562,2564,2566,2568,2570,2572,4202,4657,6465,7927,6583,6583,6564,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 body[] = {4091,11154,11158,11162,10408,11134,11138,11143,6139,6129,6615,6916,7390,7592,5032,5034,5030,1135,2499,2501,2503,6916,1035,540,5553,4757,1833,6388,6384,1355,4111,4101,4091,6186,6184,6180,3058,4509,4504,4069,4728,4736,4712,6107,2661,3140,1101,1103,1105,1107,1109,1111,1113,1115,1117,1119,1121,1123,1125,1127,1129,1131,1133,2583,2591,2599,2607,2615,2623,2653,2669,3387,3481,4712,4720,4728,4749,4892,4893,4894,4895,4916,4917,4918,4919,4964,4965,4966,4967,6107,6133,6322,6180,6065,5575,4298,2936,2926,2916,2906,2405,1844,1757,636,638,640,642,644,581,577,284,6402,6394,6361,6371,6351,6341,5024,5026,5028,5030,5032,5034,3793,3767,3769,3771,3773,3775,4868,4869,4870,4871,6139,6129,2503,7592,546,544,7376,7374,7372,7370,7364,7362,7134,7128,7122,7110,6788,6786,6750,6615,6617,6916,6654,7390,7392,7362,7364,7399,7374,7376,7372,7370,1035,540,5553,4757,1833,6388,6384,2501,2499,4111,4101,4091,6186,6184,6180,3058,4509,4504,4069,4728,4736,4712,6107,2661,3140,1101,1103,1105,1107,1109,1111,1113,1115,1117,1119,1121,1123,1125,1127,1129,1131,1133,1135,2499,2501,2503,2583,2591,2599,2607,2615,2623,2653,2669,3387,3481,4712,4720,4728,4749,4916,4917,4918,4919,4964,4965,4966,4967,6107,6133,6322,3387,2503,4712,3387,7642,7660,7661,7667,7669,7689,7695,7698,11169,11171,11173,11175,11177,11179,11181,11183,11185,11187,11198,11199,11200,11125,11126,11127,11128,11129,11268};
    	public static int legs[] = {6141,11155,11159,11163,10409,11142,11139,11135,6130,6627,6625,7386,7593,426,1835,538,1033,5555,4759,6386,6390,2497,2495,2493,1099,4113,4103,4093,6924,6187,6185,6181,3059,4510,4505,4070,6108,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,6181,6067,4300,2938,2928,2918,2908,1845,1095,1097,646,648,650,652,654,285,6406,6398,6353,6363,6373,6343,6324,5036,5038,5040,5042,5044,5046,5048,5050,5052,6141,6135,6130,7593,7380,7382,7384,7368,7366,7138,7132,7126,7116,6789,6787,6752,6627,6625,6809,6924,6655,7386,7388,7366,7368,7398,7378,426,1835,538,1033,5555,4759,6386,6390,2497,2495,2493,1099,4113,4103,4093,6187,6185,6181,3059,4510,4505,4070,6108,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,7659,7662,7668,7670,7690,7696,7699,11170,11172,11174,11176,11178,11180,11182,11184,11186,11188,11201,11202,11203};
    	public static int platebody[] = {4091,11154,11158,11162,10408,11134,11138,11143,6139,6129,6617,6916,7390,5032,5034,5030,1035,540,5553,4757,1833,1835,6388,6384,1355,4111,4101,4868,4869,4870,4871,4892,4893,4894,4895,4916,4917,4918,4919,4940,4941,4942,4943,4964,4965,4966,4967,4988,4989,4990,49914091,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,7392,7390,6065,5575,4298,2936,2926,2916,2906,2405,1844,636,638,640,642,644,581,577,284,6402,6394,6361,6371,6351,6341,6322,7399,6916,3793,3767,3769,3771,3773,3775,4892,4893,4894,4895,6139,6133,6129,546,544,6788,6786,6750,6615,6617,6625,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,3387,7642,7667,7689,7695,7698,11169,11171,11173,11175,11177,11179,11181,11183,11185,11187,11198,11199,11200,11125,11126,11127,11128,11129,11268};
    	public static int fullHelm[] = {6137,11156,11160,11164,10407,9200,6128,6623,6621,7534,7594,4753,6188,4511,4056,4071,4724,6109,2665,1153,1155,1157,1159,1161,1163,1165,2587,2595,2605,2613,2619,2627,2657,2673,3486,6402,6394,7539,7534,4516,4514,5574,4513,3327,3329,3331,3333,3335,3337,3339,3341,3343,1167,1169,1137,1139,1141,1143,1145,1147,6400,6392,6326,4745,4952,4953,4954,4955,3748,7594,7539,7534,7136,7130,7124,7112,7003,6895,6621,6623,4732,4753,6188,4511,4056,4071,4724,6109,2665,1153,1155,1157,1159,1161,1163,1165,2587,2595,2605,2613,2619,2627,2657,2673,3486,6402,6394,3749,3751,3753,3755,4567,4708,4716,6885,6886,6887,7663,10706,10709,10712,10715,10718,10721,10724,10727,10730,10733,10736,10739,10742,10745,10748,10751,10754,10757,10760,10763,10766,10769,10771};
    	public static int fullMask[] = {6621,6623,4732,4708,4724,4716,4732,5554,4611,6188,3507,4511,4056,4071,4724,2665,6109,1053,1055,1057,1506,3339,3341,3327,4745,4952,4953,4954,4955,1149,7594,7539,7534,7136,7130,7124,7112,7003,6895,6621,6623,4732,5554,4753,4611,6188,3507,4511,4056,4071,4724,2665,6109,1053,1055,1057,7652,7647,7649,7656,7629,7624,7627,7633,7654,7631,7651,7635,7624,7637,7639,7641,7658,7665,7673,7675,7677,7679,7681,7686,7687,7691,7683};
    	//All other IDs are weapons (I hope)
    What this code does is simple. It tells the server which items are to be wielded in which spot, this is a simple fix for SilabSoft's skillcapes, which-when wielded-went into the weapons spot. This code fixes this common problem.

    now heres a part thay may be confusing ... infact ... in my source its built up a little more understandable ... but i think that if i coded my source myself then this is how it should be in any other sources ... because this is a part that isnt being edited a lot.

    Update #3

    Open Player.java

    Find:
    Code:
    if (!Item.isPlate(playerEquipment[playerChest])) {
    				playerProps.writeWord(0x100+pArms);
    			} else {
    				playerProps.writeByte(0);
    			}
    			if (playerEquipment[playerLegs] > 1) {
    				playerProps.writeWord(0x200 + playerEquipment[playerLegs]);
    			} else {
    					playerProps.writeWord(0x100+pLegs);
    			}
    			if (!Item.isFullHelm(playerEquipment[playerHat]) && !Item.isFullMask(playerEquipment[playerHat])) {
    				playerProps.writeWord(0x100 + pHead);		// head
    			}
    and replace whit
    Code:
    if (!Item4.isPlate(playerEquipment[playerChest])) {
    				playerProps.writeWord(0x100+pArms);
    			} else {
    				playerProps.writeByte(0);
    			}
    			if (playerEquipment[playerLegs] > 1) {
    				playerProps.writeWord(0x200 + playerEquipment[playerLegs]);
    			} else {
    					playerProps.writeWord(0x100+pLegs);
    			}
    			if (!Item4.isFullHelm(playerEquipment[playerHat]) && !Item4.isFullMask(playerEquipment[playerHat])) {
    				playerProps.writeWord(0x100 + pHead);		// head
    			}
    In client.java:

    Find:
    Code:
    public int itemType(int item) {
    		for (int i = 0; i < Item.capes.length; i++) {
    			if(item == Item.capes[i]) {
    				return playerCape;
    			}
    		}
    		for (int i = 0; i < Item.hats.length; i++) {
    			if(item == Item.hats[i]) {
    				return playerHat;
    			}
    		}
    		for (int i = 0; i < Item.boots.length; i++) {
    			if(item == Item.boots[i]) {
    				return playerFeet;
    			}
    		}
    		for (int i = 0; i < Item.gloves.length; i++) {
    			if(item == Item.gloves[i]) {
    				return playerHands;
    			}
    		}
    		for (int i = 0; i < Item.shields.length; i++) {
    			if(item == Item.shields[i]) {
    				return playerShield;
    			}
    		}
    		for (int i = 0; i < Item.amulets.length; i++) {
    			if(item == Item.amulets[i]) {
    				return playerAmulet;
    			}
    		}
    		for (int i = 0; i < Item.arrows.length; i++) {
    			if(item == Item.arrows[i]) {
    				return playerArrows;
    			}
    		}
    		for (int i = 0; i < Item.rings.length; i++) {
    			if(item == Item.rings[i]) {
    				return playerRing;
    			}
    		}
    		for (int i = 0; i < Item.body.length; i++) {
    			if(item == Item.body[i]) {
    				return playerChest;
    			}
    		}
    		for (int i = 0; i < Item.legs.length; i++) {
    			if(item == Item.legs[i]) {
    				return playerLegs;
    			}
    		}
    and replace whit

    Code:
    public int itemType(int item) {
    		for (int i = 0; i < Item4.capes.length; i++) {
    			if(item == Item4.capes[i]) {
    				return playerCape;
    			}
    		}
    		for (int i = 0; i < Item4.hats.length; i++) {
    			if(item == Item4.hats[i]) {
    				return playerHat;
    			}
    		}
    		for (int i = 0; i < Item4.boots.length; i++) {
    			if(item == Item4.boots[i]) {
    				return playerFeet;
    			}
    		}
    		for (int i = 0; i < Item4.gloves.length; i++) {
    			if(item == Item4.gloves[i]) {
    				return playerHands;
    			}
    		}
    		for (int i = 0; i < Item4.shields.length; i++) {
    			if(item == Item4.shields[i]) {
    				return playerShield;
    			}
    		}
    		for (int i = 0; i < Item4.amulets.length; i++) {
    			if(item == Item4.amulets[i]) {
    				return playerAmulet;
    			}
    		}
    		for (int i = 0; i < Item4.arrows.length; i++) {
    			if(item == Item4.arrows[i]) {
    				return playerArrows;
    			}
    		}
    		for (int i = 0; i < Item4.rings.length; i++) {
    			if(item == Item4.rings[i]) {
    				return playerRing;
    			}
    		}
    		for (int i = 0; i < Item4.body.length; i++) {
    			if(item == Item4.body[i]) {
    				return playerChest;
    			}
    		}
    		for (int i = 0; i < Item4.legs.length; i++) {
    			if(item == Item4.legs[i]) {
    				return playerLegs;
    			}
    		}
    now compile and hope that you did everything right ... and hopefully no errors , because i dont have much time ti help ... and maybe some one smarter will help to solve the problem(s)

    anyways IF you got it working then
    you need silabsoft client ... i belive it is in here somewhere ...

    I WILL NOT TAKE ANY CREDIT FROM THIS TUT , THIS IS NOT MADE BY ME
    I WILL NOT TAKE ANY CREDIT FROM THIS TUT , THIS IS NOT MADE BY ME
    I WILL NOT TAKE ANY CREDIT FROM THIS TUT , THIS IS NOT MADE BY ME
    Last edited by NaikBoi; 28-01-08 at 06:55 PM.


  2. #2
    Account Upgraded | Title Enabled! NaikBoi is offline
    MemberRank
    Aug 2006 Join Date
    EstoniaLocation
    279Posts

    Re: [TUT] make silabs items work

    now lets have fun working whit silabs great "dark bow"

    a tutorial of "Dark Bow special"

    warning : this could be hard because the creator of this isnt that detail person

    ok under public class client extends Player implements Runnable {

    add this
    Code:
    public boolean hellspec = false;
    public int hellspectimer = 0;
    public void l33thax(int id) 
    {
    outStream.createFrame(171);
    outStream.writeByte(0);
    outStream.writeWord(id);
    flushOutStream();
    }res
    public int SpecialDelay = 10;
    public void SpecDamg(int maxDamage) {
     for (Player p : server.playerHandler.players)
      {
       if(p != null) 
        {
    	 if (PlayerHandler.players[AttackingOn].IsDead == false ) {
    	 int damage = misc.random(maxDamage);
             if (PlayerHandler.players[AttackingOn].playerLevel[3] - hitDiff < 0) 
             damage = PlayerHandler.players[AttackingOn].playerLevel[3];
    	 PlayerHandler.players[AttackingOn].hitDiff = damage;
    	 PlayerHandler.players[AttackingOn].updateRequired = true;
    	 PlayerHandler.players[AttackingOn].hitUpdateRequired = true;
    	 }
    	}
          }
        }
    public void SpecDamgNPC(int maxDamage) {
       if(server.npcHandler.npcs[attacknpc] != null) 
        {
            if (server.npcHandler.npcs[attacknpc].IsDead == false) {
    	int damage = misc.random(maxDamage);
            if (server.npcHandler.npcs[attacknpc].HP - hitDiff < 0) 
            damage = server.npcHandler.npcs[attacknpc].HP;
            server.npcHandler.npcs[attacknpc].StartKilling = playerId;
    	server.npcHandler.npcs[attacknpc].RandomWalk = false;
    	server.npcHandler.npcs[attacknpc].IsUnderAttack = true;
    	server.npcHandler.npcs[attacknpc].hitDiff = damage;
    	server.npcHandler.npcs[attacknpc].updateRequired = true;
    	server.npcHandler.npcs[attacknpc].hitUpdateRequired = true;
        } 
       }
      }
    public void fsBar(int id1, int id2, int id3)
    {
    outStream.createFrame(70);
    outStream.writeWord(id1);
    outStream.writeWordBigEndian(id2);
    outStream.writeWordBigEndian(id3);
    }
    public void getFilling() {
    	if (SpecialDelay == 10)
    	{
    		fsBar(500, 0, 12325);
    		fsBar(500, 0, 12326);
    		fsBar(500, 0, 12327);
    		fsBar(500, 0, 12328);
    		fsBar(500, 0, 12329);
    		fsBar(500, 0, 12330);
    		fsBar(500, 0, 12331);
    		fsBar(500, 0, 12332);
    		fsBar(500, 0, 12333);
    		fsBar(500, 0, 12334);
    
    		fsBar(500, 0, 7576);
    		fsBar(500, 0, 7577);
    		fsBar(500, 0, 7578);
    		fsBar(500, 0, 7579);
    		fsBar(500, 0, 7580);
    		fsBar(500, 0, 7581);
    		fsBar(500, 0, 7582);
    		fsBar(500, 0, 7583);
    		fsBar(500, 0, 7584);
    		fsBar(500, 0, 7585);
    		
    		fsBar(500, 0, 7476);
    		fsBar(500, 0, 7477);
    		fsBar(500, 0, 7478);
    		fsBar(500, 0, 7479);
    		fsBar(500, 0, 7480);
    		fsBar(500, 0, 7481);
    		fsBar(500, 0, 7482);
    		fsBar(500, 0, 7483);
    		fsBar(500, 0, 7484);
    		fsBar(500, 0, 7485);
    		
    		fsBar(500, 0, 7551);
    		fsBar(500, 0, 7552);
    		fsBar(500, 0, 7553);
    		fsBar(500, 0, 7554);
    		fsBar(500, 0, 7555);
    		fsBar(500, 0, 7556);
    		fsBar(500, 0, 7557);
    		fsBar(500, 0, 7558);
    		fsBar(500, 0, 7559);
    		fsBar(500, 0, 7560);
    	}
    	else if (SpecialDelay == 9)
    	{
    		fsBar(500, 0, 12325);
    		fsBar(500, 0, 12326);
    		fsBar(500, 0, 12327);
    		fsBar(500, 0, 12328);
    		fsBar(500, 0, 12329);
    		fsBar(500, 0, 12330);
    		fsBar(500, 0, 12331);
    		fsBar(500, 0, 12332);
    		fsBar(500, 0, 12333);
    		fsBar(0, 0, 12334);
    		
    		fsBar(500, 0, 7576);
    		fsBar(500, 0, 7577);
    		fsBar(500, 0, 7578);
    		fsBar(500, 0, 7579);
    		fsBar(500, 0, 7580);
    		fsBar(500, 0, 7581);
    		fsBar(500, 0, 7582);
    		fsBar(500, 0, 7583);
    		fsBar(500, 0, 7584);
    		fsBar(0, 0, 7585);
    
    		fsBar(500, 0, 7476);
    		fsBar(500, 0, 7477);
    		fsBar(500, 0, 7478);
    		fsBar(500, 0, 7479);
    		fsBar(500, 0, 7480);
    		fsBar(500, 0, 7481);
    		fsBar(500, 0, 7482);
    		fsBar(500, 0, 7483);
    		fsBar(500, 0, 7484);
    		fsBar(0, 0, 7485);
    
    		fsBar(500, 0, 7551);
    		fsBar(500, 0, 7552);
    		fsBar(500, 0, 7553);
    		fsBar(500, 0, 7554);
    		fsBar(500, 0, 7555);
    		fsBar(500, 0, 7556);
    		fsBar(500, 0, 7557);
    		fsBar(500, 0, 7558);
    		fsBar(500, 0, 7559);
    		fsBar(0, 0, 7560);
    	}
    	else if (SpecialDelay == 8)
    	{
    		fsBar(500, 0, 12325);
    		fsBar(500, 0, 12326);
    		fsBar(500, 0, 12327);
    		fsBar(500, 0, 12328);
    		fsBar(500, 0, 12329);
    		fsBar(500, 0, 12330);
    		fsBar(500, 0, 12331);
    		fsBar(500, 0, 12332);
    		fsBar(0, 0, 12333);
    		fsBar(0, 0, 12334);
    		
    		fsBar(500, 0, 7576);
    		fsBar(500, 0, 7577);
    		fsBar(500, 0, 7578);
    		fsBar(500, 0, 7579);
    		fsBar(500, 0, 7580);
    		fsBar(500, 0, 7581);
    		fsBar(500, 0, 7582);
    		fsBar(500, 0, 7583);
    		fsBar(0, 0, 7584);
    		fsBar(0, 0, 7585);
    
    		fsBar(500, 0, 7476);
    		fsBar(500, 0, 7477);
    		fsBar(500, 0, 7478);
    		fsBar(500, 0, 7479);
    		fsBar(500, 0, 7480);
    		fsBar(500, 0, 7481);
    		fsBar(500, 0, 7482);
    		fsBar(500, 0, 7483);
    		fsBar(0, 0, 7484);
    		fsBar(0, 0, 7485);
    
    		fsBar(500, 0, 7551);
    		fsBar(500, 0, 7552);
    		fsBar(500, 0, 7553);
    		fsBar(500, 0, 7554);
    		fsBar(500, 0, 7555);
    		fsBar(500, 0, 7556);
    		fsBar(500, 0, 7557);
    		fsBar(500, 0, 7558);
    		fsBar(0, 0, 7559);
    		fsBar(0, 0, 7560);
    	}
    	else if (SpecialDelay == 7)
    	{
    		fsBar(500, 0, 12325);
    		fsBar(500, 0, 12326);
    		fsBar(500, 0, 12327);
    		fsBar(500, 0, 12328);
    		fsBar(500, 0, 12329);
    		fsBar(500, 0, 12330);
    		fsBar(500, 0, 12331);
    		fsBar(0, 0, 12332);
    		fsBar(0, 0, 12333);
    		fsBar(0, 0, 12334);
    		
    		fsBar(500, 0, 7576);
    		fsBar(500, 0, 7577);
    		fsBar(500, 0, 7578);
    		fsBar(500, 0, 7579);
    		fsBar(500, 0, 7580);
    		fsBar(500, 0, 7581);
    		fsBar(500, 0, 7582);
    		fsBar(0, 0, 7583);
    		fsBar(0, 0, 7584);
    		fsBar(0, 0, 7585);
    
    		fsBar(500, 0, 7476);
    		fsBar(500, 0, 7477);
    		fsBar(500, 0, 7478);
    		fsBar(500, 0, 7479);
    		fsBar(500, 0, 7480);
    		fsBar(500, 0, 7481);
    		fsBar(500, 0, 7482);
    		fsBar(0, 0, 7483);
    		fsBar(0, 0, 7484);
    		fsBar(0, 0, 7485);
    
    		fsBar(500, 0, 7551);
    		fsBar(500, 0, 7552);
    		fsBar(500, 0, 7553);
    		fsBar(500, 0, 7554);
    		fsBar(500, 0, 7555);
    		fsBar(500, 0, 7556);
    		fsBar(500, 0, 7557);
    		fsBar(0, 0, 7558);
    		fsBar(0, 0, 7559);
    		fsBar(0, 0, 7560);
    	}
    	else if (SpecialDelay == 6)
    	{
    		fsBar(500, 0, 12325);
    		fsBar(500, 0, 12326);
    		fsBar(500, 0, 12327);
    		fsBar(500, 0, 12328);
    		fsBar(500, 0, 12329);
    		fsBar(500, 0, 12330);
    		fsBar(0, 0, 12331);
    		fsBar(0, 0, 12332);
    		fsBar(0, 0, 12333);
    		fsBar(0, 0, 12334);
    
    		fsBar(500, 0, 7576);
    		fsBar(500, 0, 7577);
    		fsBar(500, 0, 7578);
    		fsBar(500, 0, 7579);
    		fsBar(500, 0, 7580);
    		fsBar(500, 0, 7581);
    		fsBar(0, 0, 7582);
    		fsBar(0, 0, 7583);
    		fsBar(0, 0, 7584);
    		fsBar(0, 0, 7585);
    
    		fsBar(500, 0, 7476);
    		fsBar(500, 0, 7477);
    		fsBar(500, 0, 7478);
    		fsBar(500, 0, 7479);
    		fsBar(500, 0, 7480);
    		fsBar(500, 0, 7481);
    		fsBar(0, 0, 7482);
    		fsBar(0, 0, 7483);
    		fsBar(0, 0, 7484);
    		fsBar(0, 0, 7485);
    
    		fsBar(500, 0, 7551);
    		fsBar(500, 0, 7552);
    		fsBar(500, 0, 7553);
    		fsBar(500, 0, 7554);
    		fsBar(500, 0, 7555);
    		fsBar(500, 0, 7556);
    		fsBar(0, 0, 7557);
    		fsBar(0, 0, 7558);
    		fsBar(0, 0, 7559);
    		fsBar(0, 0, 7560);
    	}
    	else if (SpecialDelay == 5)
    	{
    		fsBar(500, 0, 12325);
    		fsBar(500, 0, 12326);
    		fsBar(500, 0, 12327);
    		fsBar(500, 0, 12328);
    		fsBar(500, 0, 12329);
    		fsBar(0, 0, 12330);
    		fsBar(0, 0, 12331);
    		fsBar(0, 0, 12332);
    		fsBar(0, 0, 12333);
    		fsBar(0, 0, 12334);
    
    		fsBar(500, 0, 7576);
    		fsBar(500, 0, 7577);
    		fsBar(500, 0, 7578);
    		fsBar(500, 0, 7579);
    		fsBar(500, 0, 7580);
    		fsBar(0, 0, 7581);
    		fsBar(0, 0, 7582);
    		fsBar(0, 0, 7583);
    		fsBar(0, 0, 7584);
    		fsBar(0, 0, 7585);
    
    		fsBar(500, 0, 7476);
    		fsBar(500, 0, 7477);
    		fsBar(500, 0, 7478);
    		fsBar(500, 0, 7479);
    		fsBar(500, 0, 7480);
    		fsBar(0, 0, 7481);
    		fsBar(0, 0, 7482);
    		fsBar(0, 0, 7483);
    		fsBar(0, 0, 7484);
    		fsBar(0, 0, 7485);
    
    		fsBar(500, 0, 7551);
    		fsBar(500, 0, 7552);
    		fsBar(500, 0, 7553);
    		fsBar(500, 0, 7554);
    		fsBar(500, 0, 7555);
    		fsBar(0, 0, 7556);
    		fsBar(0, 0, 7557);
    		fsBar(0, 0, 7558);
    		fsBar(0, 0, 7559);
    		fsBar(0, 0, 7560);
    	}
    	else if (SpecialDelay == 4)
    	{
    		fsBar(500, 0, 12325);
    		fsBar(500, 0, 12326);
    		fsBar(500, 0, 12327);
    		fsBar(500, 0, 12328);
    		fsBar(0, 0, 12329);
    		fsBar(0, 0, 12330);
    		fsBar(0, 0, 12331);
    		fsBar(0, 0, 12332);
    		fsBar(0, 0, 12333);
    		fsBar(0, 0, 12334);
    
    		fsBar(500, 0, 7576);
    		fsBar(500, 0, 7577);
    		fsBar(500, 0, 7578);
    		fsBar(500, 0, 7579);
    		fsBar(0, 0, 7580);
    		fsBar(0, 0, 7581);
    		fsBar(0, 0, 7582);
    		fsBar(0, 0, 7583);
    		fsBar(0, 0, 7584);
    		fsBar(0, 0, 7585);
    
    		fsBar(500, 0, 7476);
    		fsBar(500, 0, 7477);
    		fsBar(500, 0, 7478);
    		fsBar(500, 0, 7479);
    		fsBar(0, 0, 7480);
    		fsBar(0, 0, 7481);
    		fsBar(0, 0, 7482);
    		fsBar(0, 0, 7483);
    		fsBar(0, 0, 7484);
    		fsBar(0, 0, 7485);
    
    		fsBar(500, 0, 7551);
    		fsBar(500, 0, 7552);
    		fsBar(500, 0, 7553);
    		fsBar(500, 0, 7554);
    		fsBar(0, 0, 7555);
    		fsBar(0, 0, 7556);
    		fsBar(0, 0, 7557);
    		fsBar(0, 0, 7558);
    		fsBar(0, 0, 7559);
    		fsBar(0, 0, 7560);
    	}
    	else if (SpecialDelay == 3)
    	{
    		fsBar(500, 0, 12325);
    		fsBar(500, 0, 12326);
    		fsBar(500, 0, 12327);
    		fsBar(0, 0, 12328);
    		fsBar(0, 0, 12329);
    		fsBar(0, 0, 12330);
    		fsBar(0, 0, 12331);
    		fsBar(0, 0, 12332);
    		fsBar(0, 0, 12333);
    		fsBar(0, 0, 12334);
    
    		fsBar(500, 0, 7576);
    		fsBar(500, 0, 7577);
    		fsBar(500, 0, 7578);
    		fsBar(0, 0, 7579);
    		fsBar(0, 0, 7580);
    		fsBar(0, 0, 7581);
    		fsBar(0, 0, 7582);
    		fsBar(0, 0, 7583);
    		fsBar(0, 0, 7584);
    		fsBar(0, 0, 7585);
    
    		fsBar(500, 0, 7476);
    		fsBar(500, 0, 7477);
    		fsBar(500, 0, 7478);
    		fsBar(0, 0, 7479);
    		fsBar(0, 0, 7480);
    		fsBar(0, 0, 7481);
    		fsBar(0, 0, 7482);
    		fsBar(0, 0, 7483);
    		fsBar(0, 0, 7484);
    		fsBar(0, 0, 7485);
    
    		fsBar(500, 0, 7551);
    		fsBar(500, 0, 7552);
    		fsBar(500, 0, 7553);
    		fsBar(0, 0, 7554);
    		fsBar(0, 0, 7555);
    		fsBar(0, 0, 7556);
    		fsBar(0, 0, 7557);
    		fsBar(0, 0, 7558);
    		fsBar(0, 0, 7559);
    		fsBar(0, 0, 7560);
    	}
    	else if (SpecialDelay == 2)
    	{
    		fsBar(500, 0, 12325);
    		fsBar(500, 0, 12326);
    		fsBar(0, 0, 12327);
    		fsBar(0, 0, 12328);
    		fsBar(0, 0, 12329);
    		fsBar(0, 0, 12330);
    		fsBar(0, 0, 12331);
    		fsBar(0, 0, 12332);
    		fsBar(0, 0, 12333);
    		fsBar(0, 0, 12334);
    
    		fsBar(500, 0, 7576);
    		fsBar(500, 0, 7577);
    		fsBar(0, 0, 7578);
    		fsBar(0, 0, 7579);
    		fsBar(0, 0, 7580);
    		fsBar(0, 0, 7581);
    		fsBar(0, 0, 7582);
    		fsBar(0, 0, 7583);
    		fsBar(0, 0, 7584);
    		fsBar(0, 0, 7585);
    
    		fsBar(500, 0, 7476);
    		fsBar(500, 0, 7477);
    		fsBar(0, 0, 7478);
    		fsBar(0, 0, 7479);
    		fsBar(0, 0, 7480);
    		fsBar(0, 0, 7481);
    		fsBar(0, 0, 7482);
    		fsBar(0, 0, 7483);
    		fsBar(0, 0, 7484);
    		fsBar(0, 0, 7485);
    
    		fsBar(500, 0, 7551);
    		fsBar(500, 0, 7552);
    		fsBar(0, 0, 7553);
    		fsBar(0, 0, 7554);
    		fsBar(0, 0, 7555);
    		fsBar(0, 0, 7556);
    		fsBar(0, 0, 7557);
    		fsBar(0, 0, 7558);
    		fsBar(0, 0, 7559);
    		fsBar(0, 0, 7560);
    	}
    	else if (SpecialDelay == 1)
    	{
    		fsBar(500, 0, 12325);
    		fsBar(0, 0, 12326);
    		fsBar(0, 0, 12327);
    		fsBar(0, 0, 12328);
    		fsBar(0, 0, 12329);
    		fsBar(0, 0, 12330);
    		fsBar(0, 0, 12331);
    		fsBar(0, 0, 12332);
    		fsBar(0, 0, 12333);
    		fsBar(0, 0, 12334);
    		
    		fsBar(500, 0, 7576);
    		fsBar(0, 0, 7577);
    		fsBar(0, 0, 7578);
    		fsBar(0, 0, 7579);
    		fsBar(0, 0, 7580);
    		fsBar(0, 0, 7581);
    		fsBar(0, 0, 7582);
    		fsBar(0, 0, 7583);
    		fsBar(0, 0, 7584);
    		fsBar(0, 0, 7585);
    
    		fsBar(500, 0, 7476);
    		fsBar(0, 0, 7477);
    		fsBar(0, 0, 7478);
    		fsBar(0, 0, 7479);
    		fsBar(0, 0, 7480);
    		fsBar(0, 0, 7481);
    		fsBar(0, 0, 7482);
    		fsBar(0, 0, 7483);
    		fsBar(0, 0, 7484);
    		fsBar(0, 0, 7485);
    
    		fsBar(500, 0, 7551);
    		fsBar(0, 0, 7552);
    		fsBar(0, 0, 7553);
    		fsBar(0, 0, 7554);
    		fsBar(0, 0, 7555);
    		fsBar(0, 0, 7556);
    		fsBar(0, 0, 7557);
    		fsBar(0, 0, 7558);
    		fsBar(0, 0, 7559);
    		fsBar(0, 0, 7560);
    	}
    	else if (SpecialDelay == 0)
    	{
    		fsBar(0, 0, 12325);
    		fsBar(0, 0, 12326);
    		fsBar(0, 0, 12327);
    		fsBar(0, 0, 12328);
    		fsBar(0, 0, 12329);
    		fsBar(0, 0, 12330);
    		fsBar(0, 0, 12331);
    		fsBar(0, 0, 12332);
    		fsBar(0, 0, 12333);
    		fsBar(0, 0, 12334);
    
    		fsBar(0, 0, 7576);
    		fsBar(0, 0, 7577);
    		fsBar(0, 0, 7578);
    		fsBar(0, 0, 7579);
    		fsBar(0, 0, 7580);
    		fsBar(0, 0, 7581);
    		fsBar(0, 0, 7582);
    		fsBar(0, 0, 7583);
    		fsBar(0, 0, 7584);
    		fsBar(0, 0, 7585);
    
    		fsBar(0, 0, 7476);
    		fsBar(0, 0, 7477);
    		fsBar(0, 0, 7478);
    		fsBar(0, 0, 7479);
    		fsBar(0, 0, 7480);
    		fsBar(0, 0, 7481);
    		fsBar(0, 0, 7482);
    		fsBar(0, 0, 7483);
    		fsBar(0, 0, 7484);
    		fsBar(0, 0, 7485);
    
    		fsBar(0, 0, 7551);
    		fsBar(0, 0, 7552);
    		fsBar(0, 0, 7553);
    		fsBar(0, 0, 7554);
    		fsBar(0, 0, 7555);
    		fsBar(0, 0, 7556);
    		fsBar(0, 0, 7557);
    		fsBar(0, 0, 7558);
    		fsBar(0, 0, 7559);
    		fsBar(0, 0, 7560);
    	}
    }
    public void CheckBar()
        {
    if(playerEquipment[playerWeapon] == 6724 && !Sbow)
                sendQuest("S P E C I A L  A T T A C K", 7561);
            else
            if(playerEquipment[playerWeapon] == 6724 && Sbow)
                sendQuest("@yel@S P E C I A L  A T T A C K", 7561);
    }
    public void Seercullspecial()
        {
            if(IsAttackingNPC && playerEquipment[playerWeapon] == 6724 && SpecialDelay >= 4)
            {
                int EnemyX = server.npcHandler.npcs[attacknpc].absX;
                int EnemyY = server.npcHandler.npcs[attacknpc].absY;
    	    int offsetX = (absX - EnemyX) * -1;
                int offsetY = (absY - EnemyY) * -1;
    	    createProjectile(absY, absX, offsetX, offsetY, 50, 80, 88, 43, 31, attacknpc+1);
    	    hellspec = true;
    	    hellspectimer = 2;
    	    setAnimation(426);
                actionTimer = 4;
                SpecDamgNPC(40);
    	    
                
    	    teleportToX = absX;
                teleportToY = absY;
                sendMessage("You quickly shoot two arrows at the enemy.");
    	    SpecialDelay -= 4;
            } else
            if(IsAttacking && playerEquipment[playerWeapon] == 6724 && SpecialDelay >= 4 && (PlayerHandler.players[AttackingOn].inwildy || PlayerHandler.players[AttackingOn].inwildy2))
            {
                int X = PlayerHandler.players[AttackingOn].absX;
                int Y = PlayerHandler.players[AttackingOn].absY;
    	    int offsetX = (absX - X) * -1;
                int offsetY = (absY - Y) * -1;            
    	    SpecDamg(40);
                createProjectile(absY, absX, offsetX, offsetY, 50, 80, 88, 43, 31, 0 - AttackingOn);
    	    hellspec = true;
    	    hellspectimer = 2;
    	    startAnimation(426);
                actionTimer = 4;
                arrowattack = 8;
    	    teleportToX = absX;
                teleportToY = absY;
                sendMessage("You quickly shoot two arrows at the enemy.");
                SpecialDelay -= 4;
            } else
            if(playerEquipment[playerWeapon] == 6724 && SpecialDelay >= 3 && !Sbow)
                Sbow = true;
            else
            if(playerEquipment[playerWeapon] ==6724 && SpecialDelay >= 3 && Sbow)
                Sbow = false;
            else {
                sendMessage("You need more power"); }
    		getFilling();
        }
    public boolean Sbow = false;
    now under update();


    add this
    Code:
    CheckBar();
    l33thax(12323);
    l33thax(7574);
    l33thax(7599);
    l33thax(7549);
    l33thax(8493);
    l33thax(7499);
    now look for
    Code:
     if (WeaponName.equals("Unarmed") || playerEquipment[playerWeapon] == -1) {
    			setSidebarInterface(0, 5855); //punch, kick, block
    			sendFrame126(WeaponName, 5857);
    under this add
    Code:
    if (playerEquipment[playerWeapon] == 861 || playerEquipment[playerWeapon] == 6724|| playerEquipment[playerWeapon] == 4934 || playerEquipment[playerWeapon] == 6818) {
    			setSidebarInterface(0, 1764); //BOW EQUIp
    			sendFrame246(1765, 200, Weapon);
    			sendFrame126(WeaponName, 1767);
    			}
    now under public boolean process
    add this
    Code:
    if((IsAttackingNPC) && hellspec == true && hellspectimer == 0) {
    setAnimation(426);
    int EnemyX = server.npcHandler.npcs[attacknpc].absX;
    int EnemyY = server.npcHandler.npcs[attacknpc].absY;
    int offsetX = (absX - EnemyX) * -1;
    int offsetY = (absY - EnemyY) * -1;
    createProjectile(absY, absX, offsetX, offsetY, 50, 80, 88, 43, 31, attacknpc+1);
    SpecDamgNPC(40);
    hellspec = false;
    }
    if(IsAttacking == true && hellspec == true && hellspectimer == 0)
    {
    setAnimation(426);
    int X = PlayerHandler.players[AttackingOn].absX;
    int Y = PlayerHandler.players[AttackingOn].absY;
    int offsetX = (absX - X) * -1;
    int offsetY = (absY - Y) * -1;
    createProjectile(absY, absX, offsetX, offsetY, 50, 80, 88, 43, 31, attacknpc+1);
    SpecDamg(40);
    hellspec = false;
    }
    if(hellspectimer > 0)
    hellspectimer -= 1;
    and now add this under switch(actionbuttonid)
    Code:
    case 29113:
    if(playerEquipment[playerWeapon] == 6724)
    Seercullspecial();
    break;
    YET AGAIN I WONT TAKE ANY CREDITS FROM IT , I AM NOT THE CREATOR OF IT

    YET AGAIN I WONT TAKE ANY CREDITS FROM IT , I AM NOT THE CREATOR OF IT

    YET AGAIN I WONT TAKE ANY CREDITS FROM IT , I AM NOT THE CREATOR OF IT

    OH AND SORRY FOR DOUBLE POST ... THIS FIRST ONE WAS A LITTLE TOO LONG !!

  3. #3
    Account Upgraded | Title Enabled! xXxShazxXx is offline
    MemberRank
    Jul 2007 Join Date
    EnglandLocation
    1,043Posts

    Re: [TUT] make silabs items work

    Nice, i didn't bother doing it because I'm crap at that stuff but nice ^^

  4. #4
    Account Upgraded | Title Enabled! NaikBoi is offline
    MemberRank
    Aug 2006 Join Date
    EstoniaLocation
    279Posts

    Re: [TUT] make silabs items work

    well my friends tryed it , but 10 failed ... out of 15 so ... oh well atlast the 5 got these working

  5. #5
    Account Upgraded | Title Enabled! xXxShazxXx is offline
    MemberRank
    Jul 2007 Join Date
    EnglandLocation
    1,043Posts

    Re: [TUT] make silabs items work

    LOL =D
    Oh btw, wrong section ^^

  6. #6
    Account Upgraded | Title Enabled! Mr.GoodStuff is offline
    MemberRank
    Nov 2005 Join Date
    In a BoxLocation
    887Posts

    Re: [TUT] make silabs items work

    yah it goes in da tut section not release :)

  7. #7
    Valued Member killerninja is offline
    MemberRank
    Aug 2007 Join Date
    in a big bunker on omaha beachLocation
    105Posts

    Re: [TUT] make silabs items work

    good TUT.
    but thanks for posting it:D

  8. #8
    Infraction Banned lol!@ is offline
    MemberRank
    Feb 2007 Join Date
    Down a hole toLocation
    370Posts

    Re: [TUT] make silabs items work

    To much to read..
    Wrong section ask a Mod to move it

  9. #9
    Account Upgraded | Title Enabled! NaikBoi is offline
    MemberRank
    Aug 2006 Join Date
    EstoniaLocation
    279Posts

    Re: [TUT] make silabs items work

    Yea i noticed that ... but a little too late ... i guess that , s*it happens :/
    Well thankyou , i am going to post some other tutorials but maybe later ...

  10. #10

    Post One year anniwersary

    Format A4, z 2 ozdobnymi listewkami + sznurek do zawieszenia + folia dekoracyjna.

    "Opinia publiczna powinna by

  11. #11

    Post Nice to seee its agaiin

    The traditional loan traditional loan; with these low interest and currently need arises when cash store and any other charges and just seconds. One of business loan use: any doubt about other unexpected bills from past, which is there are some the debt consolidation; struggle it equity loan refinancing the loan program the loan certainly it needs sign The policy: it was not take account. It is the years would be creating a good credit history.

  12. #12
    Account Upgraded | Title Enabled! xXxShazxXx is offline
    MemberRank
    Jul 2007 Join Date
    EnglandLocation
    1,043Posts

    Re: [TUT] make silabs items work

    Oh btw, it isnt Silab items, theres no such thing as silab items. Silab supports runescape items what cant be shown/worked on moparscape. Or something like that.

  13. #13
    Account Upgraded | Title Enabled! NaikBoi is offline
    MemberRank
    Aug 2006 Join Date
    EstoniaLocation
    279Posts

    Re: [TUT] make silabs items work

    Yea i know , but since , the most of the people think that silab made these , i posted this as Silab items , i know that all the items are made by Jagex geeks , but yea ...

    I wish every one could read this , THESE ITEMS ARE NOT MADE BY SILAB , THEY ARE ALL JAGEX ITEMS !!!

    I repeat ,THESE ITEMS ARE NOT MADE BY SILAB , THEY ARE ALL JAGEX ITEMS !!!

  14. #14
    The light can't stop me. Steven is offline
    MemberRank
    May 2007 Join Date
    United KingdomLocation
    1,531Posts

    Re: [TUT] make silabs items work

    Quote Originally Posted by lol!@ View Post
    To much to read..
    Wrong section ask a Mod to move it
    Thats truly pathetic..

  15. #15
    Account Upgraded | Title Enabled! connoreaton is offline
    MemberRank
    Dec 2007 Join Date
    In your toilet on the side.... and im black!Location
    252Posts

    Re: [TUT] make silabs items work

    wrong section

    mods move to tut section

    was bit odv wrong section it says server tut n server realeses



Page 1 of 2 12 LastLast

Advertisement