Garry's Mod

Garry's Mod

SmartSnap
magshi 7 Jan, 2014 @ 4:20am
This Addon is broken, and i need it fixed, its crucial to my building ability! *edit* I fixed it.
As the title states, SmartSnap isn't working. Not only is there no grid, but the SmartSnap options don't even appear, and this is really distressing for me as I've utilized this addon in my building so often that i just can't build without it! Normally i would provide any errors relating to the problem, but there are no errors. SmartSnap needs to be fixed!

*edit*

I disabled ALL of my addons to see if any were conflicting with this one, and the SmartSnap options re-appeared, but still no visible grid

*double edit*

Fixed, it works now.
Last edited by magshi; 21 Mar, 2014 @ 9:14pm
< >
Showing 1-15 of 54 comments
spuft3 25 Jan, 2014 @ 9:16am 
Yes, this is happening with me. If I press E on a prop w/ the toolgun out, a few X's will show up but there is no grid, which is depressing me a lot because I'm a fairly terrible builder without it D:
globberlock 5 Feb, 2014 @ 7:56am 
ive tryed this but it didn't work but it might work for you. go to the library, right click garrys mod, go to propertys, and verify game catche. THIS MAY NOT FIX IT. but no harm in trying right?
Dimmskii 7 Feb, 2014 @ 1:06am 
I know why it's broken. -snip-. It came to my attention that SmartSnap worked fine until I installed a certain mod.

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.
Last edited by Dimmskii; 30 Mar, 2014 @ 7:41am
magshi 8 Feb, 2014 @ 3:07pm 
Originally posted by KHAJIITO:
I know why it's broken. Unlike you guys, I install my mods GRADUALLY and see what breaks who. It came to my attention that SmartSnap worked fine until I installed a certain mod.

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 like you made a client.lua inside autorun.

Try breaking that down to steps and terms i can understand, i don't speak .lua
Dimmskii 11 Feb, 2014 @ 12:46am 
The gist of it: in GMod, addons stack on top of eachother. Since Quake, the term for this has been "VFS" or "Virtual File System".

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").
Last edited by Dimmskii; 11 Feb, 2014 @ 12:51am
Dimmskii 11 Feb, 2014 @ 12:53am 
Oh yeah, and remember, until the author fixes this himself, every time he updates this mod, you must extract, copy and rename all over again, since the file might change. Remember to delete the old copy too -.0
Dimmskii 11 Feb, 2014 @ 12:55am 
Whoa, I didn't realize how long I explained...

SHORT SHORT VERSION: There are other addons overriding one of the files from this one, because the file name is overused. Phew. There.
Gimper 14 Mar, 2014 @ 9:16am 
I disabled all my addons and smartsnap doesnt work still...
magshi 15 Mar, 2014 @ 2:49am 
Originally posted by globberlock:
ive tryed this but it didn't work but it might work for you. go to the library, right click garrys mod, go to propertys, and verify game catche. THIS MAY NOT FIX IT. but no harm in trying right?

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.
Netts 15 Mar, 2014 @ 2:51am 
This addon works if you redownload it! Atleast it worked on me :D
magshi 15 Mar, 2014 @ 2:52am 
Originally posted by kukajoku:
This addon works if you redownload it! Atleast it worked on me :D
Nope, that was the first thing i tried.
Netts 15 Mar, 2014 @ 2:53am 
Originally posted by magshi:
Originally posted by kukajoku:
This addon works if you redownload it! Atleast it worked on me :D
Nope, that was the first thing i tried.
well as I said, it worked on me tho :/
magshi 15 Mar, 2014 @ 2:54am 
Originally posted by kukajoku:
Originally posted by magshi:
Nope, that was the first thing i tried.
well as I said, it worked on me tho :/

Meh, not all soultions work. I'm currenty trying a soultion suggested by [TOXDEV] KHAJIITO, i hope it works.
Netts 15 Mar, 2014 @ 2:55am 
Originally posted by magshi:
Originally posted by kukajoku:
well as I said, it worked on me tho :/

Meh, not all soultions work. I'm currenty trying a soultion suggested by [TOXDEV] KHAJIITO, i hope it works.
I hope it works for you too buddy! :P
magshi 15 Mar, 2014 @ 2:57am 
Originally posted by kukajoku:
Originally posted by magshi:

Meh, not all soultions work. I'm currenty trying a soultion suggested by [TOXDEV] KHAJIITO, i hope it works.
I hope it works for you too buddy! :P

Alright, i've applied the suggested soultion, i hope it works...
< >
Showing 1-15 of 54 comments
Per page: 1530 50