服务器报错修改
parent
d6079d0964
commit
78d14781c8
|
@ -825,6 +825,7 @@ public class MapLogic {
|
|||
mapManager.setTowerUnusedBuffer(null);
|
||||
};
|
||||
LOGGER.info("退出地图");
|
||||
mapManager.setEssenceValue(0);
|
||||
boolean result = onlyLevelMap(user, true);
|
||||
if (!result) {
|
||||
MessageUtil.sendErrorResponse(session, 0, messageType.getNumber(), "");
|
||||
|
@ -832,13 +833,6 @@ public class MapLogic {
|
|||
}
|
||||
}
|
||||
int time = (int)(mapManager.getCurrTowerTime())/1000;
|
||||
// mapManager.setCurrTowerTime(TimeUtils.now());
|
||||
|
||||
// if(mapManager.getTower()==1){
|
||||
// time = 0;
|
||||
// mapManager.setCurrTowerTime(TimeUtils.now());
|
||||
//
|
||||
// }
|
||||
builder.setUseTime(time);
|
||||
LOGGER.info("当前层使用时间{}",time);
|
||||
if(mapManager.getTower()>mapManager.getHighestTower()){
|
||||
|
|
|
@ -124,8 +124,6 @@ public class ProtocolsManager implements ProtocolsAbstract {
|
|||
}
|
||||
final ISession session = (ISession) gameSession;
|
||||
PacketNetData packetNetData = new PacketNetData((byte[]) obj);
|
||||
int msgId = packetNetData.getMsgId();
|
||||
LOGGER.info("uid={},msgId={},index={}",packetNetData.getUserId(),msgId,packetNetData.getIndex());
|
||||
// MessageTypeProto.MessageType messageType = MessageTypeProto.MessageType.valueOf(msgId);
|
||||
// FileWriter fw = null;
|
||||
// if (!gameMessageForLogin.containsKey(messageType)){
|
||||
|
|
Loading…
Reference in New Issue