安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题








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...