ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/ext/clientchk.ext
(Generate patch)

Comparing deliantra/server/ext/clientchk.ext (file contents):
Revision 1.2 by root, Mon Apr 16 15:50:49 2007 UTC vs.
Revision 1.4 by root, Mon Jun 11 21:38:13 2007 UTC

1#! perl # MANDATORY 1#! perl # mandatory
2 2
3# check client version and string for old clients and possibly issue warnings for them 3# check client version and string for old clients and possibly issue warnings for them
4 4
5cf::client->attach ( 5cf::client->attach (
6 on_addme => sub { 6 on_addme => sub {
22 $ns->send_drawinfo ("(disabling bg image scrub because of buggy client)", cf::NDI_RED); 22 $ns->send_drawinfo ("(disabling bg image scrub because of buggy client)", cf::NDI_RED);
23 $ns->enable_bg_scrub (0); 23 $ns->enable_bg_scrub (0);
24 24
25 $ns->send_drawinfo ("(enabling workaround for client buffer overflow on scroll)", cf::NDI_RED); 25 $ns->send_drawinfo ("(enabling workaround for client buffer overflow on scroll)", cf::NDI_RED);
26 $ns->buggy_mapscroll (1); 26 $ns->buggy_mapscroll (1);
27
28 $ns->send_drawinfo ("(enabling workaround for map redraw bug)", cf::NDI_RED);
29 $ns->force_image_newmap (1);
27 30
28 $ns->send_drawinfo ("(enabling workaround for broken face caching in client)", cf::NDI_RED); 31 $ns->send_drawinfo ("(enabling workaround for broken face caching in client)", cf::NDI_RED);
29 $ns->force_bad_checksum (1); 32 $ns->force_bad_checksum (1);
30 } 33 }
31 34

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines