Author Topic: BOTM March 2010  (Read 5207 times)

Offline ACAMS

BOTM March 2010
« on: February 01, 2010, 08:13:12 PM »
CLOSED
 
 
RULES:
 
#1 - This month will be Stock HW Face Spinner .... AI parts allowed
#2 - Any other weapon added MUST be static (does not move)
#3 - Show the weight in your splash
#4 - normal building with all gliches allowed (no AAM or BFE type stuff)
#5 - Make a splash and upload it (Entries MUST be .jpg or .png)
#6 - Entries can be no wider than 700px and no taller than 800px
#7 - Entries need to be in by Thur 2/25/10 12:00 midnight Central time
#8 - Thanks to help from Serge you can now upload your image directly...no need to zip it
 
>>>> DO NOT PM THE LINK, I will know where it is and the uploader will tell you it uploaded, or give an error! <<<<
« Last Edit: February 28, 2010, 08:20:58 AM by ACAMS »

Offline Badnik96

  • tired of your shit
  • *
  • Posts: 17537
  • Rep: 3
    • Badnik96GTM
  • Awards BOTM Winner
    • View Profile
    • BattleBots Wiki
    • Awards
  • See profile for gamer tags: Yes
  • Skype: Badnik96
Re: BOTM March 2010
« Reply #1 on: February 02, 2010, 05:38:50 PM »
Meh, Might make something for this. My first attempt at Candy is on the way!

Offline Resetti's Replicas

  • *
  • Posts: 4399
  • Rep: 18
  • Replica King
    • ResettisReplicas
  • Awards BOTM Winner
    • View Profile
    • Awards
  • See profile for gamer tags: Yes
Re: BOTM March 2010
« Reply #2 on: February 04, 2010, 02:06:18 PM »
Just to be clear, can the robot have another weapon in addition to the face spinner?

Offline G.K.

  • *
  • Posts: 12157
  • Rep: 10
  • Striving for a good personal text since 1994.
    • View Profile
    • Awards
Re: BOTM March 2010
« Reply #3 on: February 04, 2010, 02:06:54 PM »
O.o
Sonny's entering!
My above post explains everything about everything.

Host of: Wheely Tag, Back To The Beginnings, BTTB 2, BTTB 3, BTTB 4, & BTTB V.

Heavy Metal: Champion (Mockery of the Whole Concept)
Robotic International Wars Series 1: Champion (Minifridge 6)
RA2 Team Championships 1 & 2: Champion (High Speed Train & Upthrust - as part of Naryar's Not Quite Evil Council of Doom)

Runner Up in: The Amazing Rage (Team Fedex), R0B0NOVA (Zaphod Stock), Steel Warzone (Inception of Instability), Box of Nightmares (Gicquel), Wheely Tag (Minifridge the Second)

Clash Cubes IV: 5th place (Fretless)
BBEANS 6: Rumble Winner & 6th Place (Minifridge 4)

Offline Stagfish

  • Ultra Heavyweight
  • Posts: 2963
  • Rep: 0
    • View Profile
    • Awards
Re: BOTM March 2010
« Reply #4 on: February 04, 2010, 02:39:42 PM »
yays!

Offline ACAMS

Re: BOTM March 2010
« Reply #5 on: February 04, 2010, 07:18:12 PM »
Just to be clear, can the robot have another weapon in addition to the face spinner?

RULES UPDATED!!!
 
Any weapon used other than a face spinner MUST BE STATIC (it can not move)

Offline Sparkey98

  • Giga Heavyweight
  • Posts: 5738
  • Rep: -20
    • View Profile
    • Awards
Re: BOTM March 2010
« Reply #6 on: February 04, 2010, 07:20:27 PM »
I was gonna have a transforming VS to FS, can I still do it?

Offline ACAMS

Re: BOTM March 2010
« Reply #7 on: February 04, 2010, 08:19:53 PM »
I would rather see a face spinner, but since they made transforming VS last month, I don't see how I can say no......unless it is not a face spinner and a weapon moves that in not on the face spinner motor.

Offline Serge

  • *
  • Posts: 1530
  • Rep: 13
    • View Profile
    • http://www.q3k.org/
    • Awards
Re: BOTM March 2010
« Reply #8 on: February 05, 2010, 11:36:59 AM »
#5 - Make a splash, zip it and upload it (Be sure to include your name so I will know who made it)


But... but... zipping a PNG has no sense, it's archived as far as it's possible, even more than zipping a raw .bmp :(.
home | twitter | yt | gmf de/compiler | component freedom | xmpp: q3k@q3k.org | email: q3k@q3k.org

Offline ACAMS

Re: BOTM March 2010
« Reply #9 on: February 05, 2010, 01:22:09 PM »
I can make the uploader upload just .jpg and .png, but I do it like that so people will remember to name the file, or include a txt with their name. If I allow images, 90% of my entries would be screenshot.jpg and badassbot.png, then I would not know who did it.
 
Hell, I have one or two EVERY month as it is!

Offline Sparkey98

  • Giga Heavyweight
  • Posts: 5738
  • Rep: -20
    • View Profile
    • Awards
Re: BOTM March 2010
« Reply #10 on: February 05, 2010, 01:51:50 PM »
what I mean is is two HP Z-teks with face spinners, attatched to servos, so they can move the FS sideways = VS

Offline Serge

  • *
  • Posts: 1530
  • Rep: 13
    • View Profile
    • http://www.q3k.org/
    • Awards
Re: BOTM March 2010
« Reply #11 on: February 05, 2010, 05:53:56 PM »
I can make the uploader upload just .jpg and .png, but I do it like that so people will remember to name the file, or include a txt with their name. If I allow images, 90% of my entries would be screenshot.jpg and badassbot.png, then I would not know who did it.
 
Hell, I have one or two EVERY month as it is!


What about adding a <input type="text" name="user" /> and code up the script so that the file is renamed to the name provided in the upload form? Or you just can't be arsed? :P
home | twitter | yt | gmf de/compiler | component freedom | xmpp: q3k@q3k.org | email: q3k@q3k.org

Offline ACAMS

Re: BOTM March 2010
« Reply #12 on: February 05, 2010, 07:56:58 PM »
I can be  arsed......stupid arsed! Link me to a tutorial. So far I have this.. .https://gametechmods.com/?do=TEST , but can't make it change the name. It already has a random name generator
 
Code: [Select]
if (file_exists($target_path.$_FILES['uploadedfile']['name'])) {
     $random_digit=rand(0000,9999);
  if(move_uploaded_file($_FILES['uploadedfile']['tmp_name'], $target_path.$random_digit.basename( $_FILES['uploadedfile']['name']))) {
      echo "The file ".  $random_digit.basename( $_FILES['uploadedfile']['name']). " has been uploaded <br>";
   $fileurl= "http://".$_SERVER['SERVER_NAME']. "/".$target_path.$random_digit.basename( $_FILES['uploadedfile']['name']);?>
     </div>
   <div align="center">
     <input name="textfield" type="text" id="textfield" value="[url=<?=$fileurl?>]<?=$fileurl?>[/url]" size="55"  />
  <? } else{
      echo "There was an error uploading the file, please try again!";
  }

But I don't know how to make it use the user name.
 
I added your line the the script here
 
Code: [Select]
}else{ ?>
</div>
<form enctype="multipart/form-data" action="index.php?do=TEST" method="POST">
              <div align="center"><p>
     <BR><strong>Put your name in this box</strong><br />
   <input type="text" name="user" />
            <input type="hidden" name="MAX_FILE_SIZE" value="5000000000" />
            <BR />
          Upload your splash here .jpg, or .png ONLY<BR />
          <BR />
          <input name="uploadedfile" type="file" />
           <input type="submit" value="Upload File" />
                </p>
              </div>
</form>
            <div align="center"><br />
                <? } ?>             
            </div>

What do I need to do?
« Last Edit: February 05, 2010, 08:25:01 PM by ACAMS »

Offline Serge

  • *
  • Posts: 1530
  • Rep: 13
    • View Profile
    • http://www.q3k.org/
    • Awards
Re: BOTM March 2010
« Reply #13 on: February 06, 2010, 04:47:14 AM »
In the first snippet, replace
Code: [Select]
$random_digit=rand(0000,9999);by
Code: [Select]
$bad_stuff = array("..", ".", "/", "\\");
$random_digit = str_replace($bad_stuff, "", $_POST['user']);
home | twitter | yt | gmf de/compiler | component freedom | xmpp: q3k@q3k.org | email: q3k@q3k.org

Offline Sage

  • *
  • Posts: 6182
  • Rep: 11
  • RA2 Wizard & GTM's Favorite Stock Builder 2015
  • Awards Sage's Favorite BOTM Winner
    • View Profile
    • Awards
Re: BOTM March 2010
« Reply #14 on: February 06, 2010, 10:16:33 AM »
Yo, I'ma win this one. Well, at least i'll do me best :D
You got my vote for RA2 Wizard. Always and forever.

Offline JoeBlo

Re: BOTM March 2010
« Reply #15 on: February 06, 2010, 10:19:42 AM »
never :P for I am entering also

Offline ACAMS

Re: BOTM March 2010
« Reply #16 on: February 06, 2010, 02:43:36 PM »
In the first snippet, replace
Code: [Select]
$random_digit=rand(0000,9999);by
Code: [Select]
$bad_stuff = array("..", ".", "/", "\\");
$random_digit = str_replace($bad_stuff, "", $_POST['user']);

That didn't work, it didn't change the name.

Offline ACAMS

Re: BOTM March 2010
« Reply #17 on: February 06, 2010, 04:01:54 PM »
 :bigsmile:  Serge helped make the uploader WAY better.....you can now upload just your images....instructions in the rules!

Offline goose

  • *
  • Posts: 10015
  • Rep: 1
    • View Profile
    • Awards
Re: BOTM March 2010
« Reply #18 on: February 07, 2010, 12:49:31 PM »
$bad_stuff = array("..", ".", "/", "\\");
$random_digit = str_replace($bad_stuff, "", $_POST['user']);


... Wouldn't you need to run the array in a loop for that to work?(to lazy to test, if not... sweet.)
 $random_digit =  $_POST['user'];
foreach ($bad_stuff as $value) {
    $random_digit = str_replace($value, "",  $random_digit);
}




EDIT:


just tried. It Does work! thats fantastic. You learn something new every day.
sippin' on my Honeydew bubble tea.
party in my tummy. yummy, yummy.

Offline H@zm47

  • Middleweight
  • Posts: 382
  • Rep: 0
    • View Profile
    • Awards
Re: BOTM March 2010
« Reply #19 on: February 12, 2010, 07:59:29 AM »
I just entered my first attempt at BOTM. Good luck to everyone else entering.
Achievements:
BBEANS 6: What Shell Spinner? (2-1 - 3 KOs and 4 WBPs)
RAW 2: Smoke and Mirrors (1-0:2 KOs and 1 TKO)
Clash Cubes 3: Shortsighted Surgeon ][ (Finished 15th)
UK vs USA: The Matador (USA) (Eliminated Round 1)