Archive > AO 0.6.x Custom/Unofficial modules

City Alien attack Wave mod

<< < (7/7)

Shelly:

--- Quote from: Tussa on July 23, 2014, 06:43:36 pm ---Hi guys,

My Bebot orgbot doesn't give me a wave counter, so I figured I would use this module. But which of the two files should I get? Shelly posted both  AlienAttack.php and AlienAttack_mod4.php. Do I need both? One in core and one in custom? Or only one of them? If so, what is the actual difference between these two files? "Less spam" it says, but what does that entail?

--- End quote ---

Hi,

Glad to see this is still in use. If I remember rightly... the one with more spam I added in some fun things about the general was all and should be the only differences.

You only need 1 of the downloads and it replaces the modules/ao/AlienAttack.php file.

Tussa:
I'm getting an error when starting the bot if I replace the old with the new. The *only* changes I have done in the mod you attached to this thread is the chit chat the bot does. The error reads:

PHP Fatal error:  Call-time pass-by-reference has been removed in G:\AO Tools\BeBot_Sembly\modules\ao\AlienAttack.php on line 51

Line 51 in the php file reads:


--- Code: ---parent::__construct(&$bot, get_class($this));
--- End code ---

Since I don't know any of this stuff, I have no idea what it means either. Any way any of you can help explain a noob how to fix?

Navigation

[0] Message Index

[*] Previous page

Go to full version