HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Help pls...

07-09-2002, 07:04 PM#1
Unindel
I am making a map and for some reason whenever i start it (through the custom game or test map) it crashes right away....I see it say Welcome to the game, have fun. (i have an action in the map init that makes it say that to all players) so I think the map init trigger is going through, but then the game crashes with the following message:

This application has encountered a critical error:

FATAL ERROR!

Program: c:\program files\warcraft iii\War3.exe
Exception: 0xC0000005 (ACCESS_VIOLATION) at 001B:6F21DE50

The instruction at '0x6F21DE50' referenced memory at '0x0000001C'.
The memory could not be 'read'.

Press OK to terminate the application.




pls help! i attach the bmp of the error message...
btw i am on WinXP with the 1.01 retail war3
07-09-2002, 11:42 PM#2
dataangel
You're gonna have to either attach your map, or list all the actions that your map makes upon initialization, because something it's doing is causing the game to crash.

Possible sources of crashing:

-Killing units with a food cost of 0
-Using 'local player' in a multiplayer game
-Using the beta singleplayer crack
07-10-2002, 05:58 AM#3
Unindel
actually, i got what was messing it up, but im still not sure how to fix it...you see, i have two unit groups known as NorthTowers and SouthTowers. the north towers group includes two scout towers and a circle of power, and the south towers group includes two ziggurats and a circle of power. i manually went through enabling the parts in map init one by one to see which parts were makin it crash and its when i try to add the towers/circle of power to the unit groups. i have them in unit groups because i later have a trigger that gives the north tower to player 1 (or if hes not there then 2, or 3, sequentially to 6) and south towers to 7 (or if not there sequentially to 12).

Is there some reason that this would make it crash?
07-10-2002, 06:30 AM#4
Unindel
nm, i got it, it wasnt the unit group after all. right after that part i had a set variable command where it picks all players and sets the variable Kills[Player number of(picked player)] but not all players were in game. now i have it players matching condition are playing, and it works.

another question tho, i have heroes here that i want to have only 1 hp (instant 1 hit kills), but i have no way to get it lower than 26 (min 1 str, and min 1 starting health). any ideas? right now i have a trigger making them always have 1 health and they dont have any regen, but it'd b nice to have it 1/1 max...