CS.RIN.RU - Steam Underground Community
http://cs.rin.ru/forum/

[GIVEAWAY] Valve Complete Pack Sweepstake! -ALL SPOTS FULL-
http://cs.rin.ru/forum/viewtopic.php?f=15&t=53274
Page 3 of 9

Author:  Steve Jobs [ Saturday, 01 Aug 2009, 18:41 ]
Post subject:  Re: [GIVEAWAY] Valve Complete Pack Sweepstake!!!

Nano wrote:
I'm in! I hope this answer wasn't too late.

I'm so lucky. I got the last slot.

LOL that's right. All spots full at the moment.

I wish luck to everyone. Have fun while I setup the code to pick the winner :P

Author:  esx [ Saturday, 01 Aug 2009, 19:03 ]
Post subject:  Re: [GIVEAWAY] Valve Complete Pack Sweepstake!!!

Shaman AlicanC wrote:
Nano wrote:
I'm in! I hope this answer wasn't too late.

I'm so lucky. I got the last slot.

LOL that's right. All spots full at the moment.

I wish luck to everyone. Have fun while I setup the code to pick the winner :P

I've coded it for you. Hope it makes it easier for you to pick a winner! http://www.rev-crew.info/random.html

Author:  hegyak [ Saturday, 01 Aug 2009, 19:10 ]
Post subject:  Re: [GIVEAWAY] Valve Complete Pack Sweepstake!!!

Siyo wrote:
I've coded it for you. Hope it makes it easier for you to pick a winner! http://www.rev-crew.info/random.html


Good code :twisted: :
  1. <script type="text/javascript">
  2.     var players = new Array();
  3.     players[0] = 'Siyo';
  4.     players[1] = 'Siyo';
  5.     players[2] = 'Siyo';
  6.     players[3] = 'Siyo';
  7.     players[4] = 'Siyo';
  8.     players[5] = 'Siyo';
  9.     players[6] = 'Siyo';
  10.     players[7] = 'Siyo';
  11.     players[8] = 'Siyo';
  12.     players[9] = 'Siyo';
  13.    
  14.     num = Math.floor(Math.random()*10);
  15.     document.write('And the winner is... ');
  16.     document.write(players[num]);
  17.  
  18. </script>
  19.  

Author:  esx [ Saturday, 01 Aug 2009, 19:12 ]
Post subject:  Re: [GIVEAWAY] Valve Complete Pack Sweepstake!!!

