lewisclark / glua-steal

Retrieves client-sided Lua files from Garry's Mod game servers
GNU General Public License v3.0
151 stars 15 forks source link

How do I use this when a server is running gluapack #40

Closed Skemiil closed 1 year ago

Skemiil commented 1 year ago

I only get the titles of the addon, every single lua file looks like this https://i.imgur.com/iUmW46i.png this isn't a issue with the tool itself but if anyone knows how to resolve this please help.

x4fx77x4f commented 1 year ago

When gluapack is in use, the actual code is contained inside BSP files. Check garrysmod/download/data/gluapack/. Not sure how you would actually go about extracting the code from it though. I would investigate it myself, but I'm IP banned from gluapack's CDN. (Don't ask why because I don't know.)

wrefgtzweve commented 1 year ago

Just curious and a bit off topic here, but im going to ask anyways. What happens when you're banned from the CDN? does the server just not give you any lua and does nothing work for you?

lewisclark commented 1 year ago

Closing due to having no plans of implementing this in glua-steal. There are BSP parsers written in Lua for Garry's Mod and lots of documentation surrounding the BSP format if you wish to tackle this.