We crown ourselves

Royal Para Regiment

HD2 server info view

More
8 years 6 months ago - 8 years 6 months ago #1 by Stern
HD2 server info view was created by Stern
Here is a program to use as a server monitor.
It loads servers listed in Qtracker, refresh in 300s (5min).
After loading it sends query request to every server and fills all info in listbox.

User can select server by clicking the line in upper listbox, then additional info will be displayed about server and players.
User can select "Refresh server info" to monitor selected server, (request interval is selectable).
If user selects other server from upper listbox, while the automatic refresh is active, the automatic refresh is de-activated and must be re-selected again if user wishes to monitor another server.

HD2 server info view \o/

//
This is not completed version, the custom server list is not finished, but the Qtracker part can be used and it is the main part anyway.

*
Settings.ini:

BoundPort uses 5 ports (this http connection does not allow to refresh on used port and it takes some time to free up the port)
AutoRefresh=1
this means if program is started, it will load info from Qtracker (turning this off is useful when using custom server list, if Qtracker is offline...)

LocalHost=127.0.0.1 local host ip for UDPsocket (server info request)
LocalPort=8050 local port for UDPsocket
Interval=20 "Refresh server info" interval. (if user changes interval value from program, it saves the value)

Looks like this:

Attachment not found


The one who hesitates is lost !
Last edit: 8 years 6 months ago by Stern.
The following user(s) said Thank You: NL, Sasha

Please Log in or Create an account to join the conversation.

More
8 years 6 months ago - 8 years 6 months ago #2 by Stern
Replied by Stern on topic HD2 server info view
Custom list added.
Now user can activate/deactivate Qtracker list update and can refresh Qtracker list and custom list.

To use custom list change: "UseCustomList=0" to "UseCustomList=1" (0 to 1) in settings.ini and add ip:port (main port !, not +3 port, it adds +3 itself).
Example line is added to CustomList.ini, this line can be deleted, its just a example.

Qtracker list update is in every 10 minutes (if active, little green box indigates it with light green color), user can click RefreshQtrackerList to refresh list.

BoundPort and LocalPort might need to be changed when they are used by other programs, thats why they are changeable from settings.ini.

Completed version \o/

The one who hesitates is lost !
Last edit: 8 years 6 months ago by Stern. Reason: Readme
The following user(s) said Thank You: snowman

Please Log in or Create an account to join the conversation.

More
8 years 6 months ago #3 by Stern
Replied by Stern on topic HD2 server info view
Added Readme (link updated). maybe someone likes to read readme :)

As someone might know, program "HD2 Server Query" have a feature, user can click "JoinServer" to join selected server.
I could not find any documentations how this function is achieved.
Game maybe has to execute with some parameters, but what ?:undecided:

The one who hesitates is lost !
The following user(s) said Thank You: snowman

Please Log in or Create an account to join the conversation.

More
8 years 6 months ago #4 by Maletzki
Replied by Maletzki on topic HD2 server info view

Stern wrote: Added Readme (link updated). maybe someone likes to read readme :)

As someone might know, program "HD2 Server Query" have a feature, user can click "JoinServer" to join selected server.
I could not find any documentations how this function is achieved.
Game maybe has to execute with some parameters, but what ?:undecided:

Maybe it's combined with this: https://drive.google.com/open?id=0B9_MKSPcFp3QYWVuSlVIUjlVZlk

With that program you can join a server via hd2c:// (e. g. hd2c://164.132.83.207:10001/)

Playing H&D2 since 2007.

Please Log in or Create an account to join the conversation.

More
8 years 6 months ago - 8 years 6 months ago #5 by Stern
Replied by Stern on topic HD2 server info view
Yes, something like this. Nothing there about how it works. Maybe its a secret...

*
Here is a small documentation about main part of server info request in Pascal.
https://1drv.ms/t/s!Aj4b71jV4JhLgnctBazR2FIySqks

Recieved info (1 player in server "Player1").
Code:
.CORYhostname.=RpR=Campaign.gamever.1.12.hostport.11001.mapname.Arctic4.numplayers.1.maxplayers.10.gamemode.0.gametype.Cooperative.isdedicated.1.password.0.voicechat.0.expansion.2...player_.score_.deaths_.ping_.team_.. Player1.18.1.41.1..team_t.score_t..axis.0.allied.0.
"." is a replacement to zero character.

The one who hesitates is lost !
Last edit: 8 years 6 months ago by Stern.

Please Log in or Create an account to join the conversation.

More
8 years 5 months ago #6 by Stern
Replied by Stern on topic HD2 server info view
Does anybody else get a empty line here ?
Its a Justice server, its online, but it shows empty.

Attachment not found


The one who hesitates is lost !

Please Log in or Create an account to join the conversation.

  • Pozytywnefloow in 5 days
  • Zbyl in 5 days
  • Matheo in 6 days
Powered by Kunena Forum
The RPR Clan gaming community has long been known to fans of action battles and online battles. Fans of dynamic games gather here to share their experiences, participate in competitions, and enjoy the atmosphere of teamwork. Every evening, players from different countries can be found on the server, which makes the process even more interesting and unpredictable. Interestingly, gaming often intersects with other areas of entertainment. For example, in the world of casinos, special attention is paid not only to the thrill of gambling, but also to the design of the venues, where every detail creates a unique atmosphere. In this regard, it is worth paying attention to the article on how the world's most impressive casinos are created and what elements allow them to make such a strong impression on visitors — ahouseinthehills.com. The article reveals architectural solutions, gaming spaces, and aesthetic approaches that can surprise even those who are far from the gambling industry. Thus, both the esports community and the casino world share a common idea: to create a space where people can fully immerse themselves in the atmosphere, feel the thrill, and experience vivid emotions. RPR Clan gives this to its players through online battles, and the world's best casinos do so through their unique design and atmosphere.