Community Forums Today's Posts     Member List     Archive    
Page 2 of 24 FirstFirst 123412 ... LastLast
Results 16 to 30 of 360
  1. #16
    Join Date
    Jan 2010
    Location
    Germany
    Posts
    227
    If you are using version 1.0.0-BETA5 please redownload it.
    If've a few typo errors corrected.

    Sorry.

    ~~changelog~~
    -fixed [PHP Error] Undefined variable: client
    -fixed error in PHP version compare

  2. #17
    Join Date
    Jan 2010
    Location
    germany
    Posts
    12
    Other Question, is it possible to make a variable location for the "LogFile" and "PidFile" ?

    In the startscript.

    if (file_exists('/var/run/ts3phpbot/' . self::$iniContent['DAEMON-CONFIG']
    $pid = file_get_contents('/var/run/ts3phpbot/' . self::

    Like:

    This on the head of the startscript:

    $2=path to your LogFile
    $3=path to your PidFile



    if (file_exists('/$2/ts3phpbot/' . self::$iniContent['DAEMON-CONFIG']
    $pid = file_get_contents('/$3/ts3phpbot/' . self::

    That it was great!!!

  3. #18
    Join Date
    Jan 2010
    Location
    Germany
    Posts
    227
    yes beta6 will have it
    Last edited by florian_fr40; 29-03-2012 at 08:41.

  4. #19
    Join Date
    Jan 2010
    Location
    germany
    Posts
    12
    Perfect!

    I think the new Beta 5 have a Bug, when you go AFK so he move to the AFK channel but when you come back, he switch you back again and after 1 sec back to AFK channel.

  5. #20
    Join Date
    Feb 2010
    Location
    Internet
    Posts
    52

    Question

    directory = /opt/ts3phpbot/ts3phpbot.php

    as root

    ./ts3phpbot_startscript.sh start

    ./ts3phpbot_startscript.sh: 26: ./ts3phpbot.php: not found

    noob question... help please

  6. #21
    Join Date
    Jan 2010
    Location
    germany
    Posts
    12
    Is the "ts3phpbot.php" in the same directory as "ts3phpbot_startscript.sh"?
    Last edited by florian_fr40; 29-03-2012 at 08:42.

  7. #22
    Join Date
    Feb 2010
    Location
    Internet
    Posts
    52
    Yes:

    $ chmod 744 /opt/ts3phpbot/ts3phpbot.php
    $ chmod 744 /opt/ts3phpbot/ts3phpbot_startscript.sh
    Last edited by florian_fr40; 29-03-2012 at 08:41.

  8. #23
    Join Date
    Jan 2010
    Location
    germany
    Posts
    12
    Quote Originally Posted by Red33 View Post
    Perfect!

    I think the new Beta 5 have a Bug, when you go AFK so he move to the AFK channel but when you come back, he switch you back again and after 1 sec back to AFK channel.
    Problem Fixed!

    Quote Originally Posted by TeamSpeak3 View Post
    Yes:

    $ chmod 744 /opt/ts3phpbot/ts3phpbot.php
    $ chmod 744 /opt/ts3phpbot/ts3phpbot_startscript.sh
    Hm! And reupload the Files?
    Last edited by florian_fr40; 29-03-2012 at 08:05.

  9. #24
    Join Date
    Feb 2010
    Location
    Internet
    Posts
    52
    Quote Originally Posted by Red33 View Post
    Hm! And reupload the Files?
    No, just extract, move to opt, run the script and "not found" message...

  10. #25
    Join Date
    Jan 2010
    Location
    Germany
    Posts
    227
    Quote Originally Posted by TeamSpeak3 View Post
    No, just extract, move to opt, run the script and "not found" message...
    try to start the bot with

    ./ts3phpbot.php -i config/9987.ini

    to stop the bot type

    ./ts3phpbot.php -i config/9987.ini -s

    and make sure that your linux user can execute the file

  11. #26
    Join Date
    Feb 2010
    Location
    Internet
    Posts
    52
    Quote Originally Posted by faralsimbor View Post
    try to start the bot with

    ./ts3phpbot.php -i config/9987.ini

    to stop the bot type

    ./ts3phpbot.php -i config/9987.ini -s

    and make sure that your linux user can execute the file
    root@XXXXXXXX:/opt/ts3phpbot# ./ts3phpbot.php -i config/9987.ini
    -bash: ./ts3phpbot.php: /usr/bin/php: bad interpreter: No such file or directory


  12. #27
    Join Date
    Jan 2010
    Location
    Germany
    Posts
    227
    make sure that you've installed php
    Last edited by florian_fr40; 29-03-2012 at 08:43.

  13. #28
    Join Date
    Feb 2010
    Location
    Internet
    Posts
    52
    I installed lampp, don't worked, I stopped and installed the php package. Same result...

    "apt-get install php5"

    Last edited by florian_fr40; 29-03-2012 at 08:42.

  14. #29
    Join Date
    Jan 2010
    Location
    Germany
    Posts
    227
    you need to install php5-cli
    Last edited by florian_fr40; 29-03-2012 at 08:43.

  15. #30
    Join Date
    Dec 2009
    Location
    Germany
    Posts
    56
    only unix systems

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 17
    Last Post: 27-10-2010, 15:32

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •