Official LORD II FAQ - Error Codes

Error Codes Explanation

What does "Range Check Error" Mean?
A Range Check Error is most often created because you forgot to place @DO `V01 IS 1 before a @CHOICE command. This must ALWAYS preceed a @CHOICE command. It sets the line which the choice bar starts on. If `V01 stores a value GREATER than the number of choices, you get the RANGE CHECK error because the default value is OUT OF RANGE.
What is a MAP read Error?
An error is generated when the Lord II program is told to move a character to a map block that does not exist. Check your code and make sure you entered the correct BLOCK ID, not the MAP # inside the @LOADMAP and the @DO MAP IS
When I move the player the screen does not change to the correct spot!
Chances are you are skipping a step while moving the character in your REF file. The correct code for moving the player to another map is as follows: 
@DO MAP IS 
@LOADMAP 
@DO X IS 
@DO Y IS 
@DRAWMAP
@UPDATE
 
I used correct code to move the player to another screen, why does it always say "Moving to bedroom"?
You have entered an invalid map block number to move the player to. Lord II senses this and moves the player back to the one place it knows exists (the Bedroom) to prevent a fatal error. Please check to make sure your numbers are correct, and that they are the BLOCK NUMBER, not the MAP NUMBER. 
How do I make a prompt that only shows up if the player is male or female?
You can use the word variable "sex" just as you would with any other player variable within the @CHOICE statement. The correct code follows: 
@DO `V01 IS 1 ;Sets starting pointer position
@CHOICE
This choice is shown to everyone
=sex 1 This choice is only shown to gals
=sex 0 This choice is only shown to guys
@ ;Ends at three choices (instead of a blank choice) 
 
What does error level 202 mean? Please see "Range Check Error" above.

Jump to other FAQ pages:
Introduction to Lord II IGM Design
Reserved Map Blocks
IGM installation instructions
High Ascii Code GIF to help Programmers


Feel Free to  with Submissions or Questions

IGMs FAQs NON-IGM UTILS MAINPAGE
LINKS PATCHES REFGAMES WORLDS HISTORY
Official Lord II Website Links Table: 

Devfaq page last edited: May 29, 2000.