Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » General Discussions » General Discussion » Odd GSA queries from Sla Co-Op
Odd GSA queries from Sla Co-Op [message #492199] Sat, 15 April 2017 15:02 Go to next message
[EE]pickle-jucer is currently offline  [EE]pickle-jucer
Messages: 21
Registered: November 2009
Karma: 0
Heya, I've been messing around with GSA again to familiarize myself with a different programming language and I noticed some odd GSA queries from the Sla Mutant Co-Op server. Does anybody know what they are using for making GSA queries? I want to know if I should just special case it, or actually write more robust parsing logic.

Here is the query:
\gamename\ccrenegade\gamever\838\hostname\!~Sla Mutant Co-Op~!\hostport\8888\mapname\RF_Factory.mix\gametype\co-op\numplayers\1\maxplayers\24\BW\5500000\CSVR\1\DED\1\DG\1\
password\0\TC\0\FF\0\SC\0\.Website\\.E-mail\\.FDS\SSGM v4.2\.OTH\Mutant Co-Op\.IRC\ #sla-server\.TS3\\
.Owner\\.Bot\Sla Lua IRC Bot 4.7\player_0\Quester\ping_0\46\score_0\94563.671875\team_0\GDI\kills_0\831\deaths_0\1\final\gamespy.queryID\4471

In specific, the odd part is

in which "final" is not a key/value pair as per the GSA protocol specification. Also, they use "gamespy.queryID" instead of "queryid", which is fine, but its another special case I have to add to keep the query ID's out of my GUI.
Re: Odd GSA queries from Sla Co-Op [message #492200 is a reply to message #492199] Sat, 15 April 2017 15:43 Go to previous messageGo to next message
iRANian is currently offline  iRANian
Messages: 4299
Registered: April 2011
Karma: 0
General (4 Stars)
hifi from noticed the same thing today when i was talking to him.

it needs to be \final\4471 i think

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: Odd GSA queries from Sla Co-Op [message #492204 is a reply to message #492199] Sat, 15 April 2017 22:00 Go to previous messageGo to next message
jonwil is currently offline  jonwil
Messages: 3555
Registered: February 2003
Karma: 0
General (3 Stars)

I dont know about the gamespy.queryID thing but there is code in Renegade (function named send_final) that will do the following:
1.optionally send \validate\blah (depending on whether the function is passed a certain value and where blah is some encrypted/encoded string)
2.send \final\ with no value after it
and 3.send \queryid\x.y (where x is some sort of query ID and y is some sort of packet number)

Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
Re: Odd GSA queries from Sla Co-Op [message #492205 is a reply to message #492204] Sat, 15 April 2017 23:52 Go to previous message is currently offline
Messages: 610
Registered: September 2010
Location: Romania
Karma: 0
Probably a typo on that gamespy.queryid, but isn't really important at all, after final you should ignore anything else sent from my server.

PS: It's my own GSA code.

Creator of Mutant Co-Op
Developer of LuaTT

[Updated on: Sat, 15 April 2017 23:52]

Report message to a moderator

Previous Topic: Renegade (different versions) install directories?
Next Topic: Tutorial: How to insert a C&C95 Map into Command & Conquer3D 1999
Goto Forum:

Current Time: Fri May 17 23:59:01 MST 2024

Total time taken to generate the page: 0.00613 seconds