Webpanel opening in game
So I was wondering what kind of access does the webpanel in game have? Is there any info about the player sent to the website which is opened?
|
Re: Webpanel opening in game
I think he means the motd window, maybe im wrong.
|
Re: Webpanel opening in game
Think of the MOTD window as a simple web browser. If you want to send a particular player's information to a website that is being shown, you'd need to encode that information into the URL.
For example, if you want to send a player's SteamID, you'd send them to a url like this: Code:
show_motd(id, "http://www.website.com/webpage.php?steamid=STEAM_0:0:123456") If you don't do this then there won't be any game-specific information sent. However, as with all websites, the website can still get your IP address and anything therefore derived. |
Re: Webpanel opening in game
Ah that is not great news, I expected that by opening a motd window from within a game, the game would pass in an object or something with some info of who or what opened the window.
|
Re: Webpanel opening in game
Quote:
It's simply a web browser and is not directly linked into the game or its data. |
Re: Webpanel opening in game
However this can be achieved, if you own a web-server, making a php script that retrieves data from the game server, in your example, the player name/id or w/e, then you can use meta refresh to show it in your motd screen.
|
All times are GMT -4. The time now is 01:24. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.