garrysmod-requests icon indicating copy to clipboard operation
garrysmod-requests copied to clipboard

Static web file serving

Open nykez opened this issue 5 years ago • 10 comments

The possibility to to serve static web files across FastDL, or steam's workshop. (whitelist .html, .css)

~With Chromium coming around the corner~, more creators will exploring new possibilities in web design in games. As I have myself and don't find it practical to have large [[ html strings ]] or to load html/css from a external website.

The html folder and DHTML already allows assets to be loaded using asset:// why not allow servers to serve html files here?

Thanks.

nykez avatar Apr 25 '20 05:04 nykez

Also .js but it might be weird since windows still considered those to be jscript

meepen avatar Apr 25 '20 18:04 meepen

If only we had an embedded HTTP server inside of gmod server...

Tripperful avatar May 21 '20 09:05 Tripperful

I agree, why not just allow .html, .css and .js to be written to data and/or gma, it would greatly improve the gui situation in the game and allow new and existing developers to make beautiful user interfaces much faster, and if upgrade outdated Awesomium and half dead Chromium to Steam HTML Surface we can talk about an interface like in s&box.

unknown-gd avatar Oct 21 '23 07:10 unknown-gd

Actually if we talk about web development I think it would be great to allow writing .gif files, yes the game through Matetial or any other functions will not display them correctly, but the web will be able to do this, imagine beautiful, animated and modern user interfaces in Garry's Mod.

unknown-gd avatar Oct 22 '23 07:10 unknown-gd

The problem with Stan HTML surface is that it has steam tokens logged into it automatically, which allows people to just take your steam account and do whatever to anyone that joins

On Sat, Oct 21, 2023, 3:05 AM PrikolMen:-b @.***> wrote:

I agree, why not just allow .html, .css and .js to be written to data and/or gma, it would greatly improve the gui situation in the game and allow new and existing developers to make beautiful user interfaces much faster, and if upgrade outdated Awesomium and half dead Chromium to Steam HTML Surface we can talk about an interface like in s&box.

— Reply to this email directly, view it on GitHub https://github.com/Facepunch/garrysmod-requests/issues/1575#issuecomment-1773699474, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPGKSMTIJWRC6LXQBAR7BTYANX3BAVCNFSM4MQTICPKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCNZXGM3DSOJUG42A . You are receiving this because you commented.Message ID: @.***>

meepen avatar Oct 22 '23 08:10 meepen

Steam*

On Sun, Oct 22, 2023, 4:16 AM Meepen @.***> wrote:

The problem with Stan HTML surface is that it has steam tokens logged into it automatically, which allows people to just take your steam account and do whatever to anyone that joins

On Sat, Oct 21, 2023, 3:05 AM PrikolMen:-b @.***> wrote:

I agree, why not just allow .html, .css and .js to be written to data and/or gma, it would greatly improve the gui situation in the game and allow new and existing developers to make beautiful user interfaces much faster, and if upgrade outdated Awesomium and half dead Chromium to Steam HTML Surface we can talk about an interface like in s&box.

— Reply to this email directly, view it on GitHub https://github.com/Facepunch/garrysmod-requests/issues/1575#issuecomment-1773699474, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPGKSMTIJWRC6LXQBAR7BTYANX3BAVCNFSM4MQTICPKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCNZXGM3DSOJUG42A . You are receiving this because you commented.Message ID: @.***>

meepen avatar Oct 22 '23 08:10 meepen

The problem with Stan HTML surface is that it has steam tokens logged into it automatically, which allows people to just take your steam account and do whatever to anyone that joins On Sat, Oct 21, 2023, 3:05 AM PrikolMen:-b @.> wrote: I agree, why not just allow .html, .css and .js to be written to data and/or gma, it would greatly improve the gui situation in the game and allow new and existing developers to make beautiful user interfaces much faster, and if upgrade outdated Awesomium and half dead Chromium to Steam HTML Surface we can talk about an interface like in s&box. — Reply to this email directly, view it on GitHub <#1575 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPGKSMTIJWRC6LXQBAR7BTYANX3BAVCNFSM4MQTICPKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCNZXGM3DSOJUG42A . You are receiving this because you commented.Message ID: @.>

Isn't there any way to disable/limit this?

unknown-gd avatar Oct 22 '23 11:10 unknown-gd

There is a great need for this. And if there is a built-in HTTP server in addition, you will have a real victory monster. This will move the game to a new level almost from s&box in terms of writing the visual component, and coders will be able to study and give the game a new breath. But in words this is good, the question is already in implementation. It is unlikely that Rubat, who was given Gmod, even with all the knowledge, will be able to do this 1

darkfated avatar Nov 10 '23 02:11 darkfated

Yea i doubt he can do it too, id love to see him try though 😏

garryspins avatar Nov 10 '23 02:11 garryspins

Hire meepen to do it

Brassx avatar Nov 10 '23 08:11 Brassx