Memory Access Violation: Difference between revisions

From WonderWiki
Jump to navigation Jump to search
No edit summary
Line 5: Line 5:
The following events can cause a Memory Access Violation error.
The following events can cause a Memory Access Violation error.
* [[Wonderland Adventures Editor|WA Editor]]: Clicking anywhere south of the [[level]] when in Tile mode.
* [[Wonderland Adventures Editor|WA Editor]]: Clicking anywhere south of the [[level]] when in Tile mode.
* [[Wonderland Adventures Editor|WA Editor]]: Having a LevelExit red arrow that leads to a level number that does not exist.
* [[Wonderland Adventures Editor|WA Editor]]: Having an NPC with their dialog set to a dialog file that does not exist.
* Classic Trilogy: In rare cases, loading a [[Hex Editing|hex-edited]] level can cause a MAV.
* Classic Trilogy: In rare cases, loading a [[Hex Editing|hex-edited]] level can cause a MAV.
* Classic Trilogy: [[UFO Mothership|Motherships]] at the edge of the level area attempt to create [[UFO|UFOs]] outside the level boundary.
* Classic Trilogy: [[UFO Mothership|Motherships]] at the edge of the level area attempt to create [[UFO|UFOs]] outside the level boundary.

Revision as of 00:44, 19 January 2010

Memory Access Violation

Memory Access Violation (also known as MAV) is the most common error message in Wonderland. It can appear in all five games and both editors, though it is more common in the Classic Trilogy games. The error appears when the program attempts to use a part of the memory that it's not authorized to use (therefore "violating" the computer's rules). Other various error messages include Parameter Must Be Positive, Abnormal Program Termination, Illegal Instruction, Unknown Runtime Exception, Array Index out of Bounds and General Protection Fault.

Known Causes

The following events can cause a Memory Access Violation error.

  • WA Editor: Clicking anywhere south of the level when in Tile mode.
  • WA Editor: Having a LevelExit red arrow that leads to a level number that does not exist.
  • WA Editor: Having an NPC with their dialog set to a dialog file that does not exist.
  • Classic Trilogy: In rare cases, loading a hex-edited level can cause a MAV.
  • Classic Trilogy: Motherships at the edge of the level area attempt to create UFOs outside the level boundary.
  • RTW Editor: Loading a level with Metatiles will always lead to a MAV.
  • Level Editor: When selecting a level to load, if the level list does not fill up the screen, pressing a letter key will lead to a MAV (the editor has to scroll down, which it can't).
  • Return To Wonderland: After playing a level with more than 200 Rainbow Coins or Bonus Coins, a MAV appears immediately upon exiting the game.
  • Return To Wonderland: Doing certain things with 38 08.
  • ...