[PlusEMU] Group Badge error

Nicholas

Just another user:)
Mar 18, 2015
58
9
Hey guys apperently my group badges do not work i am using the latest emu and the swfs recommended for it. The links work perfect. i do not see anything wrong, you can see for yourself at any help would be appreciated.
 

Brought

更加努力
Jan 14, 2013
595
203
My assumption is that you didn't change the folder to habbo-imaging from badge-fill, or that your .htaccess or web.config is incorrect/doesn't account for badges. Please check these few things. If you're unsure, post it here and I'll try to assist as best as possible.
 

Nicholas

Just another user:)
Mar 18, 2015
58
9
My assumption is that you didn't change the folder to habbo-imaging from badge-fill, or that your .htaccess or web.config is incorrect/doesn't account for badges. Please check these few things. If you're unsure, post it here and I'll try to assist as best as possible.

Well i changed it or else this link would return a 404 error and how do i fix web.config i added the text from ***** saying group badge fix
 
You can also view the habbo imaging folder by clicking this link
 

Brought

更加努力
Jan 14, 2013
595
203
Well i changed it or else this link would return a 404 error and how do i fix web.config i added the text from ***** saying group badge fix
 
You can also view the habbo imaging folder by clicking this link
Your site hasn't been working for me to verify anything. As stated before, once you can post either your web.config or your .htaccess (if the folder name wasn't the problem) then I can try to help. Kind of hard to help when doing so blindly, and not basing it off of assumptions/previous issues.
 

Nicholas

Just another user:)
Mar 18, 2015
58
9
Your site hasn't been working for me to verify anything. As stated before, once you can post either your web.config or your .htaccess (if the folder name wasn't the problem) then I can try to help. Kind of hard to help when doing so blindly, and not basing it off of assumptions/previous issues.
Ill post the web.config when i get home, thanks for trying to help. The site wprks under http:// not https://
 
Here is my web.config directly from the swf folder

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.web>
<compilation debug="false" />
</system.web>



<system.net>
<connectionManagement>
<add address="*" maxconnection="2300" />
</connectionManagement>
</system.net>

<system.webServer>
<httpErrors errorMode="Custom" existingResponse="Replace">
<remove statusCode="403" />
<error statusCode="403" responseMode="File" path="403.php" />
<remove statusCode="404" />
<error statusCode="404" responseMode="File" path="404.php" />
</httpErrors>

<rewrite>
<rules>
<rule name="Rule 1">
<match url="^habbo-imaging/badge/([^/]+)" ignoreCase="false" />
<action type="Rewrite" url="/habbo-imaging/badge.php?badge={R:1}" appendQueryString="false" />
</rule>

<rule name="Rule 2">
<match url="^habbo-imaging/avatar/([^/]+)" ignoreCase="false" />
<action type="Rewrite" url="habbo-imaging/avatarimage.php?figure={R:1}" appendQueryString="false" />
</rule>

<rule name="Rule 3">
<match url="^habbo-imaging/avatarimage/([^/]+)" ignoreCase="false" />
<action type="Rewrite" url="habbo-imaging/avatarimage.php?username={R:1}" appendQueryString="false" />
</rule>

<rule name="Rule 4">
<match url="^habbo-imaging/head/([^/]+)" ignoreCase="false" />
<action type="Rewrite" url="habbo-imaging/head.php?figure={R:1}" appendQueryString="false" />
</rule>

<rule name="Rule 5">
<match url="^gamedata/habbopages/chat/commands" ignoreCase="false" />
<action type="Rewrite" url="gamedata/habbopages/chat/commands.txt" appendQueryString="false" />
</rule>

<rule name="Rule 6">
<match url="^gamedata/habbopages/chat/options" ignoreCase="false" />
<action type="Rewrite" url="gamedata/habbopages/chat/options.txt" appendQueryString="false" />
</rule>

<rule name="Rule 7">
<match url="^gamedata/supersecret" ignoreCase="false" />
<action type="Rewrite" url="gamedata/supersecret.php" appendQueryString="true" />
</rule>

<rule name="Rule 8">
<match url="^gamedata/external_variables" ignoreCase="false" />
<action type="Rewrite" url="gamedata/external_variables.txt" appendQueryString="false" />
</rule>

<rule name="Rule 9">
<match url="^gamedata/external_flash_texts" ignoreCase="false" />
<action type="Rewrite" url="gamedata/external_flash_texts.txt" appendQueryString="false" />
</rule>

<rule name="Rule 10">
<match url="^gamedata/override/external_flash_override_texts" ignoreCase="false" />
<action type="Rewrite" url="gamedata/override/external_flash_override_texts.php" appendQueryString="false" />
</rule>

<rule name="Rule 11">
<match url="^gamedata/override/external_override_variables" ignoreCase="false" />
<action type="Rewrite" url="gamedata/override/external_override_variables.txt" appendQueryString="false" />
</rule>

<rule name="Rule 12">
<match url="^gamedata/figuredata" ignoreCase="false" />
<action type="Rewrite" url="gamedata/figuredata.xml" appendQueryString="false" />
</rule>

<rule name="Rule 13">
<match url="^gamedata/productdata" ignoreCase="false" />
<action type="Rewrite" url="gamedata/productdata.txt" appendQueryString="false" />
</rule>

<rule name="Rule 14">
<match url="^gamedata/furnidata_xml" ignoreCase="false" />
<action type="Rewrite" url="gamedata/furnidata.xml" appendQueryString="false" />
</rule>

<rule name="Rule 15">
<match url="^gamedata/habbopages/forums" ignoreCase="false" />
<action type="Rewrite" url="gamedata/habbopages/forums.txt" appendQueryString="false" />
</rule>

<rule name="API - Default">
<match url="^api/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="false" />
<action type="Rewrite" url="api.php?request={R:1}" appendQueryString="false" />
</rule>

<rule name="API - Rooms">
<match url="^api/room/([0-9_-]+)(|/)$" ignoreCase="false" />
<action type="Rewrite" url="api.php?request=room&amp;room_id={R:1}" appendQueryString="false" />
</rule>

<rule name="API - Groups">
<match url="^api/group/([0-9_-]+)(|/)$" ignoreCase="false" />
<action type="Rewrite" url="api.php?request=group&amp;group_id={R:1}" appendQueryString="false" />
</rule>

<rule name="API - Users">
<match url="^api/user/([a-zA-Z]+)/([a-zA-Z0-9_-]+)(|/)$" ignoreCase="true" />
<action type="Rewrite" url="api.php?request=user&amp;search_type={R:1}&amp;value={R:2}" appendQueryString="false" />
</rule>

<rule name="API - Random Users with limit">
<match url="^api/users/([0-9]+)(|/)$" ignoreCase="false" />
<action type="Rewrite" url="api.php?request=users&amp;amount={R:1}" appendQueryString="false" />
</rule>

<rule name="HabboPages - Dynamic">
<match url="^gamedata/habbopages/([0-9a-zA-Z]+)(|/)$" ignoreCase="false" />
<action type="Rewrite" url="gamedata/habbopages/{R:1}.txt" appendQueryString="false" />
</rule>

<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>

</rules>
</rewrite>
</system.webServer>
</configuration>
 

Nicholas

Just another user:)
Mar 18, 2015
58
9
Do you have group_items table properly filled?
The groups_items table was already filled out when i downloaded the plain db, what should it look like?

The exact result of the badge is it only shows the shape of the badge but it has no colors. I have no idea why its displaying like that.
 
So i did a test i have this simple badge id b05114s06114

i inserted it into my badge file and it returns a black circle


but when i insert it into habboons


it does not and as i see the error is occurring in the php file and it does not consist of a db connection so it is not a database error and all the files are there or else the shapes would not appear in client. So it is mostly the php file but i do know what is wrong with the file. If someone can provide their badge.php it would be totally helpful.
 
Figured it out i was using php 7 on my hotel and the php in badge.php had deprecated uses. We need to fix the functions in that file so you are able to use the latest version of php
 

Users who are viewing this thread

Top