Page 1 of 1

Problem about Buddy Message in Java client

Posted: 13 Jan 2012, 14:36
by ruki
I am using Java as client. When I send buddy message to another client, I found out that the message become *s.
For example, if I send "abc", it becomes "***" in SFSBuddyEvent.BUDDY_MESSAGE event listener

The structure of the event listener is as the same as the doc, and I am not using or activating word filter of the server?

Is there any ideas about the issue?

Posted: 14 Jan 2012, 13:58
by rjgtav
Hi.

Please try disabling the world filter for buddy messages, located in the General Tab of the Zone Configuration.

Also please update to the latest SFS2x RC3, i'm pretty sure this issue was already fixed.

Posted: 15 Jan 2012, 05:28
by ruki
I am sorry but I still have the problem.
I have double checked the server version which is already 2.0.0-RC3 as show in remote console.
Also, the words filter of buddy message is already disabled.


I have checked that
public message can be normally shown,
while private message and buddy message have the "***" problems.
It may help discover the issue

Posted: 15 Jan 2012, 12:31
by rjgtav
Hmm... Can you please show your zone's config? (the xml file)

Posted: 15 Jan 2012, 13:58
by ruki
The file may be too long for the post ,so I uploaded it in an external link.

http://dl.dropbox.com/u/53989737/Monopoly.zone.xml

Another update:
I have tried add a event handler of SFSEventType.BUDDY_MESSAGE
in server, and (String) event.getParameter(SFSEventParam.MESSAGE);
can show the original message.(not the *** version)

Posted: 16 Jan 2012, 22:19
by rjgtav
Hi.

Just tested your zone config and the Private Message system and yes it shows *** instead, but as soon as I disable the word filter for them, it shows everything correctly.

Re: Problem about Buddy Message in Java client

Posted: 04 Mar 2012, 15:23
by ruki
Thanks , I finally got it right now.
I have thought that not activating the filter means no filter,
but it seems it is not as I think.

Thanks for your kindly help.