My guess: Server rulez, clients follow.

With every packet, the server send a svc_time, I guess.

do cl_messages a console, you see the svc_time listed.

Session 1:

]map crossfire
]record small;wait;stop
]quit

Session 2:

]/cl_messages
-------- Message Load ---------
User messages:  0:0.00K
------ End:  0 Total----
]playdemo small
Playing demo from C:\games\hl/valve/small.dem.
No demos listed with startdemos
]cl_messages
-------- Message Load ---------
1:svc_nop: 16 msgs:0.02K
5:svc_setview: 1 msgs:0.00K
7:svc_time: 3 msgs:0.01K
9:svc_stufftext: 1 msgs:0.03K
10:svc_setangle: 2 msgs:0.01K
11:svc_serverinfo: 1 msgs:0.13K
12:svc_lightstyle: 64 msgs:0.51K
13:svc_updateuserinfo: 3 msgs:0.46K
14:svc_deltadescription: 7 msgs:6.00K
15:svc_clientdata: 3 msgs:0.11K
22:svc_spawnbaseline: 1 msgs:4.01K
25:svc_signonnum: 1 msgs:0.00K
32:svc_cdtrack: 1 msgs:0.00K
39:svc_newusermsg: 35 msgs:0.65K
40:svc_packetentities: 2 msgs:0.22K
43:svc_resourcelist: 1 msgs:10.98K
44:svc_newmovevars: 1 msgs:0.10K
45:svc_resourcerequest: 1 msgs:0.01K
52:svc_voiceinit: 1 msgs:0.00K
54:svc_sendextrainfo: 1 msgs:0.00K
User messages:  23:0.36K
------ End:  169 Total----

looks like HL only send 64 lightstyles from 255 available. I am unable
to capture 1 frame, but 3 frames with this method. As svc_setview is
send only once, i guess was send on startup. And I guess svc_nop where
send on init for "Keep-alive" purposes. svc_newusermsg looks ugly..
what this is?

The small.dem files is 28.374 bytes long. Binary. Unknom format
(network data raw dump?). Searchs at google for "Half-Life Protocol"
end at a crappy tool :(   The format of cl_messages its not fully
usefull as is printf as %0.2f and not %0.3f. Loss precision :/



MC> Anyone happen to know if generally speaking on mods, the time a client has
MC> been on the server is tracked in their edict, or if the time a player has
MC> been on a server (including between map changes) is tracked by hlds instead?

MC> James


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to