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")
|
||||
@Override
|
||||
protected final int getBasId() {
|
||||
public final int getBasId() {
|
||||
if (client.game != 0 && this.type.multiNpcs != null) {
|
||||
@Pc(17) NpcType local17 = this.type.getMultiNpc();
|
||||
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")
|
||||
protected abstract int getBasId();
|
||||
public abstract int getBasId();
|
||||
|
||||
@OriginalMember(owner = "client!fe", name = "c", descriptor = "(I)V")
|
||||
public final void method2689() {
|
||||
|
|
|
|||
|
|
@ -300,7 +300,7 @@ public final class Player extends PathingEntity {
|
|||
|
||||
@OriginalMember(owner = "client!e", name = "b", descriptor = "(I)I")
|
||||
@Override
|
||||
protected final int getBasId() {
|
||||
public final int getBasId() {
|
||||
return this.anInt3365;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -31,13 +31,13 @@ public class plugin extends Plugin {
|
|||
String npcSb =
|
||||
(npc.type.name.strEquals(JagString.parse("null"))
|
||||
? npc.type.getMultiNpc() != null
|
||||
? "Wrapper [" + npc.type.getMultiNpc().name + " " + npc.type.getMultiNpc().id + "]"
|
||||
? "Wrapper [" + npc.type.getMultiNpc().name + "]"
|
||||
: "Wrapper"
|
||||
: npc.type.name) +
|
||||
" [Lvl: " +
|
||||
npc.type.combatLevel +
|
||||
"] [ID: " +
|
||||
npc.type.id +
|
||||
" [G: " +
|
||||
npc.spotAnimId +
|
||||
"] [R: " + npc.getBasId() +
|
||||
"] [A: " + npc.seqId +
|
||||
"] [Vb: " +
|
||||
npc.type.multiNpcVarbit + "]";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue