-
Re: Offical BCStorm Help Thread
Quote:
Originally Posted by
Squashing
Yes i thought I need add something in .htacces like that groups?
I'm not so good with cms, but I think you need put something inside of htacces :p
@Bjork
Hey i found the problem... Lack the packet and if not mistake a structure to work perfectly!
I'll see more of this and tomorrow or saturday i tell!
-
Re: Offical BCStorm Help Thread
Thank you for looking at this.
I just need this, the sit button structure, and the checkbox "Anyone can ride" for now If you can help and post your code :)
Thank you.
-
Re: Offical BCStorm Help Thread
Yeah, i need see this checkbox of "Anyone can ride"...
Hm... Is the structure i need improve it :s
-
Re: Offical BCStorm Help Thread
Quote:
Originally Posted by
Bjork
Thank you for looking at this.
I just need this, the sit button structure, and the checkbox "Anyone can ride" for now If you can help and post your code :)
Thank you.
I also need this please!
-
Re: Offical BCStorm Help Thread
helop.. i place some furni in a room i restart emu adn i get it in my inv and in my room
-
Re: Offical BCStorm Help Thread
the group info thing doesnt show when im in a room which i made a group in, any ideas?!
-
Re: Offical BCStorm Help Thread
How can i add a badge to a furni in the catalogue.
i mean if you buy the furni you will get a badge too.
i have seen this in many different hotel like Habbo.st or so
-
Re: Offical BCStorm Help Thread
When i click on "Change Clothes" i get a DC..
How can i fix this?
-
Re: Offical BCStorm Help Thread
Quote:
Originally Posted by
Bas Milius
When i click on "Change Clothes" i get a DC..
How can i fix this?
Simple change the type of field "look" on "users" table to: "char".
-
Re: Offical BCStorm Help Thread
-
Re: Offical BCStorm Help Thread
Quote:
Originally Posted by
Bas Milius
It stands on char ;p
So, try re-upload the database ^^
-
Re: Offical BCStorm Help Thread
How can i add a badge to a furni in the catalogue.
i mean if you buy the furni you will get a badge too.
i have seen this in many different hotel like Habbo.st or so
-
Re: Offical BCStorm Help Thread
you need to add the packets.
credits: niels
Feature 1# (Buy a badge with a furni in the catalogue)
Find
Code:
if (Item.IsLimited)
{
Session.GetMessageHandler().GetResponse().AppendInt32(Item.LimitedStack);
Session.GetMessageHandler().GetResponse().AppendInt32(Item.LimitedStack - Item.LimitedSelled);
}
Session.GetMessageHandler().GetResponse().AppendInt32(0);
Session.GetMessageHandler().GetResponse().AppendBoolean(false);
Session.GetMessageHandler().SendResponse();
In HabboHotel/Catalogs/Catalog.cs
And add this:
Code:
if (Item.Badge != "")
{
Session.GetHabbo().GetBadgeComponent().GiveBadge(Item.Badge, true);
}
Go to CatalogItem.cs and find
Code:
internal readonly int LimitedStack;
After add:
Code:
internal readonly string Badge;
Now find:
Code:
this.HaveOffer = ((string)Row["offer_active"] == "1");
After add:
Code:
this.Badge = (string)Row["badge"];
Now find:
Code:
Message.AppendUInt(Id);
Message.AppendStringWithBreak(Name);
Message.AppendInt32(CreditsCost);
Message.AppendInt32(PixelsCost);
Message.AppendInt32(0);
Message.AppendBoolean(true);
After this add:
Code:
if (Badge == "")
{
Message.AppendInt32(Items.Count);
}
else
{
Message.AppendInt32(Items.Count + 1);
}
if (Badge != "")
{
Message.AppendStringWithBreak("b");
Message.AppendStringWithBreak(Badge);
}
And as last go to your database (catalog_items) and add a column with the name badge and type varchar length 255 and done.
-
Re: Offical BCStorm Help Thread
Thanks, i'm going to test it
@ The first step
in the BcStorm Emulator it looks like:
myimg.de - helpc18ef3f.png
-
Re: Offical BCStorm Help Thread
Quote:
Originally Posted by
HabboIS
Yeah... add above "int limitedsells..."
-
Re: Offical BCStorm Help Thread
Quote:
Originally Posted by
rafa95123
Yeah... add above "int limitedsells..."
Didn't work... it's stillt the same.
Quote:
Originally Posted by
rafa95123
Yeah... add above "int limitedsells..."
Didn't work... it's stillt the same.
-
1 Attachment(s)
Re: Offical BCStorm Help Thread
-
Re: Offical BCStorm Help Thread
Group badge doesn't show in client. Using revcms and habbo_im... folder is in root and htaccess code is added but still not working variables is right to i think
group.badge.url=http://127.0.0.1/habbo-imaging/badge/%imagerdata%.gif
Someone that have a fix for this and like to share :)?
-
Re: Offical BCStorm Help Thread
-
Re: Offical BCStorm Help Thread
Quote:
Originally Posted by
HabflareH
Didn't work
-
Re: Offical BCStorm Help Thread
then i dont know what to tell you? use a different CMS .. works fine for me.
-
Re: Offical BCStorm Help Thread
Here's a security patch for Groups. It adds parameters to group name and group description.
You can just search "UPDATE groups SET name" and replace the whole using block with the following:
Code:
using (IQueryAdapter adapter = ButterflyEnvironment.GetDatabaseManager().getQueryreactor())
{
adapter.setQuery(string.Concat(new object[] { "UPDATE groups SET Name = @groupname, Description = @groupdesc WHERE Id = '", guild.Id, "'" }));
adapter.addParameter("groupname", guild.Name);
adapter.addParameter("groupdesc", guild.Description);
adapter.runQuery();
}
I will post other security fixes later as I find them. These are more important than bugs I highly recommend you take these seriously.
-
Re: Offical BCStorm Help Thread
Quote:
Originally Posted by
Moogly
Here's a
security patch for Groups. It adds parameters to group name and group description.
You can just search "UPDATE groups SET name" and replace the whole using block with the following:
Code:
using (IQueryAdapter adapter = ButterflyEnvironment.GetDatabaseManager().getQueryreactor())
{
adapter.setQuery(string.Concat(new object[] { "UPDATE groups SET Name = @groupname, Description = @groupdesc WHERE Id = '", guild.Id, "'" }));
adapter.addParameter("groupname", guild.Name);
adapter.addParameter("groupdesc", guild.Description);
adapter.runQuery();
}
I will post other security fixes later as I find them. These are more important than bugs I highly recommend you take these seriously.
Moogly can u fix the bug that you cannot place wall items. and you cant push,pul ;/
-
Re: Offical BCStorm Help Thread
Quote:
Originally Posted by
HabflareH
Moogly can u fix the bug that you cannot place wall items. and you cant push,pul ;/
People already released fixes to them please look in the release thread.
Quote:
Originally Posted by
Moogly
Here's a
security patch for Groups. It adds parameters to group name and group description.
You can just search "UPDATE groups SET name" and replace the whole using block with the following:
Code:
using (IQueryAdapter adapter = ButterflyEnvironment.GetDatabaseManager().getQueryreactor())
{
adapter.setQuery(string.Concat(new object[] { "UPDATE groups SET Name = @groupname, Description = @groupdesc WHERE Id = '", guild.Id, "'" }));
adapter.addParameter("groupname", guild.Name);
adapter.addParameter("groupdesc", guild.Description);
adapter.runQuery();
}
I will post other security fixes later as I find them. These are more important than bugs I highly recommend you take these seriously.
Fnx MOOGLY!!!!!! Gonna test now!
-
Re: Offical BCStorm Help Thread
Quote:
Originally Posted by
Kristopher
People already released fixes to them please look in the release thread.
Fnx MOOGLY!!!!!! Gonna test now!
found nothing with placing wall items or push and pull,...... dont be telling shit now.