From c7992f9fc08d5fac7ae0dd44aaa1aa1890e6a1fd Mon Sep 17 00:00:00 2001 From: sk <123456@qq.com> Date: Wed, 10 Jul 2024 00:01:12 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B5=9B=E5=AD=A3=E9=80=9A=E8=A1=8C=E8=AF=81?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- data/gameparam.json | 2 +- worldsrv/action_task.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/data/gameparam.json b/data/gameparam.json index 48db513..d0956de 100644 --- a/data/gameparam.json +++ b/data/gameparam.json @@ -24,5 +24,5 @@ "AgoraAddress": "http://47.105.78.29:8081", "InviteUrl": "http://47.105.78.29:8000/", "RankTimeout": 2, - "PermitInitScore": 1234 + "PermitInitScore": 0 } \ No newline at end of file diff --git a/worldsrv/action_task.go b/worldsrv/action_task.go index b62c7c2..214cc07 100644 --- a/worldsrv/action_task.go +++ b/worldsrv/action_task.go @@ -200,6 +200,7 @@ func CSTaskReward(s *netlib.Session, packetId int, data interface{}, sid int64) for _, v := range srvdata.TaskMgr.GetActivityType(msg.GetTp()) { f(v.GetId()) } + ret.OpCode = taskproto.OpResultCode_OPRC_Success } else { f(msg.GetId()) }