From 291d092775f815d62677e2cec5726e76771a05d4 Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Sun, 12 Jun 2011 15:42:08 +0200 Subject: Send dummy players. --- common | 2 +- server.cpp | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/common b/common index 042055b..1f97ccd 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit 042055b251bba4d8a59e16ca47721543cae346cd +Subproject commit 1f97ccdac792c0b5b07972e7d4b2f28416046ea8 diff --git a/server.cpp b/server.cpp index e2fd37d..33abb00 100644 --- a/server.cpp +++ b/server.cpp @@ -36,6 +36,12 @@ void Server::handle_connect(Connection::p connection) { % connection->socket.remote_endpoint().address().to_string()).str()); m.send(connection->socket); + message::Player p(0, Vector3(0, 52, 0), "foooooooooooooooooooooo"); + p.send(connection->socket); + + message::Player p2(1, Vector3(5, 50, 5), "b"); + p2.send(connection->socket); + async_read(connection); /*boost::asio::streambuf b; -- cgit v1.2.3