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.85 by root, Mon May 5 16:02:20 2008 UTC vs.
Revision 1.86 by root, Mon May 5 22:38:47 2008 UTC

103 cf::NDI_RED 103 cf::NDI_RED
104 ); 104 );
105 # kill them. 105 # kill them.
106 # reminds me of the famous badness 10000 syndrome... 106 # reminds me of the famous badness 10000 syndrome...
107 $ob->stats->hp (-10000); #] if they survive this they deserved to live 107 $ob->stats->hp (-10000); #] if they survive this they deserved to live
108 my $killer = cf::arch::get "killer_login"; 108 my $killer = cf::arch::get "killer_login"; $pl->killer ($killer); $killer->destroy;
109 $pl->killer ($killer);
110 $killer->destroy;
111 } else { 109 } else {
112 ($map, $x, $y) = $pl->savebed; 110 ($map, $x, $y) = $pl->savebed;
113 111
114 $ob->message ( 112 $ob->message (
115 "You didn't use a bed to reality to leave this realm, leaving your body in great danger. " 113 "You didn't use a bed to reality to leave this realm, leaving your body in great danger. "
470 468
471 # update respawn position 469 # update respawn position
472 $pl->savebed ($bed->map->path, $bed->x, $bed->y); 470 $pl->savebed ($bed->map->path, $bed->x, $bed->y);
473 cf::async { $pl->save }; 471 cf::async { $pl->save };
474 472
475 my $killer = cf::arch::get "killer_logout"; 473 my $killer = cf::arch::get "killer_logout"; $pl->killer ($killer); $killer->destroy;
476 $pl->killer ($killer);
477 $killer->destroy;
478 $ob->check_score; 474 $ob->check_score;
479 475
480 $ob->reply (undef, "In the future, you will wake up here when you die."); 476 $ob->reply (undef, "In the future, you will wake up here when you die.");
481 477
482 $pl->ns->query (cf::CS_QUERY_SINGLECHAR, "Do you want to continue playing (y/n)?", sub { 478 $pl->ns->query (cf::CS_QUERY_SINGLECHAR, "Do you want to continue playing (y/n)?", sub {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines