• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Filterscript] Anti-Bot (Anti-Multiple-Connections)
#8
(2019-05-20, 10:36 PM)rEf Wrote: https://pastebin.com/zzbzynuK



I have to agree this is written better, it has less code, it's clean and doesn't waste performance.

It also doesn't throw any forced messages.



I would prefer that it called some function before kicking, like a `CallRemoteFunction` for `OnPlayerKicked(const playerid, const reason[]);` (this should be the default callback for any library to call for kicking, no need to make it overly complicated, also if the return value was 0 you would not kick the person and if it was 1 you would)



Simple things, that can make a huge difference to development.
Remember to always refer to J0sh as `J0sh...`



@ Networks/Servers

San Andreas Gaming Network (Owner/Founder)

San Andreas Gaming (Owner/Founder)

Grand Theft Cop's n Robber's (Owner)

Britannia Roleplay (Owner/Founder) [Retired]

Alpine RP (Owner/Founder)

Aluminium Network (Maintainer) [Disbanded]

AlphaDM (Tech Support) [Disbanded]



# Services

forum.open.mp (Forum Manager) (Formerly Burgershot.gg

open.mp (Member)



~ Languages/Frameworks

Pawn, C, C, C#, Javascript, Typescript, Lua, Python, Go, Rust, PHP, SQL,

Angular, React, Vue, Svelte, Laravel, Rocket
  Reply


Messages In This Thread
RE: Anti-Bot (Anti-Multiple-Connections) - by rEf - 2019-05-20, 10:36 PM
RE: Anti-Bot (Anti-Multiple-Connections) - by JustMichael - 2019-05-26, 01:14 PM
RE: Anti-Bot (Anti-Multiple-Connections) - by rEf - 2021-03-03, 09:37 AM
RE: Anti-Bot (Anti-Multiple-Connections) - by rEf - 2023-07-11, 06:30 PM

Forum Jump: