Discovery Gaming Community
Attn Server Owners: FLHook 3.0.0 - Printable Version

+- Discovery Gaming Community (https://discoverygc.com/forums)
+-- Forum: The Community (https://discoverygc.com/forums/forumdisplay.php?fid=4)
+--- Forum: Freelancer Forum (https://discoverygc.com/forums/forumdisplay.php?fid=11)
+---- Forum: Other Discovery Servers (https://discoverygc.com/forums/forumdisplay.php?fid=38)
+---- Thread: Attn Server Owners: FLHook 3.0.0 (/showthread.php?tid=134709)

Pages: 1 2 3 4 5


Attn Server Owners: FLHook 3.0.0 - Alley - 01-07-2016

Compiled binaries of FLHook 3.0.0 were included in the patch today. There was a small communication error with the person in charge of deploying it and some points were made unclear.

First off, FLHook 3.0.0 does not run on the vc90 compiler anymore, but vc140. Therefore in order for FLHook to run, you must install the Visual Studio C++ 2015 redistributable packages. You can find these here: https://www.microsoft.com/en-us/download/details.aspx?id=48145

Install both packages or FLHook will not load. This is all you need to do.

As a public DGC FLHook repository has been created, you have now full control over what you want on your server and free to create your custom code. This is why there will be no further FLHook deployments for third-party servers aside of dsacesrv updates.

There has been two serverside configuration problems in the patch, I'll post the correct files and some guidelines here.


RE: Attn Server Owners: FLHook 3.0.0 - Alley - 01-07-2016

flhook_plugins/autobuy.cfg

Code:
[config]
enabled = 1

;extra ammo limits for FLHook items
[extra]
item = dsy_cloak_1, missile01_mark01_ammo
item = dsy_cloak_2, missile01_mark01_ammo
item = dsy_cloak_3, missile01_mark01_ammo
item = dsy_cloak_4, missile01_mark02_ammo
item = dsy_cloak_1_n, missile01_mark04_ammo
item = dsy_cloak_2_n, missile01_mark04_ammo
item = dsy_cloakdisruptor_1, missile01_mark01_ammo
item = dsy_cloakdisruptor_2, missile01_mark01_ammo
item = dsy_cloakdisruptor_3, missile01_mark01_ammo

flhook_plugins/dsacesrv.cfg
In the [General] section, remove "TurretZoomMass=266" and replace with this.


Code:
; Adjust turret zoom depending on shipclass. Zero to disable tz.
TZMaxZoom = 0, 0
TZMaxZoom = 1, 0
TZMaxZoom = 2, 833
TZMaxZoom = 3, 0
TZMaxZoom = 4, 0
TZMaxZoom = 5, 0
TZMaxZoom = 6, 1250
TZMaxZoom = 7, 1250
TZMaxZoom = 8, 1666
TZMaxZoom = 9, 1666
TZMaxZoom = 10, 2500
TZMaxZoom = 11, 2083
TZMaxZoom = 12, 2083
TZMaxZoom = 13, 2500
TZMaxZoom = 14, 2500
TZMaxZoom = 15, 2500
TZMaxZoom = 16, 2917
TZMaxZoom = 17, 2917
TZMaxZoom = 18, 2917
TZMaxZoom = 19, 833

dacomsrv.ini
uncomment acctpath_patch.dll line 28 if you use it.

This happened because we had to comment out ammolimit.dll as it's been merged into another dll.



RE: Attn Server Owners: FLHook 3.0.0 - shutbug29 - 01-07-2016

So we need both the 64.exe and the 86 exe to run it?


RE: Attn Server Owners: FLHook 3.0.0 - Alley - 01-07-2016

You technically only need the x86 but you can install the x64 there is nothing lost in doing so.


RE: Attn Server Owners: FLHook 3.0.0 - Dr Hooligan - 01-08-2016

AHH thank youSmile Will get this done right now.


RE: Attn Server Owners: FLHook 3.0.0 - Dr Hooligan - 01-08-2016

No dice.. I did find that the FLHook.ini file was missing. So I patched in the old one from last update. No dice. Going to reinstall the server cause I think something went goofy. Also. the update you mentioned today has not hit the updater/launcher. Gonna just find ya'lls repo and manually patch for now.


edit: scratch the above.. repo is awesomer than awesome. thanks.

edit 2: I think the missing FLHook.ini is the issue.. I think at least.. Hook will not come up though.. Server is running though. A couple people have gotten ingame.. And the listing is not connecting.. I will try re-downloading from another of your download options and see if the issue was the download I chose.


RE: Attn Server Owners: FLHook 3.0.0 - shutbug29 - 01-08-2016

I've spent the day on windows 2008, windows 7 and windows xp. Tried combinations of the files on 3 diff computers. Did full reinstalls of OS's. NOTHING works. Even tried ading flhook.dll to the dacom.ini. Nothing works.


RE: Attn Server Owners: FLHook 3.0.0 - Alley - 01-08-2016

Don't use the builds from the repository, some of them are not latest versions and dsacesrv is not even there.

All you need is an up to date discovery install, 2015 and maybe 2008 redistributables if you did a fresh install, then apply the flhook modifications in post 2. From that point on it will work.

If you can't figure it out, send me a pm with your skype and i'll look into it with you.


RE: Attn Server Owners: FLHook 3.0.0 - Alley - 01-08-2016

I checked it out with shutbug29, turns out an unexpected side effect of the compiler upgrade is that we killed off FLHook support on windows XP x86. You're going to need Windows Server 2008 R2 or anything above XP that is 64bit capable.


RE: Attn Server Owners: FLHook 3.0.0 - EzequielM - 01-09-2016

That's the same problem i have with the virtual machine i am using with XP 32bit since a few year ago for Discovery Server. And since I'm not going to upgrade the system due the system resources other system requieres, Discovery Latinoamerica will be down till it's solve, or for long long time....