Descriptive Problem Summary:
http://www.byond.com/developer/forum/?id=698793
client.screen (and possibly other map related graphics) only update once every few ticks unless a macro command is sent from the client.
Demo:
You can login to it here: byond://67.18.180.178:9999
(you need to be over a network to see the effect)
And download it here if you want: http://www.angelfire.com/hero/straygames/ByondBugs/ ScreenSpeedDemo.zip
And here's the source: http://www.angelfire.com/hero/straygames/ByondBugs/ ScreenSpeedDemo_src.zip
Once you login, press the StartLoop verb; as you can see the number on screen is only updating once every 2 to 3 ticks. If you spam ASDF, which runs the Refresh verb (which does nothing but return), you can see a noticeable speed increase, however it still isn't perfect. If you run the supplied demo locally; the number correctly updates each tick.
ID:68847
May 14 2009, 2:46 pm
|
|||||||||||||
Resolved
| |||||||||||||
I'm "bumping" this due to recent discussion on the matter in the developer forums. The observation that sent commands can improve drawing speed indicates that it is not a latency issue but rather an intentional (and incorrect) delay in the interaction. We'll need to investigate further.
|
I didn't really see how this could be network delay in the first place (at least not to the full extent), seeing as how spamming macros would properly increase the refresh rate, and if it was network lag you wouldn't have the proper information to update with.
But I don't really know what I'm talking about so I wasn't gonna argue =P |
I'm not sure to what extent this is avoidable over a network, since latency times in excess of 100ms are hardly uncommon.