Modcraft - The community dedicated to quality WoW modding!

Featured => Noggit => Topic started by: Elinora on July 19, 2012, 02:50:36 am

Title: Noggit Issue
Post by: Elinora on July 19, 2012, 02:50:36 am
So I returned after a few weeks being sick, and my noggit throws me this error when I open it 11 - (Noggit.cpp:130): Noggit Studio - SDL 1.2
1177 - (Video.cpp:204): [Debug] GL: Version: 4.1.0
1177 - (Video.cpp:205): [Debug] GL: Vendor: NVIDIA Corporation
1177 - (Video.cpp:206): [Debug] GL: Renderer: GeForce GTX 560/PCI/SSE2
1177 - (Noggit.cpp:87): Using config file.
1178 - (errorHandling.h:64): [Error] There was an exception of type "SIGABRT"
"Abnormal termination, such as instigated by the abort function. (Abort.)".
Please excuse the inconvenience. You may want to report this error including the log to the developers.

1201 - (StackWalker.cpp:1133): [Error] OS-Version: 6.1.7601 (Service Pack 1) 0x300-0x1
1386 - (StackWalker.cpp:1133): [Error] 01416CAC (noggitSDL1_2): (filename not available): (function-name not available)
1386 - (StackWalker.cpp:1133): [Error] 013E9067 (noggitSDL1_2): (filename not available): (function-name not available)
1386 - (StackWalker.cpp:1133): [Error] 6EE8B416 (MSVCR100): (filename not available): raise
1386 - (StackWalker.cpp:1133): [Error] 6EE8D61D (MSVCR100): (filename not available): abort
1386 - (StackWalker.cpp:1133): [Error] 01448AA0 (noggitSDL1_2): (filename not available): (function-name not available)
1386 - (StackWalker.cpp:1133): [Error] 7527003F (kernel32): (filename not available): GetProfileStringW
1386 - (StackWalker.cpp:1133): [Error] 777274DF (ntdll): (filename not available): RtlKnownExceptionFilter
1386 - (StackWalker.cpp:1133): [Error] 776E9EC5 (ntdll): (filename not available): RtlInitializeExceptionChain
Title: Re: Noggit Issue
Post by: Ascathos on July 19, 2012, 02:53:53 am
viewtopic.php?f=76&t=2001&start=15 (http://modcraft.io/viewtopic.php?f=76&t=2001&start=15" onclick="window.open(this.href);return false;)

As schlumpf explained, it stops AFTER reading the config out. It can not find the GamePath and ProjectPath or tries to read the datas out of the registry which makes no sense for the game.

Well, at least it seems that way  :ugeek:


EDIT:
Also, you are using a compiled version of the upcoming Noggit version, right ? You shouldn't switch around until a safe and debugged version is available - as you most likely know, "unstable versions" tend to have weird issues.

Why unstable ? Everyone is making many changes for different reasons, effectively mixing it together. So there can always be issues :3
Title: Re: Noggit Issue
Post by: Elinora on July 19, 2012, 03:07:09 am
But it worked for 3 months :P
Title: Re: Noggit Issue
Post by: Grianar on July 19, 2012, 06:40:30 am
I had this same problem all I did to fix it was.

1st. I named my noggit config file back to noggit_template.conf

2nd. I took my wow 3.3.5 file and named it World of Warcraft I made sure to rename my other wow files to something else.

3rd. I started noggit and it worked.
Title: Re: Noggit Issue
Post by: schlumpf on July 19, 2012, 08:04:30 am
Quote
As schlumpf explained, it stops AFTER reading the config out. It can not find the GamePath and ProjectPath or tries to read the datas out of the registry which makes no sense for the game.

That thing linked is a completely different problem!

Quote from: "Grianar"
1st. I named my noggit config file back to noggit_template.conf

Quote
1177 - (Noggit.cpp:87): Using config file.

This is NOT the problem.

Quote
2nd. I took my wow 3.3.5 file and named it World of Warcraft I made sure to rename my other wow files to something else.

That's what the config file is for: That you don't have to rename stuff. m(
Title: Re: Noggit Issue
Post by: Elinora on July 21, 2012, 03:16:54 am
But how do I fix it?
Title: Re: Noggit Issue
Post by: schlumpf on July 21, 2012, 02:54:59 pm
You did not post your config file.

Code: [Select]
 std::string wowpath( getGamePath() );
  if( wowpath == "" )
  {
    return -1;
  }

  Log << "Game path: " << wowpath << std::endl;
Code: [Select]
std::string getGamePath()
{
  if( boost::filesystem::exists( "NoggIt.conf" ) )
  {
    Log << "Using config file." << std::endl;
    return ConfigFile( "NoggIt.conf" ).read<std::string>( "Path" );
  }
}

It therefore crashes in ConfigFile::Read() or ConfigFile::ConfigFile().

You either have no Path variable set or the config file is corrupted. Solved and closed.

WHO EVER THOUGHT THAT A MANUALLY EDITED CONFIGURATION FILE WOULD BE A GOOD IDEA WAS TOTALLY WRONG.