G General

HTTP Object To Object Communicator

HTTP Object To Object Communicator
Details
Features
Contents
Reviews

This product is designed for people who know a bit about scripting. It quickly enables a way for objects to send HTTP messages between them, inside Second Life, without the need of extra servers.

Uses:
The script is in its simplest form, but can be and had been adapted for the following (and not only):
- communicate between departing airplanes and a control tower
- monitor trains moving on railways
- monitor boats during sailing races
- keep progress of a moving avatar roaming through the grid
- enabling a script to listen to commands in another sim.

Limitations:
The script has a few limitations given to nature of SL restart processes:
- it is reset after a sim restart process
- might fail needs the two objects to be close in the beginning.
- The receiver must not move to another sim.

HOW TO USE
<>'Give' is the HTTP emitter, who will send messages.
<>'Receive' is the home server, which will receive messages.
<>'Receive' will give its URL to 'Give' only once. After that, communication occurs only from 'Give' to 'Receive'.

1. Set 'Receive'.
- Put 'Receive' script in a prim.
- Touch 'Receive' prim to activate.
2. Set 'Give'.
- Put 'Give' script in another object (like attachment, vehicles, it does not need to be the root prim of an object). You can use this HUD if you want:
- Touch 'Receive' while 'Give' is nearby.
- Wait a few seconds.
- Touch 'Give'.
If all is ok, you will hear a message coming from 'Receive' that is a HTTP message delivered by 'Give'. As I set the script, the message you will hear is the sim name where 'Give' is, together with global coordinates.

'Give' will successfully send messages to 'Receive' for as long as 'Receive' stays in the same sim and the sim hosting 'Receive' does not restart.

ERRORS:
- Error will be triggered if 'Give' did not get a valid URL from 'Receive'. This happens if they were not in contact (i.e. 'Receive' was not touched to send its URL to 'Give').
- Errors will occur once the sim hosting 'Receive' restarts, 'Receive' is moved to another sim or 'Receive' is packed and rezzed again.

  • quick http inworld communicator
  • no external servers
  • no external connection
  • for builders & scripters
  • full perm