Aici aveti HP-ul de la Metin2RO din perioada 2009, FULL scris in Laravel Docker
Are si Itemshop functional.
Nota: Acest release nu este pentru incepatori, recomand sa il adauge doar cei care stiu ce e in arhiva. Daca vrei ceva mai simplu da un ochi aici: homepage-metin2ro-2009-classic-t371.html
Facut de @Shadow
*Poze / Video (obligatoriu):
Live Demo: https://metin.blackgames.ro/
*Link download:
Aici aveti partea de C++ pentru auto-login pe Itemshop in Joc.
Code:
// Build the URL
const auto expire_time = std::chrono::system_clock::now() + std::chrono::minutes(1);
const auto expire_timestamp = std::chrono::duration_cast<std::chrono::seconds>(expire_time.time_since_epoch()).count();
std::string url = fmt::format("{}/mall/auth?pid={}&sid={}&expires={}", g_strWebAppURL, ch->GetPlayerID(), g_server_id, expire_timestamp);
// Compute hex-encoded SHA-256 URL signature
std::string mac, encoded;
try {
CryptoPP::HMAC<CryptoPP::SHA256> hmac((CryptoPP::byte*) g_strWebAppKey.c_str(), g_strWebAppKey.size());
CryptoPP::StringSource ss(url, true, new CryptoPP::HashFilter(hmac, new CryptoPP::StringSink(mac)));
encoded.clear();
CryptoPP::StringSource(mac, true, new CryptoPP::HexEncoder(new CryptoPP::StringSink(encoded), false));
}
catch (const CryptoPP::Exception& e) {
SPDLOG_ERROR("Failed to create HMAC signature: {}", e.what());
return;
}
// Add the signature to the URL
url += fmt::format("&signature={}", encoded);
// Send the command to the player
char buf[512+1];
snprintf(buf, sizeof(buf), "mall %s", url.c_str());

la acest mesaj și conținutul se va afișa automat.