Battlezone Universe

Battlezone Universe => Battlezone 2 => Topic started by: lucky_foot on October 23, 2008, 06:42:56 PM

Title: BZ2 CR Mod Error
Post by: lucky_foot on October 23, 2008, 06:42:56 PM
Hi!

Anyone know the reason for this error? I'm developing Cerberi Revenge using 1.3pb4a and it's Mission #4 that's giving me the trouble.


ERR |GLOBAL          |    ExceptionHandler:244  |20:59:54|91658  |CS:EIP:001B:004CFA2E
ERR |GLOBAL          |    ExceptionHandler:244  |20:59:54|91667  |SS:ESP:0023:022EFB90  EBP:022EFCF8
ERR |GLOBAL          |    ExceptionHandler:244  |20:59:54|91675  |DS:0023  ES:0023  FS:003B  GS:0000
ERR |GLOBAL          |    ExceptionHandler:244  |20:59:54|91684  |Flags:00210297
ERR |GLOBAL          |    ExceptionHandler:244  |20:59:54|91692  |
Call stack:
ERR |GLOBAL          |    ExceptionHandler:244  |20:59:54|91700  |Address   Return    Function            SourceFile
ERR |GLOBAL          |    ExceptionHandler:244  |20:59:55|91787  |004CFA2E  00000000  00496419  GroupPanel::ObjectChange+0x00000006
ERR |GLOBAL          |    ExceptionHandler:244  |20:59:55|91848  |00496419  00000000  0048F643  GameObjectEvent::Send+0x00000018
ERR |GLOBAL          |    ExceptionHandler:244  |20:59:55|91898  |0048F643  00000000  0049603A  GameObject::SetTeam+0x00000033
ERR |GLOBAL          |    ExceptionHandler:244  |20:59:55|91934  |0049603A  00000000  00490DBB  GameObjectClass::Build+0x0000003B
ERR |GLOBAL          |    ExceptionHandler:244  |20:59:55|91998  |00490DBB  00000000  0051B693  GameObject::LoadAll+0x00000481
ERR |GLOBAL          |    ExceptionHandler:244  |20:59:55|92066  |0051B693  00000000  0051B2DB  LoadGame+0x000002B3
ERR |GLOBAL          |    ExceptionHandler:244  |20:59:55|92085  |0051B2DB  00000000  00465986  LoadGame+0x000000AD
ERR |GLOBAL          |    ExceptionHandler:244  |20:59:55|92141  |00465986  00000000  0057DDAF  InitHandler::Process+0x00000332
ERR |GLOBAL          |    ExceptionHandler:244  |20:59:55|92183  |0057DDAF  00000000  0057D8B4  RunCodes::Process+0x000001BF
ERR |GLOBAL          |    ExceptionHandler:244  |20:59:55|92226  |0057D8B4  00000000  0045B598  Main::MessagePump+0x00000064
ERR |GLOBAL          |    ExceptionHandler:244  |20:59:55|92259  |0045B598  00000000  0045B28D  HandledMain+0x000003F6
ERR |GLOBAL          |    ExceptionHandler:244  |20:59:55|92275  |0045B28D  00000000  00458BC8  HandledMain+0x000000EB
ERR |GLOBAL          |    ExceptionHandler:244  |20:59:55|92319  |00458BC8  00000000  0056DBFD  WinMain+0x00000059
ERR |GLOBAL          |    ExceptionHandler:244  |20:59:55|92362  |0056DBFD  00000000  7C816FD7  fabs+0x00000191
ERR |GLOBAL          |    ExceptionHandler:244  |20:59:55|92376  |7C816FD7  00000000  00000000  RegisterWaitForInputIdle+0x00000049
ERR |GLOBAL          |    ExceptionHandler:244  |20:59:55|92384  |
Title: Re: BZ2 CR Mod Error
Post by: bigbadbogie on October 23, 2008, 07:52:40 PM
When and how does it happen? That could possibly mean 20 different things.
Title: Re: BZ2 CR Mod Error
Post by: lucky_foot on October 24, 2008, 12:27:42 PM
Dang, Thought that information was posted (After five years here I should know how to properly post a bug report :D)

Simply happens when I launch the Fourth mission either by run command or from the single player menu, it loads everything until it hit's the object's and then crashes to that error.
Title: Re: BZ2 CR Mod Error
Post by: Nielk1 on October 24, 2008, 02:28:32 PM
What if you launch with the noscript command line or after removing the DLL?

