Enhanced NPC overhead debug

This commit is contained in:
ceikry 2022-07-15 15:32:38 -05:00 committed by Ceikry
parent d4b68d135f
commit a8e211b5d4
4 changed files with 8 additions and 8 deletions

View file

@ -132,7 +132,7 @@ public final class Npc extends PathingEntity {
@OriginalMember(owner = "client!km", name = "b", descriptor = "(I)I") @OriginalMember(owner = "client!km", name = "b", descriptor = "(I)I")
@Override @Override
protected final int getBasId() { public final int getBasId() {
if (client.game != 0 && this.type.multiNpcs != null) { if (client.game != 0 && this.type.multiNpcs != null) {
@Pc(17) NpcType local17 = this.type.getMultiNpc(); @Pc(17) NpcType local17 = this.type.getMultiNpc();
if (local17 != null && local17.bastypeid != -1) { if (local17 != null && local17.bastypeid != -1) {

View file

@ -628,7 +628,7 @@ public abstract class PathingEntity extends Entity {
} }
@OriginalMember(owner = "client!fe", name = "b", descriptor = "(I)I") @OriginalMember(owner = "client!fe", name = "b", descriptor = "(I)I")
protected abstract int getBasId(); public abstract int getBasId();
@OriginalMember(owner = "client!fe", name = "c", descriptor = "(I)V") @OriginalMember(owner = "client!fe", name = "c", descriptor = "(I)V")
public final void method2689() { public final void method2689() {

View file

@ -300,7 +300,7 @@ public final class Player extends PathingEntity {
@OriginalMember(owner = "client!e", name = "b", descriptor = "(I)I") @OriginalMember(owner = "client!e", name = "b", descriptor = "(I)I")
@Override @Override
protected final int getBasId() { public final int getBasId() {
return this.anInt3365; return this.anInt3365;
} }

View file

@ -31,13 +31,13 @@ public class plugin extends Plugin {
String npcSb = String npcSb =
(npc.type.name.strEquals(JagString.parse("null")) (npc.type.name.strEquals(JagString.parse("null"))
? npc.type.getMultiNpc() != null ? npc.type.getMultiNpc() != null
? "Wrapper [" + npc.type.getMultiNpc().name + " " + npc.type.getMultiNpc().id + "]" ? "Wrapper [" + npc.type.getMultiNpc().name + "]"
: "Wrapper" : "Wrapper"
: npc.type.name) + : npc.type.name) +
" [Lvl: " + " [G: " +
npc.type.combatLevel + npc.spotAnimId +
"] [ID: " + "] [R: " + npc.getBasId() +
npc.type.id + "] [A: " + npc.seqId +
"] [Vb: " + "] [Vb: " +
npc.type.multiNpcVarbit + "]"; npc.type.multiNpcVarbit + "]";