• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

Custom melee AI causing fatal errors

Status
Not open for further replies.
What, if done improperly in the AI editor, can cause fatal errors?

When I play the AI's ingame they don't have trouble building or upgrading anything, they appear to function correctly.

Is there anything in the object editor with order strings that could cause this?

I was told in another thread that the fatal errors I'm receiving are occurring due to build que poblems, but again the AI is completing everything.

What is the proper way to handle unit replacing upgrades like the Barrage upgrade? Once the AI replaces the unit it no longer knows what the previous unit was in the list, could this cause fatal errors?



Latest crash log:

==============================================================================
Warcraft III (build 6384)

Exe: l:\program files\warcraft iii\war3.exe
Time: Jan 22, 2010 2:30:24.046 AM
User: ---------
Computer: ---------
------------------------------------------------------------------------------

This application has encountered a critical error:

FATAL ERROR!

Program: l:\program files\warcraft iii\war3.exe
Exception: 0xC0000005 (ACCESS_VIOLATION) at 001B:01601823

The instruction at '0x01601823' referenced memory at '0x0000000C'.
The memory could not be 'read'.


War3Build: 1.24.3.6384
Played Maps\Test\WorldEditTestMap.w3x
Player 0 Ubel Race Orc StartLoc 7
Player 1 Race Human StartLoc 1
Player 2 Cleansing Hold Race NightElf StartLoc 0
Player 3 Race Human StartLoc 3
Player 4 Race NightElf StartLoc 4
Player 5 Race Human StartLoc 5
Player 6 Purge of Nature Race NightElf StartLoc 1
Player 7 <Unused> Race NightElf StartLoc -1
Player 8 <Unused> Race Human StartLoc -1
Player 9 Race Orc StartLoc 7
Player 10 <Unused> Race Human StartLoc -1
Player 11 Race Orc StartLoc 8
------------------------------------------------------------------------------

----------------------------------------
x86 Registers
----------------------------------------

EAX=00000000 EBX=00000000 ECX=00000000 EDX=6E303033 ESI=00000003
EDI=00000003 EBP=0010CE68 ESP=0010CE08 EIP=01601823 FLG=00010246
CS =001B DS =0023 ES =0023 SS =0023 FS =003B GS =0000


----------------------------------------
Stack Trace (Manual)
----------------------------------------

Address Frame Logical addr Module

01601823 0010CE68 0001:003E0823 l:\program files\warcraft iii\Game.dll

----------------------------------------
Stack Trace (Using DBGHELP.DLL)
----------------------------------------

01601823 Game.dll <unknown symbol>+0 (0x0010CE98,0x00000003,0x014FFEE0,0x0010CFF0)
015000DC Game.dll <unknown symbol>+0 (0x00000000,0x00000000,0x00000000,0x00000000)


----------------------------------------
Loaded Modules
----------------------------------------

