Certain gamelogs [message #483712] |
Mon, 30 September 2013 11:17 |
|
Xpert
Messages: 1588 Registered: December 2005 Location: New York City
Karma: 0
|
General (1 Star) |
|
|
Is there an option to disable certain gamelogs. Specifcally, the ones that show [ALERT], [BEACON] and [GENERAL]. And if there's an option to disable them, will it effect anything or prevent some other functions from working?
Creator of NetGuard, an IRC network regulator.
Developer of the CloudyServ 0.982-X project.
Developer of the CloudyServ Ren-X bot.
Part time streamer - https://twitch.tv/gg_wonder
|
|
|
|
|
Re: Certain gamelogs [message #483731 is a reply to message #483721] |
Tue, 01 October 2013 09:14 |
|
ExEric3
Messages: 746 Registered: February 2005 Location: Slovakia
Karma: 0
|
Colonel |
|
|
Xpert wrote on Tue, 01 October 2013 11:59 | I'm talking about BRenBot. That's why I posted here lol.
I want to disable it from relaying to IRC in BRenBot. Is there an option for it?
|
I don't think there are options to disable them. brenbot.cfg offer only this:
Gamelog_Show_Vehicle_Purchase = 0
Gamelog_Show_Crate_Messages = 1
Gamelog_Show_Kill_Messages = 0
Gamelog_Show_Vehicle_Kill_Messages = 0
Gamelog_Show_Building_Kill_Messages = 0
But you can modify brenbot code. Go to temp directory in Windows (dunno where you have it located) but my is here - for example:
C:\Windows\TempHP\par-ExEric3\cache-8b414b05852493a429e17701a4aad9bfdd079d9f\inc\lib\
and find file: ssgm.pm
I don't know how modify it. If just removing will help or something else. After file save just restart BRenBot. By this way I modded color codes for IRC output.
[Updated on: Tue, 01 October 2013 09:18] Report message to a moderator
|
|
|
Re: Certain gamelogs [message #483795 is a reply to message #483731] |
Thu, 03 October 2013 05:30 |
|
danpaul88
Messages: 5795 Registered: June 2004 Location: England
Karma: 0
|
General (5 Stars) |
|
|
ExEric3 wrote on Tue, 01 October 2013 17:14 | After file save just restart BRenBot. By this way I modded color codes for IRC output.
|
Actually the newest versions of BRenBot have an optional teams.cfg config that allows you to override the per-team IRC colours these days.
[Updated on: Thu, 03 October 2013 05:30] Report message to a moderator
|
|
|
|
|
Re: Certain gamelogs [message #483876 is a reply to message #483835] |
Tue, 08 October 2013 11:07 |
|
Gen_Blacky
Messages: 3250 Registered: September 2006
Karma: 1
|
General (3 Stars) |
|
|
good to know.
I like the new moduler plugin system. But if you use a poe kernel timer in a plugin it wont have a result. For example.
sub start
{
my ( $kernel, $session, $heap, $args ) = @_[ KERNEL, SESSION, HEAP, ARG0 ];
my %args = %{$args};
my $next_time = int( time() ) + 15;
$kernel->alarm( SomeSub => $next_time => \%args );
}
The plugin wont load in plugin.pm. Get successful execution of plugin a different way?
$poe .= " plugin_start => sub {
my \$result = plugin_event('".$plugin_name."','start',\@_);
if ( defined(\$result) and \$result == 0 )
{
set_state('".$plugin_name."',2);
unload_plugin('".$plugin_name."');
}
}, \n";
[Updated on: Tue, 08 October 2013 11:07] Report message to a moderator
|
|
|
|
|