Download
-
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.
-
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.