Messages missing since 4.0 [message #464304] |
Mon, 12 March 2012 10:33 |
|
T0RN
Messages: 293 Registered: January 2006 Location: Lunatic HQ
Karma: 0
|
Recruit |
|
|
No more end game message
[GENERAL] Current game on map C&C_Volcano.mix has ended. Game was won by GDI by Pedestal Beacon.
No more beacon message
[BEACON] DJFETISH deployed a Ion Cannon Beacon
[BEACON] Ion Cannon Strike initiated
[BEACON] Ion Cannon Beacon has detonated
No more building kill message like this
Host: Hand of Nod destroyed by DJFETISH.
Also, if I turn extra kill messages off, like T0RN killed their dumb self.
I don't get even the old default one of T0RN killed their self, or T0RN didn't last too long in the tiberium.
[Updated on: Mon, 12 March 2012 10:40] Report message to a moderator
|
|
|
|
|
|
Re: Messages missing since 4.0 [message #464366 is a reply to message #464304] |
Tue, 13 March 2012 12:02 |
|
danpaul88
Messages: 5795 Registered: June 2004 Location: England
Karma: 0
|
General (5 Stars) |
|
|
All BRenBot does is forward the logs from the TCP socket to the relevant parsing functions that already existed. If the new messages no longer match the format of the old ones I will need examples of the new messages to update the parsing code.
However, I was informed by jonwil that the new messages are *supposed* to be identical the originals... so if they are not that could be considered an SSGM 4.0 bug.
[Updated on: Tue, 13 March 2012 12:02] Report message to a moderator
|
|
|
Re: Messages missing since 4.0 [message #464367 is a reply to message #464304] |
Tue, 13 March 2012 12:23 |
|
danpaul88
Messages: 5795 Registered: June 2004 Location: England
Karma: 0
|
General (5 Stars) |
|
|
For reference, BRenBot supports the following Gamelog messages;
Quote: | sub parse_line
{
my $line = shift;
if ( $line =~ m/\[(.+?)\] CRATE/ && $startup != 1 )
{
crate($line);
}
elsif ( $line =~ m/\[(.+?)\] CREATED/ )
{
created($line);
}
elsif ( $line =~ m/\[(.+?)\] DESTROYED/ )
{
destroyed($line);
}
elsif ( $line =~ m/\[(.+?)\] POS/ && $startup != 1 )
{
position($line);
}
elsif ( $line =~ m/\[(.+?)\] ENTER/ )
{
enter($line);
}
elsif ( $line =~ m/\[(.+?)\] EXIT/ )
{
exit_vehicle($line);
}
elsif ( $line =~ m/\[(.+?)\] DAMAGED/ && $startup != 1 )
{
damaged($line);
}
elsif ( $line =~ m/\[(.+?)\] KILLED/ )
{
killed($line);
}
elsif ( $line =~ m/\[(.+?)\] WIN/ )
{
clear();
}
elsif ( $line =~ m/\[(.+?)\] CONFIG/ && $startup != 1)
{
clear();
}
# Look for any plugins whose regex hooks match this line
my @plugins = plugin::get_plugin_gamelog_regexes();
my %args;
$args{line} = $line;
$args{startup} = $startup;
foreach (@plugins)
{
my $plugin = $_;
my %regexes = %{$plugin::plugin_gamelog_regexes{$plugin}};
my $alias = "plugin_" . $plugin;
while (my ($regex, $event) = each %regexes)
{
if ( $line =~ m/$regex/i )
{ $main::poe_kernel->post($alias => $event => \%args); }
}
}
}
|
[Updated on: Tue, 13 March 2012 12:24] Report message to a moderator
|
|
|
Re: Messages missing since 4.0 [message #465019 is a reply to message #464304] |
Wed, 28 March 2012 02:20 |
|
Can someone get me details of exactly which messages are missing (i.e. what the messages looked like in the old SSGM, not what a bot may have done with them)?
Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
|
|
|
|
|
Re: Messages missing since 4.0 [message #465035 is a reply to message #464304] |
Wed, 28 March 2012 08:51 |
|
Gen_Blacky
Messages: 3250 Registered: September 2006
Karma: 1
|
General (3 Stars) |
|
|
br used ssgm logs for beacons not gamelog.
ssgm 4.0
void SSGM_Log_Beacon::Created(GameObject *obj)
{
SSGMGameLog::Log_Gamelog("CREATED;OBJECT;%d;%s;%d;%d;%d;%d;%d;%d;%d;%d", Commands->Get_ID(obj), Commands->Get_Preset_Name(obj), int(pos.Y),int(pos.X),int(pos.Z), int(Commands->Get_Facing(obj)), int(Commands->Get_Max_Health(obj)),int(Commands->Get_Max_Shield_Strength(obj)), Commands->Get_Player_Type(obj),Commands->Get_ID(Get_Beacon_Planter(obj)));
}
void SSGM_Log_Beacon::Destroyed(GameObject *obj)
{
SSGMGameLog::Log_Gamelog("DESTROYED;OBJECT;%d;%s;%d;%d;%d", Commands->Get_ID(obj),Commands->Get_Preset_Name(obj), int(pos.Y), int(pos.X), int(pos.Z));
}
ssgm 2.0.2
FDSMessage(StrFormat("%ls disarmed a %s",Get_Wide_Player_Name(shooter),Translate_Preset(obj).c_str()),"_BEACON");
br
# Parse a line of input from the SSGMLog
sub parse_line
{
my $input = shift;
# _Vehicle is no longer used, but we will keep it for backwards
# compatibility with ssaow 1.5 and lower
if ( $input =~ /^\[\d\d:\d\d:\d\d\]\s_VEHICLE\s(.+)$/ )
{
vehicle($1);
}
elsif ( $input =~ /^\[\d\d:\d\d:\d\d\]\s_ALERT\s(.+)$/ )
{
alert($1);
}
elsif ( $input =~ /^\[\d\d:\d\d:\d\d\]\s_BEACON\s(.+)$/ )
{
beacon($1);
}
elsif ( $input =~ /^\[\d\d:\d\d:\d\d\]\s_GENERAL\s(.+)$/ )
{
general($1);
}
elsif ( $input =~ /^\[\d\d:\d\d:\d\d\]\s_OREDUMP\s(.+)$/ )
{
ssapb_oredump($1);
}
elsif ( $input =~ /^\[\d\d:\d\d:\d\d\]\s_BUILDING_PURCHASE\s(.+)$/ ) # MP Script for Spacer
{
buildingPurchase($1);
}
elsif ( $brconfig::gamelog_in_ssgm == 1
&& $input =~ /^\[\d\d:\d\d:\d\d\]\s_GAMELOG\s(.+)$/
&& modules::get_module ( "gamelog" ) )
{
$input =~ s/_GAMELOG\s//gi; # Trim _Gamelog and one space
gamelog::parse_line( $input ); # Send it to the gamelog for processing
}
undef $input;
}
gamelogs logs could be part of ssgm log.
either danpual needs to add beacon msgs to gamelog or add the old ssgm beacon logs in ssgm log.
[Updated on: Wed, 28 March 2012 08:59] Report message to a moderator
|
|
|
Re: Messages missing since 4.0 [message #465038 is a reply to message #464304] |
Wed, 28 March 2012 12:15 |
Gohax
Messages: 738 Registered: January 2009
Karma: 0
|
Colonel |
|
|
Not a big deal, but whenever you buy a tank now, the "Unit Ready" sound doesn't play anymore.
Quote: | ·OTBot·Gohax killed beerfull4 (Black Hand Sniper/Sniper Rifle Vs. Deadeye/Sniper Rifle).
·OTBot·beerfull4: see that for sure a auto aim
·OTBot·beerfull4: u know how i can tell
·OTBot·Gohax: LOL
·OTBot·Gohax: how can you tell?
·OTBot·beerfull4: becuz your american and americans are like that
·OTBot·Gohax: LOL!
·OTBot·beerfull4 has left the game.
|
|
|
|
|
|
Re: Messages missing since 4.0 [message #465048 is a reply to message #464304] |
Wed, 28 March 2012 17:50 |
|
Missing "unit ready" sound fixed.
Jonathan Wilson aka Jonwil
Creator and Lead Coder of the Custom scripts.dll
Renegade Engine Guru
Creator and Lead Coder of TT.DLL
Official member of Tiberian Technologies
|
|
|
|
|
|
|
Re: Messages missing since 4.0 [message #465491 is a reply to message #464304] |
Wed, 04 April 2012 07:08 |
|
T0RN
Messages: 293 Registered: January 2006 Location: Lunatic HQ
Karma: 0
|
Recruit |
|
|
I'm not sure about what I'm saying either lol.
I just know messages I had on my old server are now missing.
Looking through it seems renlog messages are missing,and gamelog messages seem ok.
BIATCH, Vehkill, C4, End, current and a few others
[Updated on: Wed, 04 April 2012 07:30] Report message to a moderator
|
|
|
|
|
|
|
Re: Messages missing since 4.0 [message #465553 is a reply to message #465501] |
Wed, 04 April 2012 21:44 |
|
Xpert
Messages: 1588 Registered: December 2005 Location: New York City
Karma: 0
|
General (1 Star) |
|
|
T0RN wrote on Wed, 04 April 2012 11:22 | _BEACON
_C4
_VEHKILL
_GENERAL
Not sure about this:
_CHANGECHARACTER ??
|
_C4 and _BEACON doesn't exist because the ssgm log for it isn't coded in. Only raw gamelog. That's not hard to make. Just need to inform JonWil.
Oh and BIATCH logs don't relay because the format for it was changed. I remember them saying they will revert to the old way, that way all bots will just read BIATCH messages like normal before the change.
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
[Updated on: Wed, 04 April 2012 21:45] Report message to a moderator
|
|
|
|