[SSGM 4.0 Plugin] GameSpy Support [message #454882] |
Sat, 17 September 2011 03:35 |
iRANian
Messages: 4308 Registered: April 2011
Karma: 0
|
General (4 Stars) |
|
|
The code for this plugin is ported from the OnOeS source code written by Hex, jnz and pvtschlag. I started porting this plugin while I was reading the OnOeS source code and had need for GSA support without having to install the RR server or starting BRenBot. I know there are many alternative software that can do this, but it was a relative quick port and I know some people might need this or be interested in it.
This SSGM 4.0 plugin adds GameSpy broadcasting/listing support to the FDS, like WOLSpy, Renegade Resurrection and BRenBot among others (can) do. The configuration file allows you to configure all the non-essential information sent to the GSA master server, such as info about whether friendly fire is enabled or not. You can also send out custom information such as the name of your (community's) site. All the player info is sent, such as kills and game time.
To install:
1. Copy GameSpy_Support.dll to your main FDS folder, where SSGM is located in.
2. Open up ssgm.ini in the folder and add an entry under [Plugins] for "GameSpy_Support"
3. Add the following text to SSGM.ini and edit it to your liking:
Toggle Spoiler[GameSpy_Support]
; Configuration for the GameSpy_Support plugin
;What port to listen on for GameSpy queries/packets
;NOTE: __DO NOT__ set this to your FDS' port
;And make sure the port isn't blocked on any router or some crap
ListenPort=1339
;The name of the server's game mode
GameMode=AOW
; Keep this zero to use the actual maxplayer amount
; This setting is useful for custom max slots
MaxPlayers=0
; keep this zero to use the WOL game description/title, or set this to a
custom
;game title
CustomGameTitle=0
;What 'time' info to send out for players.
;Set this to Total or Gamestart
;Total sends the total time a player has been ingame
;Gamestart sends the time players have been ingame since the start of the map
PlayerTimeMode=Total
;Append the player count to the WOL game title?
; e.g. Derp Server (0/40)
NoWOLAppendPlayerCount=true
ShowGameMode=true
ShowDriverGunner=false
ShowTeamChanging=false
ShowFriendlyFire=false
ShowCredits=true
ShowTimeLeft=true
ShowPedestal=false
ShowRotation=true
[GameSpy_Support_ExtraStrings]
;Note that if there are too many strings listed here (say more than 50) it
;will cause a buffer overflow/crash
;Example: 01=Website\\www.herpderp.su
01=Website\www.herpderp.su
02=Bot\BRenBot
03=IRC\irc.jelly-server.com
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: Sat, 01 September 2012 15:07] Report message to a moderator
|
|
|
|
|
|
Re: [SSGM 4.0 Plugin] GameSpy Support [message #460894 is a reply to message #454882] |
Thu, 15 December 2011 14:38 |
iRANian
Messages: 4308 Registered: April 2011
Karma: 0
|
General (4 Stars) |
|
|
I'm releasing a new version, it fixes an issue where the server stopped appearing on GameSpy at high player counts for some people because the Winsock sendto() function fails to fragment UDP packets properly. It also fixes a weird, rare issue where the FDS gets spammed by error messages because the FDS receives weird packets from gamespy.com for no apparent reason.
It's recommended to update, this new version fixes all known issues with the plugin. I'd like to thank st0rm.net for helping me test this version and I'd also like to thank StealthEye for helping me find the issue with Winsock and for suggesting a work around. See the first post of this topic for the updated version.
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: [SSGM 4.0 Plugin] GameSpy Support [message #467933 is a reply to message #454882] |
Fri, 25 May 2012 00:40 |
iRANian
Messages: 4308 Registered: April 2011
Karma: 0
|
General (4 Stars) |
|
|
I'm releasing a really small fix for a line where I zero out 8192 bytes of a buffer when that buffer only allocates 4096 bytes, for some reason that doesn't appear to cause any unusual problems :/, but it's nice to have fixed.
This plugin has been running on a bunch of servers for a while now and as I haven't had any new bug reports I assume that it's stable.
Thanks to Whitedragon for reporting the issue.
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: Fri, 25 May 2012 00:41] Report message to a moderator
|
|
|
|
|
Re: [SSGM 4.0 Plugin] GameSpy Support [message #468268 is a reply to message #454882] |
Fri, 01 June 2012 15:01 |
|
Ani
Messages: 399 Registered: February 2012 Location: New York City
Karma: 0
|
Commander |
|
|
Hasn't fixed it either m8. I compare my server name to others who have the thing working for them and my server name is shorter so it should fit... Don't know what it could be :/
Edit: Nvm, now it seems to be working. Does it take someone to join to do that or does it have to load up later or something?
[Updated on: Fri, 01 June 2012 15:02] Report message to a moderator
|
|
|
|
|
|
|
|
Re: [SSGM 4.0 Plugin] GameSpy Support [message #468450 is a reply to message #468443] |
Tue, 05 June 2012 13:34 |
|
Ethenal
Messages: 2532 Registered: January 2007 Location: US of A
Karma: 0
|
General (2 Stars) |
|
|
EvilWhiteDragon wrote on Tue, 05 June 2012 03:14 | It's not hard, that's for sure. We had it in some form of WOL proxy. Yes, WOL proxy, not XWIS proxy. It made our server visible on both the USA and the EU WOL server, and worked to some extend with playercounts. Was quite a dirty hack that we used, but we never ran into problems with it, amazingly.
|
How? I assumed since WOL/XWIS is essentially an IRC server that it got the playercount from the amount of users in the server's channel... which I assume can only be legitimate registered users on a valid serial?
But of course I could be wrong on all of that.
-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
|
|
|
|
|
|
Re: [SSGM 4.0 Plugin] GameSpy Support [message #468475 is a reply to message #454882] |
Wed, 06 June 2012 01:21 |
|
reborn
Messages: 3231 Registered: September 2004 Location: uk - london
Karma: 0
|
General (3 Stars) |
|
|
I believe Ethernal is correct, in that the amount of players displayed as in-game on the WOL listing is based off the amount of clients in the FDS's channel.
However, there are no doubt ways to work-around that.
|
|
|
Re: [SSGM 4.0 Plugin] GameSpy Support [message #468479 is a reply to message #468450] |
Wed, 06 June 2012 03:13 |
|
EvilWhiteDragon
Messages: 3751 Registered: October 2005 Location: The Netherlands
Karma: 0
|
General (3 Stars) |
|
|
Ethenal wrote on Tue, 05 June 2012 22:34 |
EvilWhiteDragon wrote on Tue, 05 June 2012 03:14 | It's not hard, that's for sure. We had it in some form of WOL proxy. Yes, WOL proxy, not XWIS proxy. It made our server visible on both the USA and the EU WOL server, and worked to some extend with playercounts. Was quite a dirty hack that we used, but we never ran into problems with it, amazingly.
|
How? I assumed since WOL/XWIS is essentially an IRC server that it got the playercount from the amount of users in the server's channel... which I assume can only be legitimate registered users on a valid serial?
But of course I could be wrong on all of that.
|
You described exactly what we did. We made it have registered users in our channel. Not the ones that were ingame, but that wasn't visible from the serverlistings nor when you were ingame nor in the start screen.
BlackIntel admin/founder/PR dude (not a coder)
Please visit http://www.blackintel.org/
V, V for Vendetta | People should not be afraid of their governments.
Governments should be afraid of their people.
|
[Updated on: Wed, 06 June 2012 03:13] Report message to a moderator
|
|
|
|
Re: [SSGM 4.0 Plugin] GameSpy Support [message #468618 is a reply to message #454882] |
Fri, 08 June 2012 07:15 |
|
reborn
Messages: 3231 Registered: September 2004 Location: uk - london
Karma: 0
|
General (3 Stars) |
|
|
If it's acheived by spoofing clients in the FDS channel, then Olaf would quite rightly be annoyed, and potentially ban your FDS.
Bots on WOL/XWIS are not allowed (although it's something that isn't often enforced).
|
|
|
|
|
|