blob: 59181e6248d94170b197adbd29c0f3c6e7bb4956 (
plain)
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
|
Title: Server Operation
Section: Init
Section: Running
Here is an graph over how the server operates on each refresh.
(start code)
load map
init mod
while running
if map change then
load new map
shutdown mod <mods_shutdown>
reset clients to init state
init mod <mods_init>
end if
if new tick then
call <mods_tick>
for each client do
create snapshot <mods_snap>
send snapshot
end for
end
process new network messages
end while
unload map
(end)
Section: Reinit
Section: Shutdown
|