Avatar Image Not working

Detox

Member
Jul 24, 2010
365
24
Hello,

I'm trying to host my own avatar image but I keep getting this page.

30ksigg.jpg


PHP Code:

PHP:
<?php
/*=========================================================+
|| # HabboCMS - Sistema de administración de contenido Habbo.
|+=========================================================+
|| # Copyright © 2010 Kolesias123. All rights reserved.
|| # http://www.infosmart.com.mx
|| # Partes Copyright © 2009 Yifan Lu. All rights reserved.
|| # http://www.yifanlu.com
|| # Base Copyright © 2007-2008 Meth0d. All rights reserved.
|| # http://www.meth0d.org
|+=========================================================+
|| # InfoSmart 2010. The power of Proyects.
|| # Este es un Software de código libre, libre edición.
|+=========================================================+
|| # Todas las imagenes, scripts y temas
|| # Copyright (C) 2010 Sulake Ltd. All rights reserved.
|+=========================================================*/

$no_rea = true;
$no_maintenance = true;

//require_once('../includes/core.php');
Header("Content-type: image/png");

$figure = $_GET['figure'];
$size = $_GET['size'];
$direction = $_GET['direction'];
$head_direction = $_GET['head_direction'];
$gesture = $_GET['gesture'];
$action = $_GET['action'];
$user = FilterText($_GET['user']);

if(!empty($figure))
{
    $real_figure = $figure;
}
else if(!empty($user))
{
    $real_figure = userData("figure", $user);
}

if(empty($size))
{
    $size = "b";
}

if(empty($direction))
{
    $direction = "3";
}

if(empty($head_direction))
{
    $head_direction = "3";
}

if(empty($gesture))
{
    $gesture = "sml";
}
    
echo file_get_contents('https://www.habbo.com/habbo-imaging/avatarimage?figure='.$real_figure.'&size='.$size.'&direction='.$direction.'&head_direction='.$head_direction.'&gesture='.$gesture.'&action='.$action);
?>
 

Marcel

You're the guy who stole my car
Jul 17, 2015
466
208
2 things
1. There's no figure that has been defined at all
2. Pretty sure there's no such thing as size b, I think if I'm not wrong there is s, m, and l.
 

Detox

Member
Jul 24, 2010
365
24
2 things
1. There's no figure that has been defined at all
2. Pretty sure there's no such thing as size b, I think if I'm not wrong there is s, m, and l.

How would you define a figure? Because this habbo-imaging that came with pretty much every CMS. and I notice they don't have any of it's figure files at all
 

Users who are viewing this thread

Top