Battlezone Universe

Battlezone Universe => Battlezone 2: 1.3 Public Beta 5.1 => Topic started by: TheJamsh on September 11, 2009, 02:22:43 PM

Title: edited .bzn AV, any tips on how to fix?
Post by: TheJamsh on September 11, 2009, 02:22:43 PM
Got this crash today, when loading in a map from TA5. I really hope this map isn't broken as im a little stuck if it is. FYI, i changed the label of an object in the .bzn file, then BZ2 crashed, so i edited the BZN file back to what it was previously.

Any ideas?


ERR |    ExceptionHandler:243  |21:20:38|7092   |---- Battlezone II Log File ----
ERR |    ExceptionHandler:243  |21:20:38|7092   |//=====================================================
ERR |    ExceptionHandler:243  |21:20:38|7093   |App version: Patch 1.3PublicBeta5.1 EDITOR Sep  1 2009 21:40:43
ERR |    ExceptionHandler:243  |21:20:38|7095   |Windows version: Windows Version: 5.1.2600 'Service Pack 2' PlatformID=2

ERR |    ExceptionHandler:243  |21:20:38|7096   |Last few battlezone.log lines (may or may not be relevant):
ERR |    ExceptionHandler:243  |21:20:38|7097   |DIAG|               ifvar:41   |21:20:34|2707   |Var[scrap.supply] Ctrl[Count] needs to be resolved
ERR |    ExceptionHandler:243  |21:20:38|7098   |DIAG|      MissionHandler:1271 |21:20:34|2708   |Expanded game UI file of 'bzgame_weapon_1024x768.cfg' not found. Using default of 'bzgame_weapon.cfg'
ERR |    ExceptionHandler:243  |21:20:38|7100   |DIAG|      MissionHandler:1276 |21:20:34|2708   |Using expanded game UI file of 'bzgame_team_1024x768.cfg'
ERR |    ExceptionHandler:243  |21:20:38|7101   |DIAG|      MissionHandler:1271 |21:20:34|2709   |Expanded game UI file of 'bzgame_keys_1024x768.cfg' not found. Using default of 'bzgame_keys.cfg'
ERR |    ExceptionHandler:243  |21:20:38|7101   |(done)

ERR |    ExceptionHandler:243  |21:20:38|7102   |Exception code: C0000005 (ACCESS VIOLATION) WRITING to 12C706E4h
ERR |    ExceptionHandler:243  |21:20:38|7103   |Message :  Exception
ERR |    ExceptionHandler:243  |21:20:38|7104   |Error occurred at 9/11/2009 21:20:40.
ERR |    ExceptionHandler:243  |21:20:38|7105   |E:\Program Files\TechAlpha\BZ2Edit.exe, run by James.
ERR |    ExceptionHandler:243  |21:20:38|7106   |E:\Program Files\TechAlpha\BZ2Edit.exe, run by James.
ERR |    ExceptionHandler:243  |21:20:38|7107   |CPU: 2 processor(s), Intel(R) Core(TM)2 Duo CPU     T7700  @ 2.40GHz
ERR |    ExceptionHandler:243  |21:20:38|7109   |     x86 Family 6 Model 15 Stepping 11
ERR |    ExceptionHandler:243  |21:20:38|7109   |Process Memory :   1630 MB free out of   2048 MB total
ERR |    ExceptionHandler:243  |21:20:38|7110   |Physical memory:   1933 MB free out of   3070 MB total
ERR |    ExceptionHandler:243  |21:20:38|7111   |Page(swap) file:   5084 MB free out of   6280 MB total
ERR |    ExceptionHandler:243  |21:20:38|7113   |This exe is using 112 MB, peak use 112 MB

