nrlulz / ACF

Combat damage system for Garry's Mod
110 stars 116 forks source link

ACF not visible in dedicated server #202

Open KristjanLaane opened 8 years ago

KristjanLaane commented 8 years ago

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?

PonyTerrance commented 8 years ago

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:

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:

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 commented 8 years ago

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

KristjanLaane commented 8 years ago

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

sammyt291 commented 8 years ago

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.

UltimateByte commented 7 years ago

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