HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Map that gets wc3 crash errors when loading saved game.

06-08-2006, 06:22 AM#1
buttoxide
I am in the process of making a map, and it works totally fine when playing.

... Except that for some reason, after saving a game, then trying to load it, while in the process of loading the game crashes with:

[Error]
war3
This application has encountered a critical error:

FATAL ERROR!
Program: c:\program files\warcraft iii\war3.exe
Exception: 0xC0000005 (ACCESS_VIOLATION) at 001B:1503BFAD

The instruction at '0X1503BFAD' referenced memory at '0x00000000'
The memory could not be 'read'.

Press OK to terminated the application
[End error]

This map has been made by WEU 1.20 and vexorian optimized. Is there any general reason how this has happened? Thanks in advance.

If really necessary I'll upload the map for analysis, however for now I just want to know of reasons how this can happen.
06-08-2006, 06:54 AM#2
Blade.dk
There's like a million reasons that can be the cause, better upload the map.
06-09-2006, 12:54 AM#3
Vuen
Likely culprit is a negative player. Do gamecaches get saved in savegames?
06-09-2006, 07:33 AM#4
Captain Griffen
No, I don't think they do, unfortunately.
06-09-2006, 08:03 AM#5
Blade.dk
Can't save gamecaches in multiplayer. But you can use them in the map for things like spells and systems, and it works perfect.
06-09-2006, 09:50 AM#6
buttoxide
Sorry... been so busy that I haven't had time to use the comp.

Something to say before I upload:

It's a big map, and I know that many of my triggers are either redundant, leaky, inefficient, or whatever. I started this map with my friend when I first started map-making, thats why many triggers are such. I'm in the process of *trying to* fix it (slowly learning JASS, I've no programming background), so that's not the main issue! The help i really need now would be on making saved games work.

Ok, with that done, I would be amazed if anyone can pinpoint the problem by wading through this whole pool of triggers I have (as I said, it's a big map). Mostly GUI and some JASS. If you can solve this problem totally, you will have the honor of having the name in my map.

PS. Does Vexorian's optimizer help remove any memory leaks? It also changes BJ functions to natives so as to make the map run smoother, right?

EDIT: I DELETED all model files, icons, skins, and mp3s to make uploading easier.
Attached Files
File type: w3xFFRPG.w3x (1.3 MB)
06-12-2006, 04:13 AM#7
buttoxide
I found the problem after 2 hours of brute-forcing my way by disabling various triggers and testing the map. It turns out to be this action from WEU 1.20:

Trigger:
Advanced - Initialize advanced triggers

Being the noob I am, I have several questions to pose:

Is there any reason why this is the troublemaker?
Is it really necessary for my map if I use some of WEU's triggers?
Is there any workaround?