0x00400000 - 0x0047D000 war3.exe
0x01220000 - 0x01DF4000 Game.dll
0x02E10000 - 0x030D5000 xpsp2res.dll
0x0FFD0000 - 0x0FFF8000 rsaenh.dll
0x10000000 - 0x10024000 mumble_ol.dll
0x15000000 - 0x15061000 Storm.dll
0x21100000 - 0x2115F000 mss32.dll
0x22600000 - 0x22616000 Mssfast.m3d
0x22700000 - 0x22717000 Mssdolby.m3d
0x22C00000 - 0x22C18000 Msseax2.m3d
0x24600000 - 0x24611000 Reverb3.flt
0x26F00000 - 0x26F2A000 Mp3dec.asi
0x4D4F0000 - 0x4D548000 WINHTTP.dll
0x59A60000 - 0x59B01000 dbghelp.dll
0x5AD70000 - 0x5ADA8000 UxTheme.dll
0x5B860000 - 0x5B8B5000 netapi32.dll
0x5CB70000 - 0x5CB96000 ShimEng.dll
0x5D090000 - 0x5D12A000 COMCTL32.dll
0x5ED00000 - 0x5EDCC000 OPENGL32.dll
0x60000000 - 0x6005D000 ijl15.dll
0x662B0000 - 0x66308000 hnetcfg.dll
0x68B20000 - 0x68B40000 GLU32.dll
0x6D990000 - 0x6D996000 d3d8thk.dll
0x6D9A0000 - 0x6DAC8000 d3d8.dll
0x6F880000 - 0x6FA4A000 AcGenral.DLL
0x71A50000 - 0x71A8F000 mswsock.dll
0x71A90000 - 0x71A98000 wshtcpip.dll
0x71AA0000 - 0x71AA8000 WS2HELP.dll
0x71AB0000 - 0x71AC7000 WS2_32.dll
0x71AD0000 - 0x71AD9000 WSOCK32.dll
0x71BF0000 - 0x71C03000 SAMLIB.dll
0x722B0000 - 0x722B5000 SensApi.dll
0x72D10000 - 0x72D18000 msacm32.drv
0x72D20000 - 0x72D29000 wdmaud.drv
0x73760000 - 0x737AB000 DDRAW.dll
0x73BC0000 - 0x73BC6000 DCIMAN32.dll
0x73EE0000 - 0x73EE4000 KsUser.dll
0x73F10000 - 0x73F6C000 DSOUND.DLL
0x74720000 - 0x7476C000 MSCTF.dll
0x75E60000 - 0x75E73000 cryptnet.dll
0x76390000 - 0x763AD000 IMM32.dll
0x763B0000 - 0x763F9000 comdlg32.dll
0x769C0000 - 0x76A73000 USERENV.dll
0x76B40000 - 0x76B6D000 WINMM.dll
0x76BF0000 - 0x76BFB000 PSAPI.DLL
0x76C30000 - 0x76C5E000 WINTRUST.dll
0x76C90000 - 0x76CB8000 IMAGEHLP.dll
0x76F60000 - 0x76F8C000 WLDAP32.dll
0x76FD0000 - 0x7704F000 CLBCATQ.DLL
0x77050000 - 0x77115000 COMRes.dll
0x77120000 - 0x771AB000 OLEAUT32.dll
0x771B0000 - 0x77256000 WININET.dll
0x773D0000 - 0x774D3000 comctl32.dll
0x774E0000 - 0x7761D000 ole32.dll
0x77690000 - 0x776B1000 NTMARTA.DLL
0x77A80000 - 0x77B14000 CRYPT32.dll
0x77B20000 - 0x77B32000 MSASN1.dll
0x77BD0000 - 0x77BD7000 midimap.dll
0x77BE0000 - 0x77BF5000 MSACM32.dll
0x77C00000 - 0x77C08000 VERSION.dll
0x77C10000 - 0x77C68000 msvcrt.dll
0x77DD0000 - 0x77E6B000 ADVAPI32.dll
0x77E70000 - 0x77F02000 RPCRT4.dll
0x77F10000 - 0x77F57000 GDI32.dll
0x77F60000 - 0x77FD6000 SHLWAPI.dll
0x77FE0000 - 0x77FF1000 Secur32.dll
0x78130000 - 0x781CB000 MSVCR80.dll
0x7C800000 - 0x7C8F6000 kernel32.dll
0x7C900000 - 0x7C9AF000 ntdll.dll
0x7C9C0000 - 0x7D1D6000 SHELL32.dll
0x7E410000 - 0x7E4A0000 USER32.dll


----------------------------------------
Memory Dump
----------------------------------------

Code: 16 bytes starting at (EIP = 01601823)

01601823: 8B 53 0C 85 FF 0F 94 C0 33 C9 83 FF 02 0F 94 C1 .S......3.......


Stack: 1024 bytes starting at (ESP = 0010CE08)

