From 8fe7981e0753c3b6a6ad0fdc80712e7dd8fede0e Mon Sep 17 00:00:00 2001
From: Yimura <andreas.maerten@scarlet.be>
Date: Fri, 29 Jan 2021 18:55:54 +0100
Subject: [PATCH] fix(IncrementStatEvent): Fixed player struct

---
 BigBaseV2/src/hooks/increment_stat_event.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/BigBaseV2/src/hooks/increment_stat_event.cpp b/BigBaseV2/src/hooks/increment_stat_event.cpp
index 238ea5b3..beb0493f 100644
--- a/BigBaseV2/src/hooks/increment_stat_event.cpp
+++ b/BigBaseV2/src/hooks/increment_stat_event.cpp
@@ -4,10 +4,10 @@
 
 namespace big
 {
-	bool hooks::increment_stat_event(uint64_t net_event_struct, int64_t sender, int64_t a3)
+	bool hooks::increment_stat_event(uint64_t net_event_struct, CNetGamePlayer* sender, int64_t a3)
 	{
 		Hash hash = *reinterpret_cast<DWORD*>(net_event_struct + 0x30);
-		Player sender_id = *reinterpret_cast<uint16_t*>(sender + 0x2D);
+		Player sender_id = sender->player_id;
 
 		switch (hash)
 		{
@@ -17,7 +17,7 @@ namespace big
 		case RAGE_JOAAT("MPPLY_TC_ANNOYINGME"):
 		case RAGE_JOAAT("MPPLY_TC_HATE"):
 			char report[64];
-			strcpy(report, "Blocked report from <C>");
+			strcpy(report, "~g~BLOCKED REPORT~s~\nFrom: <C>");
 			strcat(report, PLAYER::GET_PLAYER_NAME(sender_id));
 			strcat(report, "</C>");