• Log in or sign up for an account here: https://www.sythe.org/login

Working Gem Cutter! -- LOOK!

:.Owner.:

Member
Joined
Oct 5, 2007
Sythe Gold
0
Messages
76
i found this gem cutter from a server. guy sent me his codes and i figured, well this 1 is something that no1 has or maybe they do i dunno. but anywaysm enjoy! :)



HTML:
[TITLE]
gem cutting
[AUTHOR]
mostly bakatool or zenzie.
[INFO]
for cutting gems





[START]
[OPEN]
client.java
[FIND]
		} else if (useitems[0] == 1755) { //chisel
			CheckCuttingGem();
[/FIND]
[DELETE]
[FIND]
public class client extends Player implements Runnable {
[/FIND]
[ADD]
  public void ACraftGemSwitch(int gemID){
    if (gemID == 1625) ACraftGemMain(1, gemID, 15, 1609, "Opal");
    if (gemID == 1627) ACraftGemMain(13, gemID, 20, 1611, "Jade");
    if (gemID == 1629) ACraftGemMain(16, gemID, 25, 1613, "Red Topaz");
    if (gemID == 1623) ACraftGemMain(20, gemID, 50, 1607, "Sapphire");
    if (gemID == 1621) ACraftGemMain(27, gemID, 68, 1605, "Emerald");
    if (gemID == 1619) ACraftGemMain(34, gemID, 85, 1603, "Ruby");
    if (gemID == 1617) ACraftGemMain(43, gemID, 108, 1601, "Diamond");
    if (gemID == 1631) ACraftGemMain(55, gemID, 138, 1615, "Dragonstone");
    if (gemID == 6571) ACraftGemMain(67, gemID, 168, 6573, "Onyx");
  }
  public void ACraftGemMain(int reqLvl, int gemID, int GemXP, int GemFin, String GemName){
    if(playerLevel[playerCrafting] >= reqLvl) {
      startAnimation(885);
      sendMessage("You cut the rock into a beautiful "+GemName+" gem.");
      deleteItem(gemID, getItemSlot(gemID), 1);
      addItem(GemFin,1);
      addSkillXP(GemXP, playerCrafting);
    } else {
      sendMessage("You need a crafting level of "+reqLvl+" to cut this gem.");
    }
  }
[/ADD]
[FIND]
		} else if (useitems[0] == 1777) { //string
			CheckStringUsage();
[/FIND]
[ADD]
else if(itemUsed == 1755 && useWith == 1625) {
ACraftGemMain(1, 1625, 50, 1609, "Opal");
}
else if(itemUsed == 1755 && useWith == 1627) {
ACraftGemMain(13, 1627, 100, 1611, "Jade");
}
else if(itemUsed == 1755 && useWith == 1629) {
ACraftGemMain(16, 1629, 125, 1613, "Red Topaz");
}
else if(itemUsed == 1755 && useWith == 1623) {
ACraftGemMain(27, 1623, 175, 1605, "Emerald");
}
else if(itemUsed == 1755 && useWith == 1619) {
ACraftGemMain(34, 1619, 190, 1603, "Ruby");
}
else if(itemUsed == 1755 && useWith == 1617) {
ACraftGemMain(43, 1617, 200, 1601, "Diamond");
}
else if(itemUsed == 1755 && useWith == 1631) {
ACraftGemMain(55, 1631, 210, 1615, "Dragonstone");
}
else if(itemUsed == 1755 && useWith == 6571) {
ACraftGemMain(67, 6517, 220, 6573, "Onyx");
}
[/ADD]
[SAVE-CURRENT]
[CLOSE]			
[END]
 
cool, i have something familiar buts its like this:
Code:
								else if(itemUsed == 1623 && useWith == 1755) {
									deleteItem(1623, getItemSlot(1623), 1);
									addItem(1607, 1);
									addSkillXP(500, 12);
									sendMessage("You cut sapphire.");

can you say a difference? im curious
 
duelarena.gg
Back
Top