Add encryption to sent server data because happybob007 makes my life difficult

This commit is contained in:
2025-06-10 17:02:01 -07:00
parent e932396c28
commit f50f70423b
11 changed files with 87 additions and 36 deletions

View File

@@ -68,7 +68,7 @@ public class LoadingMenu : MonoBehaviour
string response;
if (Application.platform != RuntimePlatform.WebGLPlayer)
{
using UnityWebRequest request = UnityWebRequest.Get("https://berrydash.lncvrt.xyz/database/canLoadClient.php");
using UnityWebRequest request = UnityWebRequest.Get(SensitiveInfo.SERVER_DATABASE_PREFIX + "canLoadClient.php");
request.SetRequestHeader("User-Agent", "BerryDashClient");
request.SetRequestHeader("ClientVersion", Application.version);
request.SetRequestHeader("ClientPlatform", Application.platform.ToString());