Ssshhh! :(

Author:  cXhristian [ Saturday, 01 Aug 2009, 19:12 ]
Post subject:  Re: [GIVEAWAY] Valve Complete Pack Sweepstake!!!

Damn, I coded some shit in php, but it got erased by accidently clicking a bookmark...
Only this one had different names!
Why didnt you add me on the list? I didnt pm you cause you've already got my email and we are Steam friends..

Author:  Diablo [ Saturday, 01 Aug 2009, 19:14 ]
Post subject:  Re: [GIVEAWAY] Valve Complete Pack Sweepstake!!!

Thats why you should've posted earlier?

Watch I'm gonna code one in java just because it's like the only programming language I know.

Or I would if I weren't lazy.

Author:  cXhristian [ Saturday, 01 Aug 2009, 19:19 ]
Post subject:  Re: [GIVEAWAY] Valve Complete Pack Sweepstake!!!

Diablo
Earlier? I posted right between RBPFC1 and [-aTr-]. Just check page 2.
Edit: Oh yeah meant the epic php script?

Author:  Steve Jobs [ Saturday, 01 Aug 2009, 19:29 ]
Post subject:  Re: [GIVEAWAY] Valve Complete Pack Sweepstake!!!

cXhristian wrote:
Why didnt you add me on the list?

  1. -To participate, you must post in this topic AND PM me your e-mail address. If someone posts after you, but PMs before you, you will lose your spot!

I mean, ..., it's written in red and shit, ..., ??? I'm not only asking to get you e-mail address. It's also for managing the participants. Anyway, there's always a next time :D

---

BTW, stop coding lol. I have the code, I just need a space to upload.

Edit:
Fixed the typo.

Author:  cXhristian [ Saturday, 01 Aug 2009, 19:38 ]
Post subject:  Re: [GIVEAWAY] Valve Complete Pack Sweepstake!!!

Well yeah, but I also said in my post that .. well... Kinda stupid, but well thats how life is...
And yeah I know you have the script, but I made my own.
  1. <?php
  2. $names = array("hegyak", "DeNeDe", "lfc4eva", "Diablo", "Mr.Deviance", "davelee0", "soak", "mormyo", "simstosh", "amirborna", "{Darkness}", "RBPFC1", "[-aTr-]", "RazTK", "illpillow", "mcfischsam", "nathanielnderson", "gecka", "Metatron83", "Nano");
  3. for ($i = 0; $i <= 19; $i++) {
  4.     if(strtolower($names[$i]) == strtolower("cXhristian")) {
  5.         $winner = $names[$i];
  6.     }
  7. }
  8. if(empty($winner)) {
  9. $winner = "OMG FAIL CONTEST! DO NOT EVER FORGET TO ADD CXHRISTIAN!";
  10. }
  11. echo "The contest winner is... ";
  12. echo $winner;
  13. ?>

http://cxhristian.awardspace.us/contest.php
And how it is supposed to be:
  1. <?php
  2. $names = array("hegyak", "DeNeDe", "lfc4eva", "Diablo", "Mr.Deviance", "davelee0", "soak", "mormyo", "simstosh", "amirborna", "{Darkness}", "RBPFC1", "cXhristian", "[-aTr-]", "RazTK", "illpillow", "mcfischsam", "nathanielnderson", "gecka", "Metatron83");
  3. for ($i = 0; $i <= 19; $i++) {
  4.     if(strtolower($names[$i]) == strtolower("cXhristian")) {
  5.         $winner = $names[$i];
  6.     }
  7. }
  8. if(empty($winner)) {
  9. $winner = "OMG FAIL CONTEST! DO NOT EVER FORGET TO ADD CXHRISTIAN!";
  10. }
  11. echo "The contest winner is... ";
  12. echo $winner;
  13. ?>

http://cxhristian.awardspace.us/contest2.php

Author:  Diablo [ Saturday, 01 Aug 2009, 20:57 ]
Post subject:  Re: [GIVEAWAY] Valve Complete Pack Sweepstake!!!

Anyone else dying to know if they've won yet? :)

Author:  Golle88 [ Saturday, 01 Aug 2009, 21:05 ]
Post subject:  Re: [GIVEAWAY] Valve Complete Pack Sweepstake!!!

Diablo wrote:
Anyone else dying to know if they've won yet? :)


just relax. take a drink or beer and sit down. watch some pirated movies or play some games. :razz:

Author:  Diablo [ Saturday, 01 Aug 2009, 21:14 ]
Post subject:  Re: [GIVEAWAY] Valve Complete Pack Sweepstake!!!

Golle88 wrote:
Diablo wrote:
Anyone else dying to know if they've won yet? :)


just relax. take a drink or beer and sit down. watch some pirated movies or play some games. :razz:

But I can't have beer I'm underaged.

And pirated movies take me about 8 hours to download

And I don't wanna plya eroge during the day xD

Author:  baosen [ Saturday, 01 Aug 2009, 21:16 ]
Post subject:  Re: [GIVEAWAY] Valve Complete Pack Sweepstake!!!

lol, why do you need a program to pick the winner?

Its better and easier to just

1. Get a bowl, pen and paper.

2. Write names of the contestants on several papers and wrap it to "balls".

3. Dump them into the bowl, shake and pick!

A computer can't theoretically generate a random number. They generate something called a pseudo-random number based on something (called a seed e.g the time). Bowl + papers are more random than your computer :)

^_^

I wish good luck to all contestants :)

Author:  mcfischsam [ Saturday, 01 Aug 2009, 21:18 ]
Post subject:  Re: [GIVEAWAY] Valve Complete Pack Sweepstake!!!

nice to see me in :)

Author:  Steve Jobs [ Saturday, 01 Aug 2009, 21:21 ]
Post subject:  Re: [GIVEAWAY] Valve Complete Pack Sweepstake!!!

Chill. We still have 6 days...

Page 3 of 9 All times are UTC + 3 hours
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/