Auxsvc

Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.

Moderator: POL Developer

Post Reply
Duttones
Novice Poster
Posts: 49
Joined: Tue Mar 27, 2012 8:56 pm

Auxsvc

Post by Duttones » Tue Jul 18, 2017 7:17 pm

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?

DevGIB
Grandmaster Poster
Posts: 204
Joined: Mon Feb 06, 2006 6:12 am

Re: Auxsvc

Post by DevGIB » Tue Jul 18, 2017 8:40 pm

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.

Duttones
Novice Poster
Posts: 49
Joined: Tue Mar 27, 2012 8:56 pm

Re: Auxsvc

Post by Duttones » Tue Jul 18, 2017 8:57 pm

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.

RusseL
Forum Regular
Posts: 349
Joined: Fri Feb 20, 2009 8:30 pm

Re: Auxsvc

Post by RusseL » Wed Jul 19, 2017 3:12 am


Duttones
Novice Poster
Posts: 49
Joined: Tue Mar 27, 2012 8:56 pm

Re: Auxsvc

Post by Duttones » Wed Jul 19, 2017 9:05 am

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.

DevGIB
Grandmaster Poster
Posts: 204
Joined: Mon Feb 06, 2006 6:12 am

Re: Auxsvc

Post by DevGIB » Wed Jul 19, 2017 4:08 pm

Technically it is in the docs under the Aux script section:
using the normal POL packed string format for communcation.

Post Reply