BeBot - An Anarchy Online and Age Of Conan chat automaton

Development => Coding and development discussion => Topic started by: Nogoal on April 25, 2007, 04:41:16 pm

Title: Tower reduced to xx% by xxxx
Post by: Nogoal on April 25, 2007, 04:41:16 pm
We have 2 orgs and we'd like to relay the 'tower was reduced to %' through !gcr to the other org. So we don't need to log in the other org if noone's logged at this time to check if it was a mistake or a real attack.

So I was looking for that message in aochat but couldn't find it. As it's something hard to test, did someone else already tried to play with this?
Title: Re: Tower reduced to xx% by xxxx
Post by: Blueeagle on April 26, 2007, 01:58:32 am
Shouldn't be too hard. It's a message from ALL TOWERS if I remember correctly. I'll try to save one next time I see it and then see if I can make a regex for it. :)
Title: Re: Tower reduced to xx% by xxxx
Post by: Alreadythere on April 26, 2007, 09:08:16 am
Some file (one of the .mda ones I think) got a list with all those strings that need to be parsed. It's just a question of finding the right strings and adding them to the AOChat library, then the bot gets the human readable version.

Forgot which files though, think it should be described somewhere on aodevs.
Title: Re: Tower reduced to xx% by xxxx
Post by: Blueeagle on April 27, 2007, 12:17:36 am
Added it as FS#42 in the task manager labled "Feature request". I haven't taken on the assignment as I'm currently quite busy elsewhere.

I should probably have time to get this working for 0.4. Well hopefully atleast. :)
Title: Re: Tower reduced to xx% by xxxx
Post by: Alreadythere on May 18, 2007, 01:25:46 pm
Messages implemented, didn't add any parsing yet though.

They got the same format as ingame, Org.Msg. channel.
Title: Re: Tower reduced to xx% by xxxx
Post by: Nogoal on May 21, 2007, 12:38:54 pm
Thank you very much for this. Modified my TowerAttack.php, only need to wait and see if it works now.
Title: Re: Tower reduced to xx% by xxxx
Post by: tonyuh on June 09, 2007, 07:46:10 pm
Has this been implemented to 0.2.x? And I thought the changes are in AOChat.php not TowerAttack.php

Cheers,
Tony
Title: Re: Tower reduced to xx% by xxxx
Post by: Ebag333 on June 10, 2007, 01:15:12 am
I believe they'd need to be in both, unless AOChat was already catching them and nothing happened with it.
Title: Re: Tower reduced to xx% by xxxx
Post by: tonyuh on June 10, 2007, 01:28:01 pm
Oh yeah, I wasn't clear about it, it will have to be in both in order to display the message, but I can modify TowerAttack.php my self, I just need the message implemented in AOChat.php because right now its parsing "0: Unknown extended message" or something similar. Have anyone done it for 0.2.x?

Cheers,
Tony
SimplePortal 2.3.7 © 2008-2025, SimplePortal