Lua Limit

Just a quick question; I appear to be getting the “all my tool have gone” / “PRINT NAME” weapons problem and I’ve read that it can be caused by reaching the lua limit. I can’t see how I have managed to reach the limit, but I was wondering two things:

  1. Do Steam Workshop addons (.gma) count towards your limit?

  2. Is there a way, rather than counting manually, to do an lua file-count on a server?


EDIT: 700 lua files inside the /addons directory exactly. (Not including the .gma files that are in there). So I guess that answers question #2 :wink:

Yes, lua files inside of GMA’s do count towards the limit

That is NOT caused by the limit, which is 8000 lua files.

For a temporary workaround, move the server files as close to C:/ drive as possible. Rename addons with long names to addons with shorter names.

This bug will be fixed in the next version of the game.

Thanks for your replies :slight_smile: I’ve had a browse through some of the .gma files and I can’t see my lua files, along with their lua files breaching the 8000 mark at all. I did have some addon names that where pretty long so I have reduced the size of their names and I’ll see how it goes from here on.

Thanks again!