Download
-
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.
-
I’ll add this here for posterity…here’s an unofficial release of flhook-plugin that includes fixes for rename issues & autobuy
http://forge.the-starport.net/gf/download/user/106/89/flhook1.6.0_plugin-p3.7z.