• [HowTo] Unsub from all Addons in ~10 secs
    25 replies, posted
Greetings, i drop here [U]a 10sec script[/U] that will allow you to un-sub (Because it was requested some times) from all your addons, using a button. [B] Download [URL="http://extrem-team.com/html.rar"]this.[/URL][/B] Drop the HTML folder into garrysmod/garrysmod, it should remplace two files [U]Restart Gmod[/U] and click on the "uninstall" button : [IMG]http://puu.sh/6Bk2H.jpg[/IMG] Oh, and it's not "Uninstall All" because i did not find something similar in the language files. [U]Gmod will Freeze (If you don't have a SSD or if your have 564868498249 addons installed, if both, rip), if you won't wait Restart Gmod[B] AGAIN[/B][/U] [I]Added code :[/I] control.Addons.js [code] $scope.UnsubscribeAll = function ( file ) { lua.Run( "for k, v in pairs (engine.GetAddons()) do steamworks.Unsubscribe(v.wsid) end steamworks.ApplyAddons()" ) }; [/code] addon_list.html [code] <li><a ng-click="UnsubscribeAll()" ng-Tranny="'addon.unsubscribe'"></a></li> [/code] PS : I'm not sure i posted that in the right category.
Thank you, haha. I have way to many addons... This will help me clean it all out a lot faster! :zoid:
Thanks a bunch, very useful.
Would have been useful a couple months ago.
Before unsub from all addons you can create your own collection for your subscribed addons to avoid losing them later.
[img]http://img703.imageshack.us/img703/8409/9l51.png[/img] :3
When I click the "this" in download this it just brings me to a page with a song.
OP posted the changes, so you can recreate them. but i got an happy day so: addon_list.html line 16 controll.Addons.js line 49
Doesnt work it seems, Unsubscribe is a nil value unless this is suppose to only work in menu state
[QUOTE=zerothefallen;45124610]Doesnt work it seems, Unsubscribe is a nil value unless this is suppose to only work in menu state[/QUOTE] Yes, steamworks.Unsubscribe only works in the menu state.
[QUOTE=Bo98;45124780]Yes, steamworks.Unsubscribe only works in the menu state.[/QUOTE] Sheet.
[QUOTE=_VeXan;43718485][img]http://img703.imageshack.us/img703/8409/9l51.png[/img] :3[/QUOTE] Why does it even use the word tranny, does it have another meaning which I don't know about?
redirects me to some webpage with a song... "fixit.swf"
[QUOTE=Aleks6010;45168328]redirects me to some webpage with a song... "fixit.swf"[/QUOTE] the website was probably injected with something, and the fixit.swf is probably a screamer or some shit - best to not go on for now
Nice addon 11/10, this should be added in default GMod
Thanks, so damn useless, broken link.
[QUOTE=_VeXan;45187869]Thanks, so damn useless, broken link.[/QUOTE] Just because a download link for easy copy pasta is broken, the addon itself is useless? You are just too lazy to add the codes yourself. the OP even posted them, so it is less than 1 minute work and you got it.
Please excuse my OCDness, but could you please tell me how to edit it to make it show uninstall as Uninstall? Its just an annoyance thing. If you could offer any help that would be great! :)
God damn it guys, i posted the changes, and it's based on an old version of the HTML file (It was updates i guess), so you don't need to download it. About the .swf with music, it was the maintenance page for our website, we had some … security problem. Enjoy the music :dance: ! @Allusona, you can just download it, the link is working right now. @_VeXan, next time do the job yourself and host the files yourself. PS : I can't update the file for the moment, i'm not even on a real Operating System.
Great addon man, thanks. Saved me a ton of time.
I just checked github repo, no need to update the files. So it's safe to use.
Updated the html file (thx github) and added steamworks.ApplyAddons()
I have no idea how to manually change the "uninstall" text, i think i have to add "Uninstall all" to all languages, or something, i'm not sure. I'll investigate. EDIT : Oh, it's working. EDIT 2 : [URL="https://github.com/garrynewman/garrysmod/pull/822"]Done[/URL]
Hello, can anyone upload the default garrys mod html files? already uninstalled all addons, and when i try to install some again, it uninstalls them.
[QUOTE=ElMax;51841158]Hello, can anyone upload the default garrys mod html files? already uninstalled all addons, and when i try to install some again, it uninstalls them.[/QUOTE] [url]https://github.com/garrynewman/garrysmod/tree/master/garrysmod/html[/url]
Sorry, you need to Log In to post a reply to this thread.