Renegade Public Forums
C&C: Renegade --> Dying since 2003™, resurrected in 2024!
Home » Tiberian Technologies / Blackhand Studios » Other Products » Certain gamelogs
Certain gamelogs [message #483712] Mon, 30 September 2013 11:17 Go to next message
Xpert is currently offline  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?

http://i32.photobucket.com/albums/d42/XpertMaverick/xpertyankee.jpg

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 #483720 is a reply to message #483712] Tue, 01 October 2013 01:25 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
Disable them where? In SSGM itself? Or in BRenBot?

If it's in SSGM itself... just get whatever code you have parsing the TCP output to ignore those messages, it won't net you any performance gains worth the effort to actually remove them from the SSGM codebase.


http://steamsignature.com/card/1/76561197975867233.png
Re: Certain gamelogs [message #483721 is a reply to message #483712] Tue, 01 October 2013 02:59 Go to previous messageGo to next message
Xpert is currently offline  Xpert
Messages: 1588
Registered: December 2005
Location: New York City
Karma: 0
General (1 Star)
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?


http://i32.photobucket.com/albums/d42/XpertMaverick/xpertyankee.jpg

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 Go to previous messageGo to next message
ExEric3 is currently offline  ExEric3
Messages: 742
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 Go to previous messageGo to next message
danpaul88 is currently offline  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.


http://steamsignature.com/card/1/76561197975867233.png

[Updated on: Thu, 03 October 2013 05:30]

Report message to a moderator

Re: Certain gamelogs [message #483812 is a reply to message #483712] Thu, 03 October 2013 10:24 Go to previous messageGo to next message
Xpert is currently offline  Xpert
Messages: 1588
Registered: December 2005
Location: New York City
Karma: 0
General (1 Star)
So there's technically no way to remove those log messages without doing what Eric suggested?

http://i32.photobucket.com/albums/d42/XpertMaverick/xpertyankee.jpg

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 #483835 is a reply to message #483712] Fri, 04 October 2013 03:36 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
Not at present, feel free to request it though. I tend to use the BR bug tracker over at BHP as the go-to place for feature requests and bug reports these days.

https://www.bluehellproductions.com/forum/index.php?app=tracker&showproject= 18


http://steamsignature.com/card/1/76561197975867233.png

[Updated on: Fri, 04 October 2013 03:36]

Report message to a moderator

Re: Certain gamelogs [message #483876 is a reply to message #483835] Tue, 08 October 2013 11:07 Go to previous messageGo to next message
Gen_Blacky is currently offline  Gen_Blacky
Messages: 3250
Registered: September 2006
Karma: 1
General (3 Stars)
danpaul88 wrote on Fri, 04 October 2013 04:36

Not at present, feel free to request it though. I tend to use the BR bug tracker over at BHP as the go-to place for feature requests and bug reports these days.

https://www.bluehellproductions.com/forum/index.php?app=tracker&showproject= 18



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";


http://s18.postimage.org/jc6qbn4k9/bricks3.png

[Updated on: Tue, 08 October 2013 11:07]

Report message to a moderator

Re: Certain gamelogs [message #483877 is a reply to message #483712] Wed, 09 October 2013 02:24 Go to previous messageGo to next message
danpaul88 is currently offline  danpaul88
Messages: 5795
Registered: June 2004
Location: England
Karma: 0
General (5 Stars)
Just add return 1; to the end of your start subroutinue if you don't have any fail conditions such as bad config, missing database etc.

http://steamsignature.com/card/1/76561197975867233.png
Re: Certain gamelogs [message #484024 is a reply to message #483712] Wed, 16 October 2013 11:03 Go to previous message
Gen_Blacky is currently offline  Gen_Blacky
Messages: 3250
Registered: September 2006
Karma: 1
General (3 Stars)
ah right cool.

http://s18.postimage.org/jc6qbn4k9/bricks3.png
Previous Topic: brenbot unban help
Next Topic: BrenBot error
Goto Forum:
  


Current Time: Fri Mar 29 08:47:15 MST 2024

Total time taken to generate the page: 0.00925 seconds