My first tutorial. Please no flaming if this is obvious (it wasn't for me) finding the right parts were annoying, but I figured it out and here it is. Also sorry if the way I explained things is "nooby" I'm very new to this, and this is how I like tutorials.
Files modified: SkillInterfaces, ActionButtons.
To reach SkillInterfaces you first go to the main file then click > server> players> Skills >SkillInterfaces
To reach ActionButtons you first go to > server > players > Packets ActionButtons
First, go to your ActionButtons folder and search for: case 33209 it should say //strength next to it, below that, add in
Code:
c.SK().strInterface(c);
This tells the server, when clicked on the strength icon it will open up a menu.
Next go to your SkillInterfaces folder and search for: miningInterface, go to the very bottom of this and put this in
Code:
}
public void strInterface(client c) {
c.CAM().sendFrame126("@dre@Strength Interface", 8716);
for(int i = 0;i<31;i++) {
item[i] = 0;
}
item[0] = 4153;
item[1] = 6528;
item[2] = 4718;
item[3] = 0;
item[4] = 0;
item[5] = 0;
item[6] = 0;
item[7] = 0;
item[8] = 0;
for(int i = 8720;i<8799;i++) {
c.CAM().sendFrame126("",i);
}
c.CAM().sendFrame126("50",8720);
c.CAM().sendFrame126("Granite Maul",8760);
c.CAM().sendFrame126("60",8721);
c.CAM().sendFrame126("Obby Maul", 8761);
c.CAM().sendFrame126("70",8722);
c.CAM().sendFrame126("Dhorak Great Axe",8762);
c.CAM().sendFrame126("99",8723);
c.CAM().sendFrame126("Strength Skill Cape", 8763);
c.CAM().sendFrame126("",8724);
c.CAM().sendFrame126("", 8764);
c.CAM().sendFrame126("",8725);
c.CAM().sendFrame126("",8765);
c.CAM().sendFrame126("",8726);
c.CAM().sendFrame126("", 8766);
c.CAM().sendFrame126("",8727);
c.CAM().sendFrame126("", 8767);
c.CAM().sendFrame126("", 872

;
c.CAM().sendFrame126("", 876

;
c.CAM().sendFrame126("",8849);// members only skill
c.CAM().sendFrame126("",8827);//steel
c.CAM().sendFrame126("",8837);//mithril
c.CAM().sendFrame126("",8840);
c.CAM().sendFrame126("",8843);
c.CAM().sendFrame126("Attack",8846); // first option
c.CAM().sendFrame126("Defence",8823);
c.CAM().sendFrame126("Mining",8824);
c.CAM().sendFrame126("Strength",8859);
c.CAM().sendFrame126("",8862);
c.CAM().sendFrame126("",8865);
c.CAM().sendFrame126("",15303);
c.CAM().sendFrame126("",15306);
c.CAM().sendFrame126("",15309);
c.CAM().sendSkillInterface(item);
c.CAM().showInterface(8714);
}
}
Explaining this, the 4 items I picked for strength was, Granite Maul (at 50) Obby Maul (at 60) G-Axe (at 70) and the Skill Cape (at 99)
This code
Code:
}
item[0] = 4153;
item[1] = 6528;
item[2] = 4718;
item[3] = 0;
item[4] = 0;
item[5] = 0;
item[6] = 0;
item[7] = 0;
item[8] = 0;
for(int i = 8720;i<8799;i++) {
c.CAM().sendFrame126("",i);
}
Brings the item pictures up, if you decide to add in other interfaces simply change the numbers to the itemID your using.
After adding everything in, make sure you change all of the
Code:
c.CAM().sendFrame126("",8859);In the code so that the right name appears Ie; Str Interface, Strength Guide ect.
Jake

Rep++