mirror of
https://git.muiegratis.online/suikoakari/Campofinale
synced 2025-12-13 10:04:34 +01:00
i hope some fix
This commit is contained in:
@@ -140,7 +140,7 @@ namespace Campofinale.Http
|
|||||||
if (account != null)
|
if (account != null)
|
||||||
{
|
{
|
||||||
|
|
||||||
resp = "{\"data\": { \"uid\": \"" + account.id + "\", \"code\": \"" + account.grantToken + "\" }, \"msg\": \"OK\", \"status\": 0, \"type\": \"A\"}";
|
resp = "{\"data\": { \"token\": \"" + account.token + "\", \"uid\": \"" + account.id + "\", \"code\": \"" + account.grantToken + "\" }, \"msg\": \"OK\", \"status\": 0, \"type\": \"A\"}";
|
||||||
}
|
}
|
||||||
|
|
||||||
ctx.Response.StatusCode = 200;
|
ctx.Response.StatusCode = 200;
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ namespace Campofinale.Packets.Cs
|
|||||||
// rsp.ServerPublicKey = ByteString.CopyFrom(encryptedEncKey);
|
// rsp.ServerPublicKey = ByteString.CopyFrom(encryptedEncKey);
|
||||||
|
|
||||||
CSChaCha20 cipher = new CSChaCha20(encKey, serverEncrypNonce, 1);
|
CSChaCha20 cipher = new CSChaCha20(encKey, serverEncrypNonce, 1);
|
||||||
if (req.ClientVersion == GameConstants.GAME_VERSION)
|
if (req.ClientVersion == GameConstants.GAME_VERSION || req.ClientVersion == GameConstants.GAME_VERSION_ANDROID)
|
||||||
{
|
{
|
||||||
if (account == null)
|
if (account == null)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user