MudEngine:
- CommandLogin no longer invokes the Look Command - Fixed CommandWalk no longer telling the player an invalid direction message when trying to walk to someplace that does not exist. - Moved PlayerCollection array referencing from Game.Start() to the Game's constructor so that scripts may change the player class during its startup. - BaseCharacter now invokes the Look command after Login command is completed. - ScriptEngine no longer sets the output path for a compiled script if the script is designated as compile to memory. - Fixed custom players not being able to access their own Methods and Properties during runtime. MudServer: - Additional Console Log Messages added.
This commit is contained in:
parent
88378584ac
commit
8b1be3d1eb
6 changed files with 34 additions and 51 deletions
|
@ -200,8 +200,6 @@ namespace MudEngine.GameObjects.Characters
|
|||
}
|
||||
}
|
||||
|
||||
ExecuteCommand("Login");
|
||||
|
||||
//Set the players initial room
|
||||
if ((ActiveGame.InitialRealm == null) || (ActiveGame.InitialRealm.InitialZone == null) || (ActiveGame.InitialRealm.InitialZone.InitialRoom == null))
|
||||
{
|
||||
|
@ -211,6 +209,9 @@ namespace MudEngine.GameObjects.Characters
|
|||
}
|
||||
else
|
||||
CurrentRoom = ActiveGame.InitialRealm.InitialZone.InitialRoom;
|
||||
|
||||
ExecuteCommand("Login");
|
||||
ExecuteCommand("Look"); //MUST happen after Room setup is completed, otherwise the player default Abyss Room is printed.
|
||||
}
|
||||
internal void Receive(string data)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue