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:");