feat: spoof purchaseInfo
Build / build (push) Has been cancelled

This commit is contained in:
2026-03-22 03:01:11 -03:00
parent fd0f55bd5e
commit 38b98bc3ab
+11 -3
View File
@@ -382,11 +382,19 @@ void Spoofer::serverResponseHandler(const std::string& url, std::string& body, s
for (auto& charInfo : charList) for (auto& charInfo : charList)
{ {
charInfo["isEntitled"] = true; if (charInfo["isEntitled"] == false)
if (charInfo.contains("bloodWebLevel") && charInfo["bloodWebLevel"] <= 1)
{ {
charInfo["bloodWebLevel"] = 15; charInfo["isEntitled"] = true;
if (charInfo.contains("bloodWebLevel")) charInfo["bloodWebLevel"] = 15;
if (charInfo["bloodWebData"].contains("level")) charInfo["bloodWebData"]["level"] = 1; if (charInfo["bloodWebData"].contains("level")) 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); modifyCharacterData(charInfo);