Legend
Legend
- Joined
- Jan 27, 2007
- Messages
- 1,200
- Reaction score
- 1,069
Use this thread to ask for help regarding BCStorm, thanks!
What is the command :nuevavotacion and :votar used for?
What is the command :nuevavotacion and :votar used for?
Incoming.GoToHotelView = 2718;
UNKNOWN PACKET;; 2888
internal void GoToHotelView()
{
if (Session.GetHabbo().InRoom)
{
Room currentRoom = ButterflyEnvironment.GetGame().GetRoomManager().GetRoom(Session.GetHabbo().CurrentRoomId);
if (currentRoom != null)
{
Console.WriteLine("Starting removing user from room...");
currentRoom.GetRoomUserManager().RemoveUserFromRoom(Session, true, false);
Console.WriteLine("Success! Thread didnt crash?");
}
Session.CurrentRoomUserID = -1;
}
}
internal void RemoveUserFromRoom(GameClient Session, bool NotifyClient, bool NotifyKick)
{
try
{
if ((Session != null) && (Session.GetHabbo() != null))
{
Session.GetHabbo().GetAvatarEffectsInventoryComponent().CurrentEffect = 0;
if (NotifyClient)
{
if (NotifyKick)
{
Session.GetMessageHandler().GetResponse().Init(Outgoing.RoomError);
Session.GetMessageHandler().GetResponse().AppendInt32(0xfa8);
Session.GetMessageHandler().SendResponse();
}
Session.GetMessageHandler().GetResponse().Init(Outgoing.OutOfRoom);
Session.GetMessageHandler().SendResponse();
}
RoomUser roomUserByHabbo = this.GetRoomUserByHabbo(Session.GetHabbo().Id);
if (roomUserByHabbo != null)
{
if (roomUserByHabbo.team != Team.none)
{
this.room.GetTeamManagerForBanzai().OnUserLeave(roomUserByHabbo);
this.room.GetTeamManagerForFreeze().OnUserLeave(roomUserByHabbo);
}
if (roomUserByHabbo.montandoBol)
{
roomUserByHabbo.montandoBol = false;
RoomUser roomUserByVirtualId = this.GetRoomUserByVirtualId((int) roomUserByHabbo.montandoID);
if (roomUserByVirtualId != null)
{
roomUserByVirtualId.montandoBol = false;
roomUserByVirtualId.montandoID = 0;
}
}
if (roomUserByHabbo.sentadoBol || roomUserByHabbo.acostadoBol)
{
roomUserByHabbo.sentadoBol = false;
roomUserByHabbo.acostadoBol = false;
}
this.RemoveRoomUser(roomUserByHabbo);
if ((Session.GetHabbo() != null) && !roomUserByHabbo.IsSpectator)
{
if (roomUserByHabbo.CurrentItemEffect != ItemEffectType.None)
{
roomUserByHabbo.GetClient().GetHabbo().GetAvatarEffectsInventoryComponent().CurrentEffect = -1;
}
if (Session.GetHabbo() != null)
{
if (this.room.HasActiveTrade(Session.GetHabbo().Id))
{
this.room.TryStopTrade(Session.GetHabbo().Id);
}
Session.GetHabbo().CurrentRoomId = 0;
if (Session.GetHabbo().GetMessenger() != null)
{
Session.GetHabbo().GetMessenger().OnStatusChanged(true);
}
}
}
this.usersByUserID.Remove(roomUserByHabbo.userID);
if (Session.GetHabbo() != null)
{
this.usersByUsername.Remove(Session.GetHabbo().Username.ToLower());
}
roomUserByHabbo.Dispose();
}
}
}
catch (Exception exception)
{
Logging.LogCriticalException("Error during removing user from room:" + exception.ToString());
}
}
My version of BcStorm disconnects me right after I left click on "rooms" in client. Any help?
FIX/REASON FOR COMMON ERRORS
---------------------
NOTES BEFORE YOU START
A reasonable understanding of SQL databases and queries will help you greatly when fixing errors, if you have NO coding experience, you will struggle to setup this emulator. Also last time I checked the SQL provided with the emulator uploads with one or two small bugs which have a 'domino effect' on all the other tables.
ERROR LOG
Your emulator has log files used for logging SQL, packet and other errors. This can be found in \Butterfly Emulator\bin\Debug\Logs. Adding an image of your emulator showing a few lines of errors does not usually provide enough information to fix the problem so make sure you show the text from the log files.
Warning: mysql_result() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\app\class.engine.php on line 107
Warning: mysql_result() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\app\class.engine.php on line 107
Warning: Cannot modify header information - headers already sent by (output started at C:\xampp\htdocs\app\class.engine.php:107) in C:\xampp\htdocs\app\tpl\class.html.php on line 32
Help?when i go my localhost thats what i get. every setting is correct
Not even a BcStorm error.
When connecting I get a black screen after the hotel loads to 100% it only shows a black screen. The emu takes the connection and does nothing with it. Why is my screen just black? Tried with swfs from the official thread.
Try to clear your cache or use other swfs.
My problem:
Wired is not working, I already added the 2 functions to my db.