About teams in RedViper. Today I was fixing a instant campaign CTD on RV on our Afghanistan theater. The crashlog was this:
Code: Select all
RedViper.exe caused a EXCEPTION_ACCESS_VIOLATION in module RedViper.exe at 001B:0056B400, GroundTaskingManagerClass::BuildObjectiveLists()+256 byte(s), c:\falconsource\redcobra.1.0.0.4\campaign\camptask\gtm.cpp, line 558+7 byte(s)
Exception handler called in Campaign Thread.
Read from location 0000000c caused an access violation.
Code: 0f bf 54 48 08 0f b6 87 b8 00 00 00 83 c4 04 89
Stack dump:
Stack: 001B:0056B400 (0x00000000 0x0056C4A1 0x00000BFF 0x00000008) RedViper.exe, GroundTaskingManagerClass::BuildObjectiveLists()+256 byte(s), c:\falconsource\redcobra.1.0.0.4\campaign\camptask\gtm.cpp, line 558+7 byte(s)
Stack: 001B:0076C89E (0x00000000 0x0056C926 0x00000BFF 0x00000006) RedViper.exe, HeliBrain::GroundCheck()+18910 byte(s)
Stack: 001B:0076C868 (0x0077D420 0x00000000 0x07A0FFEC 0x7C80B683) RedViper.exe, HeliBrain::GroundCheck()+18856 byte(s)
Stack: 001B:00410B37 (0x7C80B690 0x00000000 0x00000000 0x00000000) RedViper.exe, _NLG_Dispatch()+14 byte(s)
Stack: 001B:7C839A10 (0x00000000 0x00000000 0x00000000 0x00000000) kernel32.dll, ValidateLocale()+688 byte(s)
EAX=00000000 EBX=0970DD10 ECX=00000002 EDX=00001582 ESI=0957CAF0
EDI=0970D9B0 EBP=FFFFFFFF ESP=00000007 EIP=00000000 FLG=00010246
CS=001B DS=0023 SS=0023 ES=0023 FS=003B GS=0000
Error occurred at 12/12/2007 14:49:10.
D:\games\f4\RedViper.exe, run by blabla.
1 processor(s), type 586.
1024 MBytes physical memory.
OS: 5.1 build 2600 platform 2 Service Pack 2
Version: Falcon 4.0 - Version 1.13.1.20422
Card: DXContext::Init - DriverInfo - "ati2dvag.dll" - "RADEON 9800 SERIES", Vendor: 4098, Device: 20040, SubSys: 1076237400, Rev: 0, Product: 0, Version: 0, SubVersion: 0, Build: 0
Game is Campaign type Local
DX Model ID : 0
Texture ID : 0
Important part would be the
GroundTaskingManagerClass::BuildObjectiveLists()... so our ground tasking manager is crashing, why?
Well I went sort of all kinds of trials removing all ground units; works, naturally. only air defense units, CTD. only basic ground units, CTD... etc. Then I was eliminating problems by looking the two other campaigns in the theater, both of them which worked... both of them which had ground units, hmm interesting.
So I then started to compare if one campaign works with ground units, another is not, what can be the issue... well teams, how the countries/forces in the theater fight or are allied to each other. So I brought back my CTD campaigns team status as close to possible with the working campaign and quess what... problem solved.
Strange thing is in AF the CTD campaign works ok, in RV it doesnt... wonder what the LP boys changed to make their version more ground warfware / teams friendlier.