Donation
Put Your In Game Name For Purpose!Latest topics
ITEM USED ON ANOTHER ITEM BUG
3 posters
Page 1 of 1
ITEM USED ON ANOTHER ITEM BUG
as u can tell some skills arent properly working since item used on another item dc's you... im trying to fix this so there may be some test updates... also if you have information of a fix please reply. Or if you know exactly when this happened for the first time b/c im not sure if it was when v5 came our or after that.
If you dont know and want to post junk here like "lol" or "yah you should fix this"
DONT REPLY OR YOU WILL GET MUTED ON THE FORUMS FOR 2 DAYS
ONLY REPLY IF YOU HAVE A GOOD ANSWER OR FIX
additional info - Server base - somewhat Delta
Item on Item Code:
If you dont know and want to post junk here like "lol" or "yah you should fix this"
DONT REPLY OR YOU WILL GET MUTED ON THE FORUMS FOR 2 DAYS
ONLY REPLY IF YOU HAVE A GOOD ANSWER OR FIX
additional info - Server base - somewhat Delta
Item on Item Code:
- Code:
case 53:
// Use item on item
int usedWithSlot = inStream.readUnsignedWord();
int itemUsedSlot = inStream.readUnsignedWordA();
// int useWith = inStream.readUnsignedWordBigEndianA();
int interface1284 = inStream.readUnsignedWord();
// int itemUsed = inStream.readSignedWordBigEndian();
int interfacek = inStream.readUnsignedWord();
// usedWithSlot += 1;
// itemUsedSlot += 1;
int useWith = playerItems[usedWithSlot] - 1;
int itemUsed = playerItems[itemUsedSlot] - 1;
if (!playerHasItem(itemUsed) || !playerHasItem(useWith)) {
break;
}
int otherItem = playerItems[usedWithSlot] - 1;
// println("itemUsed=" + itemUsed + ", usedWithSlot=" + usedWithSlot
// + ", otherItem=" + otherItem);
// magic potion
if (((itemUsed == 3046) && (otherItem == 3046))) {
deleteItem(3046, getItemSlot(3046), 1);
deleteItem(3046, getItemSlot(3046), 1);
addItem(3044, 1);
addItem(229, 1);
sM("You have combined the liquid into 2 doses.");
}
if (((itemUsed == 3046) && (otherItem == 3044))
|| ((itemUsed == 3044) && (otherItem == 3046))) {
deleteItem(3046, getItemSlot(3046), 1);
deleteItem(3044, getItemSlot(3044), 1);
addItem(3042, 1);
addItem(229, 1);
sM("You have combined the liquid into 3 doses.");
}
if (((itemUsed == 3654) && (otherItem == 2780))
|| ((itemUsed == 2780) && (otherItem == 3654))) {
deleteItem(3654, getItemSlot(3654), 1);
deleteItem(2780, getItemSlot(2780), 1);
addItem(746, 1);
sM("You attach the hilt to the blade and recieve a zamarok godsword");
}
if (((itemUsed == 3654) && (otherItem == 2779))
|| ((itemUsed == 2779) && (otherItem == 3654))) {
deleteItem(3654, getItemSlot(3654), 1);
deleteItem(2779, getItemSlot(2779), 1);
addItem(2402, 1);
sM("You attach the hilt to the blade and recieve a saradomin godsword");
}
if (((itemUsed == 3654) && (otherItem == 2778))
|| ((itemUsed == 2778) && (otherItem == 3654))) {
deleteItem(3654, getItemSlot(3654), 1);
deleteItem(2778, getItemSlot(2778), 1);
addItem(35, 1);
sM("You attach the hilt to the blade and recieve an armadyl godsword");
}
if (((itemUsed == 3654) && (otherItem == 2777))
|| ((itemUsed == 2777) && (otherItem == 3654))) {
deleteItem(3654, getItemSlot(3654), 1);
deleteItem(2777, getItemSlot(2777), 1);
addItem(667, 1);
sM("You attach the hilt to the blade and recieve a bandos godsword");
}
if (((itemUsed == 3046) && (otherItem == 3042))
|| ((itemUsed == 3042) && (otherItem == 3046))) {
deleteItem(3046, getItemSlot(3046), 1);
deleteItem(3042, getItemSlot(3042), 1);
addItem(3040, 1);
addItem(229, 1);
sM("You have combined the liquid into 4 doses.");
}
if (((itemUsed == 3044) && (otherItem == 3044))) {
deleteItem(3044, getItemSlot(3044), 1);
deleteItem(3044, getItemSlot(3044), 1);
addItem(3040, 1);
addItem(229, 1);
sM("You have combined the liquid into 4 doses.");
}
// antipoison potion
if (((itemUsed == 179) && (otherItem == 179))) {
deleteItem(179, getItemSlot(179), 1);
deleteItem(179, getItemSlot(179), 1);
addItem(177, 1);
addItem(229, 1);
sM("You have combined the liquid into 2 doses.");
}
if (((itemUsed == 179) && (otherItem == 177))
|| ((itemUsed == 177) && (otherItem == 179))) {
deleteItem(179, getItemSlot(179), 1);
deleteItem(177, getItemSlot(177), 1);
addItem(175, 1);
addItem(229, 1);
sM("You have combined the liquid into 3 doses.");
}
if (((itemUsed == 179) && (otherItem == 175))
|| ((itemUsed == 175) && (otherItem == 179))) {
deleteItem(179, getItemSlot(179), 1);
deleteItem(175, getItemSlot(175), 1);
addItem(2446, 1);
addItem(229, 1);
sM("You have combined the liquid into 4 doses.");
}
if (((itemUsed == 177) && (otherItem == 177))) {
deleteItem(177, getItemSlot(177), 1);
deleteItem(177, getItemSlot(177), 1);
addItem(2446, 1);
addItem(229, 1);
sM("You have combined the liquid into 4 doses.");
}
// restore potion
if (((itemUsed == 3030) && (otherItem == 3030))) {
deleteItem(3030, getItemSlot(3030), 1);
deleteItem(3030, getItemSlot(3030), 1);
addItem(3028, 1);
addItem(229, 1);
sM("You have combined the liquid into 2 doses.");
}
if (((itemUsed == 3030) && (otherItem == 3028))
|| ((itemUsed == 3028) && (otherItem == 3030))) {
deleteItem(3030, getItemSlot(3030), 1);
deleteItem(3028, getItemSlot(3028), 1);
addItem(3026, 1);
addItem(229, 1);
sM("You have combined the liquid into 3 doses.");
}
if (((itemUsed == 3030) && (otherItem == 3026))
|| ((itemUsed == 3026) && (otherItem == 3030))) {
deleteItem(3030, getItemSlot(3030), 1);
deleteItem(3026, getItemSlot(3026), 1);
addItem(3024, 1);
addItem(229, 1);
sM("You have combined the liquid into 4 doses.");
}
if (((itemUsed == 3028) && (otherItem == 3028))) {
deleteItem(3028, getItemSlot(3028), 1);
deleteItem(3028, getItemSlot(3028), 1);
addItem(3024, 1);
addItem(229, 1);
sM("You have combined the liquid into 4 doses.");
}
// saradomin brew
if (((itemUsed == 6691) && (otherItem == 6691))) {
deleteItem(6691, getItemSlot(6691), 1);
deleteItem(6691, getItemSlot(6691), 1);
addItem(6685, 1);
addItem(229, 1);
sM("You have combined the liquid into 2 doses.");
}
if (((itemUsed == 6691) && (otherItem == 6689))
|| ((itemUsed == 6689) && (otherItem == 6691))) {
deleteItem(6691, getItemSlot(6691), 1);
deleteItem(6689, getItemSlot(6689), 1);
addItem(6687, 1);
addItem(229, 1);
sM("You have combined the liquid into 3 doses.");
}
if (((itemUsed == 6691) && (otherItem == 6687))
|| ((itemUsed == 6691) && (otherItem == 6687))) {
deleteItem(6691, getItemSlot(6691), 1);
deleteItem(6687, getItemSlot(6687), 1);
addItem(6685, 1);
addItem(229, 1);
sM("You have combined the liquid into 4 doses.");
}
if (((itemUsed == 6689) && (otherItem == 6689))) {
deleteItem(6689, getItemSlot(6689), 1);
deleteItem(6689, getItemSlot(6689), 1);
addItem(6685, 1);
addItem(229, 1);
sM("You have combined the liquid into 4 doses.");
}
// prayer potion
if (((itemUsed == 143) && (otherItem == 143))) {
deleteItem(143, getItemSlot(143), 1);
deleteItem(143, getItemSlot(143), 1);
addItem(141, 1);
addItem(229, 1);
sM("You have combined the liquid into 2 doses.");
}
if (((itemUsed == 143) && (otherItem == 141))
|| ((itemUsed == 141) && (otherItem == 143))) {
deleteItem(143, getItemSlot(143), 1);
deleteItem(141, getItemSlot(141), 1);
addItem(139, 1);
addItem(229, 1);
sM("You have combined the liquid into 3 doses.");
}
if (((itemUsed == 143) && (otherItem == 139))
|| ((itemUsed == 139) && (otherItem == 143))) {
deleteItem(143, getItemSlot(143), 1);
deleteItem(139, getItemSlot(139), 1);
addItem(2434, 1);
addItem(229, 1);
sM("You have combined the liquid into 4 doses.");
}
if (((itemUsed == 141) && (otherItem == 141))) {
deleteItem(141, getItemSlot(141), 1);
deleteItem(141, getItemSlot(141), 1);
addItem(2434, 1);
addItem(229, 1);
sM("You have combined the liquid into 4 doses.");
}
// range potion
if (((itemUsed == 173) && (otherItem == 173))) {
deleteItem(173, getItemSlot(173), 1);
deleteItem(173, getItemSlot(173), 1);
addItem(171, 1);
addItem(229, 1);
sM("You have combined the liquid into 2 doses.");
}
if (((itemUsed == 173) && (otherItem == 171))
|| ((itemUsed == 171) && (otherItem == 173))) {
deleteItem(173, getItemSlot(173), 1);
deleteItem(171, getItemSlot(171), 1);
addItem(169, 1);
addItem(229, 1);
sM("You have combined the liquid into 3 doses.");
}
if (((itemUsed == 173) && (otherItem == 169))
|| ((itemUsed == 169) && (otherItem == 173))) {
deleteItem(173, getItemSlot(173), 1);
deleteItem(169, getItemSlot(169), 1);
addItem(2444, 1);
addItem(229, 1);
sM("You have combined the liquid into 4 doses.");
}
if (((itemUsed == 171) && (otherItem == 171))) {
deleteItem(171, getItemSlot(171), 1);
deleteItem(171, getItemSlot(171), 1);
addItem(2444, 1);
addItem(229, 1);
sM("You have combined the liquid into 4 doses.");
}
// strength potion
if (((itemUsed == 119) && (otherItem == 119))) {
deleteItem(119, getItemSlot(119), 1);
deleteItem(119, getItemSlot(119), 1);
addItem(117, 1);
addItem(229, 1);
sM("You have combined the liquid into 2 doses.");
}
if (((itemUsed == 119) && (otherItem == 117))
|| ((itemUsed == 117) && (otherItem == 119))) {
deleteItem(119, getItemSlot(119), 1);
deleteItem(117, getItemSlot(117), 1);
addItem(115, 1);
addItem(229, 1);
sM("You have combined the liquid into 3 doses.");
}
if (((itemUsed == 119) && (otherItem == 115))
|| ((itemUsed == 115) && (otherItem == 119))) {
deleteItem(119, getItemSlot(119), 1);
deleteItem(115, getItemSlot(115), 1);
addItem(113, 1);
addItem(229, 1);
sM("You have combined the liquid into 4 doses.");
}
if (((itemUsed == 117) && (otherItem == 117))) {
deleteItem(117, getItemSlot(117), 1);
deleteItem(117, getItemSlot(117), 1);
addItem(113, 1);
addItem(229, 1);
sM("You have combined the liquid into 4 doses.");
}
// super str potion
if (((itemUsed == 161) && (otherItem == 161))) {
deleteItem(161, getItemSlot(161), 1);
deleteItem(161, getItemSlot(161), 1);
addItem(159, 1);
addItem(229, 1);
sM("You have combined the liquid into 2 doses.");
}
if (((itemUsed == 161) && (otherItem == 159))
|| ((itemUsed == 159) && (otherItem == 161))) {
deleteItem(161, getItemSlot(161), 1);
deleteItem(159, getItemSlot(159), 1);
addItem(157, 1);
addItem(229, 1);
sM("You have combined the liquid into 3 doses.");
}
if (((itemUsed == 161) && (otherItem == 157))
|| ((itemUsed == 157) && (otherItem == 161))) {
deleteItem(161, getItemSlot(161), 1);
deleteItem(157, getItemSlot(157), 1);
addItem(2440, 1);
addItem(229, 1);
sM("You have combined the liquid into 4 doses.");
}
if (((itemUsed == 159) && (otherItem == 159))) {
deleteItem(159, getItemSlot(159), 1);
deleteItem(159, getItemSlot(159), 1);
addItem(2440, 1);
addItem(229, 1);
sM("You have combined the liquid into 4 doses.");
}
// super def potion
if (((itemUsed == 167) && (otherItem == 167))) {
deleteItem(167, getItemSlot(167), 1);
deleteItem(167, getItemSlot(167), 1);
addItem(165, 1);
addItem(229, 1);
sM("You have combined the liquid into 2 doses.");
}
if (((itemUsed == 167) && (otherItem == 165))
|| ((itemUsed == 165) && (otherItem == 167))) {
deleteItem(167, getItemSlot(167), 1);
deleteItem(165, getItemSlot(165), 1);
addItem(163, 1);
addItem(229, 1);
sM("You have combined the liquid into 3 doses.");
}
if (((itemUsed == 167) && (otherItem == 163))
|| ((itemUsed == 163) && (otherItem == 167))) {
deleteItem(167, getItemSlot(167), 1);
deleteItem(163, getItemSlot(163), 1);
addItem(2442, 1);
addItem(229, 1);
sM("You have combined the liquid into 4 doses.");
}
if (((itemUsed == 165) && (otherItem == 165))) {
deleteItem(165, getItemSlot(165), 1);
deleteItem(165, getItemSlot(165), 1);
addItem(2442, 1);
addItem(229, 1);
sM("You have combined the liquid into 4 doses.");
}
// defence potion
if (((itemUsed == 137) && (otherItem == 137))) {
deleteItem(137, getItemSlot(137), 1);
deleteItem(137, getItemSlot(137), 1);
addItem(135, 1);
addItem(229, 1);
sM("You have combined the liquid into 2 doses.");
}
if (((itemUsed == 137) && (otherItem == 135))
|| ((itemUsed == 135) && (otherItem == 137))) {
deleteItem(137, getItemSlot(137), 1);
deleteItem(135, getItemSlot(135), 1);
addItem(133, 1);
addItem(229, 1);
sM("You have combined the liquid into 3 doses.");
}
if (((itemUsed == 137) && (otherItem == 133))
|| ((itemUsed == 133) && (otherItem == 137))) {
deleteItem(137, getItemSlot(137), 1);
deleteItem(133, getItemSlot(133), 1);
addItem(2432, 1);
addItem(229, 1);
sM("You have combined the liquid into 4 doses.");
}
if (((itemUsed == 135) && (otherItem == 135))) {
deleteItem(135, getItemSlot(135), 1);
deleteItem(135, getItemSlot(135), 1);
addItem(2432, 1);
addItem(229, 1);
sM("You have combined the liquid into 4 doses.");
}
// attack potion
if (((itemUsed == 125) && (otherItem == 125))) {
deleteItem(125, getItemSlot(125), 1);
deleteItem(125, getItemSlot(125), 1);
addItem(123, 1);
addItem(229, 1);
sM("You have combined the liquid into 2 doses.");
}
if (((itemUsed == 125) && (otherItem == 123))
|| ((itemUsed == 123) && (otherItem == 125))) {
deleteItem(125, getItemSlot(125), 1);
deleteItem(123, getItemSlot(123), 1);
addItem(121, 1);
addItem(229, 1);
sM("You have combined the liquid into 3 doses.");
}
if (((itemUsed == 125) && (otherItem == 121))
|| ((itemUsed == 121) && (otherItem == 125))) {
deleteItem(125, getItemSlot(125), 1);
deleteItem(121, getItemSlot(121), 1);
addItem(2428, 1);
addItem(229, 1);
sM("You have combined the liquid into 4 doses.");
}
if (((itemUsed == 123) && (otherItem == 123))) {
deleteItem(123, getItemSlot(123), 1);
deleteItem(123, getItemSlot(123), 1);
addItem(2428, 1);
addItem(229, 1);
sM("You have combined the liquid into 4 doses.");
}
// super attack potion
if (((itemUsed == 149) && (otherItem == 149))) {
deleteItem(149, getItemSlot(149), 1);
deleteItem(149, getItemSlot(149), 1);
addItem(147, 1);
addItem(229, 1);
sM("You have combined the liquid into 2 doses.");
}
if (((itemUsed == 149) && (otherItem == 147))
|| ((itemUsed == 147) && (otherItem == 149))) {
deleteItem(149, getItemSlot(149), 1);
deleteItem(147, getItemSlot(147), 1);
addItem(145, 1);
addItem(229, 1);
sM("You have combined the liquid into 3 doses.");
}
if (((itemUsed == 149) && (otherItem == 145))
|| ((itemUsed == 145) && (otherItem == 149))) {
deleteItem(149, getItemSlot(149), 1);
deleteItem(145, getItemSlot(145), 1);
addItem(2436, 1);
addItem(229, 1);
sM("You have combined the liquid into 4 doses.");
}
if (((itemUsed == 147) && (otherItem == 147))) {
deleteItem(147, getItemSlot(147), 1);
deleteItem(147, getItemSlot(147), 1);
addItem(2436, 1);
addItem(229, 1);
sM("You have combined the liquid into 4 doses.");
}
if (((itemUsed == 2394) || (otherItem == 2394))
&& ((itemUsed == 2128) || (otherItem == 2128))) {
if (playerLevel[15] >= 40) {
deleteItem(2394, 1);
deleteItem(2128, 1);
addItem(739, 1);
setAnimation(1652);
} else
sM("You need at least 40 herblore to mix this.");
}
if (((itemUsed == 5605) || (otherItem == 5605))
&& ((itemUsed == 771) || (otherItem == 771))) {
if (playerLevel[9] >= 32) {
deleteItem(771, 1);
addItem(772, 1);
setAnimation(885);
} else
sM("You need at least 32 fletching to fletch this.");
}
if (((itemUsed == 1931) || (otherItem == 1931))
&& ((itemUsed == 1947) || (otherItem == 1947))) {
deleteItem(1931, 1);
deleteItem(1947, 1);
addItem(1933, 1);
sM("You mix the grain into the pot.");
}
if (((itemUsed == 5605) || (otherItem == 5605))
&& ((itemUsed == 1511) || (otherItem == 1511))) {
shafting = true;
resetWC();
}
if (((itemUsed == 1733) || (otherItem == 1733))
&& ((itemUsed == 1741) || (otherItem == 1741))) {
showInterface(2311);
}
if ((itemUsed == 1617 || otherItem == 1617)
&& (itemUsed == 1755 || otherItem == 1755)) {
crafting(2000, 1617, 1731, 70);
}
if ((itemUsed == 1619 || otherItem == 1619)
&& (itemUsed == 1755 || otherItem == 1755)) {
crafting(1500, 1619, 1725, 60);
}
if ((itemUsed == 1621 || otherItem == 1621)
&& (itemUsed == 1755 || otherItem == 1755)) {
crafting(1000, 1621, 1729, 40);
}
if ((itemUsed == 1623 || otherItem == 1623)
&& (itemUsed == 1755 || otherItem == 1755)) {
crafting(500, 1623, 1727, 0);
}
if ((itemUsed == 1631 || otherItem == 1631)
&& (itemUsed == 1755 || otherItem == 1755)) {
crafting(10000, 1631, 1712, 75);
}
if ((itemUsed == 6571 || otherItem == 6571)
&& (itemUsed == 1755 || otherItem == 1755)) {
crafting(15000, 6571, 6585, 90);
}
if ((itemUsed == 1629 || otherItem == 1629)
&& (itemUsed == 1755 || otherItem == 1755)) {
crafting(0, 1629, 1613, 61);
}
if (playerHasItem(314, 15) && playerHasItem(52, 15)
&& ((itemUsed == 314) || (otherItem == 314))
&& ((itemUsed == 52) || (otherItem == 52))) {
if (playerHasItem(-1)) {
deleteItem(314, 15);
deleteItem(52, 15);
addItem(53, 15);
resetWC();
} else {
sM("Not enough space in your inventory.");
}
}
if (((itemUsed == 5605) || (otherItem == 5605))
&& ((itemUsed == 1511) || (otherItem == 1511))) {
shafting = true;
resetWC();
}
int[] heads = { 39, 40, 41, 42, 43, 44 };
int[] arrows = { 882, 884, 886, 888, 890, 892 };
int[] required = { 1, 5, 25, 50, 70, 85 };
for (int h = 0; h < heads.length; h++) {
if (playerHasItem(heads[h], 15) && playerHasItem(53, 15)
&& ((itemUsed == heads[h]) || (otherItem == heads[h]))
&& ((itemUsed == 53) || (otherItem == 53))) {
if (playerLevel[playerFletching] < required[h]) {
sM("You need " + required[h]
+ " fletching to fletch this.");
break;
}
deleteItem(heads[h], 15);
deleteItem(53, 15);
addItem(arrows[h], 15);
addSkillXP(200, playerFletching);
resetWC();
break;
}
}
// regular, oak, maple, willow, yew, magic?
for (int id = 0; id < logs.length; id++) {
if (((itemUsed == logs[id]) || (otherItem == logs[id]))
&& ((itemUsed == 5605) || (otherItem == 5605))) {
// emote 885 (funny=3129)
dialog = true;
dialogInterface = 2459;
dialogId = 1;
fletchLog = id;
sendFrame126("Select a bow", 8879);
sendFrame246(8870, 250, longbows[id]); // right picture
sendFrame246(8869, 250, shortbows[id]); // left picture
sendFrame126(getItemName(shortbows[id]), 8871);
sendFrame126(getItemName(shortbows[id]), 8874);
sendFrame126(getItemName(longbows[id]), 8878);
sendFrame126(getItemName(longbows[id]), 8875);
sendFrame164(8866);
resetWC();
break;
}
}
for (int id1 = 0; id1 < shortbow.length; id1++) {
if (((itemUsed == shortbows[id1]) || (otherItem == shortbows[id1]))
&& ((itemUsed == 1777) || (otherItem == 1777))) {
deleteItem(shortbows[id1], 1);
deleteItem(1777, 1);
addItem(shortbow[id1], 1);
addSkillXP(280, 9);
resetWC();
}
}
for (int b2 = 0; b2 < shortbow.length; b2++) {
if (((itemUsed == longbows[b2]) || (otherItem == longbows[b2]))
&& ((itemUsed == 1777) || (otherItem == 1777))) {
deleteItem(longbows[b2], 1);
deleteItem(1777, 1);
addItem(longbow[b2], 1);
addSkillXP(280, 9);
resetWC();
}
}
for (int h = 0; h < leathers.length; h++) {
if (((itemUsed == 1733) || (otherItem == 1733))
&& ((itemUsed == leathers[h]) || (otherItem == leathers[h]))) {
craftMenu(h);
cIndex = h;
}
}
if ((itemUsed == 233) && (useWith == 237)) {
deleteItem(237, getItemSlot(237), 1);
addItem(235, 1);
} else if ((itemUsed == 590) && (useWith == 1511)) {
if (playerLevel[11] >= 0) {
deleteItem(1511, getItemSlot(1511), 1);
makeGlobalObject(absX, absY, 2732, 0, 10);
addSkillXP(180, 11);
sM("You attempt to light the logs.");
sM("The fire catches and the logs begin to burn.");
walkTo(0,+1);
resetWC();
} else {
sM("You need a firemaking of 0 to burn normal logs.");
}
} else if ((itemUsed == 590) && (useWith == 1521)) {
if (playerLevel[11] >= 15) {
deleteItem(1521, getItemSlot(1521), 1);
makeGlobalObject(absX, absY, 2732, 0, 10);
addSkillXP(250, 11);
sM("You attempt to light the logs.");
sM("The fire catches and the logs begin to burn.");
resetWC();
} else {
sM("You need a firemaking level of 15 to burn oak logs.");
}
}
else if ((itemUsed == 590) && (useWith == 1519)) {
if (playerLevel[11] >= 30) {
deleteItem(1519, getItemSlot(1519), 1);
makeGlobalObject(absX, absY, 2732, 0, 10);
addSkillXP(340, 11);
sM("You attempt to light the logs.");
sM("The fire catches and the logs begin to burn.");
resetWC();
} else {
sM("You need a firemaking of 30 to burn willow logs.");
}
} else if ((itemUsed == 590) && (useWith == 1517)) {
if (playerLevel[11] >= 45) {
deleteItem(1517, getItemSlot(1517), 1);
makeGlobalObject(absX, absY, 2732, 0, 10);
addSkillXP(600, 11);
sM("You attempt to light the logs.");
sM("The fire catches and the logs begin to burn.");
resetWC();
} else {
sM("You need a firemaking level of 45 to burn maple logs.");
}
}
else if ((itemUsed == 590) && (useWith == 1515)) {
if (playerLevel[11] >= 60) {
deleteItem(1515, getItemSlot(1515), 1);
makeGlobalObject(absX, absY, 2732, 0, 10);
addSkillXP(3000, 11);
sM("You attempt to light the logs.");
sM("The fire catches and the logs begin to burn.");
resetWC();
} else {
sM("You need a firemaking of 60 to burn yew logs.");
}
} else if ((itemUsed == 590) && (useWith == 1513)) {
if (playerLevel[11] >= 75) {
deleteItem(1513, getItemSlot(1513), 1);
makeGlobalObject(absX, absY, 2732, 0, 10);
addSkillXP(7000, 11);
sM("You attempt to light the logs.");
sM("The fire catches and the logs begin to burn.");
resetWC();
} else {
sM("You need a firemaking level of 75 to burn magic logs.");
}
}
else if ((itemUsed == 1511) && (useWith == 590)) {
if (playerLevel[11] >= 0) {
deleteItem(1511, getItemSlot(1511), 1);
makeGlobalObject(absX, absY, 2732, 0, 10);
addSkillXP(180, 11);
sM("You attempt to light the logs.");
sM("The fire catches and the logs begin to burn.");
resetWC();
} else {
sM("You need a firemaking of 0 to burn normal logs.");
}
} else if ((itemUsed == 1521) && (useWith == 590)) {
if (playerLevel[11] >= 15) {
deleteItem(1521, getItemSlot(1521), 1);
makeGlobalObject(absX, absY, 2732, 0, 10);
addSkillXP(250, 11);
sM("You attempt to light the logs.");
sM("The fire catches and the logs begin to burn.");
resetWC();
} else {
sM("You need a firemaking level of 15 to burn oak logs.");
}
}
else if ((itemUsed == 1519) && (useWith == 590)) {
if (playerLevel[11] >= 30) {
deleteItem(1519, getItemSlot(1519), 1);
makeGlobalObject(absX, absY, 2732, 0, 10);
addSkillXP(340, 11);
sM("You attempt to light the logs.");
sM("The fire catches and the logs begin to burn.");
resetWC();
} else {
sM("You need a firemaking of 30 to burn willow logs.");
}
} else if ((itemUsed == 1517) && (useWith == 590)) {
if (playerLevel[11] >= 45) {
deleteItem(1517, getItemSlot(1517), 1);
makeGlobalObject(absX, absY, 2732, 0, 10);
addSkillXP(600, 11);
sM("You attempt to light the logs.");
sM("The fire catches and the logs begin to burn.");
resetWC();
} else {
sM("You need a firemaking level of 45 to burn maple logs.");
}
}
else if ((itemUsed == 1515) && (useWith == 590)) {
if (playerLevel[11] >= 60) {
deleteItem(1515, getItemSlot(1515), 1);
makeGlobalObject(absX, absY, 2732, 0, 10);
addSkillXP(780, 11);
sM("You attempt to light the logs.");
sM("The fire catches and the logs begin to burn.");
resetWC();
} else {
sM("You need a firemaking of 60 to burn yew logs.");
}
} else if ((itemUsed == 1513) && (useWith == 590)) {
if (playerLevel[11] >= 75) {
deleteItem(1513, getItemSlot(1513), 1);
makeGlobalObject(absX, absY, 2732, 0, 10);
addSkillXP(1200, 11);
sM("You attempt to light the logs.");
sM("The fire catches and the logs begin to burn.");
resetWC();
} else {
sM("You need a firemaking level of 75 to burn magic logs.");
}
}
// herblore
if ((itemUsed == 257) && (useWith == 227) || (itemUsed == 227)
&& (useWith == 257)) {
if (playerLevel[15] >= 40) {
deleteItem(257, getItemSlot(257), 1);
deleteItem(227, getItemSlot(227), 1);
addItem(2434, 1);
addSkillXP(2800, 15);
setAnimation(1652);
} else {
sM("You need 40 herblore to make this potion.");
}
}
if ((itemUsed == 267) && (useWith == 227) || (itemUsed == 227)
&& (useWith == 267)) {
if (playerLevel[15] >= 20) {
deleteItem(267, getItemSlot(267), 1);
deleteItem(227, getItemSlot(227), 1);
addItem(2444, 1);
addSkillXP(1500, 15);
setAnimation(1652);
} else {
sM("You need 20 herblore to make this potion.");
}
}
if ((itemUsed == 3000) && (useWith == 227) || (itemUsed == 227)
&& (useWith == 3000)) {
if (playerLevel[15] >= 20) {
deleteItem(3000, getItemSlot(3000), 1);
deleteItem(227, getItemSlot(227), 1);
addItem(3024, 1);
addSkillXP(1700, 15);
setAnimation(1652);
} else {
sM("You need 30 herblore to make this potion.");
}
}
if ((itemUsed == 2481) && (useWith == 227) || (itemUsed == 227)
&& (useWith == 2481)) {
if (playerLevel[15] >= 20) {
deleteItem(2481, getItemSlot(2481), 1);
deleteItem(227, getItemSlot(227), 1);
addItem(3040, 1);
addSkillXP(1500, 15);
setAnimation(1652);
} else {
sM("You need 20 herblore to make this potion.");
}
}
if ((itemUsed == 2998) && (useWith == 227) || (itemUsed == 227)
&& (useWith == 2998)) {
if (playerLevel[15] >= 60) {
deleteItem(2998, getItemSlot(2998), 1);
deleteItem(227, getItemSlot(227), 1);
addItem(6685, 1);
addSkillXP(3000, 15);
setAnimation(1652);
} else {
sM("You need 60 herblore to make this potion.");
}
}
if ((itemUsed == 259) && (useWith == 227) || (itemUsed == 227)
&& (useWith == 259)) {
if (playerLevel[15] >= 1) {
deleteItem(259, getItemSlot(259), 1);
deleteItem(227, getItemSlot(227), 1);
addItem(2436, 1);
addSkillXP(700, 15);
setAnimation(1652);
} else {
sM("You need a higher herblore level to make this potion.");
}
}
if ((itemUsed == 263) && (useWith == 227) || (itemUsed == 227)
&& (useWith == 263)) {
if (playerLevel[15] >= 1) {
deleteItem(263, getItemSlot(263), 1);
deleteItem(227, getItemSlot(227), 1);
addItem(2440, 1);
addSkillXP(700, 15);
setAnimation(1652);
} else {
sM("You need a higher herblore level to make this potion.");
}
}
if ((itemUsed == 265) && (useWith == 227) || (itemUsed == 227)
&& (useWith == 265)) {
if (playerLevel[15] >= 1) {
deleteItem(265, getItemSlot(265), 1);
deleteItem(227, getItemSlot(227), 1);
addItem(2442, 1);
addSkillXP(700, 15);
setAnimation(1652);
} else {
sM("You need a higher herblore level to make this potion.");
}
}
break;
Last edited by Santa on Fri Apr 01, 2011 6:31 pm; edited 3 times in total
Re: ITEM USED ON ANOTHER ITEM BUG
This had happened me to be the night after I joined. I was going to continue Firemaking but I dc'ed. I do not even know when v5 came out... but as I said, first happened the night after I had joined. I hope this information helps
Well... that's what join date is for, no offense. Anyways... I joined on 2010-11-01.
Well... that's what join date is for, no offense. Anyways... I joined on 2010-11-01.
Last edited by Mad Muffin on Thu Nov 04, 2010 7:29 pm; edited 1 time in total
Mad Muffin- Good Poster
- Posts : 39
Join date : 2010-10-31
Age : 27
Re: ITEM USED ON ANOTHER ITEM BUG
Mad Muffin wrote:This had happened me to be the night after I joined. I was going to continue Firemaking but I dc'ed. I do not even know when v5 came out... but as I said, first happened the night after I had joined. I hope this information helps
be more specific when did you join (dont repost edit your original one)
Re: ITEM USED ON ANOTHER ITEM BUG
eem .. maybe u should change an folder tht these things r in to some other from other server or smthing ?? im just wondering if tht could work or smhting .
pleasure- Posts : 3
Join date : 2010-11-12
Re: ITEM USED ON ANOTHER ITEM BUG
and thieving aint working or smthing , when i steal .. the game stops , so stupid -.-
pleasure- Posts : 3
Join date : 2010-11-12
Re: ITEM USED ON ANOTHER ITEM BUG
ok , i thought tht the thieving was other trouble .
pleasure- Posts : 3
Join date : 2010-11-12
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
Tue Mar 18, 2014 7:23 am by Alice
» What Happen With Santa ?
Sun Oct 30, 2011 1:37 pm by 1HiT2KiLL
» All Of u Read This Now.......
Tue Sep 27, 2011 12:58 pm by 1HiT2KiLL
» Im So sad...
Mon Sep 26, 2011 5:43 pm by 1HiT2KiLL
» Read and Laugh .
Fri Sep 23, 2011 7:14 am by Alice
» santa get on
Tue Aug 02, 2011 7:13 pm by andy
» Read This Now!
Sat Jul 23, 2011 3:51 pm by 1HiT2KiLL
» When Is The Server Going To Get On?
Sat Jul 16, 2011 3:08 pm by 1HiT2KiLL
» Guys, Why Is The Server Offline?
Mon Jul 11, 2011 6:49 am by 1HiT2KiLL