forked from PGR/ascnet
1
0
Fork 0

Chat cooldown + new version config

This commit is contained in:
rfi 2024-01-18 05:55:16 +07:00
parent 7bb8a962af
commit a95197a7b5
2 changed files with 4 additions and 3 deletions

View File

@ -170,6 +170,7 @@ namespace AscNet.GameServer.Handlers
}
cmd?.Execute();
notifyWorldChat.ChatMessages.Add(MakeLuciaMessage("Command executed!"));
}
catch (CommandMessageCallbackException ex)
{
@ -186,7 +187,7 @@ namespace AscNet.GameServer.Handlers
}
session.SendPush(notifyWorldChat);
session.SendResponse(new SendChatResponse() { Code = 0, ChatData = request.ChatData, RefreshTime = DateTimeOffset.Now.ToUnixTimeSeconds() }, packet.Id);
session.SendResponse(new SendChatResponse() { Code = 0, ChatData = request.ChatData, RefreshTime = DateTimeOffset.Now.ToUnixTimeSeconds() - 10 }, packet.Id);
}
[RequestPacketHandler("SelectChatChannelRequest")]

View File

@ -14,10 +14,10 @@
"LaunchIndexSha1": "def7cf0ae2dbc6a31c5f85632f1d82d1f1d6cbfa"
},
"1.32.0": {
"DocumentVersion": "1.32.6",
"DocumentVersion": "1.32.7",
"LaunchModuleVersion": "1.32.0",
"IndexMd5": "c5d4baac85a6e37b8109ea43dc045d31",
"IndexSha1": "2da53f02debddd597e2e69d04849dd18e9b87d37",
"IndexSha1": "0bd055ef185b199c476ee7a730baa6108393384a",
"LaunchIndexSha1": "def7cf0ae2dbc6a31c5f85632f1d82d1f1d6cbfa"
},
"2.9.0": {