diff --git a/logic/Logic.Client/Client.cs b/logic/Logic.Client/Client.cs index 5c78dc7..78ab6f0 100644 --- a/logic/Logic.Client/Client.cs +++ b/logic/Logic.Client/Client.cs @@ -411,8 +411,8 @@ public void OnReceive(IMessage message) messageToServer.ID = this.id; } - this.Position = new XYPosition(msg.GameObjectList[this.id].PositionX, msg.GameObjectList[this.id].PositionY); - this._facingDirection = (THUnity2D.Direction)msg.GameObjectList[this.id].Direction; + //this.Position = new XYPosition(msg.GameObjectList[this.id].PositionX, msg.GameObjectList[this.id].PositionY); + //this._facingDirection = (THUnity2D.Direction)msg.GameObjectList[this.id].Direction; ChangeAllLabels(msg); lastRecieveMessage = msg; diff --git a/runAgent.bat b/runAgent.bat index c0d044e..2ac41aa 100644 --- a/runAgent.bat +++ b/runAgent.bat @@ -1 +1 @@ -communication\Agent\bin\Release\netcoreapp3.0\Communication.Agent.exe --server 127.0.0.1:20000 --port 30000 --debugLevel 0 --playercount 1 --timelimit 25 \ No newline at end of file +communication\Agent\bin\Release\netcoreapp3.0\Communication.Agent.exe --server 127.0.0.1:20000 --port 30000 --debugLevel 0 --playercount 2 --timelimit 25 \ No newline at end of file diff --git a/runServer.bat b/runServer.bat index 57e95d7..2a35ba8 100644 --- a/runServer.bat +++ b/runServer.bat @@ -1 +1 @@ -logic\Logic.Server\bin\Release\netcoreapp3.0\Logic.Server.exe --port 20000 --debugLevel 1 --playerCount 1 --agentCount 2 --gameTime 600 \ No newline at end of file +logic\Logic.Server\bin\Release\netcoreapp3.0\Logic.Server.exe --port 20000 --debugLevel 1 --playerCount 2 --agentCount 4 --gameTime 600 \ No newline at end of file