Custom Game Screen Crash

Ashlebede

New Member
Reaction score
43
I can test my map just fine, but whenever I do F10+E+Q (Exit Game -> Quit Game) and go back to the Custom Game screen, my WC3 crashes. So I basically can't play the map a second time without it crashing.

I like to think that it's just my WC3, but it doesn't do that for other maps...

I am using Windows 7 and I use vJASS in my map.

This log may or may not help :

==============================================================================
Warcraft III (build 6387)

Exe: E:\warcraft iii\war3.exe
Time: Aug 27, 2010 9:12:00.144 PM
User: Nicolas
Computer: LAPTOP-VIEUX
------------------------------------------------------------------------------

This application has encountered a critical error:

FATAL ERROR!

Program: E:\warcraft iii\war3.exe
Exception: 0xC0000005 (ACCESS_VIOLATION) at 001B:6F4A788A

The instruction at '0x6F4A788A' referenced memory at '0x00000068'.
The memory could not be 'read'.


War3Build: 1.24.4.6387
Played (null)
Player 0 <Unused> Race StartLoc -1
Player 1 <Unused> Race StartLoc -1
Player 2 <Unused> Race StartLoc -1
Player 3 <Unused> Race StartLoc -1
Player 4 <Unused> Race StartLoc -1
Player 5 <Unused> Race StartLoc -1
Player 6 <Unused> Race StartLoc -1
Player 7 <Unused> Race StartLoc -1
Player 8 <Unused> Race StartLoc -1
Player 9 <Unused> Race StartLoc -1
Player 10 <Unused> Race StartLoc -1
Player 11 <Unused> Race StartLoc -1
------------------------------------------------------------------------------

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

EAX=0AB50098 EBX=00000000 ECX=0AB40098 EDX=0AB40108 ESI=0AB40128
EDI=0AB40098 EBP=0AB40110 ESP=001280D4 EIP=6F4A788A FLG=00210206
CS =001B DS =0023 ES =0023 SS =0023 FS =003B GS =0000


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

Address Frame Logical addr Module

6F4A788A 0AB40110 0001:004A688A E:\warcraft iii\Game.dll

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

6F4A788A Game.dll GameMain+4841498 (0x3D800000,0x097A0178,0x00128144,0x6F4890D9)


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

0x00400000 - 0x0047D000 E:\warcraft iii\war3.exe
0x10000000 - 0x103B7000 C:\Windows\system32\igdumd32.dll
0x15000000 - 0x15061000 E:\warcraft iii\Storm.dll
0x21100000 - 0x2115F000 E:\warcraft iii\mss32.dll
0x22600000 - 0x22616000 E:\warcraft iii\redist\miles\Mssfast.m3d
0x22700000 - 0x22717000 E:\warcraft iii\redist\miles\Mssdolby.m3d
0x22C00000 - 0x22C18000 E:\warcraft iii\redist\miles\Msseax2.m3d
0x24600000 - 0x24611000 E:\warcraft iii\redist\miles\Reverb3.flt
0x26F00000 - 0x26F2A000 E:\warcraft iii\redist\miles\Mp3dec.asi
0x60000000 - 0x6005D000 E:\warcraft iii\ijl15.dll
0x662D0000 - 0x663D5000 C:\Windows\system32\d3d8.dll
0x690A0000 - 0x69112000 C:\Windows\system32\DSOUND.DLL
0x69D90000 - 0x69E2B000 C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4927_none_d08a205e442db5b5\MSVCR80.dll
0x6A3E0000 - 0x6A4C7000 C:\Windows\system32\DDRAW.dll
0x6ADD0000 - 0x6ADF2000 C:\Windows\system32\GLU32.dll
0x6AE00000 - 0x6AEC8000 C:\Windows\system32\OPENGL32.dll
0x6AFD0000 - 0x6AFE5000 C:\Windows\system32\Cabinet.dll
0x6AFF0000 - 0x6AFF6000 C:\Windows\system32\SensApi.dll
0x6B0A0000 - 0x6B18B000 C:\Windows\system32\dbghelp.dll
0x6F000000 - 0x6FBD4000 E:\warcraft iii\Game.dll
0x70410000 - 0x70416000 C:\Windows\system32\DCIMAN32.dll
0x71250000 - 0x7126C000 C:\Windows\system32\cryptnet.dll
0x72E30000 - 0x72E36000 C:\Windows\system32\d3d8thk.dll
0x73350000 - 0x73357000 C:\Windows\system32\WSOCK32.dll
0x73AD0000 - 0x73B06000 C:\Windows\system32\AUDIOSES.DLL
0x73BF0000 - 0x73C22000 C:\Windows\system32\WINMM.dll
0x74410000 - 0x74431000 C:\Windows\system32\ntmarta.dll
0x74440000 - 0x74447000 C:\Windows\system32\avrt.dll
0x74450000 - 0x74475000 C:\Windows\system32\POWRPROF.dll
0x745D0000 - 0x745E3000 C:\Windows\system32\dwmapi.dll
0x745F0000 - 0x74629000 C:\Windows\System32\MMDevApi.dll
0x74A10000 - 0x74A50000 C:\Windows\system32\uxtheme.dll
0x74A50000 - 0x74B45000 C:\Windows\System32\PROPSYS.dll
0x75070000 - 0x75079000 C:\Windows\system32\VERSION.dll
0x75270000 - 0x75286000 C:\Windows\system32\GPAPI.dll
0x75290000 - 0x752A7000 C:\Windows\system32\USERENV.dll
0x753C0000 - 0x753FD000 C:\Windows\system32\bcryptprimitives.dll
0x75460000 - 0x7546E000 C:\Windows\system32\DEVRTL.dll
0x75480000 - 0x754BB000 C:\Windows\system32\rsaenh.dll
0x756A0000 - 0x756DC000 C:\Windows\system32\mswsock.dll
0x756E0000 - 0x756F6000 C:\Windows\system32\CRYPTSP.dll
0x757F0000 - 0x75807000 C:\Windows\system32\bcrypt.dll
0x75810000 - 0x75848000 C:\Windows\system32\ncrypt.dll
0x75B20000 - 0x75B28000 C:\Windows\system32\Secur32.dll
0x75B40000 - 0x75B5A000 C:\Windows\system32\SSPICLI.DLL
0x75BB0000 - 0x75BBC000 C:\Windows\system32\CRYPTBASE.dll
0x75C30000 - 0x75C3B000 C:\Windows\system32\profapi.dll
0x75CA0000 - 0x75CAC000 C:\Windows\system32\MSASN1.dll
0x75CB0000 - 0x75CFA000 C:\Windows\system32\KERNELBASE.dll
0x75D00000 - 0x75D27000 C:\Windows\system32\CFGMGR32.dll
0x75D30000 - 0x75E4C000 C:\Windows\system32\CRYPT32.dll
0x75E50000 - 0x75ED4000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.7600.16385_none_ebf82fc36c758ad5\COMCTL32.dll
0x75EE0000 - 0x75EF2000 C:\Windows\system32\DEVOBJ.dll
0x75F30000 - 0x7608C000 C:\Windows\system32\ole32.dll
0x76090000 - 0x76164000 C:\Windows\system32\kernel32.dll
0x76170000 - 0x761BE000 C:\Windows\system32\GDI32.dll
0x761C0000 - 0x761F5000 C:\Windows\system32\WS2_32.dll
0x76200000 - 0x762F4000 C:\Windows\system32\WININET.dll
0x76300000 - 0x763C9000 C:\Windows\system32\USER32.dll
0x763D0000 - 0x7644B000 C:\Windows\system32\comdlg32.dll
0x76450000 - 0x76649000 C:\Windows\system32\iertutil.dll
0x76650000 - 0x7665A000 C:\Windows\system32\LPK.dll
0x766F0000 - 0x7670F000 C:\Windows\system32\IMM32.dll
0x76710000 - 0x7679F000 C:\Windows\system32\OLEAUT32.dll
0x767A0000 - 0x767E5000 C:\Windows\system32\WLDAP32.dll
0x767F0000 - 0x77439000 C:\Windows\system32\SHELL32.dll
0x77440000 - 0x775DD000 C:\Windows\system32\SETUPAPI.dll
0x775E0000 - 0x77715000 C:\Windows\system32\urlmon.dll
0x77720000 - 0x777C1000 C:\Windows\system32\RPCRT4.dll
0x777D0000 - 0x77870000 C:\Windows\system32\ADVAPI32.dll
0x77870000 - 0x7793C000 C:\Windows\system32\MSCTF.dll
0x77940000 - 0x779EC000 C:\Windows\system32\msvcrt.dll
0x779F0000 - 0x77A47000 C:\Windows\system32\SHLWAPI.dll
0x77A50000 - 0x77AD3000 C:\Windows\system32\CLBCatQ.DLL
0x77AE0000 - 0x77C1C000 C:\Windows\SYSTEM32\ntdll.dll
0x77C30000 - 0x77C36000 C:\Windows\system32\NSI.dll
0x77C40000 - 0x77C59000 C:\Windows\SYSTEM32\sechost.dll
0x77C60000 - 0x77CFD000 C:\Windows\system32\USP10.dll
0x77D00000 - 0x77D03000 C:\Windows\system32\Normaliz.dll


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

