Offical BCStorm Help Thread

Page 30 of 40 FirstFirst ... 202223242526272829303132333435363738 ... LastLast
Results 436 to 450 of 589
  1. #436
    Proficient Member KeineChance is offline
    MemberRank
    Aug 2012 Join Date
    174Posts

    Re: Offical BCStorm Help Thread

    Hello

    I dosen't can change my name her is a screen;


    But in my database dosen't exists this username, here screen;


    Why i dosn't can change my name???

  2. #437
    Account Upgraded | Title Enabled! r63 is offline
    MemberRank
    Jan 2012 Join Date
    apt-get GPSLocation
    430Posts

    Re: Offical BCStorm Help Thread

    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.

    BASIC SQL QUERY ERRORS
    If the error you get looks something like this:
    "Error in query:
    SELECT * FROM room_links
    MySql.Data.MySqlClient.MySqlException (0x80004005): Table 'bfly.room_links' doesn't exist" you can easily fix it yourself. This error is caused because the table 'room_links' which is in the 'bfly' database does not exist, hopefully that explains what'bfly.room_links' is. To fix this you would need to either manually create the table room_links with all the columns set to the correct datatype (varchar, int, text, enum and others) or find the SQL file for the table and run the query.
    The same applies to all 'doesn't exist' errors like this.

    SIMILAR ERRORS
    I saw a similar error:
    "TokenID: 0System.ArgumentOutOfRangeException: 'minValue' cannot be greater than maxValue.
    Parameter name: minValue
    at System.Random.Next(Int32 minValue, Int32 maxValue)"
    This is caused because the 'minValue' column for a table (not sure which table) was greater than the 'maxValue'.

    -----

    An error I once found when setting up the emulator was something about "items cannot be null", I can't see anybody with this error so I can't copy and paste the error code but I know it happens. This error is caused because (in simple terms) 'null' and 'empty' and 'empty string' are totally different things, your emulator will have a fit if something is set to 'null' or a default value of 'null' when it is expecting an 'empty string' and the other way round.

    MY CLIENT DOES NOT LOAD/SHOWS ERRORS
    If you see something like this 5e418838aaa24f448dfc9f8abc7bfb9c.png check your error log, you probably have an error in the database somewhere.

    Any questions in relation to the above please ask.

  3. #438
    Enthusiast Carla Abellana is offline
    MemberRank
    Feb 2013 Join Date
    29Posts

    Re: Offical BCStorm Help Thread

    anyone pls help?

    Warning: mysql_num_rows() expects parameter 1 to be resource, string given in C:\xampp\xampp\htdocs\team.php on line 80

  4. #439
    Account Upgraded | Title Enabled! r63 is offline
    MemberRank
    Jan 2012 Join Date
    apt-get GPSLocation
    430Posts

    Re: Offical BCStorm Help Thread

    Quote Originally Posted by Carla Abellana View Post
    anyone pls help?

    Warning: mysql_num_rows() expects parameter 1 to be resource, string given in C:\xampp\xampp\htdocs\team.php on line 80
    This error is not caused by the Emulator, send me lines 77 to 83 of team.php and I will take a look.

  5. #440
    Valued Member NetVibeNet is offline
    MemberRank
    Jul 2012 Join Date
    Brisbane, AUSLocation
    117Posts

    shout Re: Offical BCStorm Help Thread ~~~ Help Needed ?

    ATTENTION:



    Hello, can people or anyone help me fix a couple of issues i have with my "BcStorm Emulator". If you can then please contact me and tell me your Skype ?

  6. #441
    Rogu3 Wreckless is offline
    MemberRank
    May 2012 Join Date
    The WastelandLocation
    985Posts

    Re: Offical BCStorm Help Thread

    What is the command :nuevavotacion and :votar used for?

  7. #442
    Enthusiast RoxHotel is offline
    MemberRank
    Aug 2011 Join Date
    28Posts

    Re: Offical BCStorm Help Thread

    Quote Originally Posted by Wreckless View Post
    What is the command :nuevavotacion and :votar used for?
    They are unuseable!

  8. #443
    Proficient Member owot is offline
    MemberRank
    Jun 2010 Join Date
    185Posts

    Re: Offical BCStorm Help Thread

    Quote Originally Posted by Wreckless View Post
    What is the command :nuevavotacion and :votar used for?
    Pretty sure it's for polls, open and close voting.. but they don't work because I think we don't have the packets for Polls.. not sure.

  9. #444
    1 + 3 + 3 = 7 EvilCoder is offline
    MemberRank
    Jul 2009 Join Date
    /home/mvdworpLocation
    334Posts

    Re: Offical BCStorm Help Thread

    Hmm... Recently setted up a new entire BETA Project.

    However... Got some strange errors.. That when i click at the big "H" button. It crashes!
    Now i checked my 2 functions and packets.. Sometimes it works.. Sometimes it does not...

    Last package id's;
    Code:
    Incoming.GoToHotelView = 2718;
    
    UNKNOWN PACKET;; 2888

    Here is my GoToHotelView;
    Code:
    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;
                }
            }
    RemoveUserFromRoom();
    Code:
    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());
                }
            }
    Help help guys! Gives me a DC often.

    Sincerely yours,
    Mikey

  10. #445
    Enthusiast Trillx is offline
    MemberRank
    Dec 2012 Join Date
    USALocation
    48Posts

    Re: Offical BCStorm Help Thread

    My version of BcStorm disconnects me right after I left click on "rooms" in client. Any help?

  11. #446
    Account Upgraded | Title Enabled! r63 is offline
    MemberRank
    Jan 2012 Join Date
    apt-get GPSLocation
    430Posts

    Re: Offical BCStorm Help Thread

    Quote Originally Posted by Trillx View Post
    My version of BcStorm disconnects me right after I left click on "rooms" in client. Any help?
    Check out the error log...

  12. #447
    Enthusiast Trillx is offline
    MemberRank
    Dec 2012 Join Date
    USALocation
    48Posts

    Re: Offical BCStorm Help Thread

    capture1.png

    This is what shows up on my emulator.

  13. #448
    Account Upgraded | Title Enabled! r63 is offline
    MemberRank
    Jan 2012 Join Date
    apt-get GPSLocation
    430Posts

    Re: Offical BCStorm Help Thread

    Quote Originally Posted by Trillx View Post
    Attachment 127209

    This is what shows up on my emulator.
    Error log would help... As I said above.

    Quote Originally Posted by r63 View Post
    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.

  14. #449
    Rogu3 Wreckless is offline
    MemberRank
    May 2012 Join Date
    The WastelandLocation
    985Posts

    Re: Offical BCStorm Help Thread

    Only certain users are unable to get on to the client? Why is this happening?
    Here is the Exception given in the EMU:
    TokenID: 0Invalid Dario bug duing user login: System.NullReferenceException: Object reference not set to an instance of an object.
    at Butterfly.HabboHotel.Items.UserItem..ctor(UInt32 Id, UInt32 BaseItem, String ExtraData, UInt32 rareid, String groupstring, UInt32 placedBy) in c:\Users\Administrator\Desktop\Bfly\BcStorm\Butterfly\HabboHotel\Items\UserItem.cs:line 32
    at Butterfly.HabboHotel.Users.UserDataManagement.UserDataFactory.GetUserData(String sessionTicket, String ip, Byte& errorCode) in c:\Users\Administrator\Desktop\Bfly\BcStorm\Butterfly\HabboHotel\Users\UserDataManagement\UserDataFactory.cs:line 248
    at Butterfly.HabboHotel.GameClients.GameClient.tryLogin(String AuthTicket) in c:\Users\Administrator\Desktop\Bfly\BcStorm\Butterfly\HabboHotel\GameClients\GameClient.cs:line 242

  15. #450
    Novice AdrianPls is offline
    MemberRank
    Apr 2013 Join Date
    1Posts

    Re: Offical BCStorm Help Thread

    Hey, It dosen't say
    Connection Recieved... Lets do this!
    Since this is a new vps, I don't know whats happening.


    I used normal DB I used YESTERDAY. On old VPS.
    Same EMU Aswell.



Advertisement