BeBot - An Anarchy Online and Age Of Conan chat automaton

Archive => Anarchy Online Archive => BeBot 0.4 support => Topic started by: DocJones on October 15, 2008, 11:17:26 am

Title: Hook on AI City events...
Post by: DocJones on October 15, 2008, 11:17:26 am
Hi!

an orgmate requested to add a wave timer whenever there is a city raid initiated to show the incoming waves in org spam. I have looked a bit at the AOchat code and the bot and i am unsure where to hook in. "callback" might be an option, to avoid hacking around in the aochat module.

Any better option available?

thanks
/z
Title: Re: Hook on AI City events...
Post by: Temar on October 15, 2008, 06:03:56 pm
ive seen modules already done for the exact same thing altho they may need updateing, just search the forum
Title: Re: Hook on AI City events...
Post by: DocJones on October 16, 2008, 08:45:07 am
Heyas Temar,

I'm sorry, but i searched the forums all over (search tags were "AI city raid", "city raid timer", "city raid"...) and i browsed the forums for 0.5-0.2 modules.

If you know the name of such a module or can point me in the direction ragarding setting up tha hook in the bot modules, that would be great.

Thanks for you help in advance
/z
Title: Re: Hook on AI City events...
Post by: Temar on October 16, 2008, 05:01:43 pm
i found 2 topics related

http://bebot.link/module-requests/alien-waves-module/

http://bebot.link/module-requests/alien-wave-counter/

but the module that is there no longer exists at that site
Title: Re: Hook on AI City events...
Post by: Temar on October 16, 2008, 05:07:17 pm
i might make 1 later but just to make sure it how your want
give me examples of how you think it should behave, eg a simple msg for each wave as apears or what?
Title: Re: Hook on AI City events...
Post by: Snarfblatt on October 20, 2008, 11:13:41 pm
What would be nice is if there was simply a message counting the waves. I know in our org, sometimes people will temporarily leave the org to reduce the number of aliens (depending on who is in attendance). So it would be helpful for the bot to "count" the waves so on the 8th wave, members can be reinvited to get the max level general.

I know this is really kindof a simple counting tool, but sometimes when you're chatting, you lose track of which wave you are on.
Title: Re: Hook on AI City events...
Post by: DocJones on October 22, 2008, 05:09:23 pm
Heyas,

i planned the following:
Upon alien ship approaching, initiating 8 timers with 5,8,10,12,14,16,18,20 minutes from start of the attack. Timer text should be something like
Quote
nth wave initiated!
(much more colorful).

Thats basically it, easiest would be to issue a "!timer add 00:05:00 1st Wave","!timer add 00:08:00 2nd Wave" etc. as soon as the AOEM_AI_ATTACK packet drops in.

What do you think?
regards
/z
Title: Re: Hook on AI City events...
Post by: Snarfblatt on October 22, 2008, 11:41:16 pm
Or couldn't you trigger it after someone drops the cloak? That already sets a timer. Just set your 8 timers then?
Title: Re: Hook on AI City events...
Post by: DocJones on October 28, 2008, 08:30:08 am
There is a timer being set after cloak dropping? Where is it, i can't find it :)
/z
Title: Re: Hook on AI City events...
Post by: Alreadythere on October 28, 2008, 06:20:13 pm
You should upgrade to 0.5.4 I guess. Setting timer there. Among several other nice changes.

0.4 will be run out of support in the near future anyways, we can only support one release, and 0.6 is close :)
SimplePortal 2.3.7 © 2008-2024, SimplePortal