ACF icon indicating copy to clipboard operation
ACF copied to clipboard

ACF not visible in dedicated server

Open KristjanLaane opened this issue 8 years ago • 5 comments

Have a linux box with gmod server. added ACF to addons on the server with folder structure as addons\ACF\lua so that should be correct (cloned https://github.com/nrlulz/ACF.git). ran server and didn't see any errors and it did say adding ACF or such. did exactly the same on my client PC. but if I join the server, ACF is not working, just cannot see it under tools or any sign of it. However, if i create a single player game on that client PC then ACF shows up no problem? I notice that this Armoured Combat Framework branch does not have addon.txt - could this be the culprit?

KristjanLaane avatar Apr 12 '16 12:04 KristjanLaane

Sorry for being so late to the party here. I have my own server and I had the same problem as you. Heres what I did to find what I believe to be the problem:

  • Dualbooted Debian and Windows server 2008
  • Installed both OS's with SteamCMD and Gmod in the same locations using the same commands (just for the correct OS)
  • Installed a verfied working copy of ACF onto both servers.
  • I ran both servers, joined both of them to see if ACF had worked
  • ACF only worked on the windows server

A few friends of mine have had the same problem, and as a result of it, are using Windows to host their build servers. I don't know what causes it but I feel its something to do with Linux. I had a buddy last night, fromt Degree-Gaming.com asking me about it, we concluded it was Linux causing the issue for him

I managed to get it working for one startup - It was a bit dodgy but heres what I did:

  • Downloaded ACF-master.zip
  • Extracted it and deleted everything other than the folder: lua
  • Uploaded the acf folder with the lua folder inside
  • with a workshop collection - Add the ACF content packs to your servers collection (They are at the top of my collection here ) So make your own collection (assuming you know how) then add the packs in
  • Start up the server

As I say this only worked one time for me. You might have better luck. I thought it could have been something to do with the amount of files or file-size

PonyTerrance avatar May 20 '16 10:05 PonyTerrance

This is something to look out for: LUA file limit. - Are you reaching it? I think its still currently 2048

PonyTerrance avatar May 20 '16 10:05 PonyTerrance

Thanks for the reply, but I gave up already :(

KristjanLaane avatar May 27 '16 12:05 KristjanLaane

Ensure if you have it as a folder addon (legacy) that it has no capital letters of special characters. change the default "ACF-master" to "acf" for example.

Hope this helps :) It did for me! Sam.

sammyt291 avatar Jun 15 '16 01:06 sammyt291

I think you just need to lowercase mod's title. BTW, if you're using Linux, then use LinuxGSM, which is an insane server management tool and allows for installing ACF directly and lowercases the addon for you. It is also able to update the script while keeping acf-master/lua/acf/shared/guns to preserve modifications you might do to this directory.

https://github.com/GameServerManagers/LinuxGSM/wiki

UltimateByte avatar Feb 21 '17 10:02 UltimateByte