is there any way to disable this ?
Unknown #4436871 unknown unit_levelup effect (8)
Unknown #5353101 gained a level!
Unknown #5353101 gained a job level!
i've been playing around with squelch domain, but cant find right setting to disable this message.
my current config
verbose 0
showDomain 1
showDomain_NPC parseMsg_presence
showDomain_Shop list
squelchDomains console, effect, emotion, parseMsg_statuslook, skill, selfSkill, drop, attacked, attackMon, schat, exp, refine
disable level up message log on terminal console
Moderator: Moderators
-
- The Way Of Human
- Posts: 150
- Joined: 24 Mar 2012, 04:13
- Noob?: Yes
Re: disable level up message log on terminal console
those messages does not have a Domain
so you need to change from source
so you need to change from source
Re: disable level up message log on terminal console
src/Network/Receive/ServerType0.pm line 4388
comment "message" lines u need with #
like
Code: Select all
sub unit_levelup {
my ($self, $args) = @_;
my $ID = $args->{ID};
my $type = $args->{type};
my $actor = Actor::get($ID);
if ($type == LEVELUP_EFFECT) {
message TF("%s gained a level!\n", $actor);
Plugins::callHook('base_level', {name => $actor});
} elsif ($type == JOBLEVELUP_EFFECT) {
message TF("%s gained a job level!\n", $actor);
Plugins::callHook('job_level', {name => $actor});
} elsif ($type == REFINING_FAIL_EFFECT) {
message TF("%s failed to refine a weapon!\n", $actor), "refine";
} elsif ($type == REFINING_SUCCESS_EFFECT) {
message TF("%s successfully refined a weapon!\n", $actor), "refine";
} elsif ($type == MAKEITEM_AM_SUCCESS_EFFECT) {
message TF("%s successfully created a potion!\n", $actor), "refine";
} elsif ($type == MAKEITEM_AM_FAIL_EFFECT) {
message TF("%s failed to create a potion!\n", $actor), "refine";
} else {
message TF("%s unknown unit_levelup effect (%d)\n", $actor, $type);
}
}
like
Code: Select all
#message TF("%s gained a level!\n", $actor);
Please use pin function for uploading your file contents!
Re: disable level up message log on terminal console
alright, thanks !
-
- Noob
- Posts: 1
- Joined: 16 Aug 2023, 02:52
- Noob?: No
Re: disable level up message log on terminal console
The aforementioned communications lack a specific domain, thus necessitating a modification in the source. mini crossword