patch profanity
This commit is contained in:
parent
58c14d1998
commit
40b13cea35
@ -532,6 +532,9 @@ namespace demonware
|
||||
utils::hook::jump(0x52B800_b, get_patching_status_stub);
|
||||
|
||||
utils::hook::set<uint8_t>(0xDC0C00_b, 0xC3); // Live_CheckForFullDisconnect
|
||||
|
||||
// isProfanity
|
||||
utils::hook::set(0x9E3480_b, 0xC3C033);
|
||||
}
|
||||
|
||||
void pre_destroy() override
|
||||
|
@ -5,9 +5,17 @@ namespace demonware
|
||||
{
|
||||
bdTitleUtilities::bdTitleUtilities() : service(12, "bdTitleUtilities")
|
||||
{
|
||||
this->register_task(1, &bdTitleUtilities::is_profanity);
|
||||
this->register_task(6, &bdTitleUtilities::get_server_time);
|
||||
}
|
||||
|
||||
void bdTitleUtilities::is_profanity(service_server* server, byte_buffer* /*buffer*/) const
|
||||
{
|
||||
// TODO:
|
||||
auto reply = server->create_reply(this->task_id());
|
||||
reply->send();
|
||||
}
|
||||
|
||||
void bdTitleUtilities::get_server_time(service_server* server, byte_buffer* /*buffer*/) const
|
||||
{
|
||||
auto* const time_result = new bdTimeStamp;
|
||||
|
@ -8,6 +8,7 @@ namespace demonware
|
||||
bdTitleUtilities();
|
||||
|
||||
private:
|
||||
void is_profanity(service_server* server, byte_buffer* buffer) const;
|
||||
void get_server_time(service_server* server, byte_buffer* buffer) const;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user