Byte | Meaning |
---|---|
0 | Type, 1 |
1-2 | Message Length, 16 bits unsigned. |
3-34 | Recipient Name, 32 bytes total. |
35-64 | Sender Name, 30 bytes total. |
65-66 | End of sender name, or narration marker. |
67+ | Message. Length was specified earlier. |
Byte | Meaning |
---|---|
0 | Type, 2 |
1-2 | Number of the room to change to. The server will send an error if an inappropriate choice is made. |
Byte | Meaning |
---|---|
0 | Type, 3 |
Byte | Meaning |
---|---|
0 | Type, 4 |
1-32 | Name of target player |
Byte | Meaning |
---|---|
0 | Type, 5 |
1-32 | Name of target player |
Byte | Meaning |
---|---|
0 | Type, 6 |
Byte | Meaning |
---|---|
0 | Type, 7 |
1 | Error code. List is given below. |
2-3 | Error message length. |
4+ | Actual error message, of the specified length. |
Code | Meaning |
---|---|
0 | Other (not covered by any below error code) |
1 | Bad room. Attempt to change to an inappropriate room |
2 | Player Exists. Attempt to create a player that already exists. |
3 | Bad Monster. Attempt to loot a nonexistent or not present monster. |
4 | Stat error. Caused by setting inappropriate player stats. |
5 | Not Ready. Caused by attempting an action too early, for example changing rooms before sending START or CHARACTER. |
6 | No target. Sent in response to attempts to loot nonexistent players, fight players in different rooms, etc. |
7 | No fight. Sent if the requested fight cannot happen for other reasons (i.e. no live monsters in room) |
8 | No player vs. player combat on the server. Servers do not have to support player-vs-player combat. |
Byte | Meaning |
---|---|
0 | Type, 8 |
1 | Type of action accepted. |
Byte | Meaning |
---|---|
0 | Type, 9 |
1-2 | Room number. This is the same room number used for CHANGEROOM |
3-34 | Room name, 32 bytes in length |
35-36 | Room description length |
37+ | Room description. This can be shown to the player. |
Byte | Meaning |
---|---|
0 | Type, 10 |
1-32 | Name of the player |
33 | Flags: Starting from the highest bit, Alive, Join Battle, Monster, Started, Ready. The lowest three are reserved for future use. |
34-35 | Attack |
36-37 | Defense |
38-39 | Regen |
40-41 | Health (signed) |
42-43 | Gold |
44-45 | Current room number (may be unknown to the player) |
46-47 | Description length |
48+ | Player description |
Flag | Meaning |
---|---|
Alive | Character is alive (1 = alive, 0 = not alive) |
Join Battle | Character will automatically join battles in the room they are in (1 = join battles, 0 = do not join battles) |
Monster | Character is a monster (1 = monster, 0 = player) |
Started | Character has started the game (1 = started, 0 = not started |
Ready | Character is ready to start the game (1 = started, 0 = not started |
Byte | Meaning |
---|---|
0 | Type, 11 |
1-2 | Initial Points |
3-4 | Stat limit |
5-6 | Description Length |
7+ | Game description |
Byte | Meaning |
---|---|
0 | Type, 12 |
Byte | Meaning |
---|---|
0 | Type, 13 |
1-2 | Room number. This is the same room number used for CHANGEROOM |
3-34 | Room name, 32 bytes in length |
35-36 | Room description length |
37+ | Room description. This can be shown to the player. |
Byte | Meaning |
---|---|
0 | Type, 14 |
1 | LURK major revision, as an 8-bit unsigned int |
2 | LURK minor revision, as an 8-bit unsigned int |
3-4 | Size of the list of extensions, in bytes. |
5+ | List of extensions. |
Byte | Meaning |
---|---|
0-1 | Length of the first extension, as an unsigned 16-bit integer. |
2+ | First extension |
Name: Trudy Description: Black Hat Security Expert Gold: 10 Attack: 60 Defense: 30 Regen: 10 Status: ALIVE Location: Broom Closet Health: 100 Started: YES Name: Glog Description: A slimy and toothy character Gold: 50 Attack: 20 Defense: 30 Regen: 100 Monster Health: 100Trudy may or may not be able to defeat this monster, depending on the way the server calculates fight results. Suppose for example that in fighting each sustains the attack of the other in damage, minus the defense. In this case, Trudy receives no damage at all (20 attack from Glog, minus Trudy's 30 defense, leaves no damage). Glog receives 30 damage (60 attack from Trudy, minus 30 defense from Glog). However, Glog has a very high regen of 100. If the server allocates 10\% of the regen to health per turn, than Glog will receive a 10 point health increase, and Trudy will receive only 1 point increase. Still, in a few turns, Trudy defeats Glog. If, on the other hand, the server were to allocate 30\% of regen as gained health each turn, neither would defeat the other.