Recent Topics

Ads

Data.MYP error

Need help installing or running the game?
Check the Install Guide before posting.
Forum rules
Please read the Install Guide before posting in this section.

Sticky threads cover the most common questions. Please review them before posting to avoid duplicate topics and help save time for both players and staff.

Thank you.
User avatar
RichardC
Posts: 4

Data.MYP error

Post#1 » Sun Apr 24, 2016 12:34 am

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

Ads
User avatar
Elven
Former Staff
Posts: 5161

Re: Data.MYP error

Post#2 » Sun Apr 24, 2016 12:37 am

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]

User avatar
RichardC
Posts: 4

Re: Data.MYP error

Post#3 » Sun Apr 24, 2016 12:44 am

you are amazing!!!

User avatar
Elven
Former Staff
Posts: 5161

Re: Data.MYP error

Post#4 » Sun Apr 24, 2016 12:46 am

Happy hunting!

Soilbane
Posts: 2

Re: Data.MYP error

Post#5 » Sun Apr 24, 2016 9:12 pm

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

Soilbane
Posts: 2

Re: Data.MYP error

Post#6 » Sun Apr 24, 2016 9:20 pm

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

Landshark
Posts: 1

Re: Data.MYP error

Post#7 » Mon Aug 08, 2016 6:20 pm

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

User avatar
Yaliskah
Former Staff
Posts: 1985

Re: Data.MYP error

Post#8 » Mon Aug 08, 2016 6:38 pm

your game folder ( and files) are read only.

Ads
User avatar
Ley
Former Staff
Posts: 1541

Re: Data.MYP error

Post#9 » Mon Aug 08, 2016 9:41 pm

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

Who is online

Users browsing this forum: No registered users and 3 guests