From 2b26d942965007c132115bee44e4426e3e7b513d Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 5 Jun 2022 12:54:02 -0300 Subject: I need more debug power --- npc/commands/debug-quest.txt | 7 +++++++ 1 file changed, 7 insertions(+) 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; } -- cgit v1.2.3-60-g2f50