Page 1 of 1

data.myp errors

Posted: Mon Aug 10, 2015 12:16 pm
by lumpylumps
Hi all.

So i'm getting this an error when I start the RoRlauncher. I've tried several things to fix it, but i'm frankly at a loss. Any help from someone would be GREATLY appreciated. I reaaally wanna play this so i'm a sad panda right now. haha ;)

This is the error:

Data.myp:
System.InvalidOperationException: Cannot 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 category, String counter, Boolean& categoryExists)
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've tried running as administrator and I tried disabling read only on the file (I would set it, but then it would automatically re-enable read only. Tried changing the regedit.exe and doing a workaround, but that wasn't letting me disable read-only, either.). I've also tried downloading that Performance Counter Rebuilder by JeHawk, but i'm not even sure that thing works. I DL'd it, but it just DL'd a google link to an add so not even sure what it's supposed to be doing. o_O

If someone could help me I would be very grateful!

Re: data.myp errors

Posted: Mon Aug 10, 2015 3:14 pm
by Lucenity
Good afternoon, LumpyLumps

I experienced the same issue as you and the following below helped me, although sadly I have encountered another problem. Anyway please see the below procedure on how to rebuild your performance counters.

> Go to your search function, type in CMD but do not open it as normal right click and run as a admin
> Now type in ; cd c:\windows\system32 and then hit enter
> Now type in ; lodctr /r and then again hit enter
> It may take a few seconds, if you receive the error 5 this means you hadn't ran the program as admin, so close down CMD and then run it as a admin and go through the procedure again.

This should solve the performance counter problem. Also just a little side note ( as I am not too sure if this is needed, but close your launcher as well as I didn't the first time and it didn't work but after closing the launcher and re-doing it did )

Hope to see you in game, once my problem is fixed :)
Have a good day
~Lucenity, Chris

Re: data.myp errors

Posted: Fri Aug 14, 2015 11:49 am
by Oinkboy
Thanks you Lucenity ! :)