Solved View website on client?

Discussion in 'Rust Development' started by ZeusGOD, Sep 21, 2016.

  1. I have a question.

    In Rust client has a button called 'View WebSite'.

    I make it through plug-in GUI ??
     
  2. Wulf

    Wulf Community Admin

    No, it's not possible to open a browser or website from the server on a client.
     
  3. It's not realistically possible, however it may be possible for you to re-create a website using the inbuilt CUI tools.

    You'd need a CSS/HTML parser that can convert the webpages into CUI-supported data, which would take a hell of a lot of work, however it would be really cool to see.
     
  4. Wulf

    Wulf Community Admin

    That'd be a ton of work, and be a crazy amount of code. :p

    If you just wanted static content, you could use a webpage screenshot API and show those in-game via the CUI, but kinda silly.
     
  5. Ah ofcourse, very true. Although that wouldn't support use of buttons/interaction etc :p
     
  6. You wouldn't just need a parser, you'd need an actual browser engine for CUI.