Get this right, this was orginally made by me, noobs from mopar keep leeching it,
If you want proof go the hell here [Only registered and activated users can see links. ] (May 07)
Description: To make silab items and other items stackable/un-stackableellable/un-sellable
Difficulty: 1/10.. 9/10 (W/o a brain D
Assumed Knowledge: How to c + p, and how to read.
Tested Server: Campkz (Mine.. duh >.<)
Files/Classes Modified: Item.java
Procedure
Step 1: Open up your item.java and find
Code:
new File("data/stackable.dat"));
It should look a little bit like this
Code:
try {
FileInputStream dataIn = new FileInputStream(
new File("data/stackable.dat"));
while ((c = dataIn.read()) != -1) {
if (c == 0) {
itemStackable[counter] = false;
} else {
itemStackable[counter] = true;
}
counter++;
}
dataIn.close();
} catch (IOException e) {
System.out.println(
"Critical error while loading stackabledata! Trace:");
e.printStackTrace();
}
Step2: Under this part
Code:
}
dataIn.close();
You could add
Code:
itemStackable[6570] = false;
To make firecapes non-stackable or you could add home teleport tabs
Code:
itemStackable[12915] = true;
which will make them stackable.
= true (Stackable)
= false (Un-stackable)
Once your finished it should look something like this
Get this right, this was orginally made by me, noobs from mopar keep leeching it,
If you want proof go the hell here [Only registered and activated users can see links. ] (May 07)
Description: To make silab items and other items stackable/un-stackableellable/un-sellable
Difficulty: 1/10.. 9/10 (W/o a brain D
Assumed Knowledge: How to c + p, and how to read.
Tested Server: Campkz (Mine.. duh >.<)
Files/Classes Modified: Item.java
Procedure
Step 1: Open up your item.java and find
Code:
new File("data/stackable.dat"));
It should look a little bit like this
Code:
try {
FileInputStream dataIn = new FileInputStream(
new File("data/stackable.dat"));
while ((c = dataIn.read()) != -1) {
if (c == 0) {
itemStackable[counter] = false;
} else {
itemStackable[counter] = true;
}
counter++;
}
dataIn.close();
} catch (IOException e) {
System.out.println(
"Critical error while loading stackabledata! Trace:");
e.printStackTrace();
}
Step2: Under this part
Code:
}
dataIn.close();
You could add
Code:
itemStackable[6570] = false;
To make firecapes non-stackable or you could add home teleport tabs
Code:
itemStackable[12915] = true;
which will make them stackable.
= true (Stackable)
= false (Un-stackable)
Once your finished it should look something like this