* forgot to remove debug output in slap.def + fixed untargeting.
* AUTH_LOGON_PROOF msg is now shown in debug mode only.
This commit is contained in:
parent
a3ae8273ba
commit
5c267fe5aa
@ -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
|
||||
|
||||
@ -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:");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user