I recently added GreenHearts assault spire to the build tree of a little mod i have going, but the game aves whenever I build it---I was wondering if it has something to do with the fact that you can upgrade ther towers into the assauilt spire.
Heres the Error log
ERR |GLOBAL | ExceptionHandler:244 |21:41:53|662446 |---- Battlezone II Log File ----
ERR |GLOBAL | ExceptionHandler:244 |21:41:54|662479 |//=====================================================
ERR |GLOBAL | ExceptionHandler:244 |21:41:54|662503 |App version: Patch 1.3pb4a Aug 4 2008 12:08:55
ERR |GLOBAL | ExceptionHandler:244 |21:41:54|662529 |Windows version: Windows Version: 5.1.2600 'Service Pack 3' PlatformID=2
ERR |GLOBAL | ExceptionHandler:244 |21:41:54|662554 |Last few battlezone.log lines (may or may not be relevant):
ERR |GLOBAL | ExceptionHandler:244 |21:41:54|662586 |DIAG|GLOBAL | runcodes:153 |21:31:37|45764 |[Main] Entering run code [MISSION]
ERR |GLOBAL | ExceptionHandler:244 |21:41:54|662612 |DIAG|GLOBAL | runcodes:153 |21:31:37|45764 |[Mission] Entering run code [RUN]
ERR |GLOBAL | ExceptionHandler:244 |21:41:54|662637 |DIAG|GLOBAL | Planners:9959 |21:31:37|46202 |SetAIP - cfg(Standardif0.aip) team(5)
ERR |GLOBAL | ExceptionHandler:244 |21:41:54|662662 |DIAG|GLOBAL | Planners:9959 |21:32:10|78937 |SetAIP - cfg(Standardif3.aip) team(5)
ERR |GLOBAL | ExceptionHandler:244 |21:41:54|662687 |(done)
ERR |GLOBAL | ExceptionHandler:244 |21:41:54|662712 |Exception code: C0000005 (ACCESS VIOLATION) WRITING to 00000000h
ERR |GLOBAL | ExceptionHandler:244 |21:41:54|662737 |Message : Exception
ERR |GLOBAL | ExceptionHandler:244 |21:41:54|662762 |Error occurred at 11/30/2008 21:41:56.
ERR |GLOBAL | ExceptionHandler:244 |21:41:54|662787 |C:\Program Files\Battlezone pb4\bzone.exe, run by ColemanGaines.
ERR |GLOBAL | ExceptionHandler:244 |21:41:54|662814 |1 processor(s), type 586.
ERR |GLOBAL | ExceptionHandler:244 |21:41:54|662837 |Process Memory : 1784 MB free out of 2048 MB total
ERR |GLOBAL | ExceptionHandler:244 |21:41:54|662862 |Physical memory: 585 MB free out of 1024 MB total
ERR |GLOBAL | ExceptionHandler:244 |21:41:54|662887 |Page(swap) file: 3834 MB free out of 4229 MB total
ERR |GLOBAL | ExceptionHandler:244 |21:41:54|662914 |Fault address: 00445EFF 01:00044EFF C:\Program Files\Battlezone pb4\bzone.exe
ERR |GLOBAL | ExceptionHandler:244 |21:41:54|662937 |
Registers:
ERR |GLOBAL | ExceptionHandler:244 |21:41:54|662962 |EAX:00000000
EBX:00000000
ECX:00000000
EDX:0D5F0FF4
ESI:0D5F0EA4
EDI:0DBB2AD0
ERR |GLOBAL | ExceptionHandler:244 |21:41:54|662987 |CS:EIP:001B:00445EFF
ERR |GLOBAL | ExceptionHandler:244 |21:41:54|663014 |SS:ESP:0023:022EFADC EBP:022EFB18
ERR |GLOBAL | ExceptionHandler:244 |21:41:54|663037 |DS:0023 ES:0023 FS:003B GS:0000
ERR |GLOBAL | ExceptionHandler:244 |21:41:54|663062 |Flags:00210246
ERR |GLOBAL | ExceptionHandler:244 |21:41:54|663086 |
Call stack:
ERR |GLOBAL | ExceptionHandler:244 |21:41:54|663112 |Address Return Function SourceFile
ERR |GLOBAL | ExceptionHandler:244 |21:41:54|663241 |00445EFF 00000000 00449F04 UnitTask::UnitTask+0x00000046
ERR |GLOBAL | ExceptionHandler:244 |21:41:54|663305 |00449F04 00000000 0044526C NewCoastTask+0x0000001D
ERR |GLOBAL | ExceptionHandler:244 |21:41:54|663370 |0044526C 00000000 004018CD UnitProcess::InitWait+0x0000005D
ERR |GLOBAL | ExceptionHandler:244 |21:41:54|663444 |004018CD 00000000 004675FA AiMission::Update+0x000001F7
ERR |GLOBAL | ExceptionHandler:244 |21:41:55|663508 |004675FA 00000000 00468195 MoveOneTurn+0x0000011B
ERR |GLOBAL | ExceptionHandler:244 |21:41:55|663546 |00468195 00000000 0057DDAF MissionHandler::State::RunState::Process+0x000003B1
ERR |GLOBAL | ExceptionHandler:244 |21:41:55|663575 |0057DDAF 00000000 00465C7A RunCodes::Process+0x000001BF
ERR |GLOBAL | ExceptionHandler:244 |21:41:55|663614 |00465C7A 00000000 0057DDAF MissionHandler::Process+0x00000012
ERR |GLOBAL | ExceptionHandler:244 |21:41:55|663646 |0057DDAF 00000000 0057D8B4 RunCodes::Process+0x000001BF
ERR |GLOBAL | ExceptionHandler:244 |21:41:55|663672 |0057D8B4 00000000 0045B598 Main::MessagePump+0x00000064
ERR |GLOBAL | ExceptionHandler:244 |21:41:55|663718 |0045B598 00000000 0045B28D HandledMain+0x000003F6
ERR |GLOBAL | ExceptionHandler:244 |21:41:55|663754 |0045B28D 00000000 00458BC8 HandledMain+0x000000EB
ERR |GLOBAL | ExceptionHandler:244 |21:41:55|663808 |00458BC8 00000000 0056DBFD WinMain+0x00000059
ERR |GLOBAL | ExceptionHandler:244 |21:41:55|663894 |0056DBFD 00000000 7C817067 fabs+0x00000191
ERR |GLOBAL | ExceptionHandler:244 |21:41:55|663929 |7C817067 00000000 00000000 RegisterWaitForInputIdle+0x00000049
ERR |GLOBAL | ExceptionHandler:244 |21:41:55|663954 |
Th heavy spire is the spire in front of the assault spire on the upgrade tree. Its odf....
[GameObjectClass]
mrmFactor = 0
geometryName = "fbspir00.xsi"
animCount = 1
animName1 = "deploy"
animFile1 = "fbspir00.xsi"
classLabel = "turret"
collisionRadius = 1.0
scrapCost = 80
scrapValue = 40
powerCost = 0
maxHealth = 6000
maxAmmo = 10000
addhealth = 8
unitName = "Heavy Spire"
aiName = "GunTowerFriend"
aiName2 = "GunTowerEnemy"
heatSignature = 2.0
imageSignature = 1.0
radarSignature = 1.0
isAssault = 1
armorClass = H
buildSupport = "B"
buildRequire = "F"
requireCount = 0
provideCount = 3
provideName2 = "fbspir"
provideName3 = "defender"
///// WEAPON ////////////////////
weaponMask = 00001
weaponHard1 = "hp_cannon_1"
weaponName1 = "gmabolt"
weaponAssault1 = 1
/////////////////////////////////
upgradeName = fbaspire
turretCount = 2
turretName1 = "turret_y"
turretName2 = "turret_x"
[BuildingClass]
soundAmbient = "sgtow01.wav"
[CraftClass]
rangeScan = 410.0
periodScan = 0.0
velocJam = 0.0
weaponPitch = 1.5
steerFactor = 1.0
engageRange = 265
attackTask = "AssaultTankAttack"
subAttackTask = "SupportSubAttack"
subAttackClass = "NNS"
[TurretCraftClass]
powerTap1 = "HP_TAP_1"
powerName = "fblung"
omegaTurret = 2.0
detectRange = 266
The assault spire is unchanged...
random... cant quite understand callstacks yet so cant help much...
provideCount = 3
provideName2 = "fbspir"
provideName3 = "defender"
need to change that to provide 2. might be the problem. and remove mrmfactor too. doesnt do anything as such, not for spires i think anyway...
i think that problem is to do with either the AIprocess or the attack tasks you have set. try changing it a little...
also, tab out the upgrade part and see if the error still occurs.
What I suggest you try is to download My ODF editor (http://www.bzuniverse.com/forum/index.php/topic,7064.0.html), then open it using the editor and the resave it as a diffrent filename, This should remove any entries that are incorrect or in error.
If it stills Av's on you then it might have something to do with the model.
Shane
provideCount = 3
provideName2 = "fbspir"
provideName3 = "defender"
You need to change this to
provideCount = 1
provideName = "fbspir"
provideText = "Build Defender"
provideName is the ODF that must be build first
provideText is the message the interface displays when you try to build it without fulfilling the requirements.
actually, thats REQUIRECount = 0
phool!
provide is what ODF's it 'provides' when placed
I only figured this lot out last month, gimme a break! :roll:
lol
Quote from: AHadley link=topic=8608.msg*stupid*45#msg*stupid*45 date=1228982837
provideCount = 3
provideName2 = "fbspir"
provideName3 = "defender"
You need to change this to
provideCount = 1
provideName = "fbspir"
provideText = "Build Defender"
provideName is the ODF that must be build first
provideText is the message the interface displays when you try to build it without fulfilling the requirements.
Wrong, AHadley
Those Provide names are used for the AIP,especially "defender" to trigger a counter defensive attack on players for stock13_ aip set.
Problem A:
Looks like the odf was using inheritance & was changed not to except that the providenames were not renamed to start with 1 instead of 2. (Not source of AV)
Problem B:
Also this should be changed to quotes...
upgradeName = fbaspire -> upgradeName = "fbaspire" < - ( Possible Source of AV having no quotes)