Im getting a very unknown error

Results 1 to 10 of 10
  1. #1
    Novice xolly3 is offline
    MemberRank
    May 2014 Join Date
    4Posts

    Im getting a very unknown error

    The error says "Error server status update task caught" and i cant figure what is wrong i would love answers thanks :)


  2. #2
    Don't mind me, i'm nobody Jambokill is offline
    MemberRank
    Dec 2010 Join Date
    PhilippinesLocation
    264Posts

    Re: Im getting a very unknown error

    Quote Originally Posted by xolly3 View Post
    The error says "Error server status update task caught" and i cant figure what is wrong i would love answers thanks :)
    Check your emulator logs, or the exceptions and post it here.

  3. #3
    Novice xolly3 is offline
    MemberRank
    May 2014 Join Date
    4Posts

    Re: Im getting a very unknown error

    19/07/2015 20:50:06: Error in thread Server status update task:
    System.InvalidOperationException: Category does not exist.
    at System.Diagnostics.PerformanceCounterLib.CounterExists(String machine, String category, String counter)
    at System.Diagnostics.PerformanceCounter.InitializeImpl()
    at System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName, Boolean readOnly)
    at System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName)
    at Phoenix.HabboHotel.Misc.LowPriorityWorker.smethod_0() in c:\Users\Makennan\Desktop\3.11.0\Phoenix\HabboHotel\Misc\LowPriorityWorker.cs:line 18

    - - - Updated - - -

    Quote Originally Posted by Jambokill View Post
    Check your emulator logs, or the exceptions and post it here.
    19/07/2015 20:50:06: Error in thread Server status update task:
    System.InvalidOperationException: Category does not exist.
    at System.Diagnostics.PerformanceCounterLib.CounterExists(String machine, String category, String counter)
    at System.Diagnostics.PerformanceCounter.InitializeImpl()
    at System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName, Boolean readOnly)
    at System.Diagnostics.PerformanceCounter..ctor(String categoryName, String counterName, String instanceName)
    at Phoenix.HabboHotel.Misc.LowPriorityWorker.smethod_0() in c:\Users\Makennan\Desktop\3.11.0\Phoenix\HabboHotel\Misc\LowPriorityWorker.cs:line 18

  4. #4
    Don't mind me, i'm nobody Jambokill is offline
    MemberRank
    Dec 2010 Join Date
    PhilippinesLocation
    264Posts

    Re: Im getting a very unknown error

    Run this
    ALTER TABLE `navigator_publics` ADD COLUMN `category` enum('0','1') NOT NULL DEFAULT '0';

  5. #5
    Novice xolly3 is offline
    MemberRank
    May 2014 Join Date
    4Posts

    Re: Im getting a very unknown error

    Quote Originally Posted by Jambokill View Post
    Run this
    It says its duplicating then

    - - - Updated - - -

    It's something in server_status table

  6. #6
    Don't mind me, i'm nobody Jambokill is offline
    MemberRank
    Dec 2010 Join Date
    PhilippinesLocation
    264Posts

    Re: Im getting a very unknown error

    Try this:
    DROP TABLE IF EXISTS `system_stats`;
    CREATE TABLE `system_stats` (
    `id` int(5) NOT NULL AUTO_INCREMENT,
    `date` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
    `users` int(5) NOT NULL DEFAULT '0',
    `rooms` int(5) NOT NULL DEFAULT '0',
    PRIMARY KEY (`id`)
    ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;

    -- ----------------------------
    -- Records of system_stats
    -- ----------------------------
    INSERT INTO `system_stats` VALUES ('1', '2011-01-14 20:51:56', '1', '0');

  7. #7
    <insert title here> Shorty is offline
    MemberRank
    Feb 2007 Join Date
    United KingdomLocation
    1,861Posts

    Re: Im getting a very unknown error

    What operating system are you trying to run the program on?
    Have you got UAC disabled or enabled?
    Have you ran the program as an Administrator?

    Try the following:
    Enable UAC (if disabled) and run the program as an Administrator.

  8. #8
    Novice xolly3 is offline
    MemberRank
    May 2014 Join Date
    4Posts

    Re: Im getting a very unknown error

    didnt work

  9. #9
    Apprentice killersaif is offline
    MemberRank
    Jan 2014 Join Date
    23Posts

    Re: Im getting a very unknown error

    Mind screenshot your database tables for us?

  10. #10
    <insert title here> Shorty is offline
    MemberRank
    Feb 2007 Join Date
    United KingdomLocation
    1,861Posts

    Re: Im getting a very unknown error

    Quote Originally Posted by killersaif View Post
    Mind screenshot your database tables for us?
    It's nothing to-do with the database, if you've no clue what you're talking about don't reply to help threads pretending you can help by wasting a persons time.

    The error is on LowPriorityWorker.cs of Line 18, which is as follows:
    new PerformanceCounter("Processor", "% Processor Time", "_Total");

    Category is "% Processor Time" which is causing the error, I've not come across the error so I've actually no clue how to help, however I don't go around asking for screenshots of databases.

    Go figure.

    ** Edit **

    If you've got the source, locate that line of code and replace "Processor" with "Processor Information" to look as follows;
    new PerformanceCounter("Processor Information", "% Processor Time", "_Total");
    Last edited by Shorty; 23-07-15 at 08:37 PM.



Advertisement