here is a copy:
IMPORTANT NOTE:
This is not a cheat/exploit mod. In fact, this mod is very secure as regards the mechanicsm to force the
client to uncloak and cloak. If a cheater somehow gets a cloak device on a server where the server-side extension of this mod is not
running, cloaking and uncloaking will just not work, so the cheater would not be able to fire any weapon while cloaked.
NOTES FOR DEVELOPERS:
First, please have a look right at the top of the FLHook.ini. You will find basic cloak related
settings there (you also have to list all your implemented cloak devices there)
I included the source code of the server-side extension needed for the cloak mod to work.
Please note that the client will only react on the incoming chat events "Cloak" and "Uncloak"
and will therefore deactivate or activate the local cloak device.
To fix the bug where player A would not see player B becasue player B has a cloaking device and is uncloaked but
player A just logged in with F1, I implemented a timer that, if a player is uncloaked, simulates a
'deactivate cloak device' message to other players every 0.5 seconds. This way, every spawning player would immediatly
get the uncloak message so that the uncloaked player with cloaking device will be visible to them.
I may add more features that allow for better balancing of the cloak in the future. But for now, if you
have C++ knowledge, you should already be able to implement your own balance ideas.
I would be very happy to learn about them and the code (just send me an email:
[email protected] or contact
me on
www.freelancerserver.de)