public void Handle(BaseInfoRequest message) { // FLPACKET_CLIENT_REQUESTBASEINFO int pos = 2; uint baseid = FLMsgType.GetUInt32(message.Message, ref pos); uint type = FLMsgType.GetUInt8(message.Message, ref pos); Logger.Debug("tx FLPACKET_CLIENT_REQUESTBASEINFO id {0} type {1}", baseid, type); if (baseid != _baseID) { //TODO: kick and log, docked base != requested base } // TODO: Eventually ignore the client message and send the base info // that the server believes the player to be at. if (type != 1) { return; } _base = BaseDB.GetBase(baseid); if (_base == null) { //TODO: kick and log } SendSetStartRoom(baseid, _base.StartRoomID); // fixme? SendGFCompleteMissionComputerList(baseid); SendGFCompleteNewsBroadcastList(_base); }