The MUD Development forum.
Game Development Discussion, Chat, Technical Debate, and people who just love games talking about building worlds.

Home » Hosted Mud Projects » Wheelmud » General » GOTO command - WheelMUD - A C# MUD Server - Forums - WheelMUD - Bug Reports
GOTO command - WheelMUD - A C# MUD Server - Forums - WheelMUD - Bug Reports [message #457] Sun, 22 March 2015 11:44
Karak is currently offline  Karak
Messages: 489
Registered: March 2015
Location: Seattle, WA
Senior Member
This thread originates from prior WheelMUD forum software archives. It has been migrated here to preserve the contents.

Post by JFed (12 May 2012 09:47 AM):
The goto command was causing unhandled exceptions and not working at all. I gave it an overhaul this morning.
goto <thingid> works and is handy. Examples: goto room/1, goto player/1. If the target isn't a room, it will go to the room of the target. This is case sensitive.</thingid>
goto &lt;#&gt; assumes player means a room, so goto 1 is equivalent to goto room/1
goto <thingname> works the same way. Examples: goto Fred, goto gatehouse (case insensitive)</thingname>
And yes, there is some sanity checking in place. goto sword should work if the sword is laying in a room, but will gracefully fail if it's in a bag. A 'find' command is needed and could be used to resolve any ambiguity. For example, 'find sword' would list all swords with their respective id's, and then you could 'goto item/156' or whatever.

Post by Fastalanasa (12 May 2012 11:56 AM):
Awesome! Really excited to see stuff started to get fixed. Fighting a really bad case of sinus pain. Hoping to get on the action later on.

Post by Karak (13 May 2012 01:09 AM):
Couldn't quite login today to see it in action, but yes, thanks for this!
Previous Topic: Emote.cs (further to WMSHARP-72) - WheelMUD - A C# MUD Server - Forums - WheelMUD - Bug Reports
Next Topic: Move from NHibernate to ServiceStack.ORMLite - WheelMUD - A C# MUD Server - Forums - WheelMUD - Data
Goto Forum:

Current Time: Mon Jun 17 00:20:08 PDT 2019