竞技场重写三版,拍脸推送
parent
3bf535943c
commit
9fbfae861a
|
|
@ -21,7 +21,6 @@ import com.ljsd.jieling.logic.activity.event.HeroUpStarEvent;
|
|||
import com.ljsd.jieling.logic.activity.event.Poster;
|
||||
import com.ljsd.jieling.logic.activity.event.SuperBoxEvent;
|
||||
import com.ljsd.jieling.logic.activity.fourChallenge.FourChallengeLogic;
|
||||
import com.ljsd.jieling.logic.arena.ArenaLogic;
|
||||
import com.ljsd.jieling.logic.dao.*;
|
||||
import com.ljsd.jieling.logic.dao.root.GlobalSystemControl;
|
||||
import com.ljsd.jieling.logic.dao.root.User;
|
||||
|
|
@ -254,8 +253,8 @@ public class GetPlayerInfoHandler extends BaseHandler{
|
|||
}
|
||||
//道具异常检查
|
||||
// ItemLogic.getInstance().checkItem(user);
|
||||
ArenaLogic.getInstance().newArenaFirstPush(iSession);
|
||||
MessageUtil.sendIndicationMessage(iSession, 1, MessageTypeProto.MessageType.WorldLevelIndication_VALUE, PlayerInfoProto.WorldLevelIndication.newBuilder().setWorldLeve(GlobleSystemLogic.getGlobalWorldLevelCache()).build(), true);
|
||||
// PlayerInfoProto.WorldLevelIndication build = PlayerInfoProto.WorldLevelIndication.newBuilder().setWorldLeve(GlobleSystemLogic.getGlobalWorldLevelCache()).build();
|
||||
// MessageUtil.sendIndicationMessage(iSession, 1, MessageTypeProto.MessageType.WorldLevelIndication_VALUE, build, true);
|
||||
MessageUtil.sendMessage(iSession, 1, MessageTypeProto.MessageType.GET_PLAYERINFO_RESPONSE_VALUE, getPlayerInfoResponse, true);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -64,7 +64,7 @@ public class Cmd_arenafalsedata extends GmAbstract {
|
|||
CommonProto.ArenaPersonInfo personInfo = redisUtil.getmapvalue(RedisKey.NEW_ARENA_FIRST_PUSH, ArenaLogic.FIRST_PUSH, CommonProto.ArenaPersonInfo.class);
|
||||
if (personInfo == null){
|
||||
redisUtil.putmap(RedisKey.NEW_ARENA_FIRST_PUSH, ArenaLogic.FIRST_PUSH, CBean2Proto.getNewArenaPlayerProto(first.getId(), roomId));
|
||||
redisUtil.expireMills(RedisKey.NEW_ARENA_FIRST_PUSH, TimeUtils.ONE_MINUTE * 10);
|
||||
redisUtil.expireMills(RedisKey.NEW_ARENA_FIRST_PUSH, TimeUtils.ONE_MINUTE * 100);
|
||||
LOGGER.info("竞技场假数据,第一拍脸,uid:{},房间id:{}",first.getId(),roomId);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1407,7 +1407,6 @@ public class ArenaLogic {
|
|||
LOGGER.error("菜鸟竞技场赛季发奖退出, 没找到本地的竞技场!耗时:{} ms, 当前时间:{}", TimeUtils.now() - start, TimeUtils.getTimeStamp2(TimeUtils.now()));
|
||||
return;
|
||||
}
|
||||
RedisUtil redisUtil = RedisUtil.getInstence();
|
||||
NewArenaRank rank = (NewArenaRank) RankEnum.toRank(RankEnum.NEW_ARENA_RANK.getType());
|
||||
String title = SErrorCodeEerverConfig.getI18NMessage("arena_season_reward_title");
|
||||
for (Integer roomId : localRooms) {
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@ import com.ljsd.jieling.globals.BIReason;
|
|||
import com.ljsd.jieling.globals.GlobalItemType;
|
||||
import com.ljsd.jieling.logic.activity.event.Poster;
|
||||
import com.ljsd.jieling.logic.activity.event.SaveHeroForceEvent;
|
||||
import com.ljsd.jieling.logic.arena.ArenaLogic;
|
||||
import com.ljsd.jieling.logic.dao.*;
|
||||
import com.ljsd.jieling.logic.dao.root.User;
|
||||
import com.ljsd.jieling.logic.item.ItemLogic;
|
||||
|
|
@ -51,6 +52,7 @@ public class TrainingLogic {
|
|||
builder.addInfos(proto);
|
||||
}
|
||||
MessageUtil.sendMessage(iSession, 1, MessageTypeProto.MessageType.TrainingArchitectureInfoResponse_VALUE, builder.build(), true);
|
||||
ArenaLogic.getInstance().newArenaFirstPush(iSession);//每次登陆请求
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in New Issue