Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
IF THE AUTHOR IS READING, DO THE FOLLOWING:
Change "/lua/autorun/client.lua" to "/lua/autorun/client/smartsnap.lua"
Change the include file to:
if SERVER then AddCSLuaFile("smartsnap.lua") return end
FIX'D. Reason: too many idiots -snip- made a client.lua inside autorun.
Try breaking that down to steps and terms i can understand, i don't speak .lua
If two addons have the same file, what does GMod do? It picks the last one that was stacked, that's what. This is normal. In fact, most VFS's do that. It's almost like a standard.
What's the problem with this addon?
Nothing. It's just that one of the files in it are called "/lua/autorun/client.lua".
So what the f*ck is breaking it?
There are about 2309582096802385623 other mods that also happen to have a "/lua/autorun/client.lua". I'm exaggerating with the numbers, of course, but you get the point...
Why is everyone calling the entry point of their mod client.lua inside autoexec?
I don't know, but it's a cancer. If people continue to do this, no addons will work together. My guess is that a lot of people are following some old-ass tutorial, and are too lazy to name their files creatively.
To make it work, extract "/lua/autorun/client.lua" from this mod (I assume you know how to use GMad or something), put it in your gmod folder accordingly (again, into /lua/autorun/) and rename it to something like client203597890238hahaha.lua.
REMEMBER: Whatever you rename it to, you must also change inside the lua file. There's a line that says AddCSLuaFile("client.lua"). If you used my file name, then you must of course change it to AddCSLuaFile("client203597890238hahaha.lua").
SHORT SHORT VERSION: There are other addons overriding one of the files from this one, because the file name is overused. Phew. There.
Unfortunetly, thats a soultion i will probably never use unless i KNOW the games files are damaged. Verifing the games cache is one of those so-called miracle "fix all" soutions. Unfortuntely, those soultions seldom work.
Meh, not all soultions work. I'm currenty trying a soultion suggested by [TOXDEV] KHAJIITO, i hope it works.
Alright, i've applied the suggested soultion, i hope it works...