PDA

View Full Version : habbo text generator...



iJoe
02-03-2007, 11:29 PM
any good ones post them here plz +rep to all good ones, please do not repeat

french
02-03-2007, 11:34 PM
Heres the best one.

HabboTimes ~ Offizielle Fanseite zum Habbohotel (http://www.habbotimes.de/?s=63)

Yoshimitsui
02-03-2007, 11:35 PM
habbotools.de (http://habbotools.de) That one is good

french
06-03-2007, 07:11 PM
was mine any good then?

Sunny.
06-03-2007, 07:50 PM
Its the same thing... AllHabbo Had one.

F32
06-03-2007, 07:53 PM
Hey merseymusic,

I think the way you should approach this is by using a great text generator located at www.habbotimes.de (http://www.habbotimes.de) - if you can navigate your way around the site you'll easily find it.

If you fail to find it; it is indeed located here: http://www.habbotimes.de/?s=63

It is german but it's easily understandable.

Thanks,
Xeoro.

--ss--
06-03-2007, 07:56 PM
http://www.habbotimes.de/?s=63
and
http://www.habbotools.de/index.php?panel=6

Dentafrice1
06-03-2007, 09:05 PM
<?
$pos = '10';
$fonts['2'] = '2';
$fonts['1'] = 'blah';
$fonts['groot'] = 'groot';
$fonts['love'] = 'love';
if($_GET[font] == "1") {
define("height", 20);
}
if($_GET[font] == "groot") {
define("height", 43);
}
if($_GET[font] == "love") {
define("height", 34);
}
if(!function_exists('str_split')){
function str_split($string,$split_length=1){
$count = strlen($string);
if($split_length < 1){
return false;
} elseif($split_length > $count){
return array($string);
} else {
$num = (int)ceil($count/$split_length);
$ret = array();
for($i=0;$i<$num;$i++){
$ret[] = substr($string,$i*$split_length,$split_length);
}
return $ret;
}
}
}
if(preg_match("/^[a-zA-Z0-9 ]{0,30}$/", $_GET['message']) && !empty($_GET['message'])) {
$chars = str_split(str_replace(' ', '_', $_GET['message']));
} else {
$chars = str_split('Invalid_Message');
}

// Assign font variable
$fontDirectory = $fonts[$_GET['font']];
if($fontDirectory == '') $fontDirectory = 'test';

// Count size and create images
foreach($chars as $char) {
$cl = $fontDirectory.'/'.$char.'.gif';
$charsImgs[] = @imagecreatefromgif($cl);
@list($width) = @getimagesize($cl) or exit;
$charsWidth[] = $width;
$imgWidth = $imgWidth+$width;
}

// Create and merge final image
$imgWidth = ($pos*2)+$imgWidth;
$img = @imagecreate($imgWidth, height);
$bg = @imagecolorallocate($img, 255, 255, 255);
foreach($charsImgs as $charsImg) {
$width = array_shift($charsWidth);
@imagecopymerge($img, $charsImg, $pos, 0, 0, 0, $width, height, 100);
$pos = $pos+$width;
}

header("Content-type: image/gif");
@imagegif($img);
@imagedestroy($img);
exit;
?>


have a folder with all the letters and define them in the $fonts variable.

french
06-03-2007, 10:18 PM
Hey merseymusic,

I think the way you should approach this is by using a great text generator located at www.habbotimes.de (http://www.habbotimes.de) - if you can navigate your way around the site you'll easily find it.

If you fail to find it; it is indeed located here: http://www.habbotimes.de/?s=63

It is german but it's easily understandable.

Thanks,
Xeoro.

basically what i posted.

Florx
07-03-2007, 09:07 PM
<?
$pos = '10';
$fonts['2'] = '2';
$fonts['1'] = 'blah';
$fonts['groot'] = 'groot';
$fonts['love'] = 'love';
if($_GET[font] == "1") {
define("height", 20);
}
if($_GET[font] == "groot") {
define("height", 43);
}
if($_GET[font] == "love") {
define("height", 34);
}
if(!function_exists('str_split')){
function str_split($string,$split_length=1){
$count = strlen($string);
if($split_length < 1){
return false;
} elseif($split_length > $count){
return array($string);
} else {
$num = (int)ceil($count/$split_length);
$ret = array();
for($i=0;$i<$num;$i++){
$ret[] = substr($string,$i*$split_length,$split_length);
}
return $ret;
}
}
}
if(preg_match("/^[a-zA-Z0-9 ]{0,30}$/", $_GET['message']) && !empty($_GET['message'])) {
$chars = str_split(str_replace(' ', '_', $_GET['message']));
} else {
$chars = str_split('Invalid_Message');
}

// Assign font variable
$fontDirectory = $fonts[$_GET['font']];
if($fontDirectory == '') $fontDirectory = 'test';

// Count size and create images
foreach($chars as $char) {
$cl = $fontDirectory.'/'.$char.'.gif';
$charsImgs[] = @imagecreatefromgif($cl);
@list($width) = @getimagesize($cl) or exit;
$charsWidth[] = $width;
$imgWidth = $imgWidth+$width;
}

// Create and merge final image
$imgWidth = ($pos*2)+$imgWidth;
$img = @imagecreate($imgWidth, height);
$bg = @imagecolorallocate($img, 255, 255, 255);
foreach($charsImgs as $charsImg) {
$width = array_shift($charsWidth);
@imagecopymerge($img, $charsImg, $pos, 0, 0, 0, $width, height, 100);
$pos = $pos+$width;
}

header("Content-type: image/gif");
@imagegif($img);
@imagedestroy($img);
exit;
?>
have a folder with all the letters and define them in the $fonts variable.
+ rep for the code but i cant get it to work (im a n00b) lol

hybride
07-03-2007, 09:58 PM
Could you give an example of what I'd type?

http://www.example.com/fontgen.php?style=1&message=2

Or whatever?

ZAG
07-03-2007, 10:19 PM
If it was the code above it would be

http://example.com/page.php?font=<FONT>&message=<MESSAGE>

I think

hybride
07-03-2007, 10:24 PM
If it was the code above it would be

http://example.com/page.php?font=<FONT>&message=<MESSAGE>

I think
Ahh i need your help tom, why ain't you on msn

beau03
07-03-2007, 10:26 PM
The top ones, are the two .de ones! In the post's above ;) I second both of them!

Want to hide these adverts? Register an account for free!