Server protocal problems in external launcher
#1
Amirooo and I are working on a program/game launcher which is made with Qt and C++ and it primarily for AssaultCube.
The launcher code can be found here: https://bitbucket.org/iguanameow/assaultcube_launcher and a mirror to downloads here: https://github.com/IguanaMeow/launcher

We are having problems in handling network protocols and packets in servers.cpp in which we are retrieving data from all the servers registered on the masterserver. Currently we have adapted network requests from gy_be's python script here: https://gist.github.com/gyunderscorebe/1...c7d52fd1fe

This is what we have created so far:
[Image: 28728275-52df6aca-73c8-11e7-8d5a-cbb8b2143fda.png]

In servers.cpp we query the masterserver via a link from this site, then for each individual server we check if there are players on or not, then if there are players we retrieve the name name, mode, etc.. and player names. To refresh the whole list takes around a minute or more and we don't know if were using the correct requests to retrieve the data or why its so slow.

If anyone has any advice or can help us with these network problems, or if your interested in joining our team to finish the launcher, it would be awesome.
Thanks given by: vector
#2
It's not really surprising, that your network code doesn't work. You still haven't fixed the issues I told you weeks ago.
Thanks given by:
#3
@stef Could you post what issues exactly are you talking about please?
Thanks given by:
#4
Really glad to see people trying their own project. I think there was a software called "Cube Server Lister" that was meant for the same purpose. You might want to have a look at it http://cubelister.sourceforge.net/

I'm mainly interested in the usefulness of the software you are trying to build, you might want to explain it to us to give you proper advice regardless of the code.
Thanks given by:
#5
Its an interesting project Iggs. But am I right in assuming its not just for assaultcube ?
The menu and add delete suggest your intention is to port it to other games. EI Sauer minecraft etc.

I guess once you have cracked the egg launcher (Sorry the pun had to come lol) you will try and include other FPS games. Seems sensible to me anyway.

We have spoken if you need some help let me know.
Thanks given by:
#6
(08 Aug 17, 10:44PM)TheNihilanth Wrote: @stef Could you post what issues exactly are you talking about please?
Quote:<stef|grue> why do you use extping if you only want a list of players?
<stef|grue> we have at least seven different types of ping requests - how did you pick the ones you used?
<stef|grue> sry, extping is what you should have used - instead, you use extinfo
<stef|grue> there are four different extping queries, one of them returns a list of players
<stef|grue> pls check protocol.cpp on how the serialization in AC works
<stef|grue> hint: it's variable length encoding
https://github.com/assaultcube/AC/blob/m...otocol.cpp
(09 Aug 17, 09:27AM)Hostaa Wrote: Really glad to see people trying their own project. I think there was a software called "Cube Server Lister" that was meant for the same purpose. You might want to have a look at it http://cubelister.sourceforge.net/

I'm mainly interested in the usefulness of the software you are trying to build, you might want to explain it to us to give you proper advice regardless of the code.

Yes, I know about cube server lister, its outdated and doesn't compile for me. A slightly improved version here but same results https://forum.cubers.net/thread-8532.html

Though the purpose is different, unlike cube server lister this one is meant to interact with matserservers and servers of AC, ACR, other AC-like games. We don't have any plans to support saur, red eclipse or any of the other game's master/servers. As for the launcher part, you can add any game/program to it and run it. The image above should be self explanitoy if you havent tested it by now.
Thanks given by: