Garry's Mod

Garry's Mod

Cloudbox - The new Toybox!
434 Comments
Darth  [author] 3 Oct @ 7:59pm 
@FOGR - The downloads getting stuck is happening to a few people at the moment, and was also happening to me. I think a Windows Update caused it. Try checking your Firewall and make sure it isn't blocking lsass.exe (C:\Windows\System32\lsass.exe). That's the process which authenticates certificates in Gmod's network connections.
If you're using Linux or Mac I'll need to do some research on what's causing it.
FOGR 2 Oct @ 10:53am 
Что делать если вместо меню постоянная загрузка cloudbox хотя это просто картинка а меню работает?
_WelCome_ 7 Sep @ 8:15am 
GREAT
Darth  [author] 6 Sep @ 8:16pm 
Today's Compatibility Layer update fixes a few things in Multiplayer. Items that use scaling will now scale correctly in MP, for example Reflective Shield, and Big Melon. We're working on additional multiplayer fixes.

Want to try Cloudbox in Multiplayer with other players? Pancakes has set up a Sandbox server with Cloudbox at 15.204.232.110:27016
henry.g.luellen 26 Aug @ 6:57pm 
when will props be released:gmod: :
Darth  [author] 24 Aug @ 8:20pm 
Good News! We're working on a favourites system. Can't say when exactly it'll be released but we're working on it.
Darth  [author] 15 Aug @ 8:10pm 
@Cj ROCKS - We'd like to add a favourites system but I can't promise when it'll happen. The recent upgrades to Gmod and Cloudbox have helped get some of the framework in place though, such as the right-click menu where you'd be able to toggle the favourite status.
Vee 15 Aug @ 6:32pm 
COOL:steamthumbsup:
Cj ROCKS 15 Aug @ 12:01am 
Would it be possible to add a favorites system?
Darth  [author] 8 Aug @ 9:02pm 
We've released a new Cloudbox update with a few fixes:

- Improved the source code viewer. Right-click on any entity or weapon > "View Source Code". If you want to view it in the overlay or desktop browser, click the link on that page.

- Performance of the site should be better, especially on Linux. If you've previously had FPS reduction with the spawn menu open, please try again and let us know if it feels better.

