The error says "Error server status update task caught" and i cant figure what is wrong i would love answers thanks :)![]()
The error says "Error server status update task caught" and i cant figure what is wrong i would love answers thanks :)![]()
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 - - -
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
Run this
ALTER TABLE `navigator_publics` ADD COLUMN `category` enum('0','1') NOT NULL DEFAULT '0';
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');
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.
didnt work
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.