Update demonware
This commit is contained in:
parent
8d3fd2d92d
commit
375c77fd04
@ -476,28 +476,27 @@ namespace demonware
|
||||
{
|
||||
server_thread = utils::thread::create_named_thread("Demonware", server_main);
|
||||
|
||||
utils::hook::set<uint8_t>(game::select(0x14293DC69, 0x1407D5879), 0x0); // CURLOPT_SSL_VERIFYPEER
|
||||
utils::hook::set<uint8_t>(game::select(0x15C293850, 0x1407D5865), 0xAF); // CURLOPT_SSL_VERIFYHOST
|
||||
|
||||
utils::hook::set<uint8_t>(game::select(0x14293E829, 0x1407D5879), 0x0); // CURLOPT_SSL_VERIFYPEER
|
||||
utils::hook::set<uint8_t>(game::select(0x15F3CCFED, 0x1407D5865), 0xAF); // CURLOPT_SSL_VERIFYHOST
|
||||
|
||||
utils::hook::copy_string(game::select(0x1430B96E0, 0x140EE4C68), "http://prod.umbrella.demonware.net");
|
||||
utils::hook::copy_string(game::select(0x1430B8670, 0x140EE4C68), "http://prod.umbrella.demonware.net");
|
||||
|
||||
if (game::is_server())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
utils::hook::copy_string(0x1430B9BE0_g, "http://prod.uno.demonware.net/v1.0");
|
||||
utils::hook::copy_string(0x1430B8B70_g, "http://prod.uno.demonware.net/v1.0");
|
||||
|
||||
utils::hook::set<uint8_t>(0x1430B9810_g, 0x0); // HTTPS -> HTTP
|
||||
utils::hook::copy_string(0x1430B93C8_g, "http://%s:%d/auth/");
|
||||
utils::hook::set<uint8_t>(0x1430B87A0_g, 0x0); // HTTPS -> HTTP
|
||||
utils::hook::copy_string(0x1430B8358_g, "http://%s:%d/auth/");
|
||||
|
||||
utils::hook::set<uint32_t>(0x141EC4B50_g, 0xC3D08948); // Skip publisher file signature stuff
|
||||
utils::hook::call(0x141EC458C_g, get_ffotd_name); // Return unlocalized ffotd name
|
||||
utils::hook::set<uint64_t>(0x141F04550_g, 0xC300000001B8); // Kill LPC_File_SafeWrite
|
||||
utils::hook::set<uint64_t>(0x141F03180_g, 0xC300000001B8); // Kill LPC_DeleteStale
|
||||
utils::hook::set<uint32_t>(0x141EC4AC0_g, 0xC3D08948); // Skip publisher file signature stuff
|
||||
utils::hook::call(0x141EC44FC_g, get_ffotd_name); // Return unlocalized ffotd name
|
||||
utils::hook::set<uint64_t>(0x141F04500_g, 0xC300000001B8); // Kill LPC_File_SafeWrite
|
||||
utils::hook::set<uint64_t>(0x141F03130_g, 0xC300000001B8); // Kill LPC_DeleteStale
|
||||
|
||||
utils::hook::set<uint8_t>(0x141E0AAAB_g, 0xEB); // Release un-handled reportReward spamming loop
|
||||
utils::hook::set<uint8_t>(0x141E0AA1B_g, 0xEB); // Release un-handled reportReward spamming loop
|
||||
}
|
||||
|
||||
void pre_destroy() override
|
||||
@ -516,4 +515,4 @@ namespace demonware
|
||||
};
|
||||
}
|
||||
|
||||
REGISTER_COMPONENT(demonware::component)
|
||||
REGISTER_COMPONENT_WORKING(demonware::component)
|
||||
|
Loading…
Reference in New Issue
Block a user