Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Warning if your vendors use http

Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
09-21-2008 07:50
If your vendor uses http to process the sale and send out the item you have to put code in to check the origin of request. This just happened yesterday where a vendor in the Aditi grid sold the item and delivered it to the Agni grid.

Response per Soft Linden(Thank you Soft!!!):
From: Soft Linden
"This is a problem with the vendor's scripts or website, not a problem with Second Life. The script author should be checking that the message comes from agni, not aditi or another grid if they want to write their own commerce system."

See this thread starting with post #16.

Crap forgot the thread link :rolleyes:

/327/56/279985/1.html
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
From: someone
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
09-21-2008 07:52
From: Jesse Barnett
If your vendor uses http to process the sale and send out the item you have to put code in to check the origin of request. This just happened yesterday where a vendor in the Aditi grid sold the item and delivered it to the Agni grid.

Response per Soft Linden(Thank you Soft!!!):

See this thread starting with post #16.


see what thread? lol
_____________________
Dark Heart Emporium

http://www.xstreetsl.com/modules.php?name=Marketplace&MerchantID=133020

want more layers for tattoos, specifically for the head? vote here
http://jira.secondlife.com/browse/VWR-1449?

llDetectedCollision* Functions similar to touch
http://jira.secondlife.com/browse/SVC-3369
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
09-21-2008 07:56
Thanks Ruthven!
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
From: someone
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
Alicia Sautereau
if (!social) hide;
Join date: 20 Feb 2007
Posts: 3,125
09-21-2008 10:24
so where exactly does llGetSimulatorHostname() fixes this problem?

vendor A in region X
vendor B in region Y
vendor C in region Z
delivery server in region xyz

doing a check on hostname will allways fail as they`re on different servers
is there an additional parameter sent that identifies on what grid the call came from?
is there an specific ip range for the live grid or beta grid as that info is not listed in the wiki but general ip ranges (http://wiki.secondlife.com/wiki/Simulator_IP_Addresses)


semi related question, if from the other thread items got deliverd to the live grid while being purchased on the beta grid, object UUID`s are the same AND are only unique when sending an email from outside the grid as it has a dupe key on both grids to fail another check?
Jesse Barnett
500,000 scoville units
Join date: 21 May 2006
Posts: 4,160
09-21-2008 11:37
From: Alicia Sautereau
so where exactly does llGetSimulatorHostname() fixes this problem?

vendor A in region X
vendor B in region Y
vendor C in region Z
delivery server in region xyz

doing a check on hostname will allways fail as they`re on different servers
is there an additional parameter sent that identifies on what grid the call came from?
is there an specific ip range for the live grid or beta grid as that info is not listed in the wiki but general ip ranges (http://wiki.secondlife.com/wiki/Simulator_IP_Addresses)


semi related question, if from the other thread items got deliverd to the live grid while being purchased on the beta grid, object UUID`s are the same AND are only unique when sending an email from outside the grid as it has a dupe key on both grids to fail another check?


Per:
http://wiki.secondlife.com/wiki/LlHTTPRequest

"If the accessed site is relying on the LSL script to report L$ transactions, then it must check the X-SecondLife-Shard header to see if the script is running on the beta grid."

&&

"X-SecondLife-Shard The environment the object is in. "Production" is the main grid and "Testing" is the preview"
_____________________
I (who is a she not a he) reserve the right to exercise selective comprehension of the OP's question at anytime.
From: someone
I am still around, just no longer here. See you across the aisle. Hope LL burns in hell for archiving this forum
Alicia Sautereau
if (!social) hide;
Join date: 20 Feb 2007
Posts: 3,125
09-21-2008 11:51
doh, thanks jesse, didn`t think to looking at the headers *oops* :o


edit
double doh, been using it all this time allready just stuffed away in a general class :o