The issue of Script API v2 not being able to listen to server packets(关于Script api v2 无法监听服务器数据包的问题)
-
When I used Script API v2 to update old version API scripts, I found that Script API v2 cannot listen to server packets compared to Script API v1 in scripts containing the same logic
当我使用Script API v2更新旧版本API脚本时,我发现在包含相同逻辑的脚本中,与Script API v1相比,Script API v2无法侦听服务器数据包Script API v1 Version code
TestDisablerPro.jsScript API v2 Version code
TestDisablerPro(API V2).jsWhen I use Script API v1 Version code, it can output:
But when I use Script API v2 version code, it cannot output server data packets