Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Raffle Machine Im Stuck And Need Major Help =]

Kyle Kamachi
Registered User
Join date: 4 Feb 2007
Posts: 16
06-20-2007 16:23
Allright so this is basically my last step in getting help since ive basically tried to look everywhere possible but i just cant find a tutorial that will help,

Basically this is whats going on, i have one box as the 'client' which will let you pay 10L$ and then take that person's name and shoot it off to the other box which is the 'server' you name will get added to a list and as soon as that list fills up, maybe 100 or 200 slots, the 'server' will randomly select 1 or 2 names and pay them some money, the part im stuck on is how to get the client box's to communicate with the server if ANYONE can please help it would be greatly appreciated =]]] thank you soooo much

If you want to directly contact me,

AIM: kklouzal
MSN: [email]kklouzal@hotmail.com[/email]
Yahoo: kklouzal
Gmail: [email]kklouzal@gmail.com[/email]
SecondLife: Kyle Kamachi
Qie Niangao
Coin-operated
Join date: 24 May 2006
Posts: 7,138
06-20-2007 16:46
(Hoping the raffle is for a good cause...) Even if the clients and server will all be in the same sim--and certainly if they're not--you might use llEmail() since the traffic should be very light, especially from the originating clients. You will want to authenticate that the email came from a valid client--the email will include the originator's UUID, and could be compared against a list of known good clients... but the UUID would change if the client ever had to be Taken into Inventory. Same problem with the server: if its UUID ever changes, the clients' emails will be addressed to the wrong UUID.

More elaborate schemes might use crypto-based authentication and/or a web server.
Kyle Kamachi
Registered User
Join date: 4 Feb 2007
Posts: 16
06-20-2007 16:51
so lets say the clients would post to a mysql database then the server just read from that every hour or so to check if it is full?

if this is possible how..?
if someone has some time and would sit down with me in SL or on some IM program and tut me that would really help =]

Im TRYING to start a huge SL Raffle company =D
poopmaster Oh
The Best Person On Earth
Join date: 9 Mar 2007
Posts: 917
06-20-2007 18:54
yes thats not too hard

write up php/mysql back end and then use

http://lslwiki.net/lslwiki/wakka.php?wakka=communications

to talk to it.

are you lookin to hire a coder?
_____________________
InSL u find every kind of no-life retard you could possibly imagine as well as a few even Tim Burton couldnt imagine u find 12yr-olds claiming to be 40 men claiming 2 be women, women claiming 2 make sense and every1 claiming 2 have ideas that are actually worth a damn if only someone would just listen to their unique innovative and exceptionally important idea
Kyle Kamachi
Registered User
Join date: 4 Feb 2007
Posts: 16
06-20-2007 19:08
well heh right now i doubt i could 'hire' a coder but, if someone were to actually help me to the point where this machine actually worked. and at that point if it did really kick off i would be more than happy to give you some of the earnings! =] i know html, php, asp, xml but lsl is a little difficult im finding it harder and harder to get good tuts..