Debugging - Runtime Errors

These bugs don't prevent the mud from loading, or crash it. This is just a "why the heck doesn't this work?!" section.



Mobs load incapacitated and dieing

This happens if you're missing the coins/xp line in the .mob file.

#57186
bear baby cub~
...description...
~
0 0 0 0 S
A 0 0
20 5 40 20d30+100 2d6+2
0.0.0.0 8000      this line here
131 131 1 1

Mobs appear in zone, but not in world m

One of two possibilities here,

  1. Previous zone doesn't have a closing S on its .mob file
  2. Zone's last room # must be set

world m crashes mud

The ~ in mob descriptions must be on a new line.

Last object doesn't have affects

Need a new line in object files.

The final object of a zone has stats for the next zones first item

Make sure your .obj file has a blank line at the end.