Page 1 of 1

verChk usage help

Posted: 24 Jan 2012, 20:46
by tenochca
Recently I wanted to use the following message :
<msg t='sys'><body action='verChk' r='10'><ver v='1153' /></body></msg>
And query smarfox on the version number.

However I am unable to get anything other than this:

<msg t='sys'><body action='apiOK' r='0'></body></msg>

Regardless of what I sent in the original message (I have sent ‘r’, ‘v’ with all sort of values and the answer is still the same (as above).

Perhaps I am missing something ?. Is there something else I need to do to make this work? There is no internal event for this kind of thing (at least not one that can be caught in the internal event handler of the extension)

I am using Smartfox 1.6.9

Thank you

Posted: 25 Jan 2012, 08:31
by Bax
That message is used by the API internally, you can't use it. Also, as you can see it doesn't return a version number, but it is just used by SFS to validate the API version number (in case in the future we should prevent older API to connect).