collapse collapse
* User Info
 
 
Welcome, Guest. Please login or register.
* Search

* Board Stats
  • stats Total Members: 989
  • stats Total Posts: 18363
  • stats Total Topics: 2500
  • stats Total Categories: 7
  • stats Total Boards: 35
  • stats Most Online: 1144

Author Topic: [Org. Msg.] & LCA messages  (Read 5515 times)

0 Members and 1 Guest are viewing this topic.

Offline exxie

  • BeBot User
  • **
  • Posts: 25
  • Karma: +0/-0
[Org. Msg.] & LCA messages
« on: May 04, 2007, 09:13:00 pm »
hi,

i noticed that bebot doesn't parse the LCA damage messages anymore. i don't know exactly since when but it's definitely a few weeks now.

all other messages in the [Org. Msg.]-channel are parsed correctly.

[GMSG][MSG][Org. Msg.] 0: Player has joined the organization.
[GMSG][MSG][Org. Msg.] 0: Blammo! Player has launched an orbital attack!


these messages as well as the kick und leave messages are being parsed but when there this a damage message the bot outputs it like that:

[GMSG][MSG][Org. Msg.] 0:

without any text. it definitely worked a few weeks ago! any ideas?

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: [Org. Msg.] & LCA messages
« Reply #1 on: May 04, 2007, 09:40:45 pm »
Seeing that the tower damage was never in the AOChat.php at all I doubt that it worked before - or at least since FC changed the format to the new encoding.

For the SVN version at least it's on the todo list though ;)

Offline exxie

  • BeBot User
  • **
  • Posts: 25
  • Karma: +0/-0
Re: [Org. Msg.] & LCA messages
« Reply #2 on: June 20, 2007, 02:40:08 am »
yea. you are right.

but it has to be a limitation of bebot because it works perfect with ignbot and angelsbot.

this is from the logfile of the bot, receiving an org-message:

[2007-06-17 08:59:34]   [TELL]   [INC]   Omnipotentus: relay The tower Simple Missile Turret in Galway Shire was just reduced to 75 % health by Lirna1 from the Unknown organization!

the bot sending the message is an ignbot:
Code: [Select]
global $sender;
if ($type == 65 AND $sender == "") {
if(preg_match("/^the tower (.+) in (.+) was just reduced to (.+) % health/i",$args[2])) {
$aoc->send_tell("Battlecom","relay ".$args[2]);
$noreply=1;
}
}

so it's definitely not a problem of the aochat-class.
« Last Edit: June 20, 2007, 02:48:15 am by exxie »

Offline Ebag333

  • Contributor
  • *******
  • Posts: 134
  • Karma: +0/-0
Re: [Org. Msg.] & LCA messages
« Reply #3 on: June 20, 2007, 08:40:16 am »
the AOChat.php was customized specifically for IGN.  Not sure about angelsbot.

It's not unlikely that those were added in at some point.

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: [Org. Msg.] & LCA messages
« Reply #4 on: June 20, 2007, 02:58:03 pm »
Angelsbot looks up the strings from the AO database file directly, something which imho is a better solution than the hard coded strings we use.
This way you automatically have support for any new messages they move to the new system. All you'd need is the file from your AO install :)
BeBot Founder and Fixer Kingpin

Offline nebhyper

  • BeBot User
  • **
  • Posts: 62
  • Karma: +0/-0
Re: [Org. Msg.] & LCA messages
« Reply #5 on: September 02, 2007, 05:11:56 am »
Has this been fixed yet?
Siocuffin (Squad Commander of United Notum Federation)
alts: Nebhyper, Nebalmighty.

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: [Org. Msg.] & LCA messages
« Reply #6 on: September 02, 2007, 06:02:58 am »
duno but since the server move
[Org. Msg.] is now [Org Msg] (. removed)

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: [Org. Msg.] & LCA messages
« Reply #7 on: September 02, 2007, 10:37:32 am »
The tower damage spam is parsed correctly in 0.4, it's just not caught by any module.

 

* Recent Posts
[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 pm]


0.8.x updates for AoC by bitnykk
[January 30, 2024, 11:16:08 pm]


0.8.x updates for AO by bitnykk
[January 30, 2024, 11:15:37 pm]


BeBot still alive & kicking ! by bitnykk
[December 17, 2023, 12:58:44 am]


Bebot and Rasberry by bitnykk
[November 29, 2023, 11:04:14 pm]

* Who's Online
  • Dot Guests: 456
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.
* Forum Staff
bitnykk admin bitnykk
Administrator
Khalem admin Khalem
Administrator
WeZoN gmod WeZoN
Global Moderator
SimplePortal 2.3.7 © 2008-2024, SimplePortal