Code: 16 bytes starting at (EIP = 6F4A788A)

6F4A788A: 8B 43 68 56 8B D5 8D 4C 24 18 89 44 24 28 89 44 .ChV...L$..D$(.D


Stack: 1024 bytes starting at (ESP = 001280D4)

* = addr ** *
001280D0: 00 00 00 00 10 01 B4 0A 98 00 B4 0A 40 00 FA C7 ............@...
001280E0: 28 01 B4 0A 44 81 12 00 98 49 48 6F 00 00 80 3D (...D....IHo...=
001280F0: 78 01 7A 09 44 81 12 00 D9 90 48 6F 44 81 12 00 x.z.D.....HoD...
00128100: 0C 01 61 05 00 00 00 00 00 00 00 00 00 00 00 00 ..a.............
00128110: 44 81 12 00 8A 7F 49 6F 4A 3F 48 6F 98 00 B4 0A D.....IoJ?Ho....
00128120: 64 7F 49 6F 98 00 B4 0A 8A 7B 4A 6F 28 01 B4 0A d.Io.....{Jo(...
00128130: 10 01 B4 0A 78 01 7A 09 14 00 7A 09 70 83 12 00 ....x.z...z.p...
00128140: 78 01 7A 09 00 00 00 00 00 00 00 00 00 00 00 00 x.z.............
00128150: 40 00 FA C7 40 00 FA C7 40 00 FA C7 00 00 00 00 @...@...@.......
00128160: 00 00 00 00 40 00 FA C7 40 00 FA C7 74 7E 4A 6F ....@[email protected]~Jo
00128170: 40 00 FA C7 00 00 00 00 00 00 00 00 E5 71 47 6F @............qGo
00128180: 88 81 12 00 5A E0 28 6F 00 00 00 3D 00 00 00 00 ....Z.(o...=....
00128190: 14 00 7A 09 00 00 80 3F 25 1A 2A 6F E5 31 40 FF ..z....?%.*o.1@.
001281A0: 88 00 48 05 75 33 77 2B 79 6D 75 64 01 00 00 00 ..H.u3w+ymud....
001281B0: 13 05 00 00 C0 00 8F 09 01 00 00 00 01 00 00 00 ................
001281C0: 44 82 12 00 13 05 00 00 72 CD 4B 6F 00 00 00 00 D.......r.Ko....
001281D0: 01 00 00 00 E0 00 B5 0A FE FF FF FF B8 00 AA 01 ................
001281E0: E0 03 97 0A 01 00 00 00 01 73 48 6F 18 05 00 00 .........sHo....
001281F0: 14 82 12 00 19 05 00 00 E0 03 97 0A A4 82 12 00 ................
00128200: 18 05 00 00 72 CD 4B 6F 14 82 12 00 01 00 00 00 ....r.Ko........
00128210: E0 03 97 0A FE FF FF FF E0 03 97 0A 90 CE 4B 6F ..............Ko
00128220: E0 03 97 0A 00 00 00 00 9C 01 7A 09 FF FF FF FF ..........z.....
00128230: 00 05 03 6F 00 00 00 00 79 32 40 FF 94 01 7A 09 [email protected].
00128240: 9C 01 7A 09 00 00 00 00 D8 02 7A 09 FF FF FF FF ..z.......z.....
00128250: 30 90 03 6F 00 00 00 00 19 32 40 FF 14 00 7A 09 [email protected].
00128260: D8 02 7A 09 90 82 12 00 08 C6 7F 6F 00 00 00 00 ..z........o....
00128270: 17 BB 28 6F 77 BB 28 6F 39 32 40 FF 44 83 12 00 ..(ow.([email protected]...
00128280: 14 00 7A 09 79 6D 75 64 01 00 00 00 EA 1A 00 6F ..z.ymud.......o
00128290: 70 36 F6 09 0C 27 47 6F F8 69 27 6F 05 00 00 00 p6...'Go.i'o....
001282A0: 70 36 F6 09 14 00 7A 09 14 00 7A 09 01 00 00 00 p6....z...z.....
001282B0: D3 2A 47 6F 70 36 F6 09 70 36 F6 09 01 CF 46 6F .*Gop6..p6....Fo
001282C0: 70 36 F6 09 44 83 12 00 70 36 F6 09 C9 20 48 6F p6..D...p6... Ho
001282D0: D4 B0 AC 6F 7C 59 4A 6F 02 00 00 00 E4 82 12 00 ...o|YJo........
001282E0: D4 B0 AC 6F 10 05 00 00 10 05 00 00 00 00 00 00 ...o............
001282F0: 5F 65 4A 6F D4 B0 AC 6F F5 31 40 FF 10 85 12 00 _eJo...o.1@.....
00128300: 3B 88 82 6F FF FF FF FF 00 07 2A 6F 79 6D 75 64 ;..o......*oymud
00128310: 70 83 12 00 01 00 00 00 FF FF FF FF 65 33 40 FF p...........e3@.
00128320: D4 85 12 00 DC 94 71 08 1C 86 12 00 FF FF FF FF ......q.........
00128330: 14 00 7A 09 75 33 77 2B 00 00 00 00 00 00 00 00 ..z.u3w+........
00128340: 00 00 87 43 6C 67 61 2B 75 33 77 2B 00 00 00 00 ...Clga+u3w+....
00128350: 80 75 5E 08 D4 B0 AC 6F 00 00 00 00 00 00 00 00 .u^....o........
00128360: 00 00 00 00 00 00 00 00 FF FF FF FF FF FF FF FF ................
00128370: 00 00 00 00 00 00 00 00 00 00 00 00 E3 CB 96 40 ...............@
00128380: 00 00 80 3F FF FF FF FF 01 00 00 00 9A 99 19 3E ...?...........>
00128390: 01 00 00 00 06 00 00 00 01 00 00 00 EC 89 88 6F ...............o
001283A0: 00 00 00 00 8C 00 3C 05 00 00 D2 43 00 00 D2 43 ......<....C...C
001283B0: 9A 99 19 3F 91 0A 86 3F 00 00 00 00 00 00 00 00 ...?...?........
001283C0: 00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 ................
001283D0: 00 00 00 00 00 00 00 00 00 00 87 43 02 00 00 00 ...........C....
001283E0: 00 00 80 3F 00 00 80 3F 02 00 00 00 00 00 00 00 ...?...?........
001283F0: 00 00 00 00 00 00 70 42 00 00 70 42 00 00 FA 43 ......pB..pB...C
00128400: 00 00 00 00 01 00 00 00 3A 01 00 00 0E F0 D1 FD ........:.......
00128410: 00 00 B4 42 00 00 00 00 00 00 7A 43 00 00 00 00 ...B......zC....
00128420: 0E F0 D1 FD 0E F0 D1 FD 00 00 00 00 00 00 00 00 ................
00128430: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00128440: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00128450: 01 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 ................
00128460: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
00128470: CD CC AC 3F 00 00 00 00 00 00 00 3F 00 00 00 00 ...?.......?....
00128480: 00 00 00 3F 00 00 00 00 01 00 00 00 00 00 00 00 ...?............
00128490: 02 00 00 00 00 00 00 00 0B 00 00 00 00 00 00 00 ................
001284A0: 01 00 00 00 00 00 00 00 05 00 00 00 00 00 00 00 ................
001284B0: 01 00 00 00 01 00 00 00 01 00 00 00 01 00 00 00 ................
001284C0: 00 00 00 40 02 00 00 00 00 00 00 00 00 00 00 00 ...@............
001284D0: 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00 00 ................


------------------------------------------------------------------------------

Edit : Bleah. Spoiler won't work.
 

Accname

2D-Graphics enthusiast
Reaction score
1,462
does it happen as well if you lose the game and quit or only when doing it that way?

are there any triggers which run when a player leaves the game?
 

Ashlebede

New Member
Reaction score
43
No triggers run when I leave the game, and it doesn't crash when I leave ; it crashes when I reach the custom game screen.

So, if I play this on BNet, I can play it, then leave, chill in the channels... but when I want to re-host it, it crashes when I go to the "Create Game" screen.
 

Accname

2D-Graphics enthusiast
Reaction score
1,462
wel... good luck!

doesnt really sound like it would be anything wrongly scripted in the map. maybe the map file itself is corrupted?
you might want to try to export all the object editor and trigger data to an other map and see whether it works or not.

maybe you could even ask the official blizzard support since when it crashes in the bnet menu they might help you.
 

Ashlebede

New Member
Reaction score
43
Meh... I'd have to re-do that terrain I love... oh, well, I guess one's got to do what they've got to do... u_u

And I've spent most of my time trying to find dimensions, so at least I can just use the same dimensions as my other map's. ^_^
 

Accname

2D-Graphics enthusiast
Reaction score
1,462
open the terrain layer and select the terrain (by default the selection will be shown as green box) then you can copy it with ctrl + c like anything else.
 

Ashlebede

New Member
Reaction score
43
Meh... I copied it to a new map and it still does the same thing. u_u

Here's the attachment to my map, if anyone can find anything... I'm currently trying to disable certain triggers to isolate the non-functional ones... if there are any.

Edit : Allright, I removed all Trigger Editor triggers and saved them in a text file. The problem is in the Trigger Editor, and it is most likely not my libraries. Investigating further.

Edit2 : I found that the mistake was in one of the two startup dialog triggers. Trying to isolate the misfunctionning function (lol).

Edit3 : It seems to not function even if I remove the Dialog triggers. I think there's more than just the dialog triggers that won't work.

Edit4 : Meh... I uncommented any one trigger and it didn't work. My Scope syntax doesn't work, for some reason. There doesn't seem to be naming conflicts... however, when I changed a vJASS trigger to a vanilla JASS one, it seemed to work fine. Tell me, is this syntax correct ?

JASS:
scope MyScopesName initializer ScopeInit
    private function ScopeActions takes nothing returns nothing
        //stuffz0rz
    endfunction

    private function ScopeInit takes nothing returns nothing
        local trigger trg = CreateTrigger()
        
        call TriggerRegister...Event(trg,...)
        call TriggerAddAction(trg,function ScopeActions)

        set trg = null
    endfunction
endscope


That's the template I use for my triggers, so I'd have to change that to vanilla JASS... the thing is about libraries and globals... will they still work? Since scopes still work, but make the map crash on the Custom Game screen at second game... maybe globals, libraries, structs and such... oh, well, I'll just go to bed, I'll see what I can do tomorrow. Any help would be appreciated.
 

Attachments

  • HLWa.w3x
    44.4 KB · Views: 119

Ashlebede

New Member
Reaction score
43
Re-bumpz

Edit : Found out what the problem was. it was this syntax I thought vJASS allowed :

JASS:
globals
    dialog myDialog = DialogCreate()
endglobals


Took me all that time to figure out vJASS actually doesn't allow to initialize variables with functions. u_u
 

Ashlebede

New Member
Reaction score
43
Oh, it did work. But it would make the game crash as described, after I played it. Maybe it does not do that on your own computer, maybe it does. Still, when I changed :

JASS:
globals
    dialog myDialog = DialogCreate()
endglobals


Into :

JASS:
scope myScope initializer ScopeInit
    globals
        dialog myDialog
    endglobals

    private function ScopeInit takes nothing returns nothing
        set myDialog = DialogCreate()
    endfunction
endscope


It didn't do it anymore. Anyways, problem solved.
 

GetTriggerUnit-

DogEntrepreneur
Reaction score
129
You can't create dialogs on Init?

Look at the GUI of create dialog.

"Dialogs cannot be displayed at map initialization"
 

Ashlebede

New Member
Reaction score
43
Dialogs cannot be displayed(!!!) at map initialization. Normal User-Defined dialog variables (CTRL+B ftw) are automatically created at map initialization, but are not displayed. Same here.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top