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: City Alien attack Wave mod  (Read 57209 times)

0 Members and 1 Guest are viewing this topic.

Offline Shelly

  • BeBot Apprentice
  • ***
  • Posts: 192
  • Karma: +0/-0
City Alien attack Wave mod
« on: November 09, 2010, 04:09:53 am »
4th Modification now posted

Hi all,

I just finished a new modification to the AlienAttack.php module that keeps track of the waves. It uses a 2nd setting for alien wave announcements so you can turn on or off the alien wave announcements.

Download my modified copy from here and replace your current <bot_home>/modules/ao/AlienAttack.php file... restart your bot and check the "/tell <yourbot> !settings AlienAttack" to turn on (or off) the spams.

Maybe if enough people like it... we could get it added to the core distribution. :)

*Removed some of the spam about the general and tweaked the times. (AlienAttack.phps - you will need to remove the final "s")
**Moved alien wave announcements to their own setting from the spam. Rename AlienAttack-mod4.phps to AlienAttack.php to use this latest (no extraspam) version. This version has adjusted timers based on those mcgunman put forth in his post. The original version has also been modified and is listed as AlienAttack.php (with cute spams) :)

Shelly
* AlienAttack.php (22.89 kB - downloaded 21 times.) My Original Modification which has been upgraded now.
If you used my previous modification, you may want to remove the alien attack wave timers from your mysql tables "timer_classes" & "timer_class_entries" before restarting your bot.
* AlienAttack.php (24.05 kB - downloaded 3 times.)
* AlienAttack_mod3.phps (23.77 kB - downloaded 9 times.)
« Last Edit: April 18, 2011, 04:04:02 am by Shelly »

Offline Tyrence

  • BeBot User
  • **
  • Posts: 41
  • Karma: +0/-0
Re: City Alien attack Wave mod
« Reply #1 on: November 19, 2010, 01:45:21 am »
Nice job.  :)

Someone wrote a module that does this for Budabot that we included it in the 1.0 release and tbh, people tell me that they like that module more than any other.

Offline Khalem

  • BeBot Founder
  • Administrator
  • ********
  • Posts: 1169
  • Karma: +0/-0
    • http://www.ancarim.com
Re: City Alien attack Wave mod
« Reply #2 on: November 19, 2010, 10:18:08 pm »
I'll merge this in later on.

Sad thing is, I actually have had this functionality running as a separate module for a long time, just never gotten around to include it in BeBot :(

Thank you for your contribution Shelly, it really is just plain silly that it has not been included before.
BeBot Founder and Fixer Kingpin

Offline Shelly

  • BeBot Apprentice
  • ***
  • Posts: 192
  • Karma: +0/-0
Re: City Alien attack Wave mod
« Reply #3 on: November 29, 2010, 04:11:08 am »
I am thinking on adding some customization to the timers to allow for adjustments in game. (They already get written to the database) I have noticed there is a couple fine tweaks to the timing such as the 3rd wave comes a little before the announcement.

Do you think this would be a good addition? Or should I just go with a new modification to adjust the times?

The "Kill da big cricket" for the general is just my way of trying to be fun. can take that out if people don't like. :)

Offline Shelly

  • BeBot Apprentice
  • ***
  • Posts: 192
  • Karma: +0/-0
Re: City Alien attack Wave mod
« Reply #4 on: November 29, 2010, 04:14:07 am »
Sad thing is, I actually have had this functionality running as a separate module for a long time, just never gotten around to include it in BeBot :(

It doesn't have to be sad... :) send it to me! ^_^ Or just publish it. Your work is far superior to mine. Thank you for this fun part of AO. :) ;D

Offline Zweiblum

  • BeBot Apprentice
  • ***
  • Posts: 135
  • Karma: +0/-0
Re: City Alien attack Wave mod
« Reply #5 on: January 22, 2011, 05:38:27 pm »
Hey, nice mod!
Anyone have a script with a better timing maybe?

Alert is a bit too late i think :/

Offline Shelly

  • BeBot Apprentice
  • ***
  • Posts: 192
  • Karma: +0/-0
Re: City Alien attack Wave mod
« Reply #6 on: January 23, 2011, 09:37:46 pm »
Removed some of the fun spam about the General and tweaked the timers a bit. See 1st port for new module "AlienAttack.phps" I left the original one (because I love the extra spam about the General :))

Offline Zweiblum

  • BeBot Apprentice
  • ***
  • Posts: 135
  • Karma: +0/-0
Re: City Alien attack Wave mod
« Reply #7 on: January 24, 2011, 10:36:14 am »
thank you very much ;)

Offline Zweiblum

  • BeBot Apprentice
  • ***
  • Posts: 135
  • Karma: +0/-0
Re: City Alien attack Wave mod
« Reply #8 on: January 30, 2011, 03:10:18 pm »
Hey guys.
What do i need to change to get this wavecounter relayed to other bots aswell?

Offline mcgunman

  • BeBot Rookie
  • *
  • Posts: 17
  • Karma: +0/-0
Re: City Alien attack Wave mod
« Reply #9 on: February 05, 2011, 10:27:38 am »
nice mod, I just removed the hole spam about raid in progress.

perhaps it would be a nice idea to make it more configurable: instead of switching everything on via spam= on  use to switches spam = on, wave = on

Offline Zweiblum

  • BeBot Apprentice
  • ***
  • Posts: 135
  • Karma: +0/-0
Re: City Alien attack Wave mod
« Reply #10 on: February 05, 2011, 01:02:10 pm »
as im running mupliti bots with the same files, a option with inidivdual timers would be cool also

Offline Shelly

  • BeBot Apprentice
  • ***
  • Posts: 192
  • Karma: +0/-0
Re: City Alien attack Wave mod
« Reply #11 on: February 06, 2011, 03:28:05 pm »
nice mod, I just removed the hole spam about raid in progress.

perhaps it would be a nice idea to make it more configurable: instead of switching everything on via spam= on  use to switches spam = on, wave = on

Done... See latest "AlienAttack-mod3.phps" in the original message. I was actually thinking this too :)

Shelly
« Last Edit: February 06, 2011, 03:51:36 pm by Shelly »

Offline Shelly

  • BeBot Apprentice
  • ***
  • Posts: 192
  • Karma: +0/-0
Re: City Alien attack Wave mod
« Reply #12 on: February 06, 2011, 03:45:00 pm »
as im running mupliti bots with the same files, a option with inidivdual timers would be cool also

I run multiple bots also. The way it is set (via the original AlienAttack.php) uses the individual bot's timer functions so they should not conflict. The times that get created in this module just setup the timers for the individual bots.

So... I am a little unsure what you are asking for here :)

Shelly

Offline Shelly

  • BeBot Apprentice
  • ***
  • Posts: 192
  • Karma: +0/-0
Re: City Alien attack Wave mod
« Reply #13 on: February 06, 2011, 03:50:42 pm »
Hey guys.
What do i need to change to get this wavecounter relayed to other bots aswell?
It depends on how you have your relays setup.

If you use the guest chat channel method, just set the module to spam "both".
If you are using the tell method... there is no way I know of.
If you use the DB method, again I think the spam (or wave) set to "both" should work.

Offline Zweiblum

  • BeBot Apprentice
  • ***
  • Posts: 135
  • Karma: +0/-0
Re: City Alien attack Wave mod
« Reply #14 on: February 06, 2011, 11:38:33 pm »
hmm i got Spam and Channel on both, but it isnt working :/

 

* 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: 240
  • 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