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.178 by root, Thu Jan 18 00:06:55 2007 UTC vs.
Revision 1.180 by root, Fri Jan 19 00:38:02 2007 UTC

957 957
958sub exists($) { 958sub exists($) {
959 my ($login) = @_; 959 my ($login) = @_;
960 960
961 $cf::PLAYER{$login} 961 $cf::PLAYER{$login}
962 or cf::sync_job { !aio_stat $login } 962 or cf::sync_job { !aio_stat path $login }
963} 963}
964 964
965sub find($) { 965sub find($) {
966 return $cf::PLAYER{$_[0]} || do { 966 return $cf::PLAYER{$_[0]} || do {
967 my $login = $_[0]; 967 my $login = $_[0];
1828} 1828}
1829 1829
1830sub prepare_random_map { 1830sub prepare_random_map {
1831 my ($exit) = @_; 1831 my ($exit) = @_;
1832 1832
1833 my $guard = cf::lock_acquire "exit_prepare:$exit";
1834
1833 # all this does is basically replace the /! path by 1835 # all this does is basically replace the /! path by
1834 # a new random map path (?random/...) with a seed 1836 # a new random map path (?random/...) with a seed
1835 # that depends on the exit object 1837 # that depends on the exit object
1836 1838
1837 my $rmp = parse_random_map_params $exit->msg; 1839 my $rmp = parse_random_map_params $exit->msg;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines