JRuDevels

Jabber Russian Developers Forum.
Log in Register FAQ Memberlist Search JRuDevels Forum Index

JRuDevels Forum Index » Серверная часть [Server-Side] » Викторина для Jabber Goto page Previous  1, 2
Post new topic  Reply to topic View previous topic :: View next topic 
PostPosted: Sun Jan 25, 2009 12:32 am Reply with quote
dmitri
Отметившийся
Отметившийся
Joined: 25 Jan 2009
Posts: 2




подскажите, что не так делаю. вроде подредактировал сonfig.tt.php, пишу в косоли "php -q bot.php", консоль возвращает "Bot already running with ." , но бот на указанную "chatroom" не заходит.
Code:

// connection
$_CFG['server']   = 'jabber.org';
$_CFG['port']     = 5222;
$_CFG['username'] = 'victbot';
$_CFG['password'] = '*********';
$_CFG['resource'] = 'Victorina Bot';
$_CFG['chatroom'] = 'pm21@conference.jabber.org';

// admin settings
$_CFG['admins'] = array('dmitri-diavo@jabber.org' );
View user's profile Send private message
PostPosted: Sun Jan 25, 2009 2:28 pm Reply with quote
Binary
Разработчик
Разработчик
Joined: 17 Dec 2004
Posts: 1712
Location: Омск




pid-файл удалить?

_________________
And I'm feeling good!
View user's profile Send private message Send Jabber-message Visit poster's website HabaHaba - Fast communicate
PostPosted: Mon Jan 26, 2009 11:44 am Reply with quote
dmitri
Отметившийся
Отметившийся
Joined: 25 Jan 2009
Posts: 2




Binary wrote:
pid-файл удалить?

спасибо, все заработало. можно узнать в кратце, что он такое делает, этот файл?

З.Ы. Никто не знает, есть ли под jabber бот с игрой "Мафия" ?


Last edited by dmitri on Mon Jan 26, 2009 11:49 am; edited 1 time in total
View user's profile Send private message
PostPosted: Mon Jan 26, 2009 11:45 am Reply with quote
Binary
Разработчик
Разработчик
Joined: 17 Dec 2004
Posts: 1712
Location: Омск




хранит pid бота

_________________
And I'm feeling good!
View user's profile Send private message Send Jabber-message Visit poster's website HabaHaba - Fast communicate
Викторина для Jabber
JRuDevels Forum Index » Серверная часть [Server-Side]
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT + 3 Hours  
Page 2 of 2  
Goto page Previous  1, 2
  
  
 Post new topic  Reply to topic  


Powered by phpBB © 2001-2004 phpBB Group
phpBB Style by Vjacheslav Trushkin