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

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

Author Topic: Hook on AI City events...  (Read 16645 times)

0 Members and 1 Guest are viewing this topic.

Offline DocJones

  • BeBot Rookie
  • *
  • Posts: 15
  • Karma: +0/-0
Hook on AI City events...
« 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

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: Hook on AI City events...
« Reply #1 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

Offline DocJones

  • BeBot Rookie
  • *
  • Posts: 15
  • Karma: +0/-0
Re: Hook on AI City events...
« Reply #2 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

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: Hook on AI City events...
« Reply #3 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

Offline Temar

  • Contributor
  • *******
  • Posts: 1140
  • Karma: +0/-0
    • AoFiles
Re: Hook on AI City events...
« Reply #4 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?

Offline Snarfblatt

  • BeBot User
  • **
  • Posts: 63
  • Karma: +0/-0
Re: Hook on AI City events...
« Reply #5 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.

Offline DocJones

  • BeBot Rookie
  • *
  • Posts: 15
  • Karma: +0/-0
Re: Hook on AI City events...
« Reply #6 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

Offline Snarfblatt

  • BeBot User
  • **
  • Posts: 63
  • Karma: +0/-0
Re: Hook on AI City events...
« Reply #7 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?

Offline DocJones

  • BeBot Rookie
  • *
  • Posts: 15
  • Karma: +0/-0
Re: Hook on AI City events...
« Reply #8 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

Offline Alreadythere

  • BeBot Maintainer
  • BeBot Hero
  • ******
  • Posts: 1288
  • Karma: +0/-0
Re: Hook on AI City events...
« Reply #9 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 :)

 

* Recent Posts
0.8.x updates for AO by bitnykk
[June 23, 2024, 03:19:47 pm ]


0.8.x updates for AoC by bitnykk
[June 23, 2024, 03:19:44 pm ]


[AoC] special char for items module by bitnykk
[February 09, 2024, 09:41:18 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: 98
  • 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