server.OP_MOVE

Name

server.OP_MOVE -- Broadcast of character move by client

Synopsis

server.OP_MOVE [gen] [type] [id] [direction]
DataTypeExample
genint...
idint...
typeint

  • MOVE_PLAYER

  • MOVE_MONSTER

directionint

  • MOVE_UP

  • MOVE_DOWN

  • MOVE_LEFT

  • MOVE_RIGHT

Description

Broadcast of character move by client

Message Data

gen

Message counter.

id

ID of the player of origin.

type

Can be either of move_player or move_monster.

direction

The direction of the move.


Usage

The server sends this message whenever it receives a valid player move, and whenever a monster has been moved.