Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » General Discussions » General Discussion » GameSpy Arcade
Re: GameSpy Arcade [message #488177 is a reply to message #487023] Tue, 01 July 2014 01:18 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4299
Registered: April 2011
Karma: 0
General (4 Stars)
\status\\gamename\ccrenegade\gamever\838\hostname\Jelly-Server.com [Marathon]\hostport\8113\mapname\C&C_Volcano\gametype\C&C\numplayers\20\ maxplayers\50\CSVR\1\DED\1\password\0\DG\1\TC\0\FF\0\SC\0\SSC\brenbot1.54.2\time left\0.19.49\Website\www.jelly-server.com\IRC\irc.jelly-server.com\Teamspeak\ts. jelly-server.com\queryid\1174.1\team_t0\Nod\score_t0\8225\team_t1\GDI\score_t1\5 542\final\\queryid\1174.2

Player info isn't sent, not sure if it's because of the double queryid. RenList doesn't show the team_tX and team_tX as options in the left pane where it shows raw options like gametype..I think it's parsing it as a player and hence it showing a bugged GDI player in the player list.

Here's how it looks for Dragonade:

\status\\gametype\Marathon\mapname\C&C_Volcano_RxD.mix\nextmap\C&C_Field .mix\Time Elapsed\03.13.33\Time Limit\00.00.00\Starting Credits\100\FDS\Dragonade 1.6\Bot\BRenBot 1.54\Website\www.RenCorner.com\IRC\irc.RenCorner.com\TS\ts.RenCorner.com\Crates\ 1\Donate\1\Loot\1\Infinite Ammo\1\Advanced Kill Messages\1\Parachutes\1\Points Distribution\1\Extra Radio Commands\1\Request Team Change\1\Spawn Protection\1\Squad System\1\Taunts\1\Vehicle Ownership\1\Vehicle Shells\1\Vehicle Queue\1\RenCorner Server Settings\1\Sounds\1\Veteran System\1\Purchasable Weapons\1\hostname\ RenCorner Marathon\gamename\ccrenegade\gamever\838\hostport\5000\password\0\numplayers\1\m axplayers\50\queryid\807.1.\player_0\Nod\score_0\2440\kills_0\0\deaths_0\0\time_ 0\03.13.33\ping_0\4\team_0\Nod\player_1\GDI\score_1\0\kills_1\0\deaths_1\0\time_ 1\03.13.33\ping_1\1\team_1\GDI\player_2\HAJDAMAR\score_2\2440\kills_2\0\deaths_2 \0\time_2\00.05.08\ping_2\175\team_2\Nod\queryid\807.2.\final\\queryid\807.3.


Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases

[Updated on: Tue, 01 July 2014 01:35]

Report message to a moderator

Re: GameSpy Arcade [message #488179 is a reply to message #487023] Tue, 01 July 2014 01:47 Go to previous messageGo to next message
roszek is currently offline  roszek
Messages: 296
Registered: June 2010
Karma: 0
Recruit
We get the same thing...

index.php?t=getfile&id=14966&private=0



  • Attachment: yup.jpg
    (Size: 236.22KB, Downloaded 580 times)

[Updated on: Tue, 01 July 2014 01:52]

Report message to a moderator

Re: GameSpy Arcade [message #488182 is a reply to message #488177] Tue, 01 July 2014 01:59 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
iRANian wrote on Tue, 01 July 2014 09:18

Player info isn't sent, not sure if it's because of the double queryid.


BRenBot breaks the response down into smaller chunks because there is a limit on the maximum amount of data in each query, hence why there are two query IDs (those correspond to seperate UDP packets, the master server softwares job is to reconstruct all the packets with the same queryid in order of the .# component and use that as the final packet).


http://steamsignature.com/card/1/76561197975867233.png
Re: GameSpy Arcade [message #488184 is a reply to message #487023] Tue, 01 July 2014 02:14 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4299
Registered: April 2011
Karma: 0
General (4 Stars)
The master server doesn't do that, it's strictly client to BRenBot communication. All that the master server does is keep a list of server IPs+Ports that the client should query directly for info. The query response I copy pasted from WireShark which showed my IP communicating with all the Renegade servers on the list directly, e.g. showed Jelly-Marathon's IP with the query data bytes/packets.

The problem is that player info isn't being sent, the fake player on GDI is probably showing up because RenList doesn't parse stuff properly and thinks the team Nod and team GDI scores info represent a GDI player.

BTW how do you know the team_tX and score_tX are part of the GameSpy spec?


Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases

[Updated on: Tue, 01 July 2014 02:25]

Report message to a moderator

Re: GameSpy Arcade [message #488187 is a reply to message #487023] Tue, 01 July 2014 05:28 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
As I mentioned earlier in this topic I have a copy of the official developer specification for GSA. If you'd like a copy let me know via PM.

http://steamsignature.com/card/1/76561197975867233.png

[Updated on: Tue, 01 July 2014 05:30]

Report message to a moderator

Re: GameSpy Arcade [message #488193 is a reply to message #488187] Tue, 01 July 2014 06:36 Go to previous messageGo to next message
Adad is currently offline  Adad
Messages: 84
Registered: April 2003
Karma: 0
Recruit
RenList didn't expect team_* contain 2 definitions.
Re: GameSpy Arcade [message #488195 is a reply to message #488187] Tue, 01 July 2014 07:25 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4299
Registered: April 2011
Karma: 0
General (4 Stars)
danpaul88 wrote on Tue, 01 July 2014 05:28

As I mentioned earlier in this topic I have a copy of the official developer specification for GSA. If you'd like a copy let me know via PM.

Yes, this would interest hifi greatly too. I'll pass it on to him if you don't mind that.

Sorry I didn't see you state that earlier on in this topic.


Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
Re: GameSpy Arcade [message #488199 is a reply to message #488193] Tue, 01 July 2014 07:38 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4299
Registered: April 2011
Karma: 0
General (4 Stars)
Adad wrote on Tue, 01 July 2014 06:36

RenList didn't expect team_* contain 2 definitions.

Should work if you filter for the keys/options 'team_t0' and 'team_t1' I assume?


Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
Re: GameSpy Arcade [message #488200 is a reply to message #487023] Tue, 01 July 2014 07:43 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
From the GSA spec;

Quote:

Note the difference between "team_0" (which would indicate which team player 0 is on) and "team_t0" (which would indicate the name for team 0).


Also

Quote:

If you define a key that ends with an underscore and then a number (such as score_1), it is assumed to be a custom player field and will be displayed by GameSpy on the player list. If the key ends in an underscore then a "t" and a number (such as score_t1) it is assumed to be a custom team field and will be displayed by GameSpy on the team list.



So, anything that is _t# is a team property and anything that is _# is a player property.


http://steamsignature.com/card/1/76561197975867233.png
Re: GameSpy Arcade [message #488218 is a reply to message #487023] Tue, 01 July 2014 12:05 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4299
Registered: April 2011
Karma: 0
General (4 Stars)
The issue with the player list info not getting sent is this:

  my %playerList = plugin::get_playerlist();
  my $numPlayers = scalar(keys %playerList);
 
  my $i = 0;
  my $string = "";
 
  # Send player data in batches of 15 players to avoid overrunning the length limitations
  while (my ($id, $player) = each(%playerlist))


while (my ($id, $player) = each(%playerlist))


'playerlist' should be 'playerList'.


Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
Re: GameSpy Arcade [message #488219 is a reply to message #487023] Tue, 01 July 2014 12:06 Go to previous messageGo to next message
Ethenal is currently offline  Ethenal
Messages: 2532
Registered: January 2007
Location: US of A
Karma: 0
General (2 Stars)

^ thanks for iran's help, i'll commit the fix to svn right now

P.S. I committed two SVN revisions, one of which fixes the spelling error, and one of which reverses danpaul's change to make the team id be displayed instead of team name, which can be gathered from the team listing if properly read. My bad. You can reverse that if you wish DP, but for the meantime RenList does not display it very correctly.

I'm guessing he made that change because of the mods that use different team names - don't hate me, I committed it before I read the log for your gamespy.pm change. ;(


-TLS-DJ-EYE-K wrote on Mon, 18 March 2013 07:29

Instead of showing us that u aren't more inteligent than a Toast, maybe you should start becomming good in renegade Thumbs Up

[Updated on: Tue, 01 July 2014 12:20]

Report message to a moderator

Re: GameSpy Arcade [message #488220 is a reply to message #487023] Tue, 01 July 2014 12:26 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4299
Registered: April 2011
Karma: 0
General (4 Stars)
I was wondering.

This was changed in BRenBot:

>Player teams now show their numerical ID instead of the textual name (clients should read the name from \team_t#\name\ instead, where # is the players indicated team)

Does the Renegade server do this?


Long time and well respected Renegade community member, programmer, modder and tester.

Scripts 4.0 private beta tester since May 2011.

My Renegade server plugins releases
Re: GameSpy Arcade [message #488238 is a reply to message #488220] Tue, 01 July 2014 14:19 Go to previous messageGo to next message
roszek is currently offline  roszek
Messages: 296
Registered: June 2010
Karma: 0
Recruit
Yeah that fixed it thanks Smile

I was still getting that weird GDI thing when the server is empty so I made the change in the original gamespy.pm that danpaul uploaded and now it shows nothing if empty and the players if not.

I thought I read that the fake players were added for servers using Dragonade or was there something else that was fixed?

[Updated on: Tue, 01 July 2014 14:20]

Report message to a moderator

Re: GameSpy Arcade [message #488240 is a reply to message #488238] Tue, 01 July 2014 14:27 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3805
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
roszek wrote on Tue, 01 July 2014 15:19

Yeah that fixed it thanks Smile

I was still getting that weird GDI thing when the server is empty so I made the change in the original gamespy.pm that danpaul uploaded and now it shows nothing if empty and the players if not.

I thought I read that the fake players were added for servers using Dragonade or was there something else that was fixed?

So what change did you make, because currently mine is always listing GDI just like you had (After applying the patch, before it didn't display anything).


[Updated on: Tue, 01 July 2014 14:27]

Report message to a moderator

Re: GameSpy Arcade [message #488241 is a reply to message #488219] Tue, 01 July 2014 14:31 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
Ethenal wrote on Tue, 01 July 2014 20:06

^ thanks for iran's help, i'll commit the fix to svn right now

P.S. I committed two SVN revisions, one of which fixes the spelling error, and one of which reverses danpaul's change to make the team id be displayed instead of team name, which can be gathered from the team listing if properly read. My bad. You can reverse that if you wish DP, but for the meantime RenList does not display it very correctly.

I'm guessing he made that change because of the mods that use different team names - don't hate me, I committed it before I read the log for your gamespy.pm change. ;(


I see you reverted it anyway, but for future reference you shouldn't use brTeams:: in plugins anyway, plugin::team_get_name(#) is what you would use (and is actually in used about 10 lines further down from your edit to output the team names based on teams.cfg)


And yes, it is for mod support... and not just for BHP mods either. In theory things like RP2 might want different team names etc and this is the correct way to do that as per the developer spec Smile


@Iran good spot with the capital L, I usually use playerlist without the capital and probably copy/pasted the for each loop from somewhere else when I moved the code into a plugin. I hadn't had time to look into why it wasn't working since I was at work all day, but now I guess I won't need to bother Very Happy



For anyone who hasn't got a copy and wants one, I have attached version 1.03 which includes the aforementioned fix


http://steamsignature.com/card/1/76561197975867233.png

[Updated on: Tue, 01 July 2014 14:35]

Report message to a moderator

Re: GameSpy Arcade [message #488242 is a reply to message #488240] Tue, 01 July 2014 14:31 Go to previous messageGo to next message
roszek is currently offline  roszek
Messages: 296
Registered: June 2010
Karma: 0
Recruit
Well I just changed the one in the original .pm that was in the tt forums but now I see it is not showing kills death and time. So in the new one that was uploaded here by danpaul that must of been fixed but why the fake players?

[Updated on: Tue, 01 July 2014 14:34]

Report message to a moderator

Re: GameSpy Arcade [message #488243 is a reply to message #487023] Tue, 01 July 2014 14:35 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
They're not "fake" players, they are the team names and scores, your client just isn't parsing it properly. You'll have to get the author of the client you are using to fix that. Also see the updated file above which I edited in whilst you were posting.

http://steamsignature.com/card/1/76561197975867233.png

[Updated on: Tue, 01 July 2014 14:36]

Report message to a moderator

Re: GameSpy Arcade [message #488244 is a reply to message #488241] Tue, 01 July 2014 14:37 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3805
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
danpaul88 wrote on Tue, 01 July 2014 15:31


And yes, it is for mod support... and not just for BHP mods either. In theory things like RP2 might want different team names etc and this is the correct way to do that as per the developer spec Smile


Rp2 has its own client for browsing servers, this is just for the Renegade map I'm making lol. I'll give this plug in a try and tell you if it does the trick!


Edit: Yeah it seems I'm getting the same issue with this plugin:
index.php?t=getfile&id=14977&private=0
  • Attachment: Untitled.png
    (Size: 31.50KB, Downloaded 482 times)


[Updated on: Tue, 01 July 2014 14:43]

Report message to a moderator

Re: GameSpy Arcade [message #488245 is a reply to message #487023] Tue, 01 July 2014 14:43 Go to previous messageGo to next message
roszek is currently offline  roszek
Messages: 296
Registered: June 2010
Karma: 0
Recruit
Ah I see, thanks danpaul. Smile
Re: GameSpy Arcade [message #488246 is a reply to message #487023] Tue, 01 July 2014 14:50 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
Looks like renlist needs a patch to implement the teams part of the GSA spec correctly

http://steamsignature.com/card/1/76561197975867233.png

[Updated on: Tue, 01 July 2014 14:51]

Report message to a moderator

Re: GameSpy Arcade [message #488247 is a reply to message #488246] Tue, 01 July 2014 14:55 Go to previous messageGo to next message
Jerad2142 is currently offline  Jerad2142
Messages: 3805
Registered: July 2006
Location: USA
Karma: 6
General (3 Stars)
danpaul88 wrote on Tue, 01 July 2014 15:50

Looks like renlist needs a patch to implement the teams part of the GSA spec correctly

So I changed the teams back in the teams.cfg file back to GDI and Nod, but it is still showing humans as the team name (after brenbot reboot).


Re: GameSpy Arcade [message #488248 is a reply to message #487023] Tue, 01 July 2014 15:12 Go to previous messageGo to next message
Ethenal is currently offline  Ethenal
Messages: 2532
Registered: January 2007
Location: US of A
Karma: 0
General (2 Stars)

I was using the latest version of gamespy.pm from the SVN when I found that %playerList was misspelled; I don't know if it's like that in the older versions. Regardless, RenList doesn't correctly implement the team logic at this time, so the player list may still act a little funny. Adad has been notified, though.

On our server through RenList, the first player's team would get messed up in some way, so I commented it out for the time being until RenList can be fixed.

EDIT: Duly noted about using plugins:: namespace, I didn't bother to look if that function was present in there. I will next time. Very Happy


-TLS-DJ-EYE-K wrote on Mon, 18 March 2013 07:29

Instead of showing us that u aren't more inteligent than a Toast, maybe you should start becomming good in renegade Thumbs Up

[Updated on: Tue, 01 July 2014 15:13]

Report message to a moderator

Re: GameSpy Arcade [message #488340 is a reply to message #487023] Fri, 04 July 2014 12:56 Go to previous messageGo to next message
zunnie is currently offline  zunnie
Messages: 2959
Registered: September 2003
Location: Netherlands
Karma: 0
General (2 Stars)

So far the new master server seems to be running good Smile Nice.

https://multiplayerforums.com/uploads/monthly_2018_03/TCW2_Signature.png.6236a0dbc6e1e53472a18fe8cd15e47b.png
Re: GameSpy Arcade [message #488341 is a reply to message #487023] Fri, 04 July 2014 12:59 Go to previous messageGo to next message
Mauler
Messages: 448
Registered: May 2003
Location: Alberta, Canada
Karma: 0
Commander
I don't think any one noticed that the regular GSA is still up..
Re: GameSpy Arcade [message #488342 is a reply to message #487023] Fri, 04 July 2014 13:01 Go to previous messageGo to previous message
zunnie is currently offline  zunnie
Messages: 2959
Registered: September 2003
Location: Netherlands
Karma: 0
General (2 Stars)

I noticed indeed. We're transmitting to both currently.

https://multiplayerforums.com/uploads/monthly_2018_03/TCW2_Signature.png.6236a0dbc6e1e53472a18fe8cd15e47b.png
Previous Topic: agt doors
Next Topic: why can't everyone in renegade get along? [srs]
Goto Forum:
  


Current Time: Sat Apr 27 05:20:47 MST 2024

Total time taken to generate the page: 0.01351 seconds