View Single Post
Old 03-21-2003, 05:43 PM   #3 (permalink)
alasz11
Senior Member
 
Join Date: Dec 2002
Location: USA
Posts: 430
Default

well now that is a cool little function

Release Crash at Fri Mar 21 17:37:32 2003
; Reason Error parsing INI file 'Data\INI\CommandSet.ini' (Line: 'CommandSet AmericaWarFactoryCommandSet ')


Last error:
Exception is access violation
WinMain at 4017e0
Error code: EXCEPTION_ACCESS_VIOLATION
Description: The thread tried to read from or write to a virtual address for which it does not have the appropriate access.
Access address:00000004 was read from.

Stack Dump:
<Unknown>(-1) : <Unknown> 0x00452CCC
<Unknown>(-1) : <Unknown> 0x6D6D6F43

Details:
Register dump...
Eip:00452CCC Esp:0012DBB4 Ebp:015F144C
Eax:00000001 Ebx:0012E543 Ecx:038EFE50
Edx:0095DD50 Esi:00000000 Edi:00000000
EFlags:00090246
CS:001b SS:0023 DS:0023 ES:0023 FS:0038 GS:0000
EIP bytes dump...

Bytes at CS:EIP (00452CCC) : 8B 4E 04 85 C9 74 07 E8 58 A8 FF FF 8B F0 8D 4C 24 20 C7 44 24 18 FF FF FF FF E8 F5 C1 FB FF 85


Current stack:


I gather from this I made an error in the CommandSet adding my new unit to the war fac. Here's the only change I made in the entire ini (in bold is the stuff I added)

CommandSet AmericaWarFactoryCommandSet
1 = Command_ConstructAmericaTankCrusader
2 = Command_ConstructAmericaVehicleTomahawk
3 = Command_ConstructAmericaVehicleHumvee
4 = Command_ConstructAmericaVehicleMedic
5 = Command_ConstructAmericaVehiclePaladin
6 = Command_ConstructAmericaVehicleAbrams
10 = Command_UpgradeAmericaTOWMissile
11 = Command_SetRallyPoint
12 = Command_Sell
End
alasz11 is offline   Reply With Quote