summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-06-05 12:54:02 -0300
committerJesusaves <cpntb1@ymail.com>2022-06-05 12:54:02 -0300
commit2b26d942965007c132115bee44e4426e3e7b513d (patch)
tree5a63f3aca586551954c7dd436367b7ef26c1056f
parent9297c1320f1d0640b70b22d50c54ac3a346bbdf3 (diff)
downloadserverdata-2b26d942965007c132115bee44e4426e3e7b513d.tar.gz
serverdata-2b26d942965007c132115bee44e4426e3e7b513d.tar.bz2
serverdata-2b26d942965007c132115bee44e4426e3e7b513d.tar.xz
serverdata-2b26d942965007c132115bee44e4426e3e7b513d.zip
I need more debug power
-rw-r--r--npc/commands/debug-quest.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/npc/commands/debug-quest.txt b/npc/commands/debug-quest.txt
index 1d345091d..117108749 100644
--- a/npc/commands/debug-quest.txt
+++ b/npc/commands/debug-quest.txt
@@ -99,8 +99,15 @@ OnGetq:
.@q, getcharid(0), getq(.@q), getq2(.@q), getq3(.@q), getqtime(.@q));
end;
+OnCharData:
+ consoleinfo("Information for %s: Char %d Party %d Guild %d Account %d BG %d Clan %d",
+ strcharinfo(0), getcharid(0), getcharid(1), getcharid(2), getcharid(3), getcharid(4), getcharid(5));
+ end;
+
OnInit:
bindatcmd "qdebug", "@qdebug::OnCall", 99, 99, 1;
bindatcmd "setq", "@qdebug::OnSetq", 99, 99, 1;
bindatcmd "getq", "@qdebug::OnGetq", 99, 99, 0;
+ bindatcmd "chardata", "@qdebug::OnCharData", 80, 80, 0;
+ end;
}