Issue 21 in sorrows-mudlib: Exits directions are mixed up

0 views
Skip to first unread message

sorrows...@googlecode.com

unread,
Dec 22, 2010, 3:00:18 PM12/22/10
to sorrows-mud...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 21 by hello.jay.araujo: Exits directions are mixed up
http://code.google.com/p/sorrows-mudlib/issues/detail?id=21


Upon joining a new room, it shows me the description of the previous.

The code: http://pastebin.com/y7b2U1aC


The result:

You are logged in as "jay".
> look
A room
This is a room.
It contains: brown pants, green pants, chest, Jay.
Exits: north
> n
A room
This is a room.
It contains: brown pants, green pants, chest.
Exits: north
> s
Second room
This is a funkier room.
It contains: Nothing.
Exits: south
> n
A room
This is a room.
It contains: brown pants, green pants, chest.
Exits: north
> look
Second room
This is a funkier room.
It contains: Jay.
Exits: south

sorrows...@googlecode.com

unread,
Dec 22, 2010, 3:04:20 PM12/22/10
to sorrows-mud...@googlegroups.com

Comment #1 on issue 21 by hello.jay.araujo: Exits directions are mixed up
http://code.google.com/p/sorrows-mudlib/issues/detail?id=21

Nevermind the title of the issue. I wrote it before I found out what wrong.
The issue is with descriptions and not with move directions.

sorrows...@googlecode.com

unread,
Dec 22, 2010, 3:31:50 PM12/22/10
to sorrows-mud...@googlegroups.com

Comment #2 on issue 21 by hello.jay.araujo: Exits directions are mixed up
http://code.google.com/p/sorrows-mudlib/issues/detail?id=21

btw, I (apparently) fixed this by changing /mudlib/commands/move.py


success, destinationRoom = context.body.MoveDirection(direction)
if success:
context.user.Tell(destinationRoom.LookString(context.body))

sorrows...@googlecode.com

unread,
Dec 22, 2010, 8:34:54 PM12/22/10
to sorrows-mud...@googlegroups.com
Updates:
Status: Accepted

Comment #3 on issue 21 by richard.m.tew: Exits directions are mixed up
http://code.google.com/p/sorrows-mudlib/issues/detail?id=21

Haha. A silly mistake :-) Probably done without testing, as my most
recent development is done on the multiplayer roguelike rather than the MUD
side of things.

sorrows...@googlecode.com

unread,
Dec 23, 2010, 7:03:30 AM12/23/10
to sorrows-mud...@googlegroups.com
Updates:
Status: Fixed
Owner: richard.m.tew

Comment #4 on issue 21 by richard.m.tew: Exits directions are mixed up
http://code.google.com/p/sorrows-mudlib/issues/detail?id=21

http://code.google.com/p/sorrows-mudlib/source/detail?r=193

Reply all
Reply to author
Forward
0 new messages