Problem about Buddy Message in Java client

Post here your questions about the Java client / Android API for SFS2X

Moderators: Bax, Lapo

Problem about Buddy Message in Java client

Postby ruki » 13 Jan 2012, 14:36

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?
ruki
 
Posts: 4
Joined: 13 Jan 2012, 14:31

Postby rjgtav » 14 Jan 2012, 13:58

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.
Skills: SFS Pro/Basic, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS
SFS Tutorials: http://sfs-tutor.blogspot.com/ - I no longer update it nor visit it. Some examples may be bugged.
If I take too long to reply, feel free to PM me
User avatar
rjgtav
 
Posts: 2811
Joined: 19 Apr 2009, 11:31
Location: Lisbon, Portugal

Postby ruki » 15 Jan 2012, 05:28

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
ruki
 
Posts: 4
Joined: 13 Jan 2012, 14:31

Postby rjgtav » 15 Jan 2012, 12:31

Hmm... Can you please show your zone's config? (the xml file)
Skills: SFS Pro/Basic, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS
SFS Tutorials: http://sfs-tutor.blogspot.com/ - I no longer update it nor visit it. Some examples may be bugged.
If I take too long to reply, feel free to PM me
User avatar
rjgtav
 
Posts: 2811
Joined: 19 Apr 2009, 11:31
Location: Lisbon, Portugal

Postby ruki » 15 Jan 2012, 13:58

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)
ruki
 
Posts: 4
Joined: 13 Jan 2012, 14:31

Postby rjgtav » 16 Jan 2012, 22:19

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.
Skills: SFS Pro/Basic, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS
SFS Tutorials: http://sfs-tutor.blogspot.com/ - I no longer update it nor visit it. Some examples may be bugged.
If I take too long to reply, feel free to PM me
User avatar
rjgtav
 
Posts: 2811
Joined: 19 Apr 2009, 11:31
Location: Lisbon, Portugal

Re: Problem about Buddy Message in Java client

Postby ruki » 04 Mar 2012, 15:23

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.
ruki
 
Posts: 4
Joined: 13 Jan 2012, 14:31


Return to SFS2X Java / Android API

Who is online

Users browsing this forum: No registered users and 1 guest