It might help diagnose the problem through process of elimination.
Title: Re: BZ2 CR Mod Error
Post by: lucky_foot on October 24, 2008, 03:14:52 PM
no script command. Keep forgetting about that one. Will do.
Title: Re: BZ2 CR Mod Error
Post by: bigbadbogie on October 24, 2008, 08:04:41 PM
It could mean that something preplaced on the map is either missing or has been changed to another object class.

If you saved it in ASCII format, it might be an idea to look through it in notepad.

The position on the loading bar when the game crashes may help you narrow down the location of your problem in the ASCII file.
Title: Re: BZ2 CR Mod Error
Post by: lucky_foot on October 27, 2008, 12:58:40 PM
Never thought of that. :: crosses fingers :: I hope it was saved in ASCII. :D
Title: Re: BZ2 CR Mod Error
Post by: lucky_foot on November 03, 2008, 01:50:12 PM
Hey,

Update on the bug error here. I gave you the wrong stuff from the log. A window pops open when it crashes with the bug information (funny I never realized that).

Here's what it said:


---- Battlezone II Log File ----
//=====================================================
App version: Patch 1.3pb4a Aug  4 2008 12:08:55
Windows version: Windows Version: 5.1.2600 'Service Pack 2' PlatformID=2

Last few battlezone.log lines (may or may not be relevant):
DIAG|GLOBAL          |         ParameterDB:208  |15:52:14|13516  |Last few opened ODFs:
ERR |GLOBAL          |       ConsoleHelper:30   |15:52:14|13516  |ERROR - could not find 'StatsPanel.ColumnTitle0'. Please fix custom .cfg!
DIAG|GLOBAL          |         ParameterDB:208  |15:52:14|13516  |Last few opened ODFs:
DIAG|GLOBAL          |      MissionHandler:1432 |15:52:14|13516  |Expanded game UI file of 'bzgame_keys_640x480.cfg' not found. Using default of 'bzgame_keys.cfg'
(done)

Exception code: C0000005 (ACCESS VIOLATION) READING from 00000F34h
Message :  Exception
Error occurred at 11/1/2008 15:52:16.
C:\Battlezone II-14a\bzone.exe, run by Compaq_Administrator.
1 processor(s), type 586.
Process Memory :   1793 MB free out of   2048 MB total
Physical memory:    532 MB free out of    959 MB total
Page(swap) file:   1207 MB free out of   1545 MB total
Fault address:  004CFA2E 01:000CEA2E C:\Battlezone II-14a\bzone.exe

Registers:
EAX:00000000
EBX:0B5BA8E0
ECX:0B5BA8E0
EDX:06D2F028
ESI:06B63CF0
EDI:00D607E8
CS:EIP:001B:004CFA2E
SS:ESP:0023:022EFB90  EBP:022EFCF8
DS:0023  ES:0023  FS:003B  GS:0000
Flags:00210297

Call stack:
Address   Return    Function            SourceFile
004CFA2E  00000000  00496419  GroupPanel::ObjectChange+0x00000006
00496419  00000000  0048F643  GameObjectEvent::Send+0x00000018
0048F643  00000000  0049603A  GameObject::SetTeam+0x00000033
0049603A  00000000  00490DBB  GameObjectClass::Build+0x0000003B
00490DBB  00000000  0051B693  GameObject::LoadAll+0x00000481
0051B693  00000000  0051B2DB  LoadGame+0x000002B3
0051B2DB  00000000  00465986  LoadGame+0x000000AD
00465986  00000000  0057DDAF  InitHandler::Process+0x00000332
0057DDAF  00000000  0057D8B4  RunCodes::Process+0x000001BF
0057D8B4  00000000  0045B598  Main::MessagePump+0x00000064
0045B598  00000000  0045B28D  HandledMain+0x000003F6
0045B28D  00000000  00458BC8  HandledMain+0x000000EB
00458BC8  00000000  0056DBFD  WinMain+0x00000059
0056DBFD  00000000  7C816FD7  fabs+0x00000191
7C816FD7  00000000  00000000  RegisterWaitForInputIdle+0x00000049



does this help anyone recognize the bug cause going through the .bzn file I couldn't find anything wrong.
Title: Re: BZ2 CR Mod Error
Post by: Nielk1 on November 03, 2008, 03:03:43 PM
Looks like the same info to me. What we normally look at is the 'stack'.

From the last few lines of the log it also included I think you need to throw out all your custom CFGs, at least for now.
Title: Re: BZ2 CR Mod Error
Post by: lucky_foot on November 03, 2008, 06:02:02 PM
Okay Doke.