Unixpod ran my bot for a long time. After they upgraded/switched servers, the bot no longer started.

Back to PHP-IRC Bugs

Page: 1  
From User Message Body
efreak
Post #772
Member
Date: 11:26 pm, Jul 31 2008
Posts: 15


Unixpod ran my bot for a long time. After they upgraded/switched servers, the bot no longer started.
I have the following aliases, which basically start 2 bots. The MugglenetBot one connects to a ZNC irc bouncer. This is the bot that has all the extra functions I uploaded into the mods section. MugglenetWerewolf only has the werewolf function loaded.

Code
alias werewolf='screen -dmS MugglenetWerewolf php bot.php werewolf.conf'
alias mugglenet='screen -dmS MugglenetBot php bot.php bot2.conf'


Neither works. The only changes I've made to the core of the bot is to add !spawn to priv_mod.php and .conf with a list of users allowed to run it.

when I run the bot directly (not in a screen session), I get the following output:

Code
efreak@argon:~/php-irc-2.2.1$ php bot.php bot2.conf
Rehashing Function File, please wait...
efreak@argon:~/php-irc-2.2.1$ 


I'm not sure what Unixpod used before, but the new server runs Arch Linux.
Does anyone have any ideas on how to get this back up? (I run 5 bots on 3 servers, and would like to get them back up soon)

hery
Post #822
Member
Date: 3:39 pm, Sep 27 2008
Posts: 15


Set debug to 1 so that we can see php errors

   

Back to PHP-IRC Bugs