[Help] Phoenix 3.11.0 Swfs and Error

Page 1 of 2 12 LastLast
Results 1 to 25 of 30
  1. #1
    Member Hama Runz is offline
    MemberRank
    Jul 2013 Join Date
    51Posts

    ! [Help] Phoenix 3.11.0 Swfs and Error

    Hi,
    i need help with a error i get on Phoenix 3.11.0
    i downloaded it from here: http://forum.ragezone.com/f353/sourc...11-0-a-943733/

    i used navicat to run phoenix 3.11.0.sql after that i ran FIX.sql

    and i get this error "Error in server status update task caught"

    my threaderror.err file

    PHP Code:
    03.10.2014 20:05:17Error in thread Server status update task
    System.InvalidOperationExceptionCannot load Counter Name data because an invalid index '' was read from the registry.
       
    at System.Diagnostics.PerformanceCounterLib.GetStringTable(Boolean isHelp)
       
    at System.Diagnostics.PerformanceCounterLib.get_NameTable()
       
    at System.Diagnostics.PerformanceCounterLib.get_CategoryTable()
       
    at System.Diagnostics.PerformanceCounterLib.CounterExists(String categoryString counterBooleancategoryExists)
       
    at System.Diagnostics.PerformanceCounterLib.CounterExists(String machineString categoryString counter)
       
    at System.Diagnostics.PerformanceCounter.InitializeImpl()
       
    at System.Diagnostics.PerformanceCounter..ctor(String categoryNameString counterNameString instanceNameBoolean readOnly)
       
    at System.Diagnostics.PerformanceCounter..ctor(String categoryNameString counterNameString instanceName)
       
    at Phoenix.HabboHotel.Misc.LowPriorityWorker.smethod_0() in C:\Users\NETO\Downloads\Phoenix\Phoenix v3.11.0 (14986)\Phoenix v3.11.0 (14986)\Source\Phoenix\HabboHotel\Misc\LowPriorityWorker.cs:line 18 
    and what swf pack should i use? please post a link because i want a perfect swf pack

    Thanks

    Edit: is RevCMS okay to use for Phoenix 3.11?
    Last edited by Hama Runz; 03-10-14 at 08:51 PM.


  2. #2
    Sorcerer Supreme Spot Ify is offline
    Member +Rank
    Jun 2012 Join Date
    The NetherlandsLocation
    294Posts

    Re: [Help] Phoenix 3.11.0 Swfs and Error

    Lol what is phoenix?
    never heard about that?!

  3. #3
    www.Epic Hosts.co.uk Terrum is offline
    Grand MasterRank
    Jun 2008 Join Date
    EpicHosts,co.ukLocation
    1,322Posts

    Re: [Help] Phoenix 3.11.0 Swfs and Error

    Are you using a beta version of MySQL or something? Because that error shouldn't familiarise with versions of MySQL that were compatible with Phoenix.

  4. #4
    Member Hama Runz is offline
    MemberRank
    Jul 2013 Join Date
    51Posts

    Re: [Help] Phoenix 3.11.0 Swfs and Error

    Quote Originally Posted by Terrum View Post
    Are you using a beta version of MySQL or something? Because that error shouldn't familiarise with versions of MySQL that were compatible with Phoenix.
    i use xampp 1.7.3

    - - - Updated - - -

    is that working with phoenix?
    Last edited by Hama Runz; 04-10-14 at 08:29 PM.

  5. #5
    www.Epic Hosts.co.uk Terrum is offline
    Grand MasterRank
    Jun 2008 Join Date
    EpicHosts,co.ukLocation
    1,322Posts

    Re: [Help] Phoenix 3.11.0 Swfs and Error

    You might even want to try the latest version just incase 1.7.3 is too old?

  6. #6
    Member Hama Runz is offline
    MemberRank
    Jul 2013 Join Date
    51Posts

    Re: [Help] Phoenix 3.11.0 Swfs and Error

    Quote Originally Posted by Terrum View Post
    You might even want to try the latest version just incase 1.7.3 is too old?
    i did still no luck

  7. #7
    www.Epic Hosts.co.uk Terrum is offline
    Grand MasterRank
    Jun 2008 Join Date
    EpicHosts,co.ukLocation
    1,322Posts

    Re: [Help] Phoenix 3.11.0 Swfs and Error

    It's strange, I used the same Phoenix just now on my XAMPP setup (latest version) and it works fine. Are you running it cleanly before making edits just to ensure it works? Like import the database then run the emulator to make sure it's working before making any changes to the database (might even want to try it before running the fix.sql)

  8. #8
    Member Hama Runz is offline
    MemberRank
    Jul 2013 Join Date
    51Posts

    Re: [Help] Phoenix 3.11.0 Swfs and Error

    Quote Originally Posted by Terrum View Post
    It's strange, I used the same Phoenix just now on my XAMPP setup (latest version) and it works fine. Are you running it cleanly before making edits just to ensure it works? Like import the database then run the emulator to make sure it's working before making any changes to the database (might even want to try it before running the fix.sql)
    yes i have tried but if i dont run the fix and start the emu it wont even start

    and u have to have the emulator on for 1-2 minutes before the error comes it comes after 10 secs for me :/

  9. #9
    www.Epic Hosts.co.uk Terrum is offline
    Grand MasterRank
    Jun 2008 Join Date
    EpicHosts,co.ukLocation
    1,322Posts

    Re: [Help] Phoenix 3.11.0 Swfs and Error

    I had the emulator running for at least 10 minutes and it didn't show. I'm really not sure what's causing it I'm afraid. Which OS is the machine you're running it on?

  10. #10
    Member Hama Runz is offline
    MemberRank
    Jul 2013 Join Date
    51Posts

    Re: [Help] Phoenix 3.11.0 Swfs and Error

    Quote Originally Posted by Terrum View Post
    I had the emulator running for at least 10 minutes and it didn't show. I'm really not sure what's causing it I'm afraid. Which OS is the machine you're running it on?
    Windows 8.1

    did you install mysql connector or something or is it just xampp 1.8.3?

    i use DoctorCooper's SWF pack is that okay?

    http://forum.ragezone.com/f353/updat...f-pack-833117/ link to the pack
    Last edited by Hama Runz; 05-10-14 at 10:38 PM.

  11. #11
    www.Epic Hosts.co.uk Terrum is offline
    Grand MasterRank
    Jun 2008 Join Date
    EpicHosts,co.ukLocation
    1,322Posts

    Re: [Help] Phoenix 3.11.0 Swfs and Error

    You can always try use a different SWF pack if you suspect that is the issue, but I doubt it is. Works fine on my Windows 8.1 too, and I probably have MySQL connector installed, not sure - but if you don't have it installed, try install it.

  12. #12
    Member Hama Runz is offline
    MemberRank
    Jul 2013 Join Date
    51Posts

    Re: [Help] Phoenix 3.11.0 Swfs and Error

    Quote Originally Posted by Terrum View Post
    You can always try use a different SWF pack if you suspect that is the issue, but I doubt it is. Works fine on my Windows 8.1 too, and I probably have MySQL connector installed, not sure - but if you don't have it installed, try install it.
    32 bit or 64 on the computer? and you can check if you have a connector in control panel on uninstall applications its called mysql connector i believe and can you send me a download link to the file? and how do i install it into xampp?

    Ty

  13. #13
    Mr VPS - Cheap VPS Server NOC is offline
    Grand MasterRank
    Sep 2011 Join Date
    Liverpool, UKLocation
    844Posts

    Re: [Help] Phoenix 3.11.0 Swfs and Error

    What is on your

    C:\Users\NETO\Downloads\Phoenix\Phoenix v3.11.0 (14986)\Phoenix v3.11.0 (14986)\Source\Phoenix\HabboHotel\Misc\LowPriorityWorker.cs:line 18 ?

  14. #14
    Member Hama Runz is offline
    MemberRank
    Jul 2013 Join Date
    51Posts

    Re: [Help] Phoenix 3.11.0 Swfs and Error

    Quote Originally Posted by Johno View Post
    What is on your

    C:\Users\NETO\Downloads\Phoenix\Phoenix v3.11.0 (14986)\Phoenix v3.11.0 (14986)\Source\Phoenix\HabboHotel\Misc\LowPriorityWorker.cs:line 18 ?
    in lowpriority i got this on line 18

    PHP Code:
    new PerformanceCounter("Processor""% Processor Time""_Total"); 
    the whole thing:

    PHP Code:
    using System;
    using System.Diagnostics;
    using System.Threading;
    using Phoenix.Core;
    using Phoenix.Storage;
    namespace 
    Phoenix.HabboHotel.Misc
    {
        public 
    sealed class LowPriorityWorker
        
    {
            public static 
    void smethod_0()
            {
                while (
    true)
                {
                    try
                    {
                        
    DateTime now DateTime.Now;
                        
    TimeSpan timeSpan now Phoenix.ServerStarted;
                        new 
    PerformanceCounter("Processor""% Processor Time""_Total");
                        
    int Status 1;
                        
    int UsersOnline Phoenix.GetGame().GetClientManager().ClientCount + -1;
                        
    int RoomsLoaded Phoenix.GetGame().GetRoomManager().LoadedRoomsCount;
                        
    bool flag true;
                        try
                        {
                            if (
    int.Parse(Phoenix.GetConfig().data["debug"]) == 1)
                            {
                                
    flag false;
                            }
                        }
                        catch
                        {
                        }
                        if (
    flag)
                        {
                            
    using (DatabaseClient adapter Phoenix.GetDatabase().GetClient())
                            {
                                
    adapter.ExecuteQuery(string.Concat(new object[]
                                {
                                    
    "UPDATE server_status SET stamp = UNIX_TIMESTAMP(), status = '"Status"', users_online = '",    UsersOnline"', rooms_loaded = '",    RoomsLoaded"', server_ver = '"Phoenix.PrettyVersion,    "' LIMIT 1"     }));
                                
    uint num3 = (uint)adapter.ReadInt32("SELECT users FROM system_stats ORDER BY ID DESC LIMIT 1");
                                if ((
    long)UsersOnline > (long)((ulong)num3))
                                {
                                    
    adapter.ExecuteQuery(string.Concat(new object[]
                                    {
                                        
    "UPDATE system_stats SET users = '",
                                        
    UsersOnline,
                                        
    "', rooms = '",
                                        
    RoomsLoaded,
                                        
    "' ORDER BY ID DESC LIMIT 1"
                                    
    }));
                                }
                            }
                        }
                        
    Phoenix.GetGame().GetClientManager().method_23();
                        
    Console.Title string.Concat(new object[]
                        {
                            
    "Phoenix 3.0 | Online Users: ",
                            
    UsersOnline,
                            
    " | Rooms Loaded: ",
                            
    RoomsLoaded,
                            
    " | Uptime: ",
                            
    timeSpan.Days,
                            
    " days, ",
                            
    timeSpan.Hours,
                            
    " hours and ",
                            
    timeSpan.Minutes,
                            
    " minutes"
                        
    });
                    }
                    catch (
    Exception ex)
                    {
                        
    Logging.LogThreadException(ex.ToString(), "Server status update task");
                    }
                    
    Thread.Sleep(5000);
                }
            }
        }


  15. #15
    Mr VPS - Cheap VPS Server NOC is offline
    Grand MasterRank
    Sep 2011 Join Date
    Liverpool, UKLocation
    844Posts

    Re: [Help] Phoenix 3.11.0 Swfs and Error

    Can you post a screenshot of the stucture of your system_stats table ?

  16. #16
    Member Hama Runz is offline
    MemberRank
    Jul 2013 Join Date
    51Posts

    Re: [Help] Phoenix 3.11.0 Swfs and Error

    Quote Originally Posted by Johno View Post
    Can you post a screenshot of the stucture of your system_stats table ?
    http://i.imgur.com/KUKXtut.png

  17. #17
    Mr VPS - Cheap VPS Server NOC is offline
    Grand MasterRank
    Sep 2011 Join Date
    Liverpool, UKLocation
    844Posts

    Re: [Help] Phoenix 3.11.0 Swfs and Error

    Try delete the table then query this

    CREATE TABLE IF NOT EXISTS `server_status` (
    `status` enum('0','1','2') NOT NULL DEFAULT '0',
    `users_online` int(11) NOT NULL DEFAULT '0',
    `rooms_loaded` int(11) NOT NULL DEFAULT '0',
    `server_ver` text NOT NULL,
    `stamp` double NOT NULL,
    `userpeak` int(11) NOT NULL DEFAULT '0'
    ) ENGINE=MyISAM DEFAULT CHARSET=latin1;

    --
    -- Vedos taulusta `server_status`
    --

    INSERT INTO `server_status` (`status`, `users_online`, `rooms_loaded`, `server_ver`, `stamp`, `userpeak`) VALUES
    ('0', 0, 0, 'Phoenix v3.9.0 (Build 14615)', 1346780784, 0);
    Then reboot your emulator

  18. #18
    Member Hama Runz is offline
    MemberRank
    Jul 2013 Join Date
    51Posts

    Re: [Help] Phoenix 3.11.0 Swfs and Error

    Quote Originally Posted by Johno View Post
    Try delete the table then query this



    Then reboot your emulator
    not working

  19. #19
    Mr VPS - Cheap VPS Server NOC is offline
    Grand MasterRank
    Sep 2011 Join Date
    Liverpool, UKLocation
    844Posts

    Re: [Help] Phoenix 3.11.0 Swfs and Error

    If you have team viewer inbox me your info and I will help you.

  20. #20
    Member Hama Runz is offline
    MemberRank
    Jul 2013 Join Date
    51Posts

    Re: [Help] Phoenix 3.11.0 Swfs and Error

    I still need Help!!!!

  21. #21
    www.Epic Hosts.co.uk Terrum is offline
    Grand MasterRank
    Jun 2008 Join Date
    EpicHosts,co.ukLocation
    1,322Posts

    Re: [Help] Phoenix 3.11.0 Swfs and Error

    Did you accept Johno's help? He was willing to support you through Teamviewer.

  22. #22
    Member Hama Runz is offline
    MemberRank
    Jul 2013 Join Date
    51Posts

    Re: [Help] Phoenix 3.11.0 Swfs and Error

    Quote Originally Posted by Terrum View Post
    Did you accept Johno's help? He was willing to support you through Teamviewer.
    Yes i did he didnt find the problem :)
    so i still need help.

  23. #23
    www.Epic Hosts.co.uk Terrum is offline
    Grand MasterRank
    Jun 2008 Join Date
    EpicHosts,co.ukLocation
    1,322Posts

    Re: [Help] Phoenix 3.11.0 Swfs and Error

    Okay so you've claimed to use a completely clean database without editing it. It can really only be some sort of software/service on your/the computer that is conflicting with the C# coding of the emulator.

    My next and temporary solution would be to try on a VM or try it on a different PC if you have one available (or if you're willing to spend out a little - getting a VPS is always the best thing to do).

  24. #24
    Sorcerer Supreme Spot Ify is offline
    Member +Rank
    Jun 2012 Join Date
    The NetherlandsLocation
    294Posts

    Re: [Help] Phoenix 3.11.0 Swfs and Error

    Oki the bug is pretty simple your PC does not support the PerformanceCounter.
    So just remove the line
    PHP Code:
     new PerformanceCounter("Processor""% Processor Time""_Total"); 
    I also dont know why it is there because it just make all the time a new PerformanceCounter what takes much memory because it never dispose

    So just remove that line and then is it fixed :d
    if its still not fixed do you need to PM me your skype then I help you with it :P
    - Gr SpotIfy
    @ PostUnderMe Im sure it works so send me a PM with your skype and then I fix :)
    Last edited by Spot Ify; 07-10-14 at 11:23 PM.

  25. #25
    Member Hama Runz is offline
    MemberRank
    Jul 2013 Join Date
    51Posts

    Re: [Help] Phoenix 3.11.0 Swfs and Error

    Quote Originally Posted by Spot Ify View Post
    Oki the bug is pretty simple your PC does not support the PerformanceCounter.
    So just remove the line
    PHP Code:
     new PerformanceCounter("Processor""% Processor Time""_Total"); 
    I also dont know why it is there because it just make all the time a new PerformanceCounter what takes much memory because it never dispose

    So just remove that line and then is it fixed :d
    if its still not fixed do you need to PM me your skype then I help you with it :P
    - Gr SpotIfy
    i tried that yesterday not working



Page 1 of 2 12 LastLast

Advertisement