To fix group badges, do the following:
Add this to web.config for IIS:
or this for Apache/Xampp to your .htaccess:Code:<rule name="Habbo Imaging Group Badges"> <match url="^habbo-imaging/badge/([^/]+)" ignoreCase="false" /> <action type="Rewrite" url="/habbo-imaging/badge.php?badge={R:1}" appendQueryString="false" /> </rule> <rule name="Habbo Imaging Avatarimage 1"> <match url="^habbo-imaging/avatar/([^/]+)" ignoreCase="false" /> <action type="Rewrite" url="habbo-imaging/avatarimage.php?figure={R:1}" appendQueryString="false" /> </rule> <rule name="Habbo Imaging Avatar Image 2"> <match url="^habbo-imaging/avatarimage/([^/]+)" ignoreCase="false" /> <action type="Rewrite" url="habbo-imaging/avatarimage.php?username={R:1}" appendQueryString="false" /> </rule> <rule name="Habbo Imaging Avatar Head"> <match url="^habbo-imaging/head/([^/]+)" ignoreCase="false" /> <action type="Rewrite" url="habbo-imaging/head.php?figure={R:1}" appendQueryString="false" /> </rule>
or even if you use nginx, add this:Code:RewriteEngine On RewriteRule ^habbo-imaging/badge/(.*).gif$ ./habbo-imaging/badge.php?badge=$1
Credits to @Tom Lammers ' thread for fixes.Code:location /habbo-imaging { rewrite ^/habbo-imaging/badge/(.*).gif$ /habbo-imaging/badge.php?badge=$1; }
Hello How can I use the banned words I would use the hotel ? How do I make an edit ?
@Liam check so all your values on the colums in the users table is correct, i had the same problem but fixed it when i fixed the values on the users table ( convert an gte database )
How to add an event alert command? Or if there is an emulator with this repair is the grateful if you pass me
Client loads to 76% then sends me off to the Gordon/production folder. Nothing in the emulator, and all links work. I've read through all the pages and tried everything.
I'm using my own cms (although I've seen people having the exact same issue with Uber and Shock) and I'm generating and updating the auth ticket every time the client is loaded using this code (and yes it is updating it, I'm not entirely retarded)
Client.php (it's a mess at the moment - I know)Code:public function GenerateTicket() { $ticket = "Lightshot"; $ticket .= "-" . sha1(time() . $_SERVER["REMOTE_ADDR"]); $this->update(array( 'auth_ticket' => $ticket, 'ip_last' => $_SERVER["REMOTE_ADDR"] )); return $ticket; }
<?php require_once 'global.php'; $user = new User(); $user->GenerateTicket(); - Pastebin.com
I did change the port in both the client and emu config. Tried with the original 30000 aswell.
External variables
activity.point.display.enabled=true ads.domain=localhost/mabbo/pub/client akam - Pastebin.com
I'm using .htaccess so the links without .txt or .xml are valid. The override variables are also changed.
Thanks,
Last edited by Evilsmoothie; 24-01-16 at 01:38 AM. Reason: Clearification
Usage: ticket(array($id, $username));Code:<?php function ticket($sso) { $id = $sso[0]; $name = $sso[1]; $len = strlen($id); $seeds = array(); $firstChar = rand(0, 9); $lastChar = rand(0, 9); $hash = substr(md5($id), 0, (strlen(md5($id)) - 2)); $part[0] = substr($hash, 0, ((strlen($hash)) / 5)); $part[1] = substr($hash, strlen($part[0]), (strlen($hash) / 5)); $part[2] = substr($hash, (strlen($part[1]) + 6), (strlen($hash) / 5)); $part[3] = substr($hash, (strlen($part[2]) + 12), (strlen($hash) / 5)); $part[4] = substr($hash, (strlen($part[2]) + 18), (strlen($hash) / 5)); $seeds[0] = $firstChar . $part[rand(0, 4)] . $lastChar; $time = date('gismdY'); $timeLen = strlen($time); $ts[0] = substr($time, 0, ($timeLen / 2)); $ts[1] = str_replace($ts[0], null, $time); $randomInteger[0] = rand(0, 9); $hashStamp[0] = md5($ts[0]); $seeds[1] = substr($hashStamp[0], $randomInteger[0], 4); $randomInteger[1] = rand(0, 9); $hashStamp[1] = md5($ts[1]); $seeds[2] = substr($hashStamp[1], $randomInteger[1], 4); $ip = $_SERVER['REMOTE_ADDR']; $merged = str_replace('.', null, $ip); $ipLen = strlen($merged); $change[0] = str_replace(substr($merged, 0, 1), null, $merged); $change[1] = str_replace(substr($change[0], -1), null, $change[0]); $change[2] = substr($change[1], (strlen($change[1] / 2) * -1), (strlen($change[1] / 2))); $seeds[3] = substr(md5($change[2]), rand(0, 28), 4); $nameLen = strlen($name); $nameChange[0] = substr($name, 0, ($nameLen / 2)); $nameChange[1] = str_replace(substr($name, 0, ($nameLen / 2)), null, $name); $nameChange[2] = md5($nameChange[1] . $nameChange[0]); $seeds[4] = substr($nameChange[2], rand(0, 20), 12); $return = null; foreach ($seeds as $key => $value) { $return .= $value . '-'; } return substr($return, 0, -1); }
Authentication ticket outcome: 6cc509a5-a6f1-eb6c-b85a-da3413dc5148 (looks like Habbo's, yay!)