Why would the menu system need to load addons?
Because this addon loads lua-code and a binary-module in the menu-instance, so people can mount games which GMod does not support by default (such as L4D1/2) using the "Gmod Settings" menu.
Also, without mounting the games before map-start, they can't load the maps of those third-party games.
None of the content I've mounted with gm_mount2 has EVER been deletable, even after deleting the module shortly after unticking the games in the mount menu, I still have the files, and I cant find the directories for the content I mounted in the first place to manually delete them.. Any ideas?
I didn't make this change to be an asshole. There's NO REASON AT ALL for GMod to have to load addons for the main menu. It just slows it down where it doesn't need to be slowed down. People should not be loading things in the main menu.
You must have known you were doing something that you shouldn't be doing when you did this, right? I mean, getting it to load your addon via a VGUI control?
This shit won't be coming back. You can throw it all in the main tree if you want, but I can't guarantee that this won't end up breaking too.
My suggestion is that you make an external utility that extracts the content into addons in gmod's folders. It'll use up twice as much space, but it's the neatest way.
And to be honest: This addon is "beyond the basics" of GMod and needs maverick ways to work due to the lack of an API for that (basically concerning the Source SDK).
Anyway, I fixed my addon now and put it directly to the GMod root folder. It works as it is now (@ all who do the same now: Download the latest version. There has also been a bug fixed in the dll)
If you refer to spawnlists in the spawnmenu: Delete the spawnlists. Once you saved your current spawnmenu spawnlists, all are copied and put to /garrysmod/settings/spawnlists. They resist there, even if you remove the addon.
I put mount2 folder on GMod root folder, and broke Gmod lol
Hmmm, could someone go onto cs_office and see if they're missing textures for computers, tables, lights, and the ladder? I just started noticing this, so I figured you guys would know.
It works now! thank you very mutch aVoN!
Um... the link to gm_mount² - lite is working fine, but the original one isn't.
What's the difference between them anyway?
Could you make a spawn list?
For? There are already some.
When i try to spawn a L4D2 prop, gmod freezes. Does anybody else have this problem?
I have an AMD Anhtlhon II X2 3.00 ghz
For me happen the same. I am using gm_mount2 lite.
Yeah its fucked.
When you try to spawn a L4D Ragdoll G-Mod crashes.
It worked before the update tough.
Yeah I get that, spawning L4D1-L4D2 props makes it Gmod crash, I havent tried other Mount2 addons though.
aVoN could you fix this problem please?
I'm having the same L4D2 crash problem.
Also, DIPRIP can't be mounted anymore, for some odd reason.
wait what is the GMod Root folder?
C:\Program Files (x86)\Steam\steamapps\username\garrysmod?
or C:\Program Files (x86)\Steam\steamapps\username\garrysmod\garrysmod ?
Also: Do not copy & paste it on your own, use the version I uploaded there.
And I'll take a look at it soon.
I just noticed, my game was able to spawn a few props and then crashed.
I compiled the dll in debug-mode (so I can better see, where it crashs) and I didn't got the crashes this time.
So it has to be one of the new compiler-options I enabled. I'll fix it.
Just found and fixed the problematic compiler option. Uploading the fix soon.
Did you replace the original download link?
Instantly gonna try it.
DIPRIP Warm Up is still unavailable to mount even though I just played it.
Can somebody else confirm this, so I know it's not just my computer.
Now it works
Thanks for the "fix" aVoN, I cant believe I was so stupid I didnt manage to delete the spawnlists lol..
Creating all these spawnlists and icons also took me around 4-6 hours because of clicking on all the icons and submenus and GMod tends to crash more often especially if you create too much spawnicons in one session (probably a memory leak).
It's some sort of a leak because of missing memory management: The model is not "in the world", so source could give it's memory free if necessary (but it doesn't).
Useful would it be to have a concommand to clear the model cache. :D
It breaks my gmod.
It has a problem with lua and it doesnt let me see any shit.
Seem to be working fine for me now! Thank you so much aVoN~ <3
Man the whole point of mounting is all messed up now. this addon is ruined just because garry wants to show the players hes in control. hes like a corrupt dictator. he can do anything he wants and get away with it.
I downloaded the "lite" version and I had the problem everyone else was having with the l4d models. You'd spawn one and gmod crashes. But it seems that people are saying it was fixed? Is it fixed in the svn download version?
Edit: Works fine for me now, thanks a million!