- For users who are on low spec devices or are still experiencing FPS issues in the spawn menu even with the fixes, we've temporarily added a setting. Use "cloudbox_lowfps 1" in console to disable all Cloudbox spawn menu animations. Use "cloudbox_lowfps 0" (default) to re-enable animations.
Darth  [author] 8 Aug @ 8:52pm 
@regunkyle - does that error still happen?
regunkyle 7 Aug @ 7:55am 
[Cloudbox - The new Toybox!] lua/cloudbox/client/content_vgui.lua:145: attempt to perform arithmetic on field 'BoxW' (a nil value)
1. DrawNameBox - lua/cloudbox/client/content_vgui.lua:145
2. unknown - lua/cloudbox/client/content_vgui.lua:134
BlazingFenix 4 Aug @ 2:58pm 
best mod ever
Darth  [author] 30 Jul @ 6:51pm 
@jamw404 - if you sort by "newest" it'll sort by item ID and you can then use the 'next' page button at the top, to see the full list
jamw404 30 Jul @ 2:49pm 
Is there a way to view the complete list of entities/weapons, etc, as opposed to only being able to view a handful at a time?
Darth  [author] 28 Jul @ 3:40am 
Website update is out now! Addon update is pending. You may get some notes in console and the "open code in overlay" link won't work until the addon update happens. But other than that, everything else is available now
Darth  [author] 28 Jul @ 12:26am 
and some extra notes:
- We're looking into improving FPS in the spawn menu. This seems to currently impact Linux more than other platforms.
- Dark mode: If there's demand I'll look into a simpler dark mode, but please post a screenshot and what addon you're using to make your spawn menu dark, so I can look into compatibility.
- allowing/blocking weapons and entities on multiplayer servers: I'm hoping we can add this directly into Cloudbox soon, so server admins can just right-click a weapon/entity and toggle "Block item" or "Allow item". For now I've added the entity name to the right-click menu so you can enter the name into an admin mod's blocking system. (see the 'next update' notes below)
Darth  [author] 28 Jul @ 12:25am 
Next update will be released soon. Here's what's new when it's available:
- Added a right-click menu (context menu) for every item, for options.
- You can view the Lua source code of any item without downloading it. Both in-game and in browser. Right click > "View Source Code"
- You can see the entity name by right-clicking on an item. This will help server admins if you want to block certain weapons via an admin mod.
- "Dark mode" has been removed.
- Lots of invisible optimisations to the site now that Gmod has updated to CEF 86, to help with development and performance.
- Linux users: will need to be on the Gmod x86-64 branch. No change for Windows or Mac users.
- If you've got animations disabled in your OS they'll be disabled in Cloudbox too now.
Darth  [author] 25 Jul @ 10:08pm 
@Neno - That sounds like an issue with Gmod's browser element, since the main menus, dupe/save menu, and Cloudbox use the browser element. Gmod's main branch on Linux uses Awesomium (Chromium 18 from 2012), while the x86-64 branch uses CEF 86 (and with the CEFCodecFix becomes CEF 137).
Cloudbox will not support Awesomium as of next update as it now only exists for the small number of Linux users on main branch. I strongly recommend trying x86-64 branch with CEFCodecFix and you might find that problem is fixed.
If you're already doing that and still have the issue it might be worth posting in the "garrysmod-issues" github or CEFCodecFix and see if other people have the same problem and if it can be fixed. Cause you shouldn't be experiencing that issue unless you're on Awesomium and it'd be good to get it fixed.
Jien 25 Jul @ 6:16pm 
The thing is, my computer runs everything else perfectly else, I can easily run GMod at max settings at 60 fps, and im not forced to disable animations in my OS either, its just when there is anything animated in GMod menus, is when I start to have problems, I also get the same lag when a dupe has an animated icon, for example. (Also, I run Linux, if you needed to know that.)
Darth  [author] 24 Jul @ 11:22pm 
@Neno - the animation is very lightweight and should automatically throttle itself based on your PC capabilities. But I'll update it to follow your OS settings so if you have animations disabled in Windows (and other OSs) it'll disable all animations on the Cloudbox site. I'll make a note of it here or Pancakes will note it in the News section once that update is out.
Jien 24 Jul @ 5:30pm 
Could you add an option to get rid of the animated background? Animated things in menus lag the hell out of my game for whatever reason.
Darth  [author] 20 Jul @ 8:53pm 
Gmod is getting an update in 2 days which will massively improve the web browser panel technology by replacing the ancient Awesomium (18) with CEF 86 on Windows. We've been waiting for this for a long time as it will allow us to upgrade the Cloudbox web panel with things that we couldn't efficiently do before.

First update will be structural and you probably won't see any changes except that it feels smoother.

After that I'm going to be working on a "View Lua Code" page so you can see the original Gmod 12 lua for every item without having to dig through the downloaded cache files.

And I'll be working on the ability for admins to whitelist/blacklist items on servers by simply right-clicking an item and toggling a checkbox.

