[Help] Trying to handle 'sys' packets

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

Sky999
Posts: 3
Joined: 12 May 2017, 14:00

[Help] Trying to handle 'sys' packets

Postby Sky999 » 13 May 2017, 07:16

Hello,

Was trying to get data from the 'sys' XML type of packets that I receive from my server, yet I didn't find a way to do so.
I handle my JSON packets using extension manager and a data object variable. yet I am not able to get this one to work.
User avatar
Lapo
Site Admin
Posts: 19416
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: [Help] Trying to handle 'sys' packets

Postby Lapo » 13 May 2017, 08:43

Hi,
"sys" packets are handled by the server. You're not supposed to handle them manually.

Can you explain what you're trying to do?

Thanks
Lapo
--
gotoAndPlay()
...addicted to flash games
Sky999
Posts: 3
Joined: 12 May 2017, 14:00

Re: [Help] Trying to handle 'sys' packets

Postby Sky999 » 13 May 2017, 12:33

My server sends the client an sys packet upon getting the roomList.
I store some information there I'd like to get using the client.
User avatar
Lapo
Site Admin
Posts: 19416
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: [Help] Trying to handle 'sys' packets

Postby Lapo » 13 May 2017, 14:43

You should send custom data for the client in a separate request.
Lapo

--

gotoAndPlay()

...addicted to flash games
Sky999
Posts: 3
Joined: 12 May 2017, 14:00

Re: [Help] Trying to handle 'sys' packets

Postby Sky999 » 13 May 2017, 17:42

There is no possible way I can read the sys response I get to my client as for now? for example like using e.params.dataObj?
User avatar
Lapo
Site Admin
Posts: 19416
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: [Help] Trying to handle 'sys' packets

Postby Lapo » 14 May 2017, 08:07

The roomList response is (as the name goes) for sending the room list data.
If you need to send other information to the client use another request.

Thanks
Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “SmartFoxServer 1.x Discussions and Help”

Who is online

Users browsing this forum: No registered users and 9 guests