mirror of
https://gitlab.com/2009scape/rt4-client.git
synced 2025-12-09 16:45:46 -07:00
Enhanced NPC overhead debug
This commit is contained in:
parent
d4b68d135f
commit
a8e211b5d4
4 changed files with 8 additions and 8 deletions
|
|
@ -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) {
|
||||||
|
|
|
||||||
|
|
@ -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() {
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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 + "]";
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue