privatemessage and buddymessage show ***

Post here your questions about the Objective-C API for SFS2X

Moderators: Lapo, Bax

scofy
Posts: 79
Joined: 08 Apr 2012, 09:04

privatemessage and buddymessage show ***

Postby scofy » 08 Apr 2012, 09:26

when I sent a pirivteMessage or a buddyMessage to other,recipient dump message :
2012-04-08 17:19:37.003 SFSTest[636:10a03] [SFS - INFO]Handling Message: GenericMessage: { Message id: 7 }
{Dump: }

(int) r: -1
(utf_string) m: * ***** *******
(int) u: 3
(byte) t: 1

but when I sent the same content by PublicMessage,everything is allright:
[SFS - INFO]Handling Message: GenericMessage: { Message id: 7 }
{Dump: }

(int) r: 0
(utf_string) m: a buddy message
(int) u: 1
(byte) t: 0

what is the reason?
scofy
Posts: 79
Joined: 08 Apr 2012, 09:04

Re: privatemessage and buddymessage show ***

Postby scofy » 08 Apr 2012, 09:30

binary protocol

2012-04-08 17:19:37.003 SFSTest[636:10a03] [SFS - INFO]Data Read: Binary Size: 65
80 00 3e 12 00 03 00 01 61 03 00 07 00 01 63 02 ..>.....a.....c.
00 00 01 70 12 00 04 00 01 72 04 ff ff ff ff 00 ...p.....r......
01 75 04 00 00 00 03 00 01 74 02 01 00 01 6d 08 .u.......t....m.
00 0f 2a 20 2a 2a 2a 2a 2a 20 2a 2a 2a 2a 2a 2a ..*.*****.******
2a *
User avatar
rjgtav
Posts: 2813
Joined: 19 Apr 2009, 11:31
Location: Lisbon, Portugal

Re: privatemessage and buddymessage show ***

Postby rjgtav » 08 Apr 2012, 11:25

Hello, it looks like you're having some problems with the Words Filter :)
Please go to the AdminTool, in Zone Configurator Module and edit your Zone's settings. There, disable where it says "Apply words filter to private messages" and "Apply words filter to buddy messages". Finally, submit those changes and restart the server. It should start working correctly ;)
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.

Return to “SFS2X iPhone / iPad / OSX API”

Who is online

Users browsing this forum: No registered users and 15 guests