ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/lib/cf.pm
(Generate patch)

Comparing deliantra/server/lib/cf.pm (file contents):
Revision 1.466 by root, Thu Jan 8 03:03:24 2009 UTC vs.
Revision 1.468 by root, Thu Jan 8 19:23:44 2009 UTC

146 open my $fh, "<", $RUNTIMEFILE 146 open my $fh, "<", $RUNTIMEFILE
147 or die "unable to read $RUNTIMEFILE file: $!"; 147 or die "unable to read $RUNTIMEFILE file: $!";
148 $RUNTIME = <$fh> + 0.; 148 $RUNTIME = <$fh> + 0.;
149} 149}
150 150
151eval "sub TICK() { $TICK } 1" or die;
152
151mkdir $_ 153mkdir $_
152 for $LOCALDIR, $TMPDIR, $UNIQUEDIR, $PLAYERDIR, $RANDOMDIR, $BDBDIR; 154 for $LOCALDIR, $TMPDIR, $UNIQUEDIR, $PLAYERDIR, $RANDOMDIR, $BDBDIR;
153 155
154our $EMERGENCY_POSITION; 156our $EMERGENCY_POSITION;
155 157
2386 2388
2387our $SAY_CHANNEL = { 2389our $SAY_CHANNEL = {
2388 id => "say", 2390 id => "say",
2389 title => "Map", 2391 title => "Map",
2390 reply => "say ", 2392 reply => "say ",
2391 tooltip => "Things said to and replied from npcs near you and other players on the same map only.", 2393 tooltip => "Things said to and replied from NPCs near you and other players on the same map only.",
2392}; 2394};
2393 2395
2394our $CHAT_CHANNEL = { 2396our $CHAT_CHANNEL = {
2395 id => "chat", 2397 id => "chat",
2396 title => "Chat", 2398 title => "Chat",
3925 LOG llevInfo, "[ABT] [suppressed]\n"; 3927 LOG llevInfo, "[ABT] [suppressed]\n";
3926 } 3928 }
3927} 3929}
3928 3930
3929# load additional modules 3931# load additional modules
3930eval "use cf::$_" for @EXTRA_MODULES; 3932require "cf/$_.pm" for @EXTRA_MODULES;
3931 3933
3932END { cf::emergency_save } 3934END { cf::emergency_save }
3933 3935
39341 39361
3935 3937

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines