Force session host and improve protections (#593)

* Add force session host and update protections

* Remove old popgroup protection

* Harden script patcher

* Replace looped options with script patches

* Missing break

* Use enums

* Forgot to break again...

* Add tooltip for force session host

Co-authored-by: user <email@hostname>
This commit is contained in:
maybegreat48anduser authored and GitHub committed 2022-11-13 17:34:44 +01:00
1 parent c0d20c59a7
commit f636c7c17f
40 files changed
+467 -250

No files matched your search

@@ -1,5 +1,6 @@
#include "hooking.hpp"
#include "gta_util.hpp"
#include <network/CNetGamePlayer.hpp>
namespace big
{
@@ -333,7 +334,6 @@ namespace big
break;
}
if (g->debug.logs.script_event.logs && (!g->debug.logs.script_event.filter_player || g->debug.logs.script_event.player_id == player->m_player_id))
{
std::string script_args = "{ ";