Extract a single information from object of class GoldSrcServer or ServerInfo (Java)

39 views
Skip to first unread message

Дмитрий Онищук

unread,
Apr 19, 2014, 3:23:07 PM4/19/14
to steam-c...@googlegroups.com
Thank you very much for the library, and thank you that you keep it up to date.
I have questions (Java):
Can I extract a single information from object of class GoldSrcServer or ServerInfo?:
(gameId, dedicated, networkVersion, maxPlayers, serverName, secure, serverPort, gameDir, operatingSystem, serverId, numberOfPlayers, appId, numberOfBots, passwordProtected, gameVersion, gameDescription, mapName)

Like this:
GoldSrcServer temp_server = new GoldSrcServer("127.0.0.1", 27011);
temp_server
.initialize();
System.out.println(temp_server.getserverName().toString); // For extract a serverName
OR AS:
System.out.println(temp_server.getServerInfo().getmapName().toString()); // For extract a mapName

Sebastian Staudt

unread,
Apr 19, 2014, 7:03:42 PM4/19/14
to steam-c...@googlegroups.com
Hi.

I saw you already found and posted the solution on GitHub.
So here's the link if someone else has this problem:

--
You received this message because you are subscribed to the Google Groups "Steam Condenser" group.
To unsubscribe from this group and stop receiving emails from it, send an email to steam-condens...@googlegroups.com.
To post to this group, send email to steam-c...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/steam-condenser/6a120357-ec5e-46ba-9fe7-ed19a2b6d31e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages