Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 8929c0e39b | |||
| ab2385fc2f |
@@ -384,11 +384,16 @@ void Spoofer::serverResponseHandler(const std::string& url, std::string& body, s
|
|||||||
|
|
||||||
for (auto& charInfo : charList)
|
for (auto& charInfo : charList)
|
||||||
{
|
{
|
||||||
|
if (charInfo.contains("bloodWebLevel") && charInfo.at("bloodWebLevel").get<int>() <= 15)
|
||||||
|
if (!charInfo.contains("prestigeLevel") || charInfo.at("prestigeLevel").get<int>() <= 0)
|
||||||
|
charInfo["bloodWebLevel"] = 15;
|
||||||
|
|
||||||
|
if (charInfo.contains("bloodWebData") && charInfo.at("bloodWebData").contains("level"))
|
||||||
|
charInfo["bloodWebData"]["level"] = 1;
|
||||||
|
|
||||||
if (charInfo["isEntitled"] == false)
|
if (charInfo["isEntitled"] == false)
|
||||||
{
|
{
|
||||||
charInfo["isEntitled"] = true;
|
charInfo["isEntitled"] = true;
|
||||||
if (charInfo.contains("bloodWebLevel")) charInfo["bloodWebLevel"] = 15;
|
|
||||||
if (charInfo.contains("bloodWebData")) charInfo["bloodWebData"]["level"] = 1;
|
|
||||||
if (charInfo.contains("origin"))
|
if (charInfo.contains("origin"))
|
||||||
{
|
{
|
||||||
charInfo["purchaseInfo"] = {{"quantity", 1},
|
charInfo["purchaseInfo"] = {{"quantity", 1},
|
||||||
@@ -454,7 +459,7 @@ void Spoofer::serverResponseHandler(const std::string& url, std::string& body, s
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Spoofer::clientRequestHandler(std::string& url, const std::string& body, std::string& reqHeaders)
|
void Spoofer::clientRequestHandler(std::string& url, const std::string& body, std::string& /*reqHeaders*/)
|
||||||
{
|
{
|
||||||
if (url.find("api/v1/dbd-character-data/bloodweb") != std::string::npos ||
|
if (url.find("api/v1/dbd-character-data/bloodweb") != std::string::npos ||
|
||||||
url.find("api/v1/dbd-character-data/bulk-spending-bloodweb") != std::string::npos)
|
url.find("api/v1/dbd-character-data/bulk-spending-bloodweb") != std::string::npos)
|
||||||
|
|||||||
Reference in New Issue
Block a user