Blockland Forums > Suggestions & Requests
Accepting Requests [Locked]
Yin Yang:
I need an OnPlayerDisconnect event for my tycoon urgently, it must be compatible with VCE so maybe something like,
OnPlayerTouch>Player>OnDisconnect>XXX
or
OnPlayerTouch>Self>OnPlayerDisconnect>Name, Blid (only ONE is needed Name or BLID or Both) (VERY PREFERED)
and then use the VCE commands OnVariableTrue and False to make the brick do something when the player specifyed disconnects.
I need this so that if someone is in the middle of using the tycoon and disconnects, the tycoon auto reset's.
Please
Zeblote:
--- Quote from: Yin Yang on March 13, 2013, 05:12:13 PM ---I need an OnPlayerDisconnect event for my tycoon urgently, it must be compatible with VCE so maybe something like,
OnPlayerTouch>Player>OnDisconnect>XXX
or
OnPlayerTouch>Self>OnPlayerDisconnect>Name, Blid (only ONE is needed Name or BLID or Both) (VERY PREFERED)
and then use the VCE commands OnVariableTrue and False to make the brick do something when the player specifyed disconnects.
I need this so that if someone is in the middle of using the tycoon and disconnects, the tycoon auto reset's.
--- End quote ---
This aint possible as the events are schedules, meaning the client will have disconnected until the output events are fired meaning that the event target is gone and the ouputs don't work.
Yin Yang:
--- Quote from: Zeblote on March 13, 2013, 05:14:12 PM ---This aint possible as the events are schedules, meaning the client will have disconnected until the output events are fired meaning that the event target is gone and the ouputs don't work.
--- End quote ---
well maybe fire some sort of relay or something to the client and if it dosn't receive a responce than fires the output, although it could misbehave in a laggy server
Zeblote:
--- Quote from: Yin Yang on March 13, 2013, 05:22:08 PM ---well maybe fire some sort of relay or something to the client and if it dosn't receive a responce than fires the output, although it could misbehave in a laggy server
--- End quote ---
Default events do nothing if the client is gone
Yin Yang:
--- Quote from: Zeblote on March 13, 2013, 05:23:03 PM ---Default events do nothing if the client is gone
--- End quote ---
IDK anything about this kinda thing, i just need something that fires when the owner of the tycoon leaves