--- deliantra/Deliantra-Client/DC/Main.pm 2016/11/17 04:15:10 1.29 +++ deliantra/Deliantra-Client/DC/Main.pm 2018/11/19 00:56:08 1.31 @@ -76,6 +76,8 @@ use DC::MapWidget; use DC::Macro; +# printf "%5d %5d %5d %5d\n", $_, DC::minpot $_, DC::ld32 $_, 2 << ((DC::ld32 $_ - 1)); + $SIG{QUIT} = sub { Carp::cluck "QUIT" }; $SIG{PIPE} = 'IGNORE'; @@ -1542,7 +1544,7 @@ if ($DELIANTRA_DEBUG & 16) { $BW_WATCHER = EV::periodic 0, 1, 0, sub { return unless $CONN; - debug sprintf "%8.2gKB/s", $CONN->{octets_in} / 1e3; + debug sprintf "%8.2gkB/s", $CONN->{octets_in} / 1e3; $CONN->{octets_in} = 0; }; } else { @@ -2030,7 +2032,7 @@ text => $CFG->{output_rate}, tooltip => "The maximum bandwidth in bytes per second that the server should not exceed " . "when sending data. When 0 or unset, the server " - . "default will be used, which is usually around 100kb/s. Most servers will " + . "default will be used, which is usually around 100kB/s. Most servers will " . "dynamically find an optimal rate, so adjust this only when necessary.", on_changed => sub { $CFG->{output_rate} = $_[1]; 1 }, );