DarkCastleMUD / DarkCastle

Dark Castle is a text-based MUD (multi-user dungeon) that was originally based on DIKU MUD around 1995. It has been running since then.
https://www.dcastle.org/
GNU Lesser General Public License v2.1
12 stars 11 forks source link

Crash bug #219

Closed TehDreadPirateRoberts closed 11 months ago

TehDreadPirateRoberts commented 1 year ago

oedit affect 3 without another arg at the end will crash the mud. Technically it should be oedit affect 3 , but I had thought that previously if you leave out the it listed the skills you could put in. Instead it is currently just crashing the game.

Z:1 R:29 I:0 M:0 O:607> oe aff list Character Affects:

1) HIT -N- DAM(26) by 7. 2) CURE LIGHT(56) by 100.

Z:1 R:29 I:0 M:0 O:607> oe aff Syntax: oedit [item_num] affects [affectnumber] [value] The field must be one of the following: new delete list 1spell 2amount 3skill

Z:1 R:29 I:0 M:0 O:607> oe aff 3 1

[ ALERT ] - Socket got disconnected. Reason: The remote host closed the connection [ INFO ] - Connection time: 00:00:46.365

jhhudso commented 11 months ago

fixed with latest commit.