Open GoogleCodeExporter opened 9 years ago
I think of the following way in for the GAME -> CGAME: via config string.
You just send info from the server in the clientBegin (I'm not sure about it)
with
all bg_* lists and values.
And once the server has changed any of the bg_* values it sends via config
string
only modified string.
I'm not sure about GAME -> UI way of transmitting the lists. But probably you
are
right and using of CGAME -> UI way is better, so once the values in CGAME are
changed
(and at the initial stage). This way we don't have to use network.
I think current mechanics of CVars can help a bit to solve the trouble. I don't
mean
to make it CVar, but to use the similar mechanics to solve the trouble.
So each qvm will have own lists (as it is done now) which will be updated only
during
theirs change or at the connection time.
They have to be at each qvm to make the process of reading them fast. If each
time
during reading of them we will have to ask server to transmit the variable to
us - it
will be overload for network (even between local qvms it is not worth it - we
lose
speed).
I set priority to high, since it is vital feature for SGFork.
Original comment by igorpana...@gmail.com
on 12 Nov 2009 at 6:38
Original issue reported on code.google.com by
kikc...@gmail.com
on 24 Oct 2009 at 9:46