--- deliantra/server/ext/adjust_levels.ext 2006/12/21 22:41:34 1.2 +++ deliantra/server/ext/adjust_levels.ext 2007/10/14 20:23:48 1.4 @@ -3,16 +3,17 @@ # adjust levels of players at login time in case the experience table changed cf::player->attach ( - on_load => sub { + on_login => sub { my ($pl) = @_; my $ob = $pl->ob; - $ob->message ("\nAdjusting levels to experience table.\n"); + # TODO: only output messages when experience changed +# $ob->message ("\nAdjusting levels to experience table.\n"); $ob->player_lvl_adj; $ob->player_lvl_adj ($_) for grep $_->type == cf::SKILL, $ob->inv; - $ob->message ("\nDone adjusting levels to experience table.\nIf you got a lot of level changes, then this is because the server changed its experience table.\nDo NOT panic!\n"); +# $ob->message ("\nDone adjusting levels to experience table.\nIf you got a lot of level changes, then this is because the server changed its experience table.\nDo NOT panic!\n"); }, );