Jump to content
  • 0

error U01?


Drathian

Question

So I got this working (client) mostly, but after a few seconds after launch I get a crash with error U01, multitheft auto has not been installed correctly. I read into the source, https://code.google.com/p/mtasa-blue/so ... 309&r=5309, and it seems to be trying to read some registry entry and it won't read it no matter what I do, what is the entry it is looking for, & is it a HKCU or HKLM entry?

  
// 
// Get startup directory as saved in the registry by the launcher 
// Used in the Win32 Client only 
// 
SString SharedUtil::GetMTASABaseDir ( void ) 
{ 
    static SString strInstallRoot; 
    if ( strInstallRoot.empty () ) 
    { 
        strInstallRoot = GetRegistryValue ( "", "Last Run Location" ); 
        if ( strInstallRoot.empty () ) 
        { 
            MessageBoxUTF8 ( 0, _("Multi Theft Auto has not been installed properly, please reinstall."), _("Error")+_E("U01"), MB_OK | MB_TOPMOST ); 
            TerminateProcess ( GetCurrentProcess (), 9 ); 
        } 
    } 
    return strInstallRoot; 
  

Thanks for any help, reinstalling does not fix the issue.

*Edit* This only happens in the developmental branch 1.5.0-unstable, it works fine in 1.4.1, werid?

Link to comment

3 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...