Zinc pauses before drawing status line
Brought to you by:
baljemmett,
sam_jervis
While plying dreamhold.z8 on Zinc over the Internet, we
found that there was a ten second pause after output
had finished and before the status line was redrawn.
During this time, there was a cursor in the play window,
but none of us could input any text. This happened after
every move.
We tried DragonTroll.z5, which doesn't have a status
line, and it worked fine. We tried Trinity.dat, which I
believe is a version 4 Zcode file, and it worked much
better than Dreamhold, but there was still a short pause
before drawing the status line.
TADS games worked perfectly well.
/Fredrik
Logged In: YES
user_id=1067895
The status line redrawing code is fairly slow at the best of
times (this is something that has needed to be addressed
since it was first written, but at the time we needed
something that worked and we needed it immediately); it
shouldn't take 10 seconds though. I'll try and optimise it
a bit.
It sounds like some messages are leaking back to the network
when they shouldn't be; how long does Dreamhold take to
update the status bar when playing locally?
Logged In: YES
user_id=1208633
It takes roughly two seconds after all the text has been
displayed until the statusline text appears. That's when
running Dreamhold as a networked game, with a server and a
client on the same machine, a 2GHz laptop running XP.
When running as a local, non-networked game, the statusline
appears instantaeously.
I should also say that both of us who were playing have at
least 512kbps connections.