Auxsvc

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

Moderator: POL Developer

Post Reply
Duttones
Apprentice Poster
Posts: 54
Joined: Tue Mar 27, 2012 8:56 pm

Auxsvc

Post 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?
DevGIB
Grandmaster Poster
Posts: 248
Joined: Mon Feb 06, 2006 6:12 am

Re: Auxsvc

Post 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.
Duttones
Apprentice Poster
Posts: 54
Joined: Tue Mar 27, 2012 8:56 pm

Re: Auxsvc

Post 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.
RusseL
Forum Regular
Posts: 375
Joined: Fri Feb 20, 2009 8:30 pm

Re: Auxsvc

Post by RusseL »

Duttones
Apprentice Poster
Posts: 54
Joined: Tue Mar 27, 2012 8:56 pm

Re: Auxsvc

Post 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.
DevGIB
Grandmaster Poster
Posts: 248
Joined: Mon Feb 06, 2006 6:12 am

Re: Auxsvc

Post by DevGIB »

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