This tutorial will explain how to set the interface back to the magic interface after alching!
Start off by adding this method to your client.java;
Code:
/*
This was made by me i found the frame and used it for this reason - Stanyer (Ryan)
*/
private void setSidebarMage() {
try {
outStream.createFrame(106); //Writes the frame 106 out.
outStream.writeByteC(6); //Tells client to switch to the magic interface
updateRequired = true; //Updates
appearanceUpdateRequired = true; //Updates
} catch(Exception E) {
sendMessage("Error switching sidebar back to the magic interface! ~ Stanyer");
}
/*
Try & Catch incase of error, if it errors it will most probably be a client-side error but just incase ~ Stanyer
*/
Now, in your alch'ing code just call that method:
Code:
/*
Calls for the method to set the sidebar to magic ~ Stanyer
*/
setSidebarMage(); //Calls for method ~ Stanyer
/*
Should be easy enough to add, if not i'm not gonna help with something this simple, sorry.
*/
I wasn't gonna release but i thought meh why not, it will probably get discovered eventually eh .
Pretty sure this is the first see'ing of this sort of script, if not, who cares ;D.
All i ask is that you don't leech, i obviously don't expect you to put "Credit to Stanyer" in your server for it, just don't tell people you made it, thanks .
Ryan