Luigi Auriemma

aluigi.org (ARCHIVE-ONLY FORUM!)
It is currently 19 Jul 2012 11:32

All times are UTC [ DST ]





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 10 posts ] 
Author Message
 Post subject: Missing Gslist params
PostPosted: 16 Jun 2010 00:41 

Joined: 15 Jun 2010 23:08
Posts: 5
hi. I've been using some of the tools on here such as gslist and the peerchat tools for a while.
I have used the search to look for what i am trying to do but I couldn't find anything so I'm posting here.

I do some work based around thps games for ps2 and pc and people have requested that I put up some tools for viewing things on the server... I planned to run a php script to pull server listings for the specific thps games so they could see who was online without having to start up their ps2 to find noone there...

My problem is that some parameters for all of the games in the series on ps2 or pc between thps5 and thps7 went missing... They used to be there but aren't there anymore. They are still there in thps3 and thps4 games...

THPS3(thps3pc)
Code:
C:\Users\Owner\Desktop\gslist>gslist.exe -d 0 190.208.103.144 6500

Gslist 0.8.8b
by Luigi Auriemma
e-mail: aluigi@autistici.org
web:    aluigi.org

- query type: Gs \status\
- target   190.208.103.144 : 6500

                    gamename thps3pc
                    gamename thps3pc
                     gamever  1.01
                    location 1
                    hostname nazhoo0
                     mapname Airport
                    gametype Slap!
                  gametypeid 2
                  numplayers 8
                  maxplayers 8
                numobservers 0
                maxobservers 0
                  skilllevel 2
                    gamemode Open
                    password 0
                     started 1
                   timelimit 120
                   fraglimit 0
                    teamplay 1
                    player_0 &cfna&c5zho*
                    player_1 &c+GON&c)ZALO
                    player_2 pro_jose-blc
                    player_3 Tyago
                    player_4 &c+MaStEr&c(BLC
                    player_5 XsT&c-??DubStep??
                    player_6 Leandro-xRMG
                    player_7 juan-xRMG

Press any key to continue . . .

THUG2 (thps6pc)
Code:
C:\Users\Owner\Desktop\gslist>gslist.exe -d 8 200.100.38.139 5153

Gslist 0.8.8b
by Luigi Auriemma
e-mail: aluigi@autistici.org
web:    aluigi.org

- query type: Gamespy 2
- target   200.100.38.139 : 5153
                    hostname Venhaa!
                    gamemode Trick Attack
                     groupid 765
                  numplayers 2
                    hostport 5153
                     mapname LOS ANGELES
                    gametype Trick Attack
                    teamplay 0
                  numplayers 2
                  maxplayers 5
                    password 0
                numobservers 0
                maxobservers 2
                      ranked 0
                  skilllevel 2
                     started 0
                    hostmode 0

Press any key to continue . . .

As you can see the playernames are missing... Is there anyway to fix this? I do own all of the ps2 games in the series and have access to the PC versions as well if I might be able to find it through a game file.

For the serverlist thing i was working on i was using this basically...
Code:
gslist -n gamename -X \host\hostname\gametype\gamemode\mapname\numplayers\maxplayers\skilllevel\password\groupid\teamplay\numobservers\maxobservers\ranked\started\hostmode\player_0\player_1\player_2\player_3\player_4\player_5\player_6\player_7\player_8\

Any input on this could help... Thanks =)


Top
 Profile  
 
 
 Post subject: Re: Missing Gslist params
PostPosted: 16 Jun 2010 08:33 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
the -d/i/I option of gslist doesn't get the list of players on the server, for doing it you need to use other tools specific for this job (qstat?).

and the Gamespy master server doesn't collect and doesn't store the players info, that's why they can't be returned with -X


Top
 Profile  
 
 Post subject: Re: Missing Gslist params
PostPosted: 16 Jun 2010 19:23 

Joined: 15 Jun 2010 23:08
Posts: 5
I tried qstat but it requires the host, basically the -d option of gslist, and gives me less info than gslist did. The reason I brought up the topic is because gslist DID report playernames for the newer games a while back, and they still DO show up for the older ones (thps3,thps4). I don't really care for specific info on each player, just the names that are in the game...

-X does show the players for thps3 and thps4


Top
 Profile  
 
 Post subject: Re: Missing Gslist params
PostPosted: 16 Jun 2010 21:48 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
probably an old version of gslist still displayed the remaining data in the packet like the players names, I guess the current one no longer does it.
anyway I don't have other ideas except using specific tools.
strange that qstat doesn't do it, are you sure that wasn't a particular option for viewing the players names?
except if it's just the server that doesn't send them, maybe a new patch or similar


Top
 Profile  
 
 Post subject: Re: Missing Gslist params
PostPosted: 22 Oct 2010 10:46 

Joined: 21 Oct 2010 11:02
Posts: 3
Any suggestions for 3rd party tools that can list players names?


Top
 Profile  
 
 Post subject: Re: Missing Gslist params
PostPosted: 23 Oct 2010 02:10 

Joined: 15 Jun 2010 23:08
Posts: 5
i still haven't found out... the games themselves obviously havent changed and you can see the names from the game lobby itself but not from gslist...
http://bobz.it.cx/thpsstatus.php?game=thps3pc shows it working on THPS3


Top
 Profile  
 
 Post subject: Re: Missing Gslist params
PostPosted: 23 Oct 2010 13:19 

Joined: 24 Jun 2010 10:04
Posts: 70
Location: aluigi not @ home
a little note about the first post:

in the games based on the q3 engine the players data is a line-feed separated list of names located at the end of the information packet and gslist visualizes it without problems
in the other games (like those that use the gamespy queries) sometimes these names are located also in the normal reply in fields like player_0 and so on and they get visualized too.

what is not supported by gslist is the players-specific query like the old \players\ or the 0xff byte set at a specific position of the new queries so in the games that put the player names only in this specific packet you will get no list.

now, with "game lobby" do you refer to the peerchat server?
because the master server and peerchat are two different things.
when you join peerchat (the irc server of gamespy where happens all the multiplayer stuff) the client gets all the name of the players and statistics in at least 2 ways like sending a broadcast irc message (argh don't remember it now) or obviously by joining the room of the server (yes it's an irc room!).

I know this doesn't help but at least should clarify some things :)


Top
 Profile  
 
 Post subject: Re: Missing Gslist params
PostPosted: 30 Apr 2011 09:05 

Joined: 15 Jun 2010 23:08
Posts: 5
sorry to bring this thread back... again... but I was visiting digging through to find a solution for somethingelse and i discovered that your ancient gsinfo tool does find these player names.
Code:
C:\Users\Owner\Documents\gslist>gslist.exe -d 8 192.168.11.15 5150

Gslist 0.8.9
by Luigi Auriemma
e-mail: aluigi@autistici.org
web:    aluigi.org

- query type: Gamespy 2
- target   192.168.11.15 : 5150
                    hostname AIM-itzbobbylol
                    gamemode Trick Attack
                     groupid 1222
                  numplayers 1
                    gamemode Trick Attack
                    gamename thps7ps2
                    hostname AIM-itzbobbylol
                    hostport 5150
                     mapname SANTA MONICA
                    gametype Trick Attack
                    teamplay 0
                  numplayers 1
                  maxplayers 8
                    password 0
                numobservers 0
                maxobservers 1
                      ranked 1
                  skilllevel 4
                     started 0
                    hostmode 0


C:\Users\Owner\Documents\gslist>pause
Press any key to continue . . .

Code:
C:\Users\Owner\Desktop>gsinfo.exe 192.168.11.15 5150 1

GSInfo (Gamepsy querying protocol) 0.4
by Luigi Auriemma
e-mail: aluigi@autistici.org
web:    aluigi.org


Waiting 3 seconds for a reply
                           hostname: AIM-itzbobbylol
                           gamemode: Trick Attack
                            groupid: 1222
                         numplayers: 1
                           gamemode: Trick Attack
                           gamename: thps7ps2
                           hostname: AIM-itzbobbylol
                           hostport: 5150
                            mapname: SANTA MONICA
                           gametype: Trick Attack
                           teamplay: 0
                         numplayers: 1
                         maxplayers: 8
                           password: 0
                       numobservers: 0
                       maxobservers: 1
                             ranked: 1
                         skilllevel: 4
                            started: 0
                           hostmode: 0
                                   :
                           ???player_: ping_
                            player_: rating_
                                   : Bob
                                   : Bob
                                  0:
                                   :



C:\Users\Owner\Desktop>pause
Press any key to continue . . .

Using gsinfo, there are some useless looking lines under hostmode, and then there is my name (duplicated for some reason, but it is there). A downside to both is that I can only use the direct method for games that are port forwarded. My question is whether that Bob line and others to follow would be able to be implemented into the following type of gslist command so that it is querying the master server rather than the game directly and getting all ips at once while also getting the player names from those lines.
Code:
gslist -t -1 -X \hostname\mapname\gametype\numplayers\maxplayers
\password\country\numobservers\player_0\player_1\player_2\player_3\player_4\player_5\player_6\player_7\player_8\maxobservers\ranked\skilllevel\started\groupid\ -n thps7ps2


Top
 Profile  
 
 Post subject: Re: Missing Gslist params
PostPosted: 30 Apr 2011 19:34 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
the Gamespy mater server doesn't save the names of the players so you can't query something that doesn't exist


Top
 Profile  
 
 Post subject: Re: Missing Gslist params
PostPosted: 01 May 2011 00:16 

Joined: 15 Jun 2010 23:08
Posts: 5
I managed to pull something off. They are seperate from each other, but the names can be viewed. Thanks for your efforts Luigi.

Image


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 10 posts ] 

All times are UTC [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for: