Landblock

From My Wiki
Revision as of 20:51, 5 August 2008 by imported>Tlosk
Jump to navigation Jump to search
  • Dereth is divided into a grid of landblocks 65.5k landblocks, comprising a grid 256 blocks wide by 256 blocks high (values 0 to 255).
  • By convention, maps are named by the landblock they are in (multiple locations in the same landblock should be on the same map). This allows plugins to easily request available maps given your current location (regardless of the actual name, or chosen name, of the dungeon/area). This also avoids duplication if people call something by different names.
  • Though there are exceptions, when there is no player activity in most landblocks for five minutes, the resources for the landblock will be release from the server. This results in reset spawns. Corpse timers are also inactive if the landblock where the corpse is located is inactive (no player activity).
  • You can determine your landblock location at anytime by typing the /loc command. Ignore the 0x, the next 4 alphanumeric characters are the Hexadecimal code for the landblock you are currently in. The next four indicate where you are within the landblock. You can think of the code as coordinates, starting in the lower left corner. The first two digits place you left to right, starting on the left. The second two digits place you top to bottom, starting at the bottom.
  • If you aren't comfortable using hex numbers you can convert them to decimal equivalents, for example with the windows calculator (in the View menu make sure Scientific is checked, click Hex, enter the value, then click Dec).
  • Some examples:
    • Caul drop is 0904, which is nine landblocks from the left edge of the map, and four landblocks from the bottom of the map (or in the very southwest corner).
    • Aphus Lassel drop is F682, which is F6 or 246 landblocks from the left edge of the map (almost to the right edge), and 82 or 130 landblocks from the bottom edge of the map.
  • As you might imagine, conversion to coordinates is not simplistic. Basically it involves translating a 256 scale to a 100*2 scale then moving the origin and converting to east west, north south.