ID:1952150
 
(See the best response by Flick.)
Problem description:
How do I direct players in a game to a html file that is kept in the same directory as the game?

Byond's old browser support isn't allowing me to link images, so is there a way to directly link players to the html file.
(Like, have them open it in their own browser.)
Avidanimefan wrote:
Byond's old browser support isn't allowing me to link images

What do you mean?
src << browse({"<img src="example.com/ex.png" />"})


This works fine.
I'll give it a try.

*2 mins later*
usr << browse('FAQII.html')




Nope.

Still opens a default byond browser.
Also I'm not using it to link just images. I'm trying to link players to an html file- I just meant that the images don't show up in byond's default browser via the html document as seen in the image above. (just a bit more explanation if that wasn't clear)

What the page should look like in Google Chrome



You can see now why I'm trying to directly display the html page instead of go through the byond default browser.
Best response
You'll need to send the images in that file to the player first using browse_rsc
In response to Avidanimefan
I just ran my own tests, and browsing an HTML file works fine when referencing sources from the web. You can also use a text file and make it compatible with file2text(). If the resources are local, you'll have to do like flick said.
In response to Flick
Ah ok. Could I go a step further and just add them directly to the RSC file in that case?
In response to Konlet
Thanks for your help.
In response to Konlet
The images are good enough.
The meters are actually HTML tags set up for the page,but I guess those aren't completely necessary. Thanks again you two.