bluesky Posted December 4, 2017 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 17 Reputation: 2 Joined: 04/26/17 Last Seen: April 14 Share 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 Link to comment Share on other sites More sharing options...
1 Functor Posted December 4, 2017 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 352 Reputation: 267 Joined: 09/08/13 Last Seen: Friday at 07:14 AM Share 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 Link to comment Share on other sites More sharing options...
0 bluesky Posted December 4, 2017 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 17 Reputation: 2 Joined: 04/26/17 Last Seen: April 14 Author Share 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 Link to comment Share on other sites More sharing options...
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 blueskyLink to comment
Share on other sites
2 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.