Page 1 of 1

Game client error

Posted: Sun Apr 03, 2016 5:26 pm
by CrateDigga
Hi can anyone help me with an error. Read the most common issues thread, did everything suggested there and it didnt fix anything. Heres the error i get.

Data.myp:
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 MYPHandler.MYPHandler..ctor(String filename, del_FileTableEventHandler eventHandler_FileTable, del_FileEventHandler eventHandler_Extraction, HashDictionary hashDic)
at RoRLauncher.Client.UpdateWarData()

Re: Game client error

Posted: Sun Apr 03, 2016 6:06 pm
by Elven
If you're getting this line of code in your error log:

Code: Select all

at System.Diagnostics.PerformanceCounterLib.GetStringTable(Boolean isHelp)
at System.Diagnostics.PerformanceCounterLib.get_NameTable()
at System.Diagnostics.PerformanceCounterLib.get_CategoryTable()
You need to rebuild performance counters.

How to manually rebuild performance counters:

1. Go to start, and type in the search box "cmd". Right click cmd, and run as administrator.

2. Type in the command console, "cd c:\windows\system32", and hit enter.

3. Then type "lodctr /r", and hit enter.

3. It will take a few seconds to perform the command.

Performance counters should be rebuilt. Try loading the game, again.

[/color]