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
-
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?
-
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. :)
-
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.
-
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. :)
-
Messages implemented, didn't add any parsing yet though.
They got the same format as ingame, Org.Msg. channel.
-
Thank you very much for this. Modified my TowerAttack.php, only need to wait and see if it works now.
-
Has this been implemented to 0.2.x? And I thought the changes are in AOChat.php not TowerAttack.php
Cheers,
Tony
-
I believe they'd need to be in both, unless AOChat was already catching them and nothing happened with it.
-
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