[Renamed]New 500+ Shops Interface
New 508 Shops Interface
[Renamed]
Step1:
First Make Sure You Did Meanz Adding New Interfaces Tut
Step2:
Open RSInterface.java And Find
Code:
aclass44 = streamloader;
And Under It Add:
Code:
runescapesnewshopsInterface(aClass44, textDrawingAreas);
Then Add This Were Ever You Add Interfaces:
Code:
public static void runescapesnewshopsInterface(StreamLoader sl, TextDrawingArea[] tda)
{
RSInterface Tab = addTab(3824);
Tab.scrollMax = 0;
Tab.children = new int[7];
Tab.childX = new int[7];
Tab.childY = new int[7];
addSprite(22029, 9,"sprite");
Tab.children[0] = 22029;
Tab.childX[0] = 0;
Tab.childY[0] = 0;
addButton(3902, 7, "Close","sprite");
Tab.children[1] = 3902;
Tab.childX[1] = 474;
Tab.childY[1] = 30;
addText(22030, "null",tda,2,0xFF981F,0,true);
Tab.children[2] = 22030;
Tab.childX[2] = 260;
Tab.childY[2] = 30;
addButton(22031, 10, "Main stock","sprite");
Tab.children[3] = 22031;
Tab.childX[3] = 24;
Tab.childY[3] = 60;
addButton(22032, 11, "Player stock","sprite");
Tab.children[4] = 22032;
Tab.childX[4] = 130;
Tab.childY[4] = 60;
addSprite(22033, 14,"sprite");
Tab.children[5] = 22033;
Tab.childX[5] = 457;
Tab.childY[5] = 56;
Tab.children[6] = 3900;
Tab.childX[6] = 60;
Tab.childY[6] = 88;
}
Then Add:
Code:
private static Sprite pleasework(int i, String s)
{
long l = (TextClass.method585(s) << 8) + (long)i;
Sprite sprite = (Sprite) aMRUNodes_238.insertFromCache(l);
if(sprite != null)
return sprite;
try {
sprite = new Sprite("Sprites/interfaces/"+s+" "+i+".png");
aMRUNodes_238.removeFromCache(sprite, l);
} catch(Exception exception) {
return null;
}
return sprite;
}
Make Sure You Have These:
Code:
public static void addText(int i, String s, TextDrawingArea atextdrawingarea[], int j, int k)
{
RSInterface rsinterface = addTab(i);
rsinterface.parentID = i;
rsinterface.id = i;
rsinterface.type = 4;
rsinterface.atActionType = 0;
rsinterface.width = 174;
rsinterface.height = 11;
rsinterface.anInt214 = 0;
rsinterface.aByte254 = 0;
rsinterface.anInt230 = -1;
rsinterface.centerText = true;
rsinterface.textShadow = true;
rsinterface.textDrawingAreas = atextdrawingarea[j];
rsinterface.message = s;
rsinterface.aString228 = "";
rsinterface.textColor = k;
rsinterface.anInt219 = 0;
rsinterface.anInt216 = 0;
rsinterface.anInt239 = 0;
}
public static void addCloseButton(int id, int sid)
{
RSInterface spell = interfaceCache[id] = new RSInterface();
spell.id = id;
spell.parentID = id;
spell.type = 5;
spell.atActionType = 1;
spell.anInt214 = 0;
spell.aByte254 = (byte)0;
spell.anInt230 = 52;
spell.sprite1 = pleasework(sid, "sprite");
spell.sprite2 = pleasework(sid, "sprite");
spell.width = spell.sprite1.myWidth;
spell.height = spell.sprite1.myHeight;
spell.tooltip = "Close";
}
Step3:
Save Close & Compile And Your Done!
Download The Sprites here [Only registered and activated users can see links. Click Here To Register...]
add the files in your ./sprites/interfaces/ with out the shops file ;)
Enjoy The 500+ shops interface! and this took me 2 hours because i tryed figuring out the cords to add the pictures :p
Heres a picture!
[Only registered and activated users can see links. Click Here To Register...]
Non-renamed!
[Removed Due To Bugs]