Page 1 of 1

Auxsvc

Posted: Tue Jul 18, 2017 7:17 pm
by Duttones
What do I need to send to the connection, so it can be parsed by the events on POL ?

I search everything for an example or documentation, but can't find it. I can connect to the auxsvc, but can't trigger the event in any way.

Does it have any documentation somewhere?

Re: Auxsvc

Posted: Tue Jul 18, 2017 8:40 pm
by DevGIB
Have you tried the example in the aux script section?
https://docs.polserver.com/pol099/scrip ... viceScript

It might show you what the pol server is receiving from your connection and point you in the right direction.

It will probably depend on what you're trying to achieve as to how best to have it written.

Re: Auxsvc

Posted: Tue Jul 18, 2017 8:57 pm
by Duttones
I tried. The problem is that I can`t trigger the event on auxsvc. I already tried to send a Buffer and a String, but nothing happens.

The connection is established, but I'm probably missing something.

Re: Auxsvc

Posted: Wed Jul 19, 2017 3:12 am
by RusseL

Re: Auxsvc

Posted: Wed Jul 19, 2017 9:05 am
by Duttones
Oh, you need to send a string with "s" at beginning of the message, for string, like how cProps are stored in the .cfg

It should be in the auxsvc documentation.

Re: Auxsvc

Posted: Wed Jul 19, 2017 4:08 pm
by DevGIB
Technically it is in the docs under the Aux script section:
using the normal POL packed string format for communcation.