Hum, there seems to be a problem with the AddMedium system. Nothing will connect unless you've added a medium, and, although this was tested, it seems to not work.
I obviously failed to state that before you try to run any bots, you need to have ran the Config.pl, and the AddMedium.pl. These will both create the required files.
It seems that you've made it past the config, and the AddMedium.pl bit (which should and does (for some) work) is what has b0rked.
I'll look into a fix. _________________ ~ Josh
[ Need bot hosting on a dedicated server? PM me. ]
it doesnt tell what the error is, just "Compilation failed"
That is still not showing the full error. _________________ Check out Botworld! A dev resource for things bot.
Downloads, articles, news, fourm and more.
http://botworld.marzopolis.com
Joined: 02 Sep 2005 Posts: 27 Location: Cleveland, UK
Posted: Tue Sep 06, 2005 7:10 pm Post subject:
darkmonkey wrote:
Hum, there seems to be a problem with the AddMedium system. Nothing will connect unless you've added a medium, and, although this was tested, it seems to not work.
I obviously failed to state that before you try to run any bots, you need to have ran the Config.pl, and the AddMedium.pl. These will both create the required files.
It seems that you've made it past the config, and the AddMedium.pl bit (which should and does (for some) work) is what has b0rked.
I'll look into a fix.
Did config.pl/addmedium.pl and bot.pl it does jack and add me darkmonkey
px@xvision.co.uk!
Just as another side note, you should add a method to your WhiteWarrior.pm to define their own Google key, not just use your own, if this bot became halfway popular enough you'd keep running out of searches each day.
I decided not to, seeing as you get 10, 000 a day from Google, and it's unlikely that I'll run out anytime soon. Plus, that's not the one I use for my personal bots. _________________ ~ Josh
[ Need bot hosting on a dedicated server? PM me. ]
The bot should work fully now...i've disabled mirrors for the moment as they are fucking it right up...so for now, you can only have one MSN mirror, one AIM mirror, and one IRC mirror, unless you manually change the connecting module and edit the hashref.
A more permenant fix will be made soon. _________________ ~ Josh
[ Need bot hosting on a dedicated server? PM me. ]
Zander would be right, but, due to my quick-fix on release (the AddMedium.pl, which is the only bit not throughly tested), I had to disable that for the moment.
To add a mirror, find the mirror type you want to add...you must already have a hash of one saved. In this instance, I am using MSN as the mirror type.
You just copy that, making sure that it has a comma (,) after the last }.
You can then just edit your details, and you'll be half way there.
Make sure you call the
Code:
'MSN' => {
bit something else, for instance, MSN1 or something. Now, go to "./System/WhiteWarrior/" and copy MSN.pm. Rename it to MSN1.pm. Now, open it, and replace MSN with MSN1 (or whatever you called your bit above ^^).
Save, and it all should work. If it errors with "Cannot find WhiteWarrior::MSN1" or something, you've done something wrong. _________________ ~ Josh
[ Need bot hosting on a dedicated server? PM me. ]
Bad idea to do your mirrors wene you can create multiple instances in the .pm and you could use a hash,hashref,array w/e lol to store the mirror in (-: