mirror of
https://github.com/azerothcore/mod-anticheat.git
synced 2026-01-13 00:58:35 +00:00
Readjusted the Sql again, Removes the teleporthack_report collumns. It is pretty much worthless with its insane high count that would cause drag on the db and well not needed, it seems like a good idea at the time but it isnt, instead it will add a +1 to the total_reports collumn and the teleport and ignore control hacks will spam their own message once the reports hit default 70 or whatever the user has set. New detection type Ignore Control Hack, This is if a player is rooted or stunned, they are able to still move when effected.
30 lines
1.3 KiB
SQL
30 lines
1.3 KiB
SQL
DROP TABLE IF EXISTS `daily_players_reports`;
|
|
CREATE TABLE IF NOT EXISTS `daily_players_reports` (
|
|
`guid` int unsigned NOT NULL DEFAULT 0,
|
|
`creation_time` int unsigned NOT NULL DEFAULT 0,
|
|
`average` float NOT NULL DEFAULT 0,
|
|
`total_reports` bigint unsigned NOT NULL DEFAULT 0,
|
|
`speed_reports` bigint unsigned NOT NULL DEFAULT 0,
|
|
`fly_reports` bigint unsigned NOT NULL DEFAULT 0,
|
|
`jump_reports` bigint unsigned NOT NULL DEFAULT 0,
|
|
`waterwalk_reports` bigint unsigned NOT NULL DEFAULT 0,
|
|
`teleportplane_reports` bigint unsigned NOT NULL DEFAULT 0,
|
|
`climb_reports` bigint unsigned NOT NULL DEFAULT 0,
|
|
PRIMARY KEY (`guid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
|
|
|
DROP TABLE IF EXISTS `players_reports_status`;
|
|
CREATE TABLE IF NOT EXISTS `players_reports_status` (
|
|
`guid` int unsigned NOT NULL DEFAULT 0,
|
|
`creation_time` int unsigned NOT NULL DEFAULT 0,
|
|
`average` float NOT NULL DEFAULT 0,
|
|
`total_reports` bigint unsigned NOT NULL DEFAULT 0,
|
|
`speed_reports` bigint unsigned NOT NULL DEFAULT 0,
|
|
`fly_reports` bigint unsigned NOT NULL DEFAULT 0,
|
|
`jump_reports` bigint unsigned NOT NULL DEFAULT 0,
|
|
`waterwalk_reports` bigint unsigned NOT NULL DEFAULT 0,
|
|
`teleportplane_reports` bigint unsigned NOT NULL DEFAULT 0,
|
|
`climb_reports` bigint unsigned NOT NULL DEFAULT 0,
|
|
PRIMARY KEY (`guid`)
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|