18.07.2018, 08:00
Quote:
Kick/ban any NPC that is not connecting from 127.0.0.1 or 255.255.255.255 (FCNPC), if the IP returned by GetPlayerIp doesn't help, FCNPC_IsValid should work perfectly fine as the NPCs that connect from this exploit won't be FCNPCs.
If neither of this helps choose cryptic names for your NPCs and instantly block any packets from NPCs that connect with any other name and ban the IP. Basically a whitelist by name with names that are impossible to guess. But that shouldn't even be neccessary. Also the maxnpc value can be changed during runtime, so you could adjust it as needed. |
About changing maxnpc on runtime, do you mean by using the plugin by kurta? It crashes my server after a few hours somehow...