| 09-12-2002, 02:09 AM | #1 |
Guest | I made a defense map, it works great except when you get to a CERTIAN point on the map (around 10 seconds after Eidolons spawn), the game crashes down and give me an error about memory. Any idea? Thanks |
| 09-12-2002, 03:28 AM | #2 |
Guest | send me your map, you are trying to access protected memory. I had this problem when trying to change ownership of units. my email is [email protected] |
| 09-12-2002, 02:45 PM | #3 |
Guest | Thanks, I just sent you my map. Hope you can identify the problem. I couldn't :D |
| 09-12-2002, 10:48 PM | #4 |
Guest | Searching through the erros directory, I found this. This is the bug I get. (LONG) ============================================================================== Warcraft III (build 4531) Exe: c:\program files\warcraft iii\war3.exe Time: Sep 5, 2002 6:25:19.650 PM User: XXXXXXXXXX Computer: XXXXXXXXXX ------------------------------------------------------------------------------ This application has encountered a critical error: FATAL ERROR! Program: c:\program files\warcraft iii\war3.exe Exception: 0xC0000005 (ACCESS_VIOLATION) at 001B:6F37BD64 The instruction at '0x6F37BD64' referenced memory at '0x00000000'. The memory could not be 'read'. Played Maps\Joe.Cool's Ziggurat v1.0.w3m Player 0 Race Undead StartLoc 0 Player 1 Race Orc StartLoc 1 Player 2 Race Undead StartLoc 2 Player 3 Race Orc StartLoc 3 Player 4 Race Undead StartLoc 4 Player 5 Race Orc StartLoc 5 Player 6 Race Undead StartLoc 6 Player 7 Race Orc StartLoc 7 Player 8 Race Human StartLoc -1 Player 9 Race NightElf StartLoc -1 Player 10 Race NightElf StartLoc 8 Player 11 Race Undead StartLoc 9 ------------------------------------------------------------------------------ |
| 09-15-2002, 01:51 AM | #5 | |
Quote:
i've had similar problem with my map too... but mine is a random thingy... so i can't pin point the error source. i guess either this is a bug, or some trigger problem. but i checked my trigger and everything is working and written properly. wierd :confused: |
| 09-15-2002, 04:41 AM | #6 |
There are some different random things that can cause crashes. As a debug measure, there's something I've started doing on all my maps. I have a game text action that says the name of the trigger. 99% of the time it's disabled, but when I'm having trouble I turn them on so I can see which trigger runs right before the crash. |
| 09-15-2002, 08:21 AM | #7 |
Just today i spent over 2 hours hunting down a similar access violation. What a message like that always means is that in the lower levels of the program is that theres a variable thats trying to be referenced that doesnt exist. Normally the editor can catch stuff like this and warn you before you go crashing the game, however its not supersoftware, things can slip through easily. If you are using custom script then theres about a million ways this can happen, so take a good look at that if you are. The access violation i hunted down today dealt with me unintentionally trying to reference the getplayerfrom index with an argument of zero and comparing the slot status of that. Of course there is no player zero, and 2 hours later i finally saw that, hehe. Another way to solve the problem is to selectively diable triggers until you get the map to actually run. This takes a long time (about 2 hours, lol), but if it saves your map its worth it. If your disabling triggers disables other triggers, make copies of them before you disable anything, that way you can just delete the statements. So after my miserable experience today, I can attest that it's definatley something in your triggers, do you have an init trigger that runs at 10 seconds? Just double check that you arent referencing any variables outside of their ranges (arrays and players, etc) and disable triggers bit by bit. Hang in there you will narrow it down sooner or later! -jason |
| 09-16-2002, 03:25 PM | #8 |
Guest | Probably sounds weird, but my map doesn't have variables (!!!!) As I made the map I didn't see the need for the kind of map I made. |
| 09-16-2002, 05:17 PM | #9 |
Its only possible to cause that crash using custom text variables. However there are a lot of function arguments that can cause that like i said earlier. Make sure that you arent using Player - getplayerfromIndex with anything less than 1. if you cant determine the problem then send the map in a message to [email protected], and ill do my best to discover the error and post it here so you can change it yourself. jason |
| 09-16-2002, 05:18 PM | #10 |
Guest | Well, I went through the triggers and found a disabled trigger. I fixed the trigger to a new mode and fixed a few other things. I ran the map, but it STILL does the memory bug crash!!!. I have pinpointed the moment it happens, though. The game always crashes when I kill the first Eidolon. I have no idea whats going on! |
| 09-16-2002, 05:21 PM | #11 |
Guest | Jason- I dont use custom text either =\. I will email you the map right now. I'll still be here so post your results in this thread like you said. Thanks again. |
| 09-17-2002, 09:27 PM | #12 |
Hey joe, before we start, great map btw! I like the idea, and the layout! Be sure to send me the finished copy, im sure myself and other Members of FM would have a ball with it. The problem was with the wraith characters, i replaced the last set of them with bandits and everything went fine. Im gonna do some more tests, but i beleive its the transparency, prolly just too much for the game to handle 48 transparent units spawning at once, hehe (go figure). Actually, if you just find another unit, or try to re-create the wraiths at the end then im sure things will work out. Also, in order to try and troubleshoot you map, i made a number of trigger modifications. Instead of having a trigger for each level, i basically just have one trigger to spawn each level, and one trigger to start that trigger when all the units are dead. For the boss, i just put a condition to where level is equal to 16, then it just runs the boss trigger. So thats basically it, just replace the wraith and you are good to go. (ill be sending you the map with the mods shortly). - jason |
| 09-18-2002, 12:32 AM | #13 |
Hey JC, my mail to you is getting returned. You got some other email address i can use to send this to you? hotmail or something? apparently i thinks what im sending you is spam, lol this si what it says: http://spamcop.net/bl.shtml?216.71.84.10) So tell me if you got another address or something to use. I can also upload it to my website in a hidden area, and give you a link so nobody nabbs it. jason |
| 09-18-2002, 03:13 AM | #14 |
Guest | I dont have ANY sort of spam filter on that email address, I dont use it to sign up for dubious things so I dont get any :) Send it to [email protected] and see if that works. Also, thanks for the compliments about the map and thanks so much for finding the bug! |
| 09-19-2002, 06:34 PM | #15 |
Hey joe, did you get the map ok? Did everything work out? Send me a follow up email. jason |