ERR |    ExceptionHandler:243  |21:20:38|7114   |Fault address:  6C128957 01:00077957 C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.1_none_e163563597edeada\MSVCR90.dll
ERR |    ExceptionHandler:243  |21:20:38|7115   |
Registers:
ERR |    ExceptionHandler:243  |21:20:38|7115   |EAX:12C706E4
EBX:00000001
ECX:40A00000
EDX:FFFFFFFF
ESI:0051F1BC
EDI:0051F1F0
ERR |    ExceptionHandler:243  |21:20:38|7117   |CS:EIP:001B:6C128957
ERR |    ExceptionHandler:243  |21:20:38|7118   |SS:ESP:0023:0051F15C  EBP:0051F170
ERR |    ExceptionHandler:243  |21:20:38|7119   |DS:0023  ES:0023  FS:003B  GS:0000
ERR |    ExceptionHandler:243  |21:20:38|7120   |Flags:00210246
ERR |    ExceptionHandler:243  |21:20:38|7120   |
Call stack:
ERR |    ExceptionHandler:243  |21:20:38|7122   |Address   Return    Function            SourceFile
ERR |    ExceptionHandler:243  |21:20:38|7123   |6C128957  00000000  6C100634  _STRINGTOLD_L+0x0000039D
ERR |    ExceptionHandler:243  |21:20:38|7124   |6C100634  00000000  6C0E2DD0  vcwprintf_s+0x0000187F
ERR |    ExceptionHandler:243  |21:20:38|7125   |6C0E2DD0  00000000  6C0E2E46  scprintf_p_l+0x00000082
ERR |    ExceptionHandler:243  |21:20:38|7127   |6C0E2E46  00000000  00DB8432  sscanf_s+0x0000001C
ERR |    ExceptionHandler:243  |21:20:38|7128   |00DB8432  00000000  00DB84D5  in+0x000000A3
ERR |    ExceptionHandler:243  |21:20:38|7130   |00DB84D5  00000000  00DB885C  in+0x0000006C
ERR |    ExceptionHandler:243  |21:20:38|7131   |00DB885C  00000000  00D3F68D  in+0x0000008C
ERR |    ExceptionHandler:243  |21:20:38|7132   |00D3F68D  00000000  00D2469A  GameObject::Load+0x00000033
ERR |    ExceptionHandler:243  |21:20:38|7133   |00D2469A  00000000  00D3E766  Building::Load+0x000000F5
ERR |    ExceptionHandler:243  |21:20:38|7135   |00D3E766  00000000  00DBAFC6  GameObject::LoadAll+0x00000531
ERR |    ExceptionHandler:243  |21:20:38|7136   |00DBAFC6  00000000  00DBAB75  LoadGame+0x000002C5
ERR |    ExceptionHandler:243  |21:20:38|7137   |00DBAB75  00000000  00D123BC  LoadGame+0x00000104
ERR |    ExceptionHandler:243  |21:20:38|7139   |00D123BC  00000000  00E2B204  InitHandler::Process+0x000003B9
ERR |    ExceptionHandler:243  |21:20:38|7140   |00E2B204  00000000  00E2AC5C  RunCodes::Process+0x0000019E
ERR |    ExceptionHandler:243  |21:20:38|7141   |00E2AC5C  00000000  00CFA6C8  Main::MessagePump+0x00000051
ERR |    ExceptionHandler:243  |21:20:38|7143   |00CFA6C8  00000000  00CFA3B7  HandledMain+0x00000461
ERR |    ExceptionHandler:243  |21:20:38|7144   |00CFA3B7  00000000  00CF788D  HandledMain+0x00000150
ERR |    ExceptionHandler:243  |21:20:38|7145   |00CF788D  00000000  00E72C6B  WinMain+0x00000059
ERR |    ExceptionHandler:243  |21:20:38|7147   |00E72C6B  00000000  75D03823  memcmp+0x00000191
ERR |    ExceptionHandler:243  |21:20:38|7148   |75D03823  00000000  772FA9BD  BaseThreadInitThunk+0x00000012
ERR |    ExceptionHandler:243  |21:20:38|7149   |772FA9BD  00000000  00000000  LdrInitializeThunk+0x0000004D
ERR |    ExceptionHandler:243  |21:20:38|7150   |


EDIT: I would just like to make it known that this bug is entirely self-inflicted. However i was hoping the log would tell someone more adept at reading these things how i could set about fixing (manually if possible).

If other moderators agree i can delete this topic and create a new one for posting crashes in.
Title: Re: 1.3 Public beta 5.1 AV's
Post by: AHadley on September 11, 2009, 02:57:30 PM
Something wrong with your scrap supply setting? Looks like it, though I still can't read these damn things.
Title: Re: 1.3 Public beta 5.1 AV's
Post by: TheJamsh on September 11, 2009, 03:02:56 PM
No idea, it was a reactor wars map, but no script running...
Title: Re: 1.3 Public beta 5.1 AV's
Post by: bigbadbogie on September 11, 2009, 03:20:42 PM
Did you change the classlabel of an object that was preplaced in the map?
Title: Re: 1.3 Public beta 5.1 AV's
Post by: TheJamsh on September 11, 2009, 03:24:02 PM
nope, just literally change the label, then changed it straight back again.

The curious thing is theres like 46 of the same object... so it's definately not that.
Title: Re: 1.3 Public beta 5.1 AV's
Post by: TheJamsh on September 21, 2009, 11:25:54 AM
un-stickied this as its self-inflicted. Nothing to do with BZ2 engine.
Title: Re: edited .bzn AV, any tips on how to fix?
Post by: General BlackDragon on September 21, 2009, 03:36:46 PM
hey jamsh
send me the original map
i'll try to update it in notepad (properly)