Download
-
Latest version 1.6.0: Download
Changelog:
1.6.0 plugin
- fixed rename function
- fixed addcargo admin command (was causing cheat detect kick under certain circumstances)
- fixed autobuy now buying up to MAX_PLAYER_AMMO constant units of ammo
- death messages: killer should now be identified better on ships which use death fuses
- added some requested and additional exports for plugins
- reimplemented and fixed basedestroy (socket) event
- added “special” admin rights for special commands that may be implemented by plugins (see “rights” section)
- improved condata plugin
- implemented help command (with plugin callback)
- improved general logging (see log section and FLHook.ini)
1.5.9 plugin
- fixed crash bug in beam command introduced with last version *sigh
- fixed a potential crash bug when shutting down FLServer
- included MSVC 7.0 runtime library files needed for FLHook
- Connection Data plugin: fixed lag detection
- updated FLHook.ini and added explanations of connection kick settings
1.5.8 plugin
- fixed bugs in plugin loading function
- added new hooks (ElapseTime, UpdateGlobalTiming, LaunchPosHook, DockCall; see plugin documentation)
- reserved slot admin commands added to readme and help command
- log: fixed some logfiles not logging to “Freelancer/EXE/flhook_logs/”
- log: added optional connect logging (see FLHook.ini)
- code: HkEnumCargo now reports more information (see FLHook.h)
- code: HkGetEqType now differs between more equipment types (see FLHook.h)
- bug: fixed critical bugs introduced in version 1.5.7
- bug: fixed beam command
- reworked admin rights, see “RIGHTS” section in the readme
- added new admin command: getrep (<-> setrep)
- code: fixed “engine kill” detection (returned by HkGetEngineState)
1.5.7 plugin beta
- included FLCoreSDK (see readme.txt in ./src/sdk/FLCoreSDK) by Skif
- added many FLHook exports (see FLHook.h in the sdk folder)
- added FLServer header files that should now be the base for further reversing development (see sdk folder)
- socket: added some security measures to further protect the socket interface from external attacks (IPs are now logged)
- socket: set the outgoing buffer to 300kb so that long messages dont get cut
- ingame chat: fixed flserver native commands “/l”, “/s” and “/g”, local chat is now blue (only if chatfont usercommand is enabled)
- ini: ReservedSlots, TorpMissileBaseDamageMultiplier and Debug added
- code: removed FLHookStart injection and unload features completely
- code: hooked IServerImpl::Startup so that advanced hooks can be installed prior to the actual server startup
- init: FLHook now forces the FLServer to load the complete universe before going live (fixes an autobuy bug and helps spotting errors in mods)
- log: all log files are now saved in “Freelancer/EXE/flhook_logs/” instead of the multiplayer accounts folder
- ping/loss: removed connection checking functionality and put them into an advanced connection plugin
1.5.6 plugin beta
- added plugin support
- raised max. supported players to 200
- bugfix: fixed crash bug on the disconnect delay feature
- exploitfix: fixed crash exploit on the socket interface
- eventmode: deactivated basedestroy event because it can cause heavy cpu load
-
Fantastic, thanks mate,
-
cant wait to see whats inside ^^ good work fella
-
Rather large update:
1.5.7 plugin beta (unofficial)
- included FLCoreSDK (see readme.txt in ./src/sdk/FLCoreSDK) by Skif
- added many FLHook exports (see FLHook.h in the sdk folder)
- added FLServer header files that should now be the base for further reversing development (see sdk folder)
- socket: added some security measures to further protect the socket interface from external attacks (IPs are now logged)
- socket: set the outgoing buffer to 300kb so that long messages dont get cut
- ingame chat: fixed flserver native commands “/l”, “/s” and “/g”, local chat is now blue (only if chatfont usercommand is enabled)
- ini: ReservedSlots, TorpMissileBaseDamageMultiplier and Debug added
- code: removed FLHookStart injection and unload features completely
- code: hooked IServerImpl::Startup so that advanced hooks can be installed prior to the actual server startup
- init: FLHook now forces the FLServer to load the complete universe before going live (fixes an autobuy bug and helps spotting errors in mods)
- log: all log files are now saved in “Freelancer/EXE/flhook_logs/” instead of the multiplayer accounts folder
- ping/loss: removed connection checking functionality and put them into an advanced connection plugin
Note, there no longer is a simple “Example plugin”. There are now 2 plugins of which the source code is included, they now form the “example” (also to show how inter plugin communication is meant to be done).
both, readme.txt and plugin_documentation.txt have received a major update, check them out
The source for the complete flhook plugin version is now included.
Downloadlink @ first post updated.
-
see the anticheat plugin:
http://the-starport.net/component/option,com_smf/Itemid,26/topic,653.0/
-
*bump
New version released.
Check the changelog in first post.Release Notes:
End User Notes:
Please check the changes to the FLHook.ini to make sure you dont have invalid settings. There is now a new Log section which allows for a detailed setup of different logging options.
Also, the lag detection of the condata plugin has been changed, the “LagDetectionMinimum” is now a percentage value. 50% seems to be a good, balanced value. The syntax of the user commands implemented by the condata plugin has also been changed, it is now “/ping” and “/pingtarget”.
Also new is a help command, you can activate it by setting
Help=yes
under [UserCommands] in FLHook.iniDeveloper Notes:
There are multiple important changes, so please read this carefully!
First, there is a new export:
extern __declspec(dllimport) bool g_bPlugin_nofunctioncall;
(in plugin.h in the sdk/headers folder)
g_bPlugin_nofunctioncall==true indicates to your plugin that the original function should not be called because either it has been called by a previous plugin, or a previous plugin wants to prevent the function from being called.
This adds a layer of compatability for plugin functions that need to be executed after certain server methods, like IServerImpl::PlayerLaunch.
Admin rights:
3 new rights have been added to be used by plugins for special commands. They are “special1”-3.
Also, check the plugin documentation for the new help-UserCommand (to insert your plugin commands if you wish to use it) and the BaseDestroyed function.
Also, there are new vars being exported now:
iDmgTo
iDmgToSpaceID (new! if an npc or other object than a player is hurt, this is very useful)
g_bMsg g_bMsgS g_bMsgU
Some words about the addcargo and rename functions. Both functions may now perform bad when used excessively. This has to be evaluated though, it is just a warning. On the other hand, they now should be completely bug-free. -
Our flserver crashes on startup if I use the 1.6.0 version. After switching back to 1.5.9 it works fine. After it loads and the server name appears there instead of the running “…LOADING…” message, server load remains at 33ms and after 10s both flserver window and flhook windows dissapear.
I double checked the flhook.ini changes. I’ll now try to unload all used plugins.
-
There seems to be a problem with using GetShipInspect in plugins. Although the SDK suggests that FLHook exports this function (extern IMPORT _GetShipInspect GetShipInspect; in Hook.h), it’s never exported by the plugin version, which results in a linker error when making any plugins that use it.