Poll: Good idea?
You do not have permission to vote in this poll.
YES
90.00%
9 90.00%
NO
10.00%
1 10.00%
Total 10 vote(s) 100%
* You voted for this item. [Show Results]

Account Integration
2013-09-21, 11:35 AM
#11
RE: Account Integration
Why not add this to the servers, too? This way server owners could optionally enter their username and PW when starting the server and are listed with an additional icon (or however) and the owner's name in the server browser. So you could also try to avoid stupid idiots (you know which one I mean Tongue )that often aduse admin and so on.

The C Programming Language: combines the flexibility of assembly language with the power of assembly language.
Post Reply Quote this message in a reply
2013-09-22, 08:54 AM (This post was last modified: 2013-09-22, 08:59 AM by Victor.)
#12
RE: Account Integration
@rXn, then every client has to verify every server with the master-server, which would take O(c * s) bandwidth and time and would not scale well.
Doubling the clients and servers results in 4x the requests.

The current plan is to have servers verify the clients, so the master-server takes O(c + s) (s is for registrations) bandwidth and time, and the servers can include the verification info in the whois. Of course, clients have to trust the server.
Doubling the clients and servers results in 2x the requests.

Perfect verification would require every client to verify every server and every other client, and this takes cs(c-1) requests, which would scale at O(c^2*s) bandwidth and time.
Doubling the clients and servers results in 8x the requests.

Best regards,
Victor
//victorz.ca
Code:
Your antithesis compares favorably with any high magnitude of pwnage. (-you > |p|, you < -|p|)
My antithesis compares favorably with _that of_ any high magnitude of pwnage. (|-me| > |-p|, |me| > |p|)
Post Reply Quote this message in a reply
2013-09-23, 01:42 PM (This post was last modified: 2013-09-23, 01:45 PM by rXn.)
#13
RE: Account Integration
1. The masterserver verifies all the servers when registering them. This would once need some bandwith and calculation time for the (mostly idle?) masterserver. Cannot be avoided.

2. The masterserver should then add an additional status message to each server (e.g. there is ip, description, map played and so on + the user that runs the server) which is transmitted anyway every time a user requests the server list.

If you have a maximum of, let's say, 3 users per second and 10 servers there would be an additional traffic need of
3 * 10 * 1 byte (ascii) * 100 (max. length of username?) * 1/sec = 3kbyte/sec
I hope I did not forget anything but this sounds very low Tongue
Corrections are (always) welcome.

About the "settings synchronisation" idea:
I am currently trying to rewrite the launcher in C#/Mono to fix some bugs and make it work on Linux, too. Maybe I'll manage to add it.

The C Programming Language: combines the flexibility of assembly language with the power of assembly language.
Post Reply Quote this message in a reply
2013-09-24, 03:43 PM
#14
RE: Account Integration
I forgot about this: the master-server can verify the servers by doing one extra request, which results in 2n bandwidth, which is still O(n).

The server only has to send the IP and port, if it's not 28770, but if it has user-data attached to it, it'll have to send the port number regardless.
addserver (ip) [(port=28770) [(forum_uid=0)]]

So it'll be possible to verify clients at the server, and servers. However, do we really need to have server verification? You can already "favorite" and "hate" the servers, so the servers with the marked IPs will be highlighted.

Best regards,
Victor
//victorz.ca
Code:
Your antithesis compares favorably with any high magnitude of pwnage. (-you > |p|, you < -|p|)
My antithesis compares favorably with _that of_ any high magnitude of pwnage. (|-me| > |-p|, |me| > |p|)
Post Reply Quote this message in a reply
2013-09-25, 05:06 AM
#15
RE: Account Integration
Would be nice anyway if you see that f.e. "rXn's Server" is really mine Tongue

The C Programming Language: combines the flexibility of assembly language with the power of assembly language.
Post Reply Quote this message in a reply
2013-09-26, 02:19 PM
#16
RE: Account Integration
Btw: Is there any way to find out the version of an installed game without starting it? If not, would it be possible to create a "version.txt" or sth like that?
Thx

The C Programming Language: combines the flexibility of assembly language with the power of assembly language.
Post Reply Quote this message in a reply
2013-09-27, 12:56 PM
#17
RE: Account Integration
If you have the source, you can check source/src/cube.h. Other than that, there is no way.

Well, if you want to verify rXn's server, you could just post the IP of your server in the server admin contact section. Would using the master-server to do it be required?

Best regards,
Victor
//victorz.ca
Code:
Your antithesis compares favorably with any high magnitude of pwnage. (-you > |p|, you < -|p|)
My antithesis compares favorably with _that of_ any high magnitude of pwnage. (|-me| > |-p|, |me| > |p|)
Post Reply Quote this message in a reply


Forum Jump: