gametechmods

Robot Arena Matches => Contests => Topic started by: ACAMS on February 01, 2010, 08:13:12 PM

Title: BOTM March 2010
Post by: ACAMS 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! <<<<
Title: Re: BOTM March 2010
Post by: Badnik96 on February 02, 2010, 05:38:50 PM
Meh, Might make something for this. My first attempt at Candy is on the way!
Title: Re: BOTM March 2010
Post by: Resetti's Replicas on February 04, 2010, 02:06:18 PM
Just to be clear, can the robot have another weapon in addition to the face spinner?
Title: Re: BOTM March 2010
Post by: G.K. on February 04, 2010, 02:06:54 PM
O.o
Sonny's entering!
Title: Re: BOTM March 2010
Post by: Stagfish on February 04, 2010, 02:39:42 PM
yays!
Title: Re: BOTM March 2010
Post by: ACAMS 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)
Title: Re: BOTM March 2010
Post by: Sparkey98 on February 04, 2010, 07:20:27 PM
I was gonna have a transforming VS to FS, can I still do it?
Title: Re: BOTM March 2010
Post by: ACAMS 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.
Title: Re: BOTM March 2010
Post by: Serge 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 :(.
Title: Re: BOTM March 2010
Post by: ACAMS 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!
Title: Re: BOTM March 2010
Post by: Sparkey98 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
Title: Re: BOTM March 2010
Post by: Serge 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
Title: Re: BOTM March 2010
Post by: ACAMS 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?
Title: Re: BOTM March 2010
Post by: Serge 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']);
Title: Re: BOTM March 2010
Post by: Sage on February 06, 2010, 10:16:33 AM
Yo, I'ma win this one. Well, at least i'll do me best :D
Title: Re: BOTM March 2010
Post by: JoeBlo on February 06, 2010, 10:19:42 AM
never :P for I am entering also
Title: Re: BOTM March 2010
Post by: ACAMS 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.
Title: Re: BOTM March 2010
Post by: ACAMS 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!
Title: Re: BOTM March 2010
Post by: goose 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.
Title: Re: BOTM March 2010
Post by: H@zm47 on February 12, 2010, 07:59:29 AM
I just entered my first attempt at BOTM. Good luck to everyone else entering.
Title: Re: BOTM March 2010
Post by: Squirrel_Monkey on February 12, 2010, 10:15:26 AM
Gah! My evil plan is failing due to lack of splash skills. Look at my other entries if you want proof.
Title: Re: BOTM March 2010
Post by: Badnik96 on February 12, 2010, 03:35:39 PM
sending.
Title: Re: BOTM March 2010
Post by: Badnik96 on February 12, 2010, 03:37:17 PM
DP
I tried to upload my PNG but it said the image type wasnt allowed.
Title: Re: BOTM March 2010
Post by: G.K. on February 12, 2010, 03:40:14 PM
rename from PNG to png
Title: Re: BOTM March 2010
Post by: ACAMS on February 12, 2010, 05:41:45 PM
Fixed to accept .png and .PNG
Title: Re: BOTM March 2010
Post by: Reier on February 12, 2010, 05:49:10 PM
What's the difference?
Title: Re: BOTM March 2010
Post by: Badnik96 on February 12, 2010, 06:01:37 PM
thanks ACAMS
entry is up
Title: Re: BOTM March 2010
Post by: ACAMS on February 12, 2010, 07:02:53 PM
What's the difference?

There is not much difference rEiEr
Title: Re: BOTM March 2010
Post by: Clickbeetle on February 12, 2010, 09:55:05 PM
You know, I just realized something odd.


The first HW I ever built was a face spinner.  AND I HAVEN'T BUILT ANOTHER ONE SINCE.


I guess because it's one of those designs with not much room for originality?


Well, we'll see how I do in this with my second-ever attempt at a FS...


Sweet new uploader, by the way.
Title: Re: BOTM March 2010
Post by: Jonzu95 on February 17, 2010, 07:08:05 AM
Splash sent.
Title: Re: BOTM March 2010
Post by: Rolo on February 18, 2010, 08:28:20 PM
How about angled spinners? Would Rabid Pit Bull be considered a face spinner?
Title: Re: BOTM March 2010
Post by: Sage on February 18, 2010, 09:12:44 PM
Yep, as long as the motor is angled 45 degrees or less upwards.
Title: Re: BOTM March 2010
Post by: Jonzu95 on February 28, 2010, 03:19:34 AM
Hmm... Deadline ended few days ago... Hopefully ACAMS doesn't have any problems or forgot the voting... :ermm:
Title: Re: BOTM March 2010
Post by: ACAMS on February 28, 2010, 07:34:40 AM
Been mostly without internet untill last night, and yes I forgot too.
 
BUT, I did remember to be on ebay at 6:21 PM last night and bid $350.00 on a fishing reel I wanted. (I won it for $301.00 tho  :bigsmile: )
I am now the owner of a badass Shimano Calcutta Conquest 200
Title: Re: BOTM March 2010
Post by: JoeBlo on February 28, 2010, 10:03:22 AM
 :FFFUUU :FFFUUU :FFFUUU :FFFUUU :FFFUUU :FFFUUU

I was sure the deadline was the 28th like last month .. I had my robot and everything

I have way to much crap going on and I miss out on the main thing I wanted to do.....
Title: Re: BOTM March 2010
Post by: ACAMS on February 28, 2010, 10:09:02 AM
Well I didn't notice you didn't enter until everybody started guessing what was who (WRONG, as usual)
 
 
If you were not clear on the other side of the world......I would let you hold my new reel as a condolence prize!
Title: Re: BOTM March 2010
Post by: JoeBlo on February 28, 2010, 10:17:18 AM
that would have been nice of you acams :P


*sigh* at least with BOTM I only have to wait 30 days for the next one
Title: Re: BOTM March 2010
Post by: Squirrel_Monkey on February 28, 2010, 10:31:10 AM
I was going to enter a FBFS but my splash skills must improve. Also, the controls kept inverting whilst it span (strange!!!).
Title: Re: BOTM March 2010
Post by: JoeBlo on February 28, 2010, 11:03:54 AM
mine was a servo orientated FS with separately controlled servo horizontal clamps and armor...


I called it Epica :P
Title: Re: BOTM March 2010
Post by: Jack Daniels on February 28, 2010, 11:09:23 AM
Maybe the next BOTM will be stock HW RS.  Then you can just rewire the thing and submit it.  :P

Edit: oh yeah... you would have to change the nose heading too. :P