From 5c267fe5aa731a09327f869976cee3f3ee637fd9 Mon Sep 17 00:00:00 2001 From: "False.Genesis" Date: Mon, 2 Apr 2007 22:52:58 +0000 Subject: [PATCH] * forgot to remove debug output in slap.def + fixed untargeting. * AUTH_LOGON_PROOF msg is now shown in debug mode only. --- bin/scripts/slap.def | 6 +----- src/Client/Realm/RealmSocket.cpp | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/bin/scripts/slap.def b/bin/scripts/slap.def index 1021575..4c36261 100644 --- a/bin/scripts/slap.def +++ b/bin/scripts/slap.def @@ -11,13 +11,9 @@ endif // normalize player name. first char uppercased, rest lowercased. set,name ?{uppercase ?{substr,1 ${@def}}} -out name1: ${name} set,len ?{strlen ${@def}} -out strlen: ${len} sub,len 1 -out len: ${len} append,name ?{lowercase ?{substr,${len},1 ${@def}}} -out name2: ${name} // target the player. if targeting was successful, cast spell "Knockback 500". @@ -25,7 +21,7 @@ set,t ?{target ${name}} if ${t} logdebug slapping player '${name}' castspell 11027 - target 0 + target else logerror Can't target player '${name}' endif diff --git a/src/Client/Realm/RealmSocket.cpp b/src/Client/Realm/RealmSocket.cpp index 6102428..86148e1 100644 --- a/src/Client/Realm/RealmSocket.cpp +++ b/src/Client/Realm/RealmSocket.cpp @@ -426,7 +426,7 @@ void RealmSocket::_HandleLogonChallenge(void) void RealmSocket::_HandleLogonProof(void) { - logdetail("RealmSocket: Got AUTH_LOGON_PROOF [%u of %u bytes]\n",ibuf.GetLength(),26); + logdebug("RealmSocket: Got AUTH_LOGON_PROOF [%u of %u bytes]\n",ibuf.GetLength(),26); if(ibuf.GetLength() < 26) { logerror("AUTH_LOGON_PROOF: Recieved incorrect/unknown packet. Hexdump:");