It's impossible coz FOnline uses packet encryption. I want to make defense from dll injects. But it's in future...
Not sure if this was a joke, but why not. This is a losing game, unless you have the resources of Valve (VAC) or Blizzard (Warden), you're not going to be able to detect and prevent dll injection in any kind of meaningful way. You'll have to make it very intrusive (kernel driver) to make it at the least effective, or make it fairly simple but focus on making it complex to waste cheaters time.
In any case I don't think a lot of players would like to install such a hostile piece of code just to play your FOnline game. It's a cat and mouse game and any attempt you make to detect can be patched away, and as long as the cheat code is able to run at the same priviledge level as your cheat detection, you're not going to be able to do much. You can't control the users machine because it's not an iPhone and there's a lot of people out there that enjoy breaking anti-cheat stuff
Furthermore, there have been protocol reversings done before
like this one, so it's far from impossible, you just need a lot of time (and/or skill) to study how the client communicates using a disassembler and at that level there's no magic going on.