Author Topic: Automatic GUI downloading  (Read 4045 times)

Someone could create a mod like RTB called the GUI Safe.

People could submit their GUI's to the GUI Safe team and they could approve of it like the RTB team does with their add-ons.

Then there would be some kind of check when joining a server, if the GUI has been approved by the GUI Safe team it gets direct downloaded, but if it hasn't been approved it gives you a warning that GUI Safe has not approved it, and it may not be safe, and you get disconnected from the server. Basic GUIs are fine because they can be downloaded safely, but for more complex GUIs, someone should make a "GUI Safe" team/mod of some sort. This would pretty much fix the whole problem.. right?


Yeah I think Headcrab and Chrono have demonstrated why it just wouldn't work to make it safe from a server downloading point of view but having it on RTB with a prompt to download and install (or a link in the chat or a message box for those who don't have RTB) is entirely possible and pretty trivial to implement I think. It'd definitely be the best option.
This would work excellently!


This is something you can "kind of" do already. If you submit it to RTB it'll be approved but Bargain Binned (just so it doesn't show up in the normal listings). You can then link to it in-game using the following Torque markup:

Code: [Select]
<a:rtb-FILE_ID>Click here to download my file</a>

That'll open up the RTB Mod Manager in-game and they can download it and it *should* work once they've finished the download. Obviously this won't work for non-rtb users so you'd need two links, or you can send a different message if %client.hasRTB is not 1.

This is just so you can get it working immediately, I don't know how long it'd take to make it an official feature of RTB.

This is something you can "kind of" do already. If you submit it to RTB it'll be approved but Bargain Binned (just so it doesn't show up in the normal listings). You can then link to it in-game using the following Torque markup:

Code: [Select]
<a:rtb-FILE_ID>Click here to download my file</a>

That'll open up the RTB Mod Manager in-game and they can download it and it *should* work once they've finished the download. Obviously this won't work for non-rtb users so you'd need two links, or you can send a different message if %client.hasRTB is not 1.

This is just so you can get it working immediately, I don't know how long it'd take to make it an official feature of RTB.
Sounds pretty good, but it would work best as something builtin to blockland that has a popup when you join a server or something. That way, people wouldn't have to go through the process of actually going to download it. It would work with non-RTB users too (lots of new players around here.) Still sounds pretty good though, I just want to make sure that it's extremely easily accessable to players. If it's too inconvenitent, some players might not do it and potentially lose critical functionality required by the server (Say it's an RPG or City RP where you need the GUI or something.)

Edit: You probably wouldn't want help, but I'm willing to help in any way I can to make this a reality. It would just make Blockland so much more incredibly awesome, since you would have the whole world of GUI's at your finger tips to give players better control instead of just "/" commands.
« Last Edit: October 10, 2012, 12:53:41 PM by Reinforcements »

Sounds pretty good, but it would work best as something builtin to blockland that has a popup when you join a server or something. That way, people wouldn't have to go through the process of actually going to download it. It would work with non-RTB users too (lots of new players around here.) Still sounds pretty good though, I just want to make sure that it's extremely easily accessable to players. If it's too inconvenitent, some players might not do it and potentially lose critical functionality required by the server (Say it's an RPG or City RP where you need the GUI or something.)

Edit: You probably wouldn't want help, but I'm willing to help in any way I can to make this a reality. It would just make Blockland so much more incredibly awesome, since you would have the whole world of GUI's at your finger tips to give players better control instead of just "/" commands.
Do you know that the only way guis can communicate with the server ARE those "/ commands"

Do you know that the only way guis can communicate with the server ARE those "/ commands"
Not the point.

The gmod comparison that baddy makes in the greenlight is good, That's what blockland should be more like, And being able to add completely new ui's for gamemodes and such is something it's mostly lacking (Yes the rtb thing above is there but i don't recall ever seeing that)

Somebody make trouble in terrorist town in blockland already.

Do you know that the only way guis can communicate with the server ARE those "/ commands"
Yup, cool right?
The gmod comparison that baddy makes in the greenlight is good, That's what blockland should be more like, And being able to add completely new ui's for gamemodes and such is something it's mostly lacking (Yes the rtb thing above is there but i don't recall ever seeing that)

Somebody make trouble in terrorist town in blockland already.
Yes, new GUI's would be tons of fun, so many possibilities. You could make so many awesome things with them!

I actually have no idea what kind of features gmod offers in terms of custom GUIs and stuff. It may be that it already has a hefty client-side framework that custom GUIs can hook into and use.

If anyone knows much about how that works that'd be quite valuable to post in here.

Blockland Glass tryed to accomplish this
I think they did

Gmod uses LUA for custom content, I have no idea if it downloads the gui's or if it just knows from the servers because gmod 13 uses custom file formats for downloaded stuff.

Oh and i know the main menu's are written in HTML but i don't know if in game can take advantage of that.
« Last Edit: October 11, 2012, 10:22:08 AM by tails »

Yeah, Gmod servers always upload client-side LUA files to clients apon server join.  Im guessing the difference is that those LUA files don't give access to dangerous file functions?

I think they do, It's more garry fixes them http://facepunch.com/showthread.php?t=1152809

Here's what it does:
- Clears garrysmod/data folder
- Clears some SQLite tables (holding some of your settings and FPP buddies)
- Crashes game (with the buildcubemaps command?)
- Sets your steam status to 'show offline'
- It does spread, it seems, it makes you re-upload it

I actually have no idea what kind of features gmod offers in terms of custom GUIs and stuff. It may be that it already has a hefty client-side framework that custom GUIs can hook into and use.

If anyone knows much about how that works that'd be quite valuable to post in here.
I don't know too much about it, sorry. What would you need it for?