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

Comparing deliantra/server/ext/highscore.ext (file contents):
Revision 1.4 by root, Sun Apr 11 04:52:07 2010 UTC vs.
Revision 1.5 by root, Thu Apr 29 07:52:01 2010 UTC

42 aio_rename "$cf::LOCALDIR/highscore~", "$cf::LOCALDIR/highscore" 42 aio_rename "$cf::LOCALDIR/highscore~", "$cf::LOCALDIR/highscore"
43 and return; 43 and return;
44 44
45 aio_pathsync "$cf::LOCALDIR"; 45 aio_pathsync "$cf::LOCALDIR";
46 46
47 warn "saved highscore file.\n"; 47 cf::trace "saved highscore file.\n";
48 48
49 1 49 1
50} 50}
51 51
52our $HEADER = " | rank | name | experience | reason | HP |mana |grace|\n"; 52our $HEADER = " | rank | name | experience | reason | HP |mana |grace|\n";
148 . (fmt -1 + (scalar @$hiscore), $hiscore->[-1]) 148 . (fmt -1 + (scalar @$hiscore), $hiscore->[-1])
149 . (fmt undef, $score) 149 . (fmt undef, $score)
150 . $SEP; 150 . $SEP;
151 } 151 }
152 152
153 warn $msg;#d# remove once working stable 153 cf::info $msg;#d# remove once working stable
154 154
155 $ob->send_msg ($SCORE_CHANNEL => $msg, cf::NDI_CLEAR); 155 $ob->send_msg ($SCORE_CHANNEL => $msg, cf::NDI_CLEAR);
156 156
157 if ($save) { 157 if ($save) {
158 save_hiscore $hiscore 158 save_hiscore $hiscore

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines