Locale on Silkroad.exe is 22 by default. change it to 51
when you launch the sro_client with silkroad.exe it will use the locale 51 not 22
when you use a bot (mbot,sbot,xnxxbot) it will launch the client with the locale 22
in your filter
switch the locale (just like in the code you provided)
Code:
case 22:
//bot
break;
case 51:
//no bot
break;