Adventure Game Studio

Creative Production => Critics' Lounge => Topic started by: cpage on Sat 10/05/2003 12:50:26

Title: Vote for my next avatar
Post by: cpage on Sat 10/05/2003 12:50:26
Okay so i'm having a little trouble selecting my next avatar so I would like you to please vote for one of the three

(a)(http://100grams.com/host/avs/cpage/1052578026.gif)
(b)(http://100grams.com/host/avs/cpage/1052023495.gif)
(c)(http://100grams.com/host/avs/cpage/1052581828.gif)

oh and tell me what you guys think of them
Title: Re:Vote for my next avatar
Post by: Jimi on Sat 10/05/2003 12:52:48
The second one, man!
Title: Re:Vote for my next avatar
Post by: Andail on Sat 10/05/2003 12:53:54
With those avatars, there is a risk that people will stop looking at what you write
Title: Re:Vote for my next avatar
Post by: Jimi on Sat 10/05/2003 12:56:58
Why don't you do what Timosity does, and set it so you have a random avatar?
Title: Re:Vote for my next avatar
Post by: Rincewind on Sat 10/05/2003 12:57:29
I'd say the third one, actually.
Title: Re:Vote for my next avatar
Post by: cpage on Sat 10/05/2003 13:01:29
Quote from: Jimi on Sat 10/05/2003 12:56:58
Why don't you do what Timosity does, and set it so you have a random avatar?
uhmm how?
Title: Re:Vote for my next avatar
Post by: SLaMgRInDeR on Sat 10/05/2003 20:21:45
either the first or the last, the middle oneis good, but i like martial arts so i like the others more.
(   (   ( <( -_-)> )   )   )
Title: Re:Vote for my next avatar
Post by: Flippy_D on Sat 10/05/2003 20:52:53
The last is the most technically accomplished. You can have those "random" avatars by using PHP. But dont ask me how it works.
Title: Re:Vote for my next avatar
Post by: Jimi on Sat 10/05/2003 20:56:43
to get the random avatar thing happening, First you need a host that supports PHP

Then you need to make a page that contains this code

Code:

<?
$absolute_path = "avatar";
$dir = opendir($absolute_path);
while($avatar = readdir($dir)) {
if (($avatar != "..") and ($avatar != ".")) {
 $avatars[] = "$avatar";
}
}
$avatars = str_replace(chr(32),"%20",$avatars);
$random = array_rand ($avatars, 1);
$randomAvatarURL=$avatars[$random];
$avatar = fopen("$absolute_path/$randomAvatarURL","r");
while (!feof ($avatar)) {
       print fread($avatar,120);
}
fclose($avatar);
?>




call the file avatar.php or something like that

create a folder on your site "avatar"

Then all you have to do is put the avatars you want into that folder.

also you need to link to the page instead of an image eg.

yoursite.com/avatar.php
instead of
yoursite.com/avatar.gif


Note this line
$avatar = fopen("$absolute_path/$randomAvatarURL","r");

it is automatically changed from just 1 letter rrr to are

It's that text fixeruper thing

*Thats what timosity said*
Title: Re:Vote for my next avatar
Post by: cpage on Sun 11/05/2003 09:52:18
wait the problem is my free sites dont allow too much bandwidth

so the votes are
#1- *
#2- *
#3- ***
none of the above- *
3 it is

edit:I'll also try and add more to it ;)
Title: Re:Vote for my next avatar
Post by: Eggie on Sun 11/05/2003 11:30:28
They make me want Moho...
Title: Re:Vote for my next avatar
Post by: Neole on Sun 11/05/2003 13:15:08
I vote #1 - they all excellent.
Title: Re:Vote for my next avatar
Post by: remixor on Sun 11/05/2003 13:20:12
#3

Have you seen those Xiao Xiao (I'm sure I've spelt that wrong) stick man fight flash things?  It reminds me of those.  Good job!
Title: Re:Vote for my next avatar
Post by: Eero on Sun 11/05/2003 15:21:06
Hmm, I have seen referring to Xiao Xiao on three different boards today... I only visit 7 frequently...
Title: Re:Vote for my next avatar
Post by: cpage on Sun 11/05/2003 18:44:35
xiao xiao is awsome but these are alll mine

egg: yup thats what I used