I have a map that I spent a good bit of time on since the last save and went to load it up and got an AV.
Its saved as ascii right now so maybe i can get away with changing something in the bzn?
here's my logERR | AiMission:212 |19:53:10|1649 |Could not load DLL 'missions\blankEditor.dll', err = 126 (0x0000007E)
ERR | AiMission:215 |19:53:10|1649 | Error 126 translates to 'The specified module could not be found.
'
DIAG| LoadSaveGame:346 |19:53:10|1661 |Loaded from file ST3s.bzn
DIAG| runcodes:154 |19:53:10|1670 |[View] Entering run code [COCKPIT]
DIAG| runcodes:154 |19:53:10|1671 |[Main] Entering run code [MISSION]
DIAG| icroot:193 |19:53:10|1675 |Root window now 1024x768
DIAG| runcodes:154 |19:53:10|1678 |[Mission] Entering run code [RUN]
ERR | ExceptionHandler:243 |19:53:10|1681 |---- Battlezone II Log File ----
ERR | ExceptionHandler:243 |19:53:10|1681 |//=====================================================
ERR | ExceptionHandler:243 |19:53:10|1682 |App version: Patch 1.3TechAlpha5 EDITOR Apr 23 2009 13:39:30
ERR | ExceptionHandler:243 |19:53:10|1682 |Windows version: Windows Version: 5.1.2600 'Service Pack 3' PlatformID=2
ERR | ExceptionHandler:243 |19:53:10|1683 |Last few battlezone.log lines (may or may not be relevant):
ERR | ExceptionHandler:243 |19:53:10|1683 |DIAG| runcodes:154 |19:53:10|1670 |[View] Entering run code [COCKPIT]
ERR | ExceptionHandler:243 |19:53:10|1684 |DIAG| runcodes:154 |19:53:10|1671 |[Main] Entering run code [MISSION]
ERR | ExceptionHandler:243 |19:53:10|1684 |DIAG| icroot:193 |19:53:10|1675 |Root window now 1024x768
ERR | ExceptionHandler:243 |19:53:10|1685 |DIAG| runcodes:154 |19:53:10|1678 |[Mission] Entering run code [RUN]
ERR | ExceptionHandler:243 |19:53:10|1685 |(done)
ERR | ExceptionHandler:243 |19:53:10|1686 |Exception code: C0000005 (ACCESS VIOLATION) READING from 0000000Ch
ERR | ExceptionHandler:243 |19:53:10|1687 |Message : Exception
ERR | ExceptionHandler:243 |19:53:10|1687 |Error occurred at 6/20/2009 19:53:12.
ERR | ExceptionHandler:243 |19:53:10|1688 |C:\Program Files\Battlezone II\bzv13ta5\bz2edit.exe, run by Mike.
ERR | ExceptionHandler:243 |19:53:10|1688 |C:\Program Files\Battlezone II\bzv13ta5\bz2edit.exe, run by Mike.
ERR | ExceptionHandler:243 |19:53:10|1689 |CPU: 4 processor(s), Intel(R) Core(TM)2 Quad CPU Q6700 @ 2.66GHz
ERR | ExceptionHandler:243 |19:53:10|1689 | x86 Family 6 Model 15 Stepping 11
ERR | ExceptionHandler:243 |19:53:10|1690 |Process Memory : 1848 MB free out of 2048 MB total
ERR | ExceptionHandler:243 |19:53:10|1690 |Physical memory: 2317 MB free out of 2815 MB total
ERR | ExceptionHandler:243 |19:53:10|1691 |Page(swap) file: 4377 MB free out of 4704 MB total
ERR | ExceptionHandler:243 |19:53:10|1692 |This exe is using 49 MB, peak use 49 MB
ERR | ExceptionHandler:243 |19:53:10|1692 |Fault address: 00439F1B 01:00038F1B C:\Program Files\Battlezone II\bzv13ta5\bz2edit.exe
ERR | ExceptionHandler:243 |19:53:10|1692 |
Registers:
ERR | ExceptionHandler:243 |19:53:10|1692 |EAX:00000000
EBX:088B0B70
ECX:00000000
EDX:007140AC
ESI:0000000F
EDI:088B0F0C
ERR | ExceptionHandler:243 |19:53:10|1692 |CS:EIP:001B:00439F1B
ERR | ExceptionHandler:243 |19:53:10|1693 |SS:ESP:0023:0206FA30 EBP:0206FAAC
ERR | ExceptionHandler:243 |19:53:10|1693 |DS:0023 ES:0023 FS:003B GS:0000
ERR | ExceptionHandler:243 |19:53:10|1694 |Flags:00010246
ERR | ExceptionHandler:243 |19:53:10|1694 |
Call stack:
ERR | ExceptionHandler:243 |19:53:10|1695 |Address Return Function SourceFile
ERR | ExceptionHandler:243 |19:53:10|1696 |00439F1B 00000000 00433119 UserProcess::DoWait+0x0000016C
ERR | ExceptionHandler:243 |19:53:10|1697 |00433119 00000000 00432F00 UnitProcess::DoState+0x0000005C
ERR | ExceptionHandler:243 |19:53:10|1697 |00432F00 00000000 00401889 UnitProcess::Execute+0x000000A2
ERR | ExceptionHandler:243 |19:53:10|1698 |00401889 00000000 0046323E AiMission::Update+0x000001F7
ERR | ExceptionHandler:243 |19:53:10|1699 |0046323E 00000000 00463D55 MoveOneTurn+0x00000128
ERR | ExceptionHandler:243 |19:53:10|1699 |00463D55 00000000 00576510 MissionHandler::State::RunState::Process+0x00000333
ERR | ExceptionHandler:243 |19:53:10|1700 |00576510 00000000 004619BE RunCodes::Process+0x0000019E
ERR | ExceptionHandler:243 |19:53:10|1701 |004619BE 00000000 00576510 MissionHandler::Process+0x00000011
ERR | ExceptionHandler:243 |19:53:10|1702 |00576510 00000000 00575F68 RunCodes::Process+0x0000019E
ERR | ExceptionHandler:243 |19:53:10|1702 |00575F68 00000000 00449D60 Main::MessagePump+0x00000051
ERR | ExceptionHandler:243 |19:53:10|1703 |00449D60 00000000 00449A4F HandledMain+0x0000043B
ERR | ExceptionHandler:243 |19:53:10|1703 |00449A4F 00000000 004470E2 HandledMain+0x0000012A
ERR | ExceptionHandler:243 |19:53:10|1704 |004470E2 00000000 005BAED7 WinMain+0x00000059
ERR | ExceptionHandler:243 |19:53:10|1705 |005BAED7 00000000 7C817067 memcmp+0x00000191
ERR | ExceptionHandler:243 |19:53:10|1706 |7C817067 00000000 00000000 RegisterWaitForInputIdle+0x00000049
ERR | ExceptionHandler:243 |19:53:10|1706 |
the only weird thing that happened with this save was that the save before I had changed the edge_path while i was outside and it flung me around for about 20 minutes.
Were you / had you changed the sky recently?
yeah it's the chill preset
Changing the sky can cause an AV, but if you were using a preset I'm not sure that would do it.
so how would i go about fixing it if it were the sky? I tried using a .SKY from a previous save and no dice
First let us know if the map launches with nobodyhome, which ignores the BZN.
you might have youre BZN pointing to a non-existant object?
If you still have the log, can you post say 30 lines from before the AV?
I dont know of any dll called: blankEditor.dll
ERR | AiMission:212 |19:53:10|1649 |Could not load DLL 'missions\blankEditor.dll', err = 126 (0x0000007E)
Is it a custom dll and if so, have you tried changing it to nothing/vanilla dll ?
nobodyhome worked thanks NK.
I do believe Blank.dll which is the dll it calls for is non-existant but no other map that has that dll AVs so i dont think it is a problem.
Post your BZN file and we'll debug it.
I say we, I mean the more serious mappers who open BZNs with Notepad and poke around.
there werent any objects on the map yet, the only thing i lost was the edge_path so its fine. thanks though
Depends how you save a .bzn anyway. ALWAYS save in ASCii, dont know why binary is even there still.
Chainging .bzn files will cause crashes unless you know what youre doing.
yes i've already gotten into the habit of editing pathpoints and objects in the bzn file. Specifically, it was easier to go through and text search to remove the hadean portals in that Warzone Hills map than it was to go and erase them with the editor. Also alot easier to rename pathpoints
also as far as i know its the only way to change your pilot in the editor
i think binary is still there for the finished map. If i'm not mistaken the binary file should have a faster load time since you wouldn't have to employ some kind of scanner code to translate it from human readable text.
Problem with Binary is, if any of youre pre-placed units or pathpoints have spaces in there name (NOT underscores), then the space and any text following it will be removed on a binary save. Thats why some of the campaign mission only haev the first word of their objects name.
Binary loads faster, but in TA5, it loads so fast you wouldnt care much anyway.
you sure thats still a problem in ta5? it seems to work for me on objects and pathpoints.
also looks like binary saves are a little less than half the size of ascii saves
edit:
actually if i remember correctly there used to be a problem with binary bzns over 8 characters long. i'll have to go check that out.
edit2:
now that ive checked it in 1.2 it was actually the other way around. The ASCII saves couldn't save a name with spaces where the binary ones could. This actually makes alot more sense to me from a programming POV. Since the scanner would be using a space as one of the delimiters and so when it got to it it would think that was the end of the value.
the long name issue used to occur with both ascii and binary saves and seems to have been fixed somewhere along the way
Quote from: TheJamsh on June 26, 2009, 06:00:26 PM
Problem with Binary is, if any of youre pre-placed units or pathpoints have spaces in there name (NOT underscores), then the space and any text following it will be removed on a binary save. Thats why some of the campaign mission only haev the first word of their objects name.
Binary loads faster, but in TA5, it loads so fast you wouldnt care much anyway.
You are COMPLETELY WRONG Jamsh. So utterly wrong you need to go sit in a corner for a day or two and just stop posting...
The ASCII saving USED TO HAVE that issue, not the BINARY, and NOT CURRENTLY.
Everything i post lately is wrong... Im so out-of-fashion :P. Ill stick to the modding.
I got confused because the SP Campaign still has missions saved in binary, but have the old problems. No-ones updated them yet though.