From: Zach Laine <whatwasthataddress@ho...> - 2004-07-01 00:38:17
I fixed the MP loading, which you probably didn't even know was broken,
right? :) I also implemented endgame and player-elimination handling at the
server and at the clients. The endgame now just says "You are defeated" or
"You are victorious". Nothing fancy, but at least the behavior is right.
I just commited my changes, and you all need to know of one pretty major
change. The Empire ID of the client is now accessible via
ClientApp::EmpireID(). You should use this instead of
ClientApp::PlayerID(), because they are now *not* the same thing. This has
to be this way, because when you load an MP game, the current player IDs may
not always match the saved player/empire IDs. If this doesn't make much
sense, don't worry about it. Just worry about using EmpireID() instead of
PlayerID(), unless you actually mean PlayerID(), such as when you send a
message to the server.
There are still a couple of major problems and a bunch of little ones. The
major things are:
1) sometimes saving a game after a player has been eliminated causes a crash
2) the ship pathfinding is REALLY messed up
I'm looking into both of these.
Watch the online reality show Mixed Messages with a friend and enter to win
a trip to NY
Get latest updates about Open Source Projects, Conferences and News.