BcStorm Bugs can you fix it? :P
Hey Guys my BcStorm Emu Works nearly perfect but there still some bugs that has need to be fixed
Maybe you can help me:
1) Trophies texts are not submitted
2) How to fix the Friendstream ? Everytime I want to open it, it disconnects my Client
3) Is SnowStorm fixed ? Or some other Games ? Would be nice
I hope you can help Thanks !
Re: BcStorm Bugs can you fix it? :P
Hey,
1 Your first problem should really work. It works fine for me and I actually think we have the same emulator :).
2 This is a problem in your database and external_variabels. Import the table again where stream messages are saved and try to edit the external_vars. (Search for stream and you should know what I mean)
3 This game will work about a week I think. I'm working on it :).
Re: BcStorm Bugs can you fix it? :P
I have still problems with Friendstream, and If I lock the Room I cannot Unlock it?!
Please Help !!
Re: BcStorm Bugs can you fix it? :P
Quote:
Originally Posted by
SilWare
I have still problems with Friendstream, and If I lock the Room I cannot Unlock it?!
Please Help !!
Originally Posted by leenster http://forum.ragezone.com/images/sty...post-right.png
Fix for stream images:
First add this to your htaccess
PHP Code:
RewriteRule ^habbo-imaging/head/([^/]+) /habbo-imaging/head.php?figure=$1
In GameClientMessageHandler.cs find
PHP Code:
if (((int) row["Type"]) == 0)
{
message.AppendString("http://habteen.com/heads/look.gif");
}
Replace that with
PHP Code:
if (((int)row["Type"]) == 0)
{
string im = ButterflyEnvironment.StreamLink + ButterflyEnvironment.GetGame().GetClientManager().GetLookById(Convert.ToUInt32(row["FriendId"])) + ".gif";
message.AppendString((string)im);
}
In GameClientManager.cs find
PHP Code:
private void GiveAllOnlineCredits(int amount)
Above that add
PHP Code:
internal string GetLookById(uint Id)
{
using (IQueryAdapter adapter = ButterflyEnvironment.GetDatabaseManager().getQueryreactor())
{
adapter.setQuery("SELECT look FROM users WHERE id = " + Id);
return adapter.getString();
}
}
In Habbo-Imaging create a file called head.php and put this PHP code in there
PHP Code:
<?php
header('Content-Type: image/gif');
$figure = str_replace(".gif","",$_GET['figure']);
$url = 'http://habbo.com/habbo-imaging/avatarimage?figure='.$figure;
$image = imagecreatetruecolor(64, 60);
imagealphablending($image, false);
$col=imagecolorallocatealpha($image,255,255,255,127);
imagefilledrectangle($image,0,0,485, 500,$col);
imagealphablending($image,true);
$img_avatar = imagecreatefrompng($url);
imagecopyresampled($image, $img_avatar, 0, 0, 0, 0, 64, 60, 64, 60);
imagealphablending($image,true);
$fn = md5(microtime()."head").".png";
imagealphablending($image,false);
imagesavealpha($image,true);
imagepng($image);
imagedestroy($image);
?>
In your emulator configuration
PHP Code:
stream.link=http://YOUR_URL/habbo-imaging/avatarimage.php?figure=
http://hubbahubba.no-ip.biz/downloads/screens/head.png