There'll probably also be some compatibility layer updates during this time. We need to improve how we know which items need fixing so I'm hoping to also add a "report bug" feature.
Darth  [author] 20 Jul @ 8:52pm 
@brunoski - That's an idea that I wouldn't be surprised if Pancakes decided to do one day, using the Cloudbox infrastructure but a separate library of modern mods with open submissions. There are no specific plans for anything like that at the moment though.
brunoski 20 Jul @ 7:27pm 
i would like something like toybox but with modern hotload-able mods, good addon tho
Darth  [author] 18 Jul @ 8:35pm 
@mac - Cloudbox's Options will let you clear it in-game, but if you want to clear it manually or browse the files they're located in garrysmod\data\cloudbox\downloads - it's safe to delete anything in there as it'll just redownload when you spawn it if it's no longer in your cache.
VendettaLMAO 18 Jul @ 12:27pm 
where are cached downloads located in the gmod files?
Darth  [author] 15 Jul @ 8:14pm 
@icewallowpis - Nothing should impact your game after a restart, especially if you've cleared your cache. Do you remember what the item was called, so we can investigate the code?
It could also be unrelated to a Toybox item. Try disabling all workshop addons and see if that fixes it, then re-enable them in groups to figure out which one causes it.
icewallowpis 15 Jul @ 9:49am 
i installed a mod presumably like a vehicle mod or something in the cloudbox and it was like a black rocket and it gave you a toolgun tool but for some reason it made my player smaller and broken/slow i dunno how to revert it cuz i even deleted my downloads cache in options
Darth  [author] 11 Jul @ 11:48pm 
@craxxybraxxy - entities and weapons use "toybox_[id]", eg "toybox_1234" via scripted_ents.Register and weapons.Register - you can find the ID by checking the ID in your data/cloudbox folder once downloaded, or you can search it in advance here https://cl0udb0x.com/ and have a look at the data-itemid via Inspect Element. eg "Sonic Speed-up Box" is data-itemid="1904", so it'll be registered as "toybox_1904" in game.
craxxybraxxy 11 Jul @ 11:29pm 
how do i get toybox entity/weapon ids? i want to restrict spawning certain things ex. admin guns and crow spawners
Darth  [author] 10 Jul @ 11:35pm 
@SillySpaceCat - Cloudbox won't contain content that didn't come from Toybox. But you can download old versions of gm_construct uploaded by garry himself https://gtm.steamproxy.vip/sharedfiles/filedetails/?id=104200926 - includes the pre-13 versions from Gmod 10-12, and includes the pre-Steam versions.
ChaoticSpaceKitten 10 Jul @ 7:27pm 
Also, can you please package fixed versions of the default Garry's Mod 12 maps and gamemodes for Garry's Mod 13 in Cloudbox?
ChaoticSpaceKitten 10 Jul @ 7:25pm 
Thanks for finally updating. i'll forever use this.
yeeees
MrGeRoI 5 Jul @ 2:56am 
Holy shit we are back to the 2010
Dune Jumper 27 Jun @ 11:49pm 
This is like time traveling and saving the library of alexandria
AwesomeLilBuddy 27 Jun @ 4:33pm 
as a baby that never had the toybox, this is cool, googoo, gaga.
Drake2014 25 Jun @ 8:51pm 
its so cool! i sall this on a vid
✠CFalcon075✠ 24 Jun @ 9:29pm 
@Darth I knew it was Base64, just wanted to explain to ebes that the "gibberish" can actually be solved.
Darth  [author] 24 Jun @ 9:27pm 
@ebes @CFalcon - I didn't work on the download aspect so I forgot the lua script itself was cached in the json as Pancakes said. oops!

It's not actually gibberish, the "data" string is base64 encoded for network transfer. Here's a site that'll do base64 decoding https://www.base64decode.org/
For example if you paste in "VGhpcyBpcyBhIHRlc3QgbWVzc2FnZSE=" and click "decode" you'll see it comes out with "This is a test message!"

Gmod itself also has a function for it if you're looking to do something in Lua itself. https://wiki.facepunch.com/gmod/util.Base64Decode - for example:
print( util.Base64Decode( "VGhpcyBpcyBhIHRlc3QgbWVzc2FnZSE=" ) )
will print "This is a test message!" to the console.

We process the Gmod12 lua against our compatibility layer live at runtime, so the result you get won't be exactly the same as what Cloudbox is running but if you're looking to extract scripts then you'd probably be wanting the original unmodified Gmod12 code anyway.
✠CFalcon075✠ 24 Jun @ 12:23pm 
@ebes A while back, I had created myself a Cloudbox file downloader that decodes the gibberish into actual readable code. If you want it, we can chat.
ebes 24 Jun @ 11:20am 
Seemingly there might be ALOT OF coding / formatting having to be put into this just to make it functional, as the "data" string seems to just have gibberish in it.
ebes 24 Jun @ 11:10am 
formatting it, in a way surprisingly gives out absolutely no vital information.
I might dwell deeper into this.
henry.g.luellen 24 Jun @ 10:22am 
I LOVE how there is an offline mode:steamhappy:
Pancakes  [author] 24 Jun @ 9:38am 
@ebes Scripts are stored separately from the GMA, they're in the JSON file for a download instead.
ebes 23 Jun @ 9:00am 
Regarding the awaiting, I hope the update comes by smoothly and quickly.
ebes 23 Jun @ 8:44am 
I'm no developer or coder, therefore I have no use of the gmod 12 era lua, apologies!
ebes 23 Jun @ 8:43am 
well I've merrily FUCKED myself, the lua file is apparently unable to be unpacked using gmad due to some error in the code, continuing evermore I'll probably just mess around and find out
Darth  [author] 23 Jun @ 7:31am 
@ebes - if the item has assets like models/materals/sounds they're downloaded into "garrysmod\data\cloudbox\downloads" inside a .gma, you can use gmad.exe to extract them.

The lua itself is not included as it is live-patched at runtime. You can get the unpatched Gmod 12 era lua by viewing it here https://toybox.flatgrass.net/view/1/code - just replace the '1' with the item ID.
This isn't viewable yet on https://cl0udb0x.com/ (the ingame website, also viewable in browser) but I'm hoping to add a view for it soon. Waiting on an upcoming Gmod update so we can improve the in-game website.