Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

PHP - Web-Based Object<->Object Messaging System

Rez Gray
Registered User
Join date: 2 Apr 2007
Posts: 23
04-22-2008 01:28
Okay, so, basically this would have a variety of implications for several projects I have, I'll sum them up thusly:

Affiliate Item Dispensers - I have a few freebies I'd like to give away, but I don't want to hand out transfer rights (to prevent resale). I would equip sold vehicles and place around the grid freebie kiosks that connect to a central server using the Messaging Network.

Group Chat Replacement - Group Chat routinely fails, and in some situations (rp battles) you need a quick and effective solution, and while it'll drink bandwidth from a hose, it's the only real, mostly reliable in-world solution.

Inter-Sim status / control - More reliable way to transmit commands between objects

Outline:
SENDING: Presuming I have the UUID or name of the thing I want to send data to,
I would post TO(UUID), FROM(UUID, COMMAND (short string)|payload(long string)
This would be stored on the server for up to ten minutes.
RETRIEVING: The object would request the server for new messages, and if any are pending, it will send as many messages as it can pack into the 2kb space.
(note: I expect timing to be between 3 to 20 seconds depending on the item)
If not new messages, tell it so. Limit payload to around 140 characters.

What I have:
The scripting knowledge to do the SL side of things.
A MediaTemple Gridserver account w/ php, mysql support
a buttload of bandwidth

Potential Prize Bounty:
Give me working LSL examples and the oppurtunity to test the system,
and help me get it installed on my host, and I will pay you US$50
via Paypal.

Rights / Conditions:
It's up to you if this work ends up being open sourced (I don't intend to open the system on my host to other users, only to customers of my products).
Zolen Giano
Free the Shmeats!
Join date: 31 Dec 2007
Posts: 146
04-25-2008 09:02
I can make this happen.

I'll IM you in game to get some clarification on some stuff. Not sure what you mean by "timing should be 3-20 seconds".

Do you mean the process should take between 3-20 seconds? or do you mean the object should poll the server every 3-20 seconds to look for new commands?

Anyway...I'll send an IM in world.

Cheers!

zg