-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconcept.txt
More file actions
51 lines (39 loc) · 2.15 KB
/
concept.txt
File metadata and controls
51 lines (39 loc) · 2.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
position you would like to play in a config header after preferance (def > atk > mid for example)
queue up, vote for a map
the longer you wait, the greater skill difference will be (elo +- bounce increases)
if players found, match their votes, set up the server, auto-connect to the server
PREFERED POSITION:
you vote for a map, tell your pos pref def>mid>atk
mmserver compiles the most voted map (ut4_turnpike), finds out the position count (2atk, 1 mid, 2 def)
player with the most elo gets his perfered position, going down from that on
on server: have a cvar which disables certain features:
- each player has to ready up before it starts (autotimer?)
- votes are disabled
- team menus to join are disabled / autoforce players to their team
- disable subs
- gets a match id to identify the match
callback server -> master
- when half ended
- when player left
how to handle certain situations:
- a player leaves before the match ends
- a player doesnt show up
- server crashes while in match
- mmserver is down and needs to find out which server is available (need qport to send packets)
todo:
[x] sort queueplayers by queuetime (so the longest players are checked first)
[x] pause queue time when joining a match (aka dont continue counting if hes waiting to accept and the match fails to happen)
[ ] notify players of changes
[x] handle timeouts of players ("player quits via alt-f4") [if reconnects (a new HELLO message), take out of queue]
[x] clean playerlist from time to time
[ ] handle results from matches
[x] expand gamemode to own class with attributes (such as 2x10 instead of 1x20)
[x] mmserver handles all gametypes on the same port
[x] gameserver needs to send a HELLO message when enabled [rcon send from mmserver to request its hello-status] (to have a qport queue)
[x] mmserver has to check gameserver frequently if its still available (in case the server network timed out)
[x] gameserver has to send a bye message when disabled (or shut down) (automatic handled by ServerCheck)
[x] gameserver has to have an rcon password set
[ ] load player elo
[ ] handle queue disable
[O] FOR THE FUTURE: handle prefered position
[O] FOR THE FUTURE: ringer option? reconnect option?