Could Not Find Recgonizable digits

Help and support regarding PR:BF2 installation and in-game issues
Post Reply
ZheSol
Posts: 4
Joined: 2014-01-03 19:17

Could Not Find Recgonizable digits

Post by ZheSol »

"

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2014-01-03T13:18:47

Critical Error: An unhandled exception has occured. Details are as follows:

Could not find any recognizable digits.

Further details can be found in the following file:

[url]C:\Program Files (x86)\EA GAMES\Battlefield 2\mods\pr\bin\PRLauncher.log[/url]

Please report this error to the Project Reality Team, and include the log file in your report.

[url=https://www.realitymod.com/forum/f27-pr-bf2-support]Visit Support Forum[/url]

 > System.FormatException: Could not find any recognizable digits.
   at System.ParseNumbers.StringToInt(String s, Int32 radix, Int32 flags, Int32* currPos)
   at System.Convert.ToByte(String value, Int32 fromBase)
   at Reality.Utils.DataProtection.Unprotect(String encryptedData, String& decryptedData)
   at Reality.BF2.Keys.CDKey.(String )
   at Reality.BF2.Keys.CDKey.get_Key()
   at PRLauncher.WPF.ViewModel.MainWindowViewModel.<.ctor>b__13()
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
"


Is the message I got after starting the launcher from todays big update. Never seen it before, any thoughts? "Running Windows 8, already launched in Admin mode and tried compatibility."
LITOralis.nMd
Retired PR Developer
Posts: 5658
Joined: 2010-04-10 16:15

Re: Could Not Find Recgonizable digits

Post by LITOralis.nMd »

at Reality.BF2.Keys.CDKey.get_Key()

I believe you need to manually reenter your CDKey from the PRLauncher Support->Keys tab.?
ZheSol
Posts: 4
Joined: 2014-01-03 19:17

Re: Could Not Find Recgonizable digits

Post by ZheSol »

Where would I do that? I cannot even open the launcher. :confused:


EDIT: Okay, so I routed the problem to my reg-edit ... for whatever reason it was corrupt there and so I re-entered it and It allowed me onto the launcher. >> I went to the support tab and re-entered that cd key, the game started up but while I try to join a server It says INVALID cd key, while my cd IS valid and has been VALID for the duration of the three years i have played bf2 and pr.

But your Launcher is telling me the cd key is NOT infact VALID.

And just to confirm, I booted up reg bf2 and played a match on karkand "Brings back old memories!" lol. but anywho, this issue is really frustrating.
Last edited by ZheSol on 2014-01-03 21:11, edited 3 times in total.
Reason: EDIT:
LITOralis.nMd
Retired PR Developer
Posts: 5658
Joined: 2010-04-10 16:15

Re: Could Not Find Recgonizable digits

Post by LITOralis.nMd »

What type of BF2 do you own? Retail CD, Retail DVD Complete collection, EA Origin download, Steam download, Amazon download, etc?
Does your CDKey now, in the registry, contain dashes?
Rambo Medic
Posts: 35
Joined: 2012-05-18 03:23

Re: Could Not Find Recgonizable digits

Post by Rambo Medic »

I have the same issue. I had a CD-Key issue in the past (I have an Amazon download BF2) (Invalid CD-key). I fixed it by going to the registry value and typing in "x9392KEYS-KEYS-KEYS-KEYS-KEYS". I just checked my registry value and it still says that.

UPDATE: If you change the registry value to something invalid (something not formatted as "x9392KEYS-KEYS-KEYS-KEYS-KEYS") then PRLauncher will think that you don't have a CD-Key and ask you to manually enter one, which will of course result in you being unable to play if you've bought it from amazon. It seems that Amazon product keys don't work as hashes, only as plaintext. In my initial installation of battlefield I experienced invalid cd key, and changing my registry value from the hash to the plaintext worked until f***ing now. I'm sick of EA's drm bull****, and these f***ing cd key issues always happen, I literally had to buy two copies of the game because of EA's sh*t getting corrupted. Can you please just remove the CDKey feature from the Launcher? Atleast the CD-key checker, many issues will be resolved if you allow users to manually handle CDKey issues.
Last edited by Rambo Medic on 2014-01-03 23:41, edited 1 time in total.
AncientMan
Retired PR Developer
Posts: 5111
Joined: 2007-05-22 07:42

Re: Could Not Find Recgonizable digits

Post by AncientMan »

OK, the launcher has been updated to support Amazon style CD Keys (requires dashes in the registry), properly encrypting them in the registry, and it all works fine both in the launcher and ingame in the next version which we'll release sometime in the next 12 hours hopefully.

However, since this kind of messes up launching the game and also blocks your ability of using the updater (if you get an exception like in the first post), you will need to change your CD Key in the registry to the normal, dashless version (which of course, won't validate and work online), then download the new update when it's available and it'll fix it all up for you.

To do this, easiest way is to just delete your CD Key then re-enter it in the launcher. To delete your CD Key, you can download this program made especially for this task: http://files.ancientdev.com/prbf2/PRDeleteKey.exe

Then, when the next update hits, you then download and run the update. During the update process, the updater will fix up your CD Key in the registry so it validates, encrypts and stores it correctly to work both in the launcher and ingame.

Should then work fine and you'll have no more issues. Sounds good?
Image
Rambo Medic
Posts: 35
Joined: 2012-05-18 03:23

Re: Could Not Find Recgonizable digits

Post by Rambo Medic »

'[R-DEV wrote:AncientMan;1972331']OK, the launcher has been updated to support Amazon style CD Keys (requires dashes in the registry), properly encrypting them in the registry, and it all works fine both in the launcher and ingame in the next version which we'll release sometime in the next 12 hours hopefully.

However, since this kind of messes up launching the game and also blocks your ability of using the updater (if you get an exception like in the first post), you will need to change your CD Key in the registry to the normal, dashless version (which of course, won't validate and work online), then download the new update when it's available and it'll fix it all up for you.

To do this, easiest way is to just delete your CD Key then re-enter it in the launcher. To delete your CD Key, you can download this program made especially for this task: http://files.ancientdev.com/prbf2/PRDeleteKey.exe

Then, when the next update hits, you then download and run the update. During the update process, the updater will fix up your CD Key in the registry so it validates, encrypts and stores it correctly to work both in the launcher and ingame.

Should then work fine and you'll have no more issues. Sounds good?
Thanks AncientMan! That was crazy fast! Do you know why it is that Amazon's key's are strange and you have to mess with the registry for them? I already figured out how to get past the exception, you just put anything in the key field OTHER than a hash or a properly formatted (x9392-KEYS-KEYS-KEYS-KEYS) key and when you start up PR it will ask for your key claiming that you have no key. This is what you mean right?
AncientMan
Retired PR Developer
Posts: 5111
Joined: 2007-05-22 07:42

Re: Could Not Find Recgonizable digits

Post by AncientMan »

Rambo Medic wrote:Thanks AncientMan! That was crazy fast! Do you know why it is that Amazon's key's are strange and you have to mess with the registry for them? I already figured out how to get past the exception, you just put anything in the key field OTHER than a hash or a properly formatted (x9392-KEYS-KEYS-KEYS-KEYS) key and when you start up PR it will ask for your key claiming that you have no key. This is what you mean right?
No idea why Amazon's keys are different, guess everyone just likes to be difficult.

Yeah, whatever you can do to get past the exception and open up the thing to re-enter your CD Key will work. Easiest way though is to just delete your CD Key using the program I quickly made. Then, just re-enter your proper CD Key there, it will store it in the registry with no dashes (so you won't be able to play online as it's detected as an invalid key), then when the next update hits it will convert it to the dashed version and you'll be good to go.
Image
ZheSol
Posts: 4
Joined: 2014-01-03 19:17

Re: Could Not Find Recgonizable digits

Post by ZheSol »

That was a crazy fast response, thank you! works!!
Post Reply

Return to “PR:BF2 Support”