enableCBT2AccessForbidden on FALSE OMG

This commit is contained in:
AlessandroCH
2025-05-25 14:19:00 +02:00
parent 4c25f00235
commit 0cef94edfc
3 changed files with 4 additions and 3 deletions

View File

@@ -114,7 +114,7 @@ namespace Campofinale.Http
[StaticRoute(HttpServerLite.HttpMethod.GET, "/api/remote_config/get_remote_config/1003/prod-cbt/default/Windows/game_config")]
public static async Task game_config(HttpContext ctx)
{
string resp = "{\"mockLogin\": false, \"selectSrv\": false, \"enableHotUpdate\": false, \"enableEntitySpawnLog\": false}";
string resp = "{\"mockLogin\": false, \"selectSrv\": false, \"enableHotUpdate\": false, \"enableEntitySpawnLog\": false, \"enableCBT2AccessForbidden\": false}";
ctx.Response.StatusCode = 200;
ctx.Response.ContentLength = resp.Length;

View File

@@ -52,7 +52,7 @@ namespace Campofinale.Http
[StaticRoute(HttpServerLite.HttpMethod.GET, "/api/remote_config/get_remote_config/3/prod-cbt/default/Windows/game_config")]
public static async Task game_config_cn_windows(HttpContext ctx)
{
string resp = "{\"mockLogin\": false, \"selectSrv\": false, \"enableHotUpdate\": true, \"enableEntitySpawnLog\": false}";
string resp = "{\"mockLogin\": false, \"selectSrv\": false, \"enableHotUpdate\": true, \"enableEntitySpawnLog\": false, \"enableCBT2AccessForbidden\": false}";
ctx.Response.StatusCode = 200;
ctx.Response.ContentLength = resp.Length;
@@ -77,7 +77,7 @@ namespace Campofinale.Http
[StaticRoute(HttpServerLite.HttpMethod.GET, "/api/remote_config/get_remote_config/3/prod-cbt/default/Android/game_config")]
public static async Task game_config_cn_android(HttpContext ctx)
{
string resp = "{\"mockLogin\": false, \"selectSrv\": false, \"enableHotUpdate\": true, \"enableNpcOptimize\": false, \"enableEntitySpawnLog\": false}";
string resp = "{\"mockLogin\": false, \"selectSrv\": false, \"enableHotUpdate\": true, \"enableNpcOptimize\": false, \"enableEntitySpawnLog\": false, \"enableCBT2AccessForbidden\": false}";
ctx.Response.StatusCode = 200;
ctx.Response.ContentLength = resp.Length;

View File

@@ -10,6 +10,7 @@ namespace Campofinale.Packets.Sc
ScSyncCharBagInfo proto = new()
{
ScopeName=1,
CharInfo =