First complete this tut:
http://www.rune-server.org/showthread.php?t=146544
then once you've done that find:
public static void bank(Class30_Sub2_Sub1_Sub4[] wid)
add this under it
Code:
addActionButton(26008, 26008, 26008, 35, 25, "Deposit Worn Items");
then add this
Code:
t.anIntArray240[103] = 26008;
t.anIntArray241[103] = 55;
t.anIntArray272[103] = 25;
next find:
Code:
if(class9.anInt262 == 0)
then where it has
Code:
if(class9.anInt262 == 0)
{
class9.anInt261 = class30_sub2_sub2.method410();
class9.aBoolean266 = class30_sub2_sub2.method408() == 1;
int l1 = class30_sub2_sub2.method410();
class9.anIntArray240 = new int[l1];
class9.anIntArray241 = new int[l1];
class9.anIntArray272 = new int[l1];
under that add this
Code:
if(class9.anInt250 == 5292){
class9.anIntArray240 = new int[104];
class9.anIntArray241 = new int[104];
class9.anIntArray272 = new int[104];
}
and then server sided add this case:
Code:
case 101152: //Deposit worn items
for(int r=0; r<c.playerEquipment.length; r++)
{
try
{
int item2 = c.playerEquipment[r];
if((item2 > 0) && (item2 < 19999))
{
c.remove(item2, r);
}
} catch(Exception e) { c.CAM().sendMessage("ERROR: Removing Equipment"); }
}
for(int z = 0; z < 101; z++) {
for(int t = 0; t < 28; t++) {
c.bankItem(z, t, 2147000000);
}
}
break;
and done
edit: i changed around the original coords to the tut
Code:
t.anIntArray240[102] = 26007;
t.anIntArray241[102] = 17;
t.anIntArray272[102] = 25;
t.anIntArray240[103] = 26008;
t.anIntArray241[103] = 55;
t.anIntArray272[103] = 25;
also if your having problems with the id to high either change it so its lower or find
a Code:
Class9Array210 = new Class9[j];
and change it to
Code:
aClass9Array210 = new Class9[j+400000];
and it should work
http://i25.tinypic.com/ay3r4.png

This image has been resized. Click this bar to view the full image. The original image is sized 762x500.
enjoy
