Forum > Bad Threads
Noggit help
<< < (5/5)
Gantrex1:
Still nothing. :(
Steff:
Did the logfile change? Try to update your Grafic Card Driver. If logfile stop there it cant init the video system.
schlumpf:
The application is crashing during
--- Code: --- if( !video.init( xres, yres, fullscreen, doAntiAliasing ) ) { LogError << "Initializing video failed." << std::endl; return -1; }
SDL_WM_SetCaption( "Noggit Studio - " STRPRODUCTVER, "" );
std::string wowpath( getGamePath() ); if( wowpath == "" ) { return -1; }
Log << "Game path: " << wowpath << std::endl; --- End code --- Where video.init() is the last to be called and contains
--- Code: ---bool Video::init( int xres_, int yres_, bool fullscreen_, bool doAntiAliasing_ ) { [...]
LogDebug << "GL: Version: " << glGetString( GL_VERSION ) << std::endl; LogDebug << "GL: Vendor: " << glGetString( GL_VENDOR ) << std::endl; LogDebug << "GL: Renderer: " << glGetString( GL_RENDERER ) << std::endl;
return mSupportCompression; } --- End code --- therefore has finished as it is printing everything. This means it is crashing in
--- Code: --- SDL_WM_SetCaption( "Noggit Studio - " STRPRODUCTVER, "" );
std::string wowpath( getGamePath() ); if( wowpath == "" ) { return -1; }
--- End code --- So either SDL_WM_SetCaption or getGamePath. As I trust Sam
it will most likely not crash in SDL_WM_SetCaption. It therefore crashes in
--- Code: ---std::string getGamePath() { if( !boost::filesystem::exists( "NoggIt.conf" ) ) { #ifdef _WIN32 HKEY key; DWORD t; const DWORD s( 1024 ); char temp[s]; memset(temp,0,s); LONG l = RegOpenKeyEx(HKEY_LOCAL_MACHINE,"SOFTWARE\Wow6432Node\Blizzard Entertainment\World of Warcraft",0,KEY_QUERY_VALUE,&key); if (l != ERROR_SUCCESS) l = RegOpenKeyEx(HKEY_LOCAL_MACHINE,"SOFTWARE\Blizzard Entertainment\World of Warcraft\PTR",0,KEY_QUERY_VALUE,&key); if (l != ERROR_SUCCESS) l = RegOpenKeyEx(HKEY_LOCAL_MACHINE,"SOFTWARE\Blizzard Entertainment\World of Warcraft",0,KEY_QUERY_VALUE,&key); if (l == ERROR_SUCCESS && RegQueryValueEx(key,"InstallPath",0,&t,(LPBYTE)temp,(LPDWORD)&s) == ERROR_SUCCESS) return temp; else return ""; RegCloseKey(key); #else return "/Applications/World of Warcraft/"; #endif } else { Log << "Using config file." << std::endl; return ConfigFile( "NoggIt.conf" ).read<std::string>( "Path" ); } } --- End code --- I don't think boost::filesystem::exists can crash. It therefore can either be true or false. As you are on windows, it either is
--- Code: ---Log << "Using config file." << std::endl; --- End code --- or some winapi calls.
Your log is not printing "Using config file.". Therefore, you do not have a properly named file.
It therefore seems like YOU ARE NOT HAVING A PROPER CONFIG FILE.
AND: That winapi stuff crashes on some configuration. I don't know why, but it might be protection with non-admin privileges — while I have no idea why you would need those. BUT I DON'T CARE.
You do NOT have a proper config file and noggit is crashing for some weird reason in windows specific code.
This is the last time I even remotely answer such a thread. This will be closed and moved to the bad topics as we had this problem often enough and the thread's title is just stupid and saying nothing.
Navigation
[0] Message Index
[*] Previous page
|