//flex table opened by JP

Click to See Complete Forum and Search --> : Anyone REALLY know alot about scripts?


doZer666
10-01-2004, 09:54 PM
Hey guys,
I got a big script task im tryin to figure out how to do... not really sure what kind of script it is ..but here goes

I was wondering if anyone can find a way to get the information from a dedicated game server, to come up on a web page via either html, java, what-have-you... what im looking for is this... download www.internetracefinder.com and sign up for it.. takes about 2 seconds... than click on one of the servers that are up... theres at least 2 always up... and than click on info... i want to know if there is a way to get that information onto a web page through any kind of scripting or something....

anyone know what the heck im talkin about?????.....:t

DocEvi1
10-02-2004, 05:27 PM
all depends what the servers are running...

ahurtt
10-04-2004, 02:25 PM
There is a (relatively) new technology out there right now called RSS (for Really Simple Sindication or something of that nature I think). It is based on a simple Web Service that will give you an XML feed which you can then use XSLT (Extensible Stylesheet Language Transformation) to transform the XML into html for display in a web browser. If you use a browser like the predominant Internet Explorer v. 5 or 6, the browser has an XSLT engine built in so XSL Tranformation can happen right on the web browser client machine and no server side implementation for transformation is needed on your host server. The limitation is that this will not work in every browser out there. The only sure-fire way to ensure 100% compatibility is to have some kind of server-side implementation on your web / application server to perform the transformation and then feed HTML to the web browser clients. But, IE version 5 and 6 probably constitutes over 90% of users out there today. (Don't quote me on that, I'm just making a guess.) The other part of this solution is that the game maker has to supply the RSS feed for your consumption. I don't know if whoever made this IRF client you mentioned offer such a thing but it is pretty trivial on their part should they decide they wanted to offer such a thing. Otherwise, it would be considerably more time consuming and require a lot more technical knowledge for you to be able to "screen scrape" the information out of their stand-alone client application and feed it into a dynamically generated HTML page on your web hosting server.

ahurtt
10-04-2004, 02:30 PM
As an example of what I am talking about above, Mythic Entertainment offers such a service for its MMORPG titled "Dark Age of Camelot." You can see how it is used here:

http://www.camelotherald.com/xml.php

doZer666
10-04-2004, 06:42 PM
thing is, the guy that made the IRF client isn't around anymore...he must have gotten up and got one of them real life dealies..:t

if you download IRF and click on info for a server... the info you get there is what i want to post on an html page

Sertys
10-18-2004, 10:52 AM
No problem. CGI::Mechanize is what you need.
Though it is possible without it. No problem, but it's server side. Client side is activeX for example. I can write the perl, without even seen the pages. If you use a low level(under application) protocol to transfer the stats it is even easier, as soon as there are some protocol semantics described around there.

Append : CGI::Mechanize is a perl module. Search search.cpan.org .