bluesky Posted December 4, 2017 Posted December 4, 2017 (edited) If player talk <ITEML> bla bla bla ... </ITEML> bla bla bla was not exist item Then all saw his talk player will crash. He was directly type the words, not use SHIFT + left-click. How can I disable <ITEML> ? I used 20160203 client Thank you Edited December 4, 2017 by bluesky 1 Quote
1 Functor Posted December 4, 2017 Posted December 4, 2017 Hello! You can block it on the server side. Open ../src/map/clif.c and in the function clif_process_message after: if (sd->sc.cant.chat) return false; //no "chatting" while muted. add: if (strstr(out_message, "<ITEM>") != NULL && strchr(out_message, '%') != NULL) { return false; } Recompile the server. ;-) 1 1 Quote
0 bluesky Posted December 4, 2017 Author Posted December 4, 2017 33 minutes ago, Functor said: Hello! You can block it on the server side. Open ../src/map/clif.c and in the function clif_process_message after: if (sd->sc.cant.chat) return false; //no "chatting" while muted. add: if (strstr(out_message, "<ITEM>") != NULL && strchr(out_message, '%') != NULL) { return false; } Recompile the server. ;-) Thanky you I will try it. And I very like your gepard shield It's great. 1 Quote
Question
bluesky
If player talk
<ITEML> bla bla bla ... </ITEML>
bla bla bla was not exist item
Then all saw his talk player will crash.
He was directly type the words, not use SHIFT + left-click.
How can I disable <ITEML> ?
I used 20160203 client
Thank you
Edited by bluesky2 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.