Page 1 of 1

Unable to start, Error on launch with missing buttons.

Posted: Sat Jun 11, 2016 7:15 pm
by epicjackson
Hi, i am unable to even start playing the game as i keep getting this error;

Code: Select all

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()
I have tried using the program to rebuild my performance counters and i have de-selected everything from read-only. I have no idea what to do from this point.

Re: Unable to start, Error on launch with missing buttons.

Posted: Sat Jun 11, 2016 7:18 pm
by Elven
That batch command should have worked, if you ran it as administrator. Nevertheless, you can try doing it manually.


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.

Re: Unable to start, Error on launch with missing buttons.

Posted: Sun Jun 12, 2016 3:35 pm
by epicjackson
I've just tried doing that and it is still throwing up the error:

Code: Select all

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: Unable to start, Error on launch with missing buttons.

Posted: Sun Jun 12, 2016 3:56 pm
by Drimus21
Do the second image on this board viewtopic.php?f=4&t=6443

Re: Unable to start, Error on launch with missing buttons.

Posted: Sun Jun 12, 2016 3:57 pm
by Elven
Try the steps before but instead of typing lodctr /r, type lodctr /e:PerfProc.