Page 1 of 1
[Help] Trying to handle 'sys' packets
Posted: 13 May 2017, 07:16
by Sky999
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.
Re: [Help] Trying to handle 'sys' packets
Posted: 13 May 2017, 08:43
by Lapo
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
Re: [Help] Trying to handle 'sys' packets
Posted: 13 May 2017, 12:33
by Sky999
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.
Re: [Help] Trying to handle 'sys' packets
Posted: 13 May 2017, 14:43
by Lapo
You should send custom data for the client in a separate request.
Re: [Help] Trying to handle 'sys' packets
Posted: 13 May 2017, 17:42
by Sky999
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?
Re: [Help] Trying to handle 'sys' packets
Posted: 14 May 2017, 08:07
by Lapo
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