Page 1 of 1

Data.MYP error

Posted: Sun Apr 24, 2016 12:34 am
by RichardC
Hello everyone. Long time Fan here. Just started playing again after the big server shutdown.
So my problem I this.. Im. not sure what it means and I did search the forums, maybe I didn't look in the right place.

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()

Re: Data.MYP error

Posted: Sun Apr 24, 2016 12:37 am
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]

Re: Data.MYP error

Posted: Sun Apr 24, 2016 12:44 am
by RichardC
you are amazing!!!

Re: Data.MYP error

Posted: Sun Apr 24, 2016 12:46 am
by Elven
Happy hunting!

Re: Data.MYP error

Posted: Sun Apr 24, 2016 9:12 pm
by Soilbane
Hey there!

Had the exact same problem, tried everything that was suggested, but after entering the "lodctr /r" command, i get an error code 5 as reward. Cant really translate it properly, german system here. But it's error code 5.

In another topic there was suggested to type in "lodctr /e:PerfProc", but that doesnt get anything out. No Response, nothing. Does not work afterwards, still getting that message.

Can start the game though, but getting no serverlist (compared to a friend who got it working).

Any ideas?

Thanks in advance,

Cheers!

Joshy

Re: Data.MYP error

Posted: Sun Apr 24, 2016 9:20 pm
by Soilbane
Nevermind, i didnt run the cmd.exe as admin. My bad. :)

Thanks for your awesome support though (checked your forums and stuff), you really are into this!

Kudos to you!

Joshy

Re: Data.MYP error

Posted: Mon Aug 08, 2016 6:20 pm
by Landshark
it looks like my issue is more that it cant find the login service folder?
i succeeded at rebuilding the performance counter but no dice.
Data.myp:
System.IO.FileNotFoundException: Could not find file 'C:\Users\Aaron\Desktop\New folder\mythloginserviceconfig.xml'.
File name: 'C:\Users\Aaron\Desktop\New folder\mythloginserviceconfig.xml'
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
at RoRLauncher.Client.UpdateWarData()

Re: Data.MYP error

Posted: Mon Aug 08, 2016 6:38 pm
by Yaliskah
your game folder ( and files) are read only.

Re: Data.MYP error

Posted: Mon Aug 08, 2016 9:41 pm
by Ley
Landshark wrote:it looks like my issue is more that it cant find the login service folder?
i succeeded at rebuilding the performance counter but no dice.
Data.myp:
System.IO.FileNotFoundException: Could not find file 'C:\Users\Aaron\Desktop\New folder\mythloginserviceconfig.xml'.
File name: 'C:\Users\Aaron\Desktop\New folder\mythloginserviceconfig.xml'
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access)
at RoRLauncher.Client.UpdateWarData()
Try the launcher Elven posted in this thread
viewtopic.php?f=2&t=1165&hilit=System.I ... start=1340