Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- made by kosacid
- compiled by TheIDE
- took a while to iron out all the bugs but i got there in the end
- what the anti cheat can do here goes
- Basicly when the player logs on the AC ask if the client is there if not they are kicked of the server
- Next it asks .process eny key words in hook.ini it will look for them and report. Best to keep it acurate key words
- say some thing like utorrent.exe on the server i run ive made it kick the player when found
- Next is the crcs simple realy just supply the path to the files you want to protect and there crcs just look in flhook.ini to see examples
- you are best to supply the ini files you want the crcs to be acurate. when the crcs dont match the player is beamed to the base you name in
- [General] Prison=li01_01_base basicly they cant undock till the crcs match
- Next is the time test it based over 10sec uasaly when they first log in it registers 0 but after that it will hover between 9 and 10 sec
- enything othere than that you can class that as a speed hack i even noticed when you even hook into it it efects the time
- it is tested on processor ticks and freelancers internal game speed so its prity acurate
- there is a bit of a bug about the timer thread some times it hangs when closing freelancer not worked out why yet
- Ive built in Auto Wide Screen but still your better supplying a Cameras.ini for fish eye and stuff and crcing that file
- Next the attached process .freelancer that tells you what dlls are hooked into freelancer ive not done mutch work on that
- but i supose you can make a list up off every dll in the exe folder and compare it to the recived list
- if its not in that list you can send them to prison or auto ban
- You can do the commands manuel
- in hook console just do the following
- msgu .test will do the logon test on every player on the server basicly rerun all the tests again
- msg playername .test will do a single player
- msgu .process will look for the key words in flhook.ini
- msg playername .process for single player
- msgu .freelancer will test all the attached dlls to freelancer.exe
- msg playername .freelancer for single player
- msgu .time will test everyones game speed rember 9 to 10 is normal
- msg playername .time for single player
- its prity well noted in FLHookSRC what ive done to make it work so feel free to add your own ideas and maby some one will add it to
- the module version of hook i havent had time to have a look at that yet but i might get round to it
- so happy programming have fun
- if you get stuck or that just mail me at mode_x3@hotmail.com
- credits to
- M0tah for helping me out when i got stuck and puting up with me lol
- Crazy for giving me info on how to hook the chat interface
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement