gametechmods
Robot Arena Matches => Contests => Topic started 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! <<<<
-
Meh, Might make something for this. My first attempt at Candy is on the way!
-
Just to be clear, can the robot have another weapon in addition to the face spinner?
-
O.o
Sonny's entering!
-
yays!
-
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)
-
I was gonna have a transforming VS to FS, can I still do it?
-
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.
-
#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 :(.
-
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 I mean is is two HP Z-teks with face spinners, attatched to servos, so they can move the FS sideways = VS
-
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
-
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
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
}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?
-
In the first snippet, replace
$random_digit=rand(0000,9999);
by
$bad_stuff = array("..", ".", "/", "\\");
$random_digit = str_replace($bad_stuff, "", $_POST['user']);
-
Yo, I'ma win this one. Well, at least i'll do me best :D
-
never :P for I am entering also
-
In the first snippet, replace
$random_digit=rand(0000,9999);
by
$bad_stuff = array("..", ".", "/", "\\");
$random_digit = str_replace($bad_stuff, "", $_POST['user']);
That didn't work, it didn't change the name.
-
:bigsmile: Serge helped make the uploader WAY better.....you can now upload just your images....instructions in the rules!
-
$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.
-
I just entered my first attempt at BOTM. Good luck to everyone else entering.
-
Gah! My evil plan is failing due to lack of splash skills. Look at my other entries if you want proof.
-
sending.
-
DP
I tried to upload my PNG but it said the image type wasnt allowed.
-
rename from PNG to png
-
Fixed to accept .png and .PNG
-
What's the difference?
-
thanks ACAMS
entry is up
-
What's the difference?
There is not much difference rEiEr
-
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.
-
Splash sent.
-
How about angled spinners? Would Rabid Pit Bull be considered a face spinner?
-
Yep, as long as the motor is angled 45 degrees or less upwards.
-
Hmm... Deadline ended few days ago... Hopefully ACAMS doesn't have any problems or forgot the voting... :ermm:
-
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
-
: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.....
-
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!
-
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
-
I was going to enter a FBFS but my splash skills must improve. Also, the controls kept inverting whilst it span (strange!!!).
-
mine was a servo orientated FS with separately controlled servo horizontal clamps and armor...
I called it Epica :P
-
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