lt há 3 semanas atrás
pai
commit
a10560c84d

+ 2 - 1
RO_Server_Trunk-branch_0.1.39/roserver/game/model/role.go

@@ -4026,7 +4026,8 @@ func (this *Role) OnPayCallback(payRewardInfo *serverproto.PayOrderSaveInfo, bSa
 	var addItemList = map[int32]int32{}
 	var itemlist = []*serverproto.KeyValueType{}
 	for idx := 0; idx < len(payRewardInfo.RewardList); idx++ {
-		if bCash && (payRewardInfo.RewardList[idx].Key == int32(serverproto.ResType_Res_ROCoin) || payRewardInfo.RewardList[idx].Key == int32(serverproto.ResType_Res_VipExp)) {
+		isLastTwo := idx >= len(payRewardInfo.RewardList)-2
+		if bCash && (payRewardInfo.RewardList[idx].Key == int32(serverproto.ResType_Res_ROCoin) || payRewardInfo.RewardList[idx].Key == int32(serverproto.ResType_Res_VipExp)) && isLastTwo {
 			continue
 		}
 		addItemList[payRewardInfo.RewardList[idx].Key] += payRewardInfo.RewardList[idx].Value

+ 1 - 1
操作命令/仙境服务器2.txt

@@ -12,7 +12,7 @@ jenkins启动命令:nohup /www/server/java/jdk-17.0.8/bin/java -jar jenkins.war
 
 关闭注册:hset server:reg registerclose 1
 
-sh open_server.sh -s 2 -p 3 -r 3
+sh open_server.sh -s 11 -p 21 -r 11
 
 
 gm

+ 1 - 1
操作命令/刷新.txt

@@ -54,7 +54,7 @@ cdn:https://cdn-ro-xiaoqi01.cdyishanyou.com
 AWS登录地址:https://aws.amazon.com/cn/console/
 /x7/res/AndroidLocalizedRes
 /x7/res/IosLocalizedRes
-/res/NoticeNew
+/x7/res/NoticeNew
 
 
 API