Tutorial Request –----- How to install and setup FLhook with a modded server.
-
I tried a while with different versions of FlHook
and that’s what i learned:– most of the problems were caused by my incompetence
– the order in which the plugin version (1.6.0) loads the plugins (sorted by name) seems 2 matter
(you might want to try w0dk4’s stuff coming with the plugin version 1st, than ‘flak common’ 2nd, than the rest.
And if you wonder: that was found out by trying according w0dk4’s suggestion above )
– you should not keep any other stuff in the directory of the plugins than the plugins + inis in use
– you should not rename M0tah’s plugins
– the plugin version causes a little additional load on the server (about 5+ms on an old dual p3 667)– we use M0tah’s 88flak 1.6.0 on the main server (mostly due 2 lag of time 4 more testing / configuration)
and it works fine with FlShell and CheatersDeath 1.3.1 (with active message board since 2day)
– we also see the ‘hooking content’ error
(i don’t c any back draw besides that message and i wasn’t able to completely try those hints
due 2 lag of time 4 testing - but my 1st attempts made it worse, possibly so i tried in a hurry.)– there is no special WTS flhook thing
The only restriction i found with the plugin version 1.6.0 is,
that the dock_restrict plugin seemed only to support 1 line / 1 restriction.So a big TY 2 Cannon, M0tah + W0dk4
and all others, who improved those great stuff. -
I have the plugin version of 1.60 working and stable.
Except, chat no longer works for some reason.
-
I have the plugin version of 1.60 working and stable.
…. ;D … time 2 write a tutorial about.
-
Ummm,……
Well, try this version.
http://files.filefront.com/flhook160+pluginrar/;13305799;/fileinfo.htmlCopy everything in the BIN folder of the RAR file into the exe folder:
Files should include:
flhook_plugins folder, FLHookWString.dll, FLHook.ini, FLHook.dll.Then edit the flhook.ini, replacing the bases with the ones from your game. (the info can be pulled from the mbases.ini)
(you only need to do this if your mod has new or different systems. Vanilla servers don’t need this change)To be able to enter commands from the chat box in game you need to change the “socket activated = yes” as shown in red below.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; socket settings
; Activated: must be set in order to enable socket listening
; Port: port that FLHook should listen to (ascii)
; WPort: port that FLHook should listen to (unicode), you will also need to send your commands in unicode
; PassX: password
; RightsX: rights for that password (see the rights section in readme.txt)
; you can have multiple passwords with their distinctive right settings
; they must be numbered serially with passX/rightX
[Socket]
Activated=yes
Port=1919
WPort=1920
Pass0=test
Rights0=superadmin
Pass1=low
Rights1=cash,beamBe sure to change the passwords from the default. (as shown above in orange)
Its stable for me, but when running chat does not function.
If anyone would like to give us a link for a better version of 1.6.0 it would be much appreciated, I’m having problems finding download sources.
-
^^ looks like the one im using… ;D ^^
Yes a tutorial based around “one” hook would be great!..
or just a “consolidated” hook… i’ve basicly given up… im gonna code my own…
not my desired outcome… but its easyer than trying to fight all the different versions vs .content.dll
problems … more dam headache than its worth ATM… be nice if it was alot simpler… some of us don’t
want to kill our mods just so we can “dock with ouselves” <<–hehe i just want the cloaks… as thats been a dream
of mine since i first saw the nomads… all those years ago… and now they work with “penaltys” its perfect…If i get any good at the stuff… I’ll make a tut… and a uberhook for u all… but that may take a week or 2 to know if im “anygood”…
fingers crossin’ ;D -
what about this one
http://forge.the-starport.net/gf/download/user/106/90/flhook1.6.0_plugin-e1.7z -
A wee note - the ‘e’ in that stands for experimental…as it compiles under Visual Studio C++ 2008 Express. This is not an official release.
Coding a consolidated hook would be nice but might not help as it’ll be hard for other people to contribute to it.
The plugin version has solved the contribution problem - wodka made it - Motah and myself added plugins for it. It was written to provide some way to incorporate all of the features different developers provided in various flhook branches. (and I know of other plugin developers)
The main problem I see is one of a “critical mass of people” - if everyone uses, just for example, the flhook-plugin version then we’ll build a big enough user and developer base to solve and/or have tutorials for most problems.
Another flhook branch might not have that critical mass of people - the flhook-plugin version barely does but it is getting close as there are at least three developers for it and at least 5 servers using it.
Now, don’t let what I have said stop you - if you want to do it - go for it and have fun coding.
FYI - I have another 3 plugins on my “to be released” list and will release these as soon as I find some free time - Rep’Ninja, FTL, and LootMod.
-
A wee note - the ‘e’ in that stands for experimental…as it compiles under Visual Studio C++ 2008 Express. This is not an official release.
This might attract more coders, or even starting coders or people who are willing to learn to code.
The express editions are free availeble, the original compiler wasn’t, infact wasn’t even sold anymore, wich made it much harder for people to learn the code.Here is the link to the express editions from Microsoft. http://www.microsoft.com/express/product/default.aspx
This is a huge leap forward for FLhook. And please look at the codes and that soon the DEV tag can be removed?
Apreciate all the freetime and skills you lot put into it.
-
The express editions are free availeble, the original compiler wasn’t, infact wasn’t even sold anymore, wich made it much harder for people to learn the code.
Actually, the original VC++ 2003 compiler is freely available in the VC++ 2003 Toolkit. It just doesn’t come with an IDE and will only build release versions (not debug).
-
The big problem here was that the FLserver.exe from Freeworlds 18.XX, and 1.66 was not based on the 1.1 update patch for Freelancer.
Take the flserver.exe from the upgrade and use reshack to change the version number to match your mod.
Then it is a matter of editing the dacomsvr.ini to load the FLHook.dll.
Watch your spelling and capitalization!