Skip to content

White screen and Resource Downloads #1

Description

@PeteSavarese

I am running the example and have the compiled index.html in garrysmod/shared/example/index.html on the Garry's Mod server with gm_maskfs. When the example.lua is run on the client with cream:new("example"):load() it only shows a white page. If I copy index.html from the server to the client in resource/shared/example/index.html.dat the page loads just fine.

Is there any reason why the client is not downloading the .dat from the server? The resource.AddSingleFile from the Rust extension does not add the file to download. Only when manually added in a content.lua in lua/autorun/server does the file download. By overriding the resource.AddSingleFile the example and example1 .dat files are being added, but they do not download to the client unless I specifically type resource.AddSingleFile in lua/autorun/server/content.lua

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions