Memory Access Violation

From WonderWiki
Revision as of 02:41, 18 April 2011 by Micman27 (talk | contribs)
Jump to navigation Jump to search
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: Taking a non-WOP file, changing the name so there is a .wop at the end, putting a new folder in C:\WA Editor v096\Data\Editor\ObjectPresets, putting that file in there, and trying to access that "object" in the editor.
  • 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.
  • WA Editor: Having no levels to load
  • 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.
  • RTW 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.
  • (only on certain computers) Return To Wonderland Platinum: Recording a video with Fraps.