Compare commits

...

3 Commits

Author SHA1 Message Date
neru 5f7ab419b0 fix: always set bloodWebData level
Build / build (push) Successful in 3m17s
2026-03-22 03:04:06 -03:00
neru 38b98bc3ab feat: spoof purchaseInfo
Build / build (push) Has been cancelled
2026-03-22 03:01:11 -03:00
neru fd0f55bd5e fix: remove unused variable (again)
Build / build (push) Successful in 3m16s
2026-03-22 00:03:15 -03:00
2 changed files with 12 additions and 5 deletions
-1
View File
@@ -534,7 +534,6 @@ void Proxy::handleClient(SOCKET hClientSocket)
if (!pendingUrls.empty()) pendingUrls.pop_front();
std::string respHeaders = serverStream.buffer.substr(0, bStart);
size_t firstSpace = respHeaders.find(' ');
OnServerResponse.run(url, body, respHeaders);
removeHeader(respHeaders, "Transfer-Encoding");
+12 -4
View File
@@ -382,11 +382,19 @@ void Spoofer::serverResponseHandler(const std::string& url, std::string& body, s
for (auto& charInfo : charList)
{
charInfo["isEntitled"] = true;
if (charInfo.contains("bloodWebLevel") && charInfo["bloodWebLevel"] <= 1)
if (charInfo["isEntitled"] == false)
{
charInfo["bloodWebLevel"] = 15;
if (charInfo["bloodWebData"].contains("level")) charInfo["bloodWebData"]["level"] = 1;
charInfo["isEntitled"] = true;
if (charInfo.contains("bloodWebLevel")) charInfo["bloodWebLevel"] = 15;
if (charInfo.contains("bloodWebData")) charInfo["bloodWebData"]["level"] = 1;
if (charInfo.contains("origin"))
{
charInfo["purchaseInfo"] = {{"quantity", 1},
{"origin", "PlayerInventory"},
{"reason", "Item(s) added via Purchase"},
{"lastUpdateAt", 1770702482},
{"objectId", charInfo["characterName"]}};
}
}
modifyCharacterData(charInfo);