purez Member
Number of posts : 33 Registration date : 2008-06-07
| Subject: Godsword + dfs making Tut Tue Jul 01, 2008 1:14 pm | |
| Part 1: Dragon Fire shield making Search client.java for - Code:
-
//grinding If you do not have that search for something in this - Code:
-
/*if (IsUsingSkill == false) { IsUsingSkill = true; useitems[3] = inStream.readUnsignedWordA(); //use item slot useitems[1] = inStream.readSignedWordBigEndianA(); //used item useitems[2] = (int)(misc.HexToInt(inStream.buffer, 1, 1) / 1000); //used item slot useitems[0] = playerItems[useitems[3]]; //used item id useitems[0] -= 1; //Only to fix the ID ! CheckForSkillUse(); }*/ { //flec(woodSlot); //herblore ****! //grinding Now after the //grinding add this code in - Code:
-
//-------------------------Dragon fire sheild making-------------------------// else if(itemUsed == 11816 && useWith == 1540) { if(playerLevel[13] >= 95) { deleteItem(11816, getItemSlot(11816), 1); deleteItem(1540, getItemSlot(1540), 1); addItem(11814, 1); addSkillXP(100000, 13); } else { sendMessage("You Need 95 Smithing To Make Dragonfire shield"); } } else if(itemUsed == 1540 && useWith == 11816) { if(playerLevel[13] >= 95) { deleteItem(1540, getItemSlot(1540), 1); deleteItem(11816, getItemSlot(11816), 1); addItem(11814, 1); addSkillXP(100000, 13); } else { sendMessage("You Need 95 Smithing To Make Dragonfire shield"); } } //-----------------------------End of dragon fire shield making-------------------// Now what this is is when you use 1540 or 11816 together and you have 95 smithing or higher than it will delete the two items add your dragon fire shield and give you 100k smithing xp (PS this is for silabs Item Code so you will have to change the 11816 to the ID of your dragon fire shield thing I forget the top part of shield rofl (been long time) Part 2: Creating Skull Scepters(Again you need Silabs For this. If not change the Item Id's to your ids - Code:
-
//------------------------Skull sceptre making---------------------- else if(itemUsed == 10338 && useWith == 10339) { //skull top crakaman deleteItem(10338, getItemSlot(10338), 1); deleteItem(10339, getItemSlot(10339), 1); addItem(10341, 1); //Justin } else if(itemUsed == 10339 && useWith == 10338) { //skull top 2 crakaman deleteItem(10339, getItemSlot(10339), 1); deleteItem(10338, getItemSlot(10338), 1); addItem(10341, 1); //Justin } else if(itemUsed == 10342 && useWith == 10341) { //full skull sceptre crakaman deleteItem(10342, getItemSlot(10342), 1); deleteItem(10341, getItemSlot(10341), 1); addItem(10344, 1); //Justin } else if(itemUsed == 10341 && useWith == 10342) { //full skull sceptre 2 crakaman deleteItem(10341, getItemSlot(10341), 1); deleteItem(10342, getItemSlot(10342), 1); addItem(10344, 1); //Justin } //--------------------------------end of skull sceptre making by purez------------ Add that at the same spot as well Part 3: Adding God sword making my style Add this again at the same spot and once again change the Item Ids to the Ids you use on your client (Im using silabs for this) - Code:
-
//------------------------God Sword Making--------------------------------// else if(itemUsed == 11958 && useWith == 11959) { if(playerLevel[13] >= 85) { deleteItem(11958, getItemSlot(11958), 1); deleteItem(11959, getItemSlot(11959), 1); addItem(11969, 1); addSkillXP(50000, 13); } else { sendMessage("You Need 85 Smithing To Make Zamoraks hilt"); } } else if(itemUsed == 11959 && useWith == 11958) { if(playerLevel[13] >= 85) { deleteItem(11959, getItemSlot(11959), 1); deleteItem(11958, getItemSlot(11958), 1); addItem(11969, 1); addSkillXP(50000, 13); } else { sendMessage("You Need 85 Smithing To Make Zamoraks hilt"); } } else if(itemUsed == 11969 && useWith == 11961) { if(playerLevel[13] >= 85) { deleteItem(11969, getItemSlot(11969), 1); deleteItem(11961, getItemSlot(11961), 1); addItem(11965, 1); addSkillXP(50000, 13); } else { sendMessage("You Need 85 Smithing To Make Zamoraks sword"); } } else if(itemUsed == 11961 && useWith == 11969) { if(playerLevel[13] >= 85) { deleteItem(11961, getItemSlot(11961), 1); deleteItem(11969, getItemSlot(11969), 1); addItem(11965, 1); addSkillXP(50000, 13); } else { sendMessage("You Need 85 Smithing To Make Zamoraks sword"); } } else if(itemUsed == 11970 && useWith == 11971) { if(playerLevel[13] >= 85) { deleteItem(11970, getItemSlot(11970), 1); deleteItem(11971, getItemSlot(11971), 1); addItem(11968, 1); addSkillXP(50000, 13); } else { sendMessage("You Need 85 Smithing To Make Saradomin hilt"); } } else if(itemUsed == 11971 && useWith == 11970) { if(playerLevel[13] >= 85) { deleteItem(11971, getItemSlot(11971), 1); deleteItem(11970, getItemSlot(11970), 1); addItem(11968, 1); addSkillXP(50000, 13); } else { sendMessage("You Need 85 Smithing To Make Saradomin hilt"); } } else if(itemUsed == 11968 && useWith == 11972) { if(playerLevel[13] >= 85) { deleteItem(11968, getItemSlot(11968), 1); deleteItem(11972, getItemSlot(11972), 1); addItem(11964, 1); addSkillXP(50000, 13); } else { sendMessage("You Need 85 Smithing To Make Saradomin sword"); } } else if(itemUsed == 11972 && useWith == 11968) { if(playerLevel[13] >= 85) { deleteItem(11972, getItemSlot(11972), 1); deleteItem(11968, getItemSlot(11968), 1); addItem(11964, 1); addSkillXP(50000, 13); } else { sendMessage("You Need 85 Smithing To Make Saradomin sword"); } }
//------------------------End Of God Sword Making--------------------------------// This is using two items to make hilt than another peice and hilt to make the sword you need 85 smithing or higher to make them and at the end it gives you 50k smithing xp I was working on a project to make it so if you use any pot on a pot like a attack pot 1 with attack pot 3 it would create a attack pot 4 and what not but I quit half way through. But if you would like to get the code that I got to I will put it on this if you ask All these were created by me, Godsword's making was actually made after mine I added this tut directly after silabs came out than the skull sceptres no one used i posted on mopar but i never saw it again so im guessing it just died cause i havnt seen it leeched atleast yet. Thanks Purez/wangdoodle | |
|