Files
sbot_archive/GuildFish.java
T
wes c30e839b64 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.
2026-08-25 13:11:31 -04:00

42 lines
1.2 KiB
Java

/*
* Decompiled with CFR 0.152.
*
* Could not load the following classes:
* Script
* mudclient
*/
public class GuildFish
extends Script {
public GuildFish(mudclient mudclient2) {
super(mudclient2);
}
public String[] getCommands() {
return new String[]{"guildfishing"};
}
public void start(String string, String string2) {
this.CheckFighters(false);
this.DisplayMessage("@gre@SBoT: @whi@GuildFisher-TrapperJ", 3);
while (this.Running()) {
if (this.GetY() >= 3000 || this.InvCount(372) <= 25) continue;
this.WalkEmpty(604, 503, 603, 503);
this.Wait(7000);
long l = System.currentTimeMillis();
int n = this.GetNearestNPC(369);
this.TalkToNPC(n);
while (System.currentTimeMillis() - l <= 5000L && !this.QuestMenu()) {
this.Wait(1);
}
this.Wait(1000);
this.Answer(1);
this.Wait(1000);
this.Answer(1);
this.Wait(1000);
this.Answer(5);
this.Wait(1000);
}
this.DisplayMessage("@gre@SBoT: @whi@Guild Miner - @red@STOPPED", 3);
}
}