[FEATURE REQUEST]: Connect/disconnect callbacks/events

<p>Hi, i have a heavily modded tpcast and want to power the HMD on/off based on if someone connects/disconnects.
</p>
<p>the VH server doesn'T have an event for connects or disconnects sadly though.<br />
would it be possible to integrate that stuff into the event system so i can simply throw a script or two there?<br />
or at least update the docs if it is already in there
</p>
<p>kind regards<br />
niko_20010
</p>

#2

It will always write to syslog when a new connection comes through. So you could watch that with a script.

I dont have a specific event at the moment for when a client connects/disconnects

#3

<p>thats what i already figured...
</p>
<p>any chance of getting such events in the future?</p>

#4

Yes its a good idea and i will add them. They might go in the next build due in a week or so.

#5

<p>could you reply here as soon as the feature is implemented and released?</p>

#6

Sure, ive done it now. Download version 4.1.4 and use onClientConnect onClientDisconnect see here

#7

<p>thanks, that was WAY sooner than i expected though<br />
thumbs up and keep up the great work!</p>

#8

<p>two problems i notice with that build:<br />
1) the disconnect event seems not to fire<br />
2) the VH server segfaults (gets sent signal 11/SIGSEGV) on exit
</p>

#9

Sorry it was a regression bug, its fixed now in 4.1.5 available on my website