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

Comparing deliantra/server/ext/login.ext (file contents):
Revision 1.106 by elmex, Thu Apr 29 06:33:04 2010 UTC vs.
Revision 1.107 by root, Thu Apr 29 07:52:02 2010 UTC

87 if ($time && $m) { 87 if ($time && $m) {
88 if ($time < $m->{instantiate_time}) { 88 if ($time < $m->{instantiate_time}) {
89 # the map was reset in the meantime 89 # the map was reset in the meantime
90 my $age = $cf::RUNTIME - $time; 90 my $age = $cf::RUNTIME - $time;
91 91
92 warn $ob->name, " map reset after logout, logout age $age (>= $MAX_DISCONNECT_TIME)\n";#d# 92 cf::info $ob->name, " map reset after logout, logout age $age (>= $MAX_DISCONNECT_TIME)\n";#d#
93 93
94 if ($age >= $MAX_DISCONNECT_TIME) { 94 if ($age >= $MAX_DISCONNECT_TIME) {
95 $ob->message ( 95 $ob->message (
96 "You didn't use a bed to reality to leave this realm, leaving your body in great danger. " 96 "You didn't use a bed to reality to leave this realm, leaving your body in great danger. "
97 . "Unfortunately, nobody was near to help you when the monsters arrived to eat you. " 97 . "Unfortunately, nobody was near to help you when the monsters arrived to eat you. "
440 cf::NDI_UNIQUE | cf::NDI_RED | cf::NDI_REPLY); 440 cf::NDI_UNIQUE | cf::NDI_RED | cf::NDI_REPLY);
441 } 441 }
442 }; 442 };
443 } else { 443 } else {
444 my $change = delete $pl->{password_change}; 444 my $change = delete $pl->{password_change};
445 warn "CHECK: @$change | $pl->{password_change} <<<<<\n"; 445 cf::debug "CHECK: @$change | $pl->{password_change} <<<<<\n";
446 446
447 if ($change && (time - $change->[0]) < 60) { 447 if ($change && (time - $change->[0]) < 60) {
448 $pl->message ( 448 $pl->message (
449 "Ok, changed your password!", 449 "Ok, changed your password!",
450 cf::NDI_UNIQUE | cf::NDI_RED | cf::NDI_REPLY); 450 cf::NDI_UNIQUE | cf::NDI_RED | cf::NDI_REPLY);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines