Files
wes 2625b73800 SBoT 1.0 decompiled with jad 1.5.8e
Same SBoT.jar, decompiled with jad instead of CFR for comparison -- jad
is the same decompiler the community used on RSC client dumps back in
2004 (see DeobedMC201.rar). A few methods didn't fully resolve (jad is
much less capable than CFR on complex control flow); those are marked
inline where jad gave up.
2026-08-25 13:11:37 -04:00

47 lines
1.1 KiB
Java

// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/kpdus/jad.html
// Decompiler options: packimports(3)
// Source File Name: BoneBury.java
public class BoneBury extends Script
{
public BoneBury(mudclient mudclient)
{
super(mudclient);
}
public String[] getCommands()
{
return (new String[] {
"bones"
});
}
public void start(String s, String as[])
{
while(Running())
{
if(Fatigue() > 95 && !Sleeping())
{
DisplayMessage("@gre@SBoT: @whi@Sleeping", 3);
Use(FindInv(1263));
Wait(5000);
}
for(; GetNearestItem(20) != null && InvCount() < 30; Wait(1000))
{
int ai[] = GetNearestItem(20);
TakeItem(ai[0], ai[1], 20);
}
while(InvCount() > 2)
{
Use(FindInv(20));
Wait(1000);
}
}
DisplayMessage("@red@STOPPED", 3);
}
}