SBoT 1.0 decompiled with CFR 0.152

Full source recovered from SBoT.jar (July 2004) plus the three bundled
example scripts (BoneBury, GuildFish, GuildFisher). Class names are the
original RSC-era single-letter obfuscation (a.java-z.java); mudclient.java
and Script.java kept their real names since those weren't obfuscated.
This commit is contained in:
wes
2026-08-25 13:11:31 -04:00
commit c30e839b64
31 changed files with 90600 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
/*
* Decompiled with CFR 0.152.
*
* Could not load the following classes:
* Script
* mudclient
*/
public class BoneBury
extends Script {
public BoneBury(mudclient mudclient2) {
super(mudclient2);
}
public String[] getCommands() {
return new String[]{"bones"};
}
public void start(String string, String[] stringArray) {
while (this.Running()) {
if (this.Fatigue() > 95 && !this.Sleeping()) {
this.DisplayMessage("@gre@SBoT: @whi@Sleeping", 3);
this.Use(this.FindInv(1263));
this.Wait(5000);
}
while (this.GetNearestItem(20) != null && this.InvCount() < 30) {
int[] nArray = this.GetNearestItem(20);
this.TakeItem(nArray[0], nArray[1], 20);
this.Wait(1000);
}
while (this.InvCount() > 2) {
this.Use(this.FindInv(20));
this.Wait(1000);
}
}
this.DisplayMessage("@red@STOPPED", 3);
}
}