* = addr ** *
0010CE00: 00 00 00 00 00 E0 FD 7F F0 CF 10 00 03 00 00 00 ................
0010CE10: 54 3D DA 06 00 00 00 00 00 00 00 00 0E 01 00 00 T=..............
0010CE20: 48 CE 10 00 03 00 00 00 00 00 00 00 00 00 80 3F H..............?
0010CE30: 00 00 87 43 0F 2B 6F 01 F0 7E AA 01 78 CE 10 00 ...C.+o..~..x...
0010CE40: 72 AC 22 01 DC 8B AA 01 00 00 87 43 00 00 00 00 r."........C....
0010CE50: F0 CF 10 00 15 3F 14 25 03 00 00 00 33 30 30 6E .....?.%....300n
0010CE60: 84 D3 54 01 15 3F 14 25 00 00 00 00 DC 00 50 01 ..T..?.%......P.
0010CE70: 98 CE 10 00 03 00 00 00 E0 FE 4F 01 F0 CF 10 00 ..........O.....
0010CE80: 88 00 40 02 88 00 B2 02 20 CF 10 00 F4 B6 BA 0F ..@..... .......
0010CE90: 00 00 87 43 00 00 00 00 00 00 D0 C4 00 00 40 C4 ...C..........@.
0010CEA0: 00 00 D0 C4 00 00 40 C4 00 00 00 00 F3 F6 69 01 [email protected].
0010CEB0: 18 01 AD 09 B8 00 AD 09 01 00 00 00 00 00 48 42 ..............HB
0010CEC0: 02 00 00 00 03 00 00 00 00 00 24 44 00 40 1C 45 [email protected]
0010CED0: 00 00 C5 43 00 00 83 43 00 00 A6 43 00 00 B4 43 ...C...C...C...C
0010CEE0: 00 00 00 3E 00 00 00 3E 00 00 9C 43 00 00 AC 43 ...>...>...C...C
0010CEF0: 00 00 93 43 00 00 83 43 00 00 C5 43 00 00 B5 43 ...C...C...C...C
0010CF00: 00 00 13 42 00 00 03 42 00 00 45 42 00 00 35 42 ...B...B..EB..5B
0010CF10: 24 00 00 00 20 00 00 00 32 00 00 00 2E 00 00 00 $... ...2.......
0010CF20: 00 00 00 00 F7 05 6A 01 A4 CF 10 00 A0 CF 10 00 ......j.........
0010CF30: 00 00 FD 15 F0 81 49 01 B8 00 AD 09 52 80 68 01 ......I.....R.h.
0010CF40: 90 CF 10 00 00 00 FD 15 00 00 00 00 00 00 00 00 ................
0010CF50: F0 81 49 01 B8 00 AD 09 20 46 4C 01 90 CF 10 00 ..I..... FL.....
0010CF60: 00 00 00 00 00 00 FD 15 00 00 00 00 00 00 00 00 ................
0010CF70: F0 81 49 01 B8 00 AD 09 CC 66 A2 06 00 00 00 00 ..I......f......
0010CF80: 6C 6F 74 65 8C 92 A2 06 00 00 FD 15 00 00 00 00 lote............
0010CF90: 00 00 C8 44 00 00 00 00 01 00 00 00 00 00 00 00 ...D............
0010CFA0: 00 00 A0 C4 00 00 10 C5 6C 6F 74 65 8C 92 A2 06 ........lote....
0010CFB0: CC 66 A2 06 35 01 50 01 C0 00 F7 06 F0 CF 10 00 .f..5.P.........
0010CFC0: 09 00 00 00 00 00 C8 44 00 00 10 C5 00 00 A0 C4 .......D........
0010CFD0: 02 00 00 00 1F 00 00 00 36 5C 50 01 1C A5 A2 06 ........6\P.....
0010CFE0: 8C 92 A2 06 6C 6F 74 65 04 AB DC 06 05 05 05 05 ....lote........
0010CFF0: 06 00 00 00 03 00 00 00 00 00 F4 C2 00 00 B4 C2 ................
0010D000: 00 00 00 00 00 00 00 00 00 00 00 00 04 AB DC 06 ................
0010D010: 00 00 00 00 65 00 00 00 65 00 00 00 9C 9C 05 05 ....e...e.......
0010D020: 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 ................
0010D030: 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 ................
0010D040: 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 ................
0010D050: 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 ................
0010D060: 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 ................
0010D070: 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 ................
0010D080: 05 05 05 05 65 00 00 00 9C 9C 05 05 05 05 05 05 ....e...........
0010D090: 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 ................
0010D0A0: 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 ................
0010D0B0: 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 ................
0010D0C0: 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 ................
0010D0D0: 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 ................
0010D0E0: 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 ................
0010D0F0: 65 00 00 00 9C 9C 9C 9C 9C 9C 05 05 05 05 05 05 e...............
0010D100: 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 ................
0010D110: 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 ................
0010D120: 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 ................
0010D130: 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 ................
0010D140: 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 ................
0010D150: 05 05 05 05 05 05 05 05 05 05 05 05 65 00 00 00 ............e...
0010D160: 9C 9C 9C 9C 9C 9C 05 05 05 05 05 05 05 05 05 05 ................
0010D170: 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 ................
0010D180: 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 ................
0010D190: 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 ................
0010D1A0: 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 ................
0010D1B0: 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 ................
0010D1C0: 05 05 05 05 05 05 05 05 65 00 00 00 9E 9E 9E 9E ........e.......
0010D1D0: 9C 9C 05 05 05 05 05 05 05 05 05 05 05 05 05 05 ................
0010D1E0: 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 ................
0010D1F0: 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 ................
0010D200: 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 05 ................


------------------------------------------------------------------------------
 
Last edited:
Status
Not open for further replies.
Top