Re: GameSpy Arcade [message #488177 is a reply to message #487023] |
Tue, 01 July 2014 01:18 ![Go to previous message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
iRANian
Messages: 4307 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 #488184 is a reply to message #487023] |
Tue, 01 July 2014 02:14 ![Go to previous message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
iRANian
Messages: 4307 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 #488195 is a reply to message #488187] |
Tue, 01 July 2014 07:25 ![Go to previous message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
iRANian
Messages: 4307 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 message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
iRANian
Messages: 4307 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 #488218 is a reply to message #487023] |
Tue, 01 July 2014 12:05 ![Go to previous message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
iRANian
Messages: 4307 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 message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
![](http://renegadeforums.com/images/custom_avatars/22131.jpg) |
Ethenal
Messages: 2532 Registered: January 2007 Location: US of A
Karma: 0
|
General (2 Stars) |
![Ethenal@GMail.com](/theme/Renegade_Forums/images/google.png)
|
|
^ 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
|
[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 message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
iRANian
Messages: 4307 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 message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
![](http://renegadeforums.com/images/custom_avatars/25488.jpg) |
roszek
Messages: 296 Registered: June 2010
Karma: 0
|
Recruit |
|
|
Yeah that fixed it thanks ![Smile](images/smiley_icons/icon_smile.gif)
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 message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
![](/images/custom_avatars/21300.png) |
Jerad2142
Messages: 3806 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](images/smiley_icons/icon_smile.gif)
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).
Visit Jerad's deer sweat shop
[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 message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
![](http://renegadeforums.com/images/custom_avatars/2893.jpg) |
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
@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](images/smiley_icons/icon_biggrin.gif)
For anyone who hasn't got a copy and wants one, I have attached version 1.03 which includes the aforementioned fix
[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 message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
![](http://renegadeforums.com/images/custom_avatars/25488.jpg) |
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 message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
![](http://renegadeforums.com/images/custom_avatars/2893.jpg) |
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.
[Updated on: Tue, 01 July 2014 14:36] Report message to a moderator
|
|
|
|
|
|
|
Re: GameSpy Arcade [message #488248 is a reply to message #487023] |
Tue, 01 July 2014 15:12 ![Go to previous message Go to previous message](/theme/Renegade_Forums/images/up.png) ![Go to next message Go to next message](/theme/Renegade_Forums/images/down.png) |
![](http://renegadeforums.com/images/custom_avatars/22131.jpg) |
Ethenal
Messages: 2532 Registered: January 2007 Location: US of A
Karma: 0
|
General (2 Stars) |
![Ethenal@GMail.com](/theme/Renegade_Forums/images/google.png)
|
|
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.
-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
|
[Updated on: Tue, 01 July 2014 15:13] Report message to a moderator
|
|
|
|
|
|