This is a read only copy without any forum functionality of the old Modcraft forum.
If there is anything that you would like to have removed, message me on Discord via Kaev#5208.
Big thanks to Alastor for making this copy!

Menu

Author Topic: [QUESTION] is it possible to make a webpage show up ingame?  (Read 1563 times)

kasma23

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 5
    • View Profile
was wondering if its possible to make the a website show ingame say if a player wants to view the servers website they can do #website and a box will open with the website.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

saifi0102

  • Registred Member
  • LUA Script Tinker
  • *****
  • Posts: 42
    • View Profile
Re: [QUESTION] is it possible to make a webpage show up inga
« Reply #1 on: August 11, 2015, 01:58:55 pm »
You should check out TOS and EULA and how its shown in WoW and modify the HTMLs.
Trying using an iframe to show your webpage.

The HTML files are in Data/enUS/...
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

stoneharry

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 617
    • View Profile
Re: [QUESTION] is it possible to make a webpage show up inga
« Reply #2 on: August 11, 2015, 02:56:29 pm »
I don't think it is really possible. For a start the client only supports simple HTML when web stuff is loaded. And it would be incredibly hard to get that to load.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Amaroth

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 1219
    • View Profile
    • Amaroth's Tools
Re: [QUESTION] is it possible to make a webpage show up inga
« Reply #3 on: August 11, 2015, 05:14:23 pm »
WoW actually can work with HTML, it is used for instance in readable items and objects. However, that works for text and showing BLP pictures which are in client. Creating some sort of new window which would be able to load web page from external source might be much more troublesome.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »
English YT tutorial channel. Check it out if you preffer videos over walls of text.:
https://www.youtube.com/AmarothEng

Want to support me for my releases and/or tutorials? You can send donation via Paypal to:
jantoms@seznam.cz

schlumpf

  • Administrator
  • Creator of Worlds
  • *****
  • Posts: 2967
    • View Profile
Re: [QUESTION] is it possible to make a webpage show up inga
« Reply #4 on: August 11, 2015, 07:43:37 pm »
You might be able to hackishly abuse the knowledge base / support functionality. KBase will not do actual websites though.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Chase

  • Registred Member
  • Loreweaver
  • *****
  • Posts: 116
    • View Profile
Re: [QUESTION] is it possible to make a webpage show up inga
« Reply #5 on: August 11, 2015, 10:57:54 pm »
Ashran currently does this and allows people to buy coins in-game trhough the store. So its certainly more than "simple" html.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

stoneharry

  • Contributors
  • Creator of Worlds
  • *****
  • Posts: 617
    • View Profile
Re: [QUESTION] is it possible to make a webpage show up inga
« Reply #6 on: August 12, 2015, 12:47:04 am »
Quote from: "Chase"
Ashran currently does this and allows people to buy coins in-game trhough the store. So its certainly more than "simple" html.

Ashran is WoD. WoD has the in-game browser for the store among other things.
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

Chase

  • Registred Member
  • Loreweaver
  • *****
  • Posts: 116
    • View Profile
Re: [QUESTION] is it possible to make a webpage show up inga
« Reply #7 on: August 12, 2015, 02:48:36 am »
Quote from: "stoneharry"
Quote from: "Chase"
Ashran currently does this and allows people to buy coins in-game trhough the store. So its certainly more than "simple" html.

Ashran is WoD. WoD has the in-game browser for the store among other things.

He never told us what version he is on. I assume he would be on the most logical version to be on. Sorry, I forgot people still inconvenience themselves..
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

kasma23

  • Registred Member
  • BLP Convertor
  • *****
  • Posts: 5
    • View Profile
Re: [QUESTION] is it possible to make a webpage show up inga
« Reply #8 on: August 12, 2015, 03:47:07 am »
ya i am on 3.3.5 not really interested in like adding a ingame website for the store but forums was my goal lol
« Last Edit: January 01, 1970, 01:00:00 am by Admin »

XxXGenesisXxX

  • Contributors
  • Model Change Addict
  • *****
  • Posts: 204
    • View Profile
Re: [QUESTION] is it possible to make a webpage show up inga
« Reply #9 on: August 12, 2015, 05:05:43 pm »
The workaround I can think of (and assume could work) would be somewhat re-creating the pages in the client. Rather than having the entire page in the client, you could have a panel with the relevant buttons needed to get the same functionality you would get from the desired page. Then have it send messages to and from the actual webpage to the the results you are after from the page.

For example: In the client you could have a panel/pane and in that panel a donate button, when the player clicks that donate button, the next part pops up with an enter-able or selectable quantity to donate, then the player hits some kind of submit button and it sends that quantity, the character name the username and so forth to the webpage. The webpage then sends back a message whatever results you want from that information and in turn the client would then have perhaps another panel to continue further.

It would be rather finicky and more effort than value, but I guess it could work...
« Last Edit: January 01, 1970, 01:00:00 am by Admin »