Announcement

Collapse
No announcement yet.

Finding ppl in game out side of ut2k4

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • replied
    Originally posted by Zoeff
    was frogger the creator of that thing?

    i downloaded the install thing or whatever but it was to complex for me :bulb:
    no i nothing to do with creating this.....and actually the html is very easy (the main reason I am using it..)..there is an example page..basiacally copy/paste it and just change your ip and port and you are done. You can change colors and sizes if you want..again quite easy..I tried several PHP and other format ones but was never smert enough to get it to look like i wanted...check it out here.. http://www.h-townmadness.com/servers.html

    (only scanned rest of thread, not sure if this is still relavent)

    Leave a comment:


  • replied
    Originally posted by breadbaker
    Screw serverspy.net :sour:
    I looked into that code and it's a mess of javascript.

    Instead try this link:
    http://search.hlsw.org/sei/project/i...ch_Game=UT2004

    Everything there is performed with GET requests so do the searches with your desired options and copy the resulting URL.

    From a php file get each of those URLs with a line like this:
    PHP Code:
    $result file("http://search.hlsw.org/sei/project/index.php?Search_Name=dark&Search_Name_Type=%3D%25&Search_Game=UT2004&action=process&mode=player&language=en"); 
    This example will return UT2004 players which name contains dark.

    $result will be an array you can loop through or you could transform it into a string to process it with some regexp's:

    PHP Code:
    $html implode(""$result); 
    The source returned by gamers-search.de is somewhat messy so it's quite a bit work to parse out the portions
    of the result but this should give you a good starting point.

    I'm not going deeper into that regexp stuff since we could easily fill some more pages on that and I would also
    have to dig a bit deeper on the result source and do some trial and error research.
    So how do I make this work? I tried putting it into a php file and nothing happened? I'm kinda new to php just getting my ears wet.

    Leave a comment:


  • replied
    Originally posted by Freebyrd
    Yes exactly if there server goes down then this will not work... I was hoping that someone had a script to extract info from the master server.
    I don't know anything about the protocol to communicate with an unreal master server and I have yet to run into any documentation.

    I highly doubt that communication is as easy as with a game server itself.
    Besides retrieving server and player lists the whole stats logging would prolly be a part of that protocol.

    It is possible that other query tools & services use other (semi-static) resources to build server lists and do not query the master server directly.

    Maybe someone with deeper knowledge could clarify, please.

    Leave a comment:


  • replied
    Originally posted by breadbaker
    thx

    but in the end above method is cheesy cause one is using other peepz resources.
    the correct one would be to open a socket to the master server and get the info the way UT2004 does. :weird:
    well ... maybe next time
    Yes exactly if there server goes down then this will not work... I was hoping that someone had a script to extract info from the master server.

    Leave a comment:


  • replied
    Originally posted by MonsterMadness
    breadbaker u r teh man!
    thx

    but in the end above method is cheesy cause one is using other peepz resources.
    the correct one would be to open a socket to the master server and get the info the way UT2004 does. :weird:
    well ... maybe next time

    Leave a comment:


  • replied
    breadbaker u r teh man!

    Leave a comment:


  • replied
    Originally posted by Freebyrd


    I tried to view the sorce of the site and use the searh thingie and it said I was not allowed to use it.
    Screw serverspy.net :sour:
    I looked into that code and it's a mess of javascript.

    Instead try this link:
    http://search.hlsw.org/sei/project/i...ch_Game=UT2004

    Everything there is performed with GET requests so do the searches with your desired options and copy the resulting URL.

    From a php file get each of those URLs with a line like this:
    PHP Code:
    $result file("http://search.hlsw.org/sei/project/index.php?Search_Name=dark&Search_Name_Type=%3D%25&Search_Game=UT2004&action=process&mode=player&language=en"); 
    This example will return UT2004 players which name contains dark.

    $result will be an array you can loop through or you could transform it into a string to process it with some regexp's:

    PHP Code:
    $html implode(""$result); 
    The source returned by gamers-search.de is somewhat messy so it's quite a bit work to parse out the portions
    of the result but this should give you a good starting point.

    I'm not going deeper into that regexp stuff since we could easily fill some more pages on that and I would also
    have to dig a bit deeper on the result source and do some trial and error research.

    Leave a comment:


  • replied
    Originally posted by breadbaker
    you run the php script on your server, do a post request to the query page of serverspy and parse the output with regular expressions into your own template/web page.

    that's the way I would do.

    I don't have a php post function handy atm, but basically you do a fsockopen, write your http-header to that stream and store the returned data (that would be the search result) into a variable.
    Then you can do any necessary transformation before you output it on your web page.

    EDIT: I'll take a look into my script collection later and post you some stuff that may be of use.


    I tried to view the sorce of the site and use the searh thingie and it said I was not allowed to use it.

    Leave a comment:


  • replied
    Originally posted by breadbaker
    examples:
    Ta very much - just the ticket.

    Leave a comment:


  • replied
    Originally posted by MonsterMadness
    ty, nice.

    Is there a way to get info from a specific game server (like my own)?
    There are some ready made scripts floating around.

    To my knowledge the UT2003 query scripts should just work fine, since the query protocol is the same.

    examples:
    http://freshmeat.net/projects/ut2003area/
    http://unreal.student.utwente.nl/
    http://vec.be/page.php?id=249

    Leave a comment:


  • replied
    Originally posted by breadbaker
    you run the php script on your server, do a post request to the query page of serverspy and parse the output with regular expressions into your own template/web page.
    ty, nice.

    Is there a way to get info from a specific game server (like my own)?

    Leave a comment:


  • replied
    Originally posted by Freebyrd
    I would much rater run this on my server and not serverspy's server... I doubt they would give up the code

    I guess untill someone makes up code to do this I will pay for it
    you run the php script on your server, do a post request to the query page of serverspy and parse the output with regular expressions into your own template/web page.

    that's the way I would do.

    I don't have a php post function handy atm, but basically you do a fsockopen, write your http-header to that stream and store the returned data (that would be the search result) into a variable.
    Then you can do any necessary transformation before you output it on your web page.

    EDIT: I'll take a look into my script collection later and post you some stuff that may be of use.

    Leave a comment:


  • replied
    Originally posted by breadbaker
    You can use the "Player Search" on http://www.serverspy.net/

    With a little bit of php and regular expressions you could do the query and parse the output from/into your web page.

    You'd have to do it for every player you want to look for though.


    Parsing other web pages with regular expressions into your own page is a neat way to steal content.
    Webmasters usually get upset about this one.


    Edit: They offer a remote player search to subscribers btw.
    I would much rater run this on my server and not serverspy's server... I doubt they would give up the code

    I guess untill someone makes up code to do this I will pay for it

    Leave a comment:


  • replied
    Originally posted by ninja`mcnuggets
    http://xfire.com/
    Search the forums for XFire - there is a thread where members have put their ID's

    [edit]
    Here's one

    Here's another

    [/edit]

    Leave a comment:


  • replied
    Originally posted by The5thviruz
    Thats untrue...if you install the PLUGIN to the your browsers folder, you can see it...it just defaults to C:\Program files\Internet Explorer\plugins
    k, ty. I was looking for something serverside tho :'(

    Originally posted by breadbaker
    With a little bit of php and regular expressions you could do the query and parse the output from/into your web page.
    Cheers, dunt understand PHP yet (but I want to do that instead of ASP).

    Leave a comment:

Working...
X