You are here: Big Brother Bot ForumCommunity DevelopersPlugin DevelopersBugs in ftpytail at 1.2.2
Pages: [1]   Go Down
  Print  
Author Topic: Bugs in ftpytail at 1.2.2  (Read 907 times) Bookmark and Share
Jr. Member
**
Posts: 40
Offline Offline
« on: February 09, 2010, 02:30:08 PM »

Hello,

I don't know where with this Topic, so I hope I'm right here.

I just tryed the beta version of B3 1.2.2 in COD2 with ftpytail. But I get some errors about the FTP connection. I thought it is becouse my slow connection. When I connect to the gameserver with ftp, I need to wait some secounds (about 15) till I get the welcome message and can use ftp. So I tried to set this var to 30 sec "_waitBeforeReconnect = 30" (I hope it is a var, I'm not famylar with python) in ftpytail.py. But it does not help so I just replace the ftpytail with one from 1.2.1 and see it works fine now. May U can take look at the loogfile. See the log in the attachment.

[attachment deleted by maintenance - older than 60 days]
« Last Edit: February 09, 2010, 02:32:54 PM by Unknow Soldier » Logged

Senior Dev.
*
OS: Linux
Type: Home user
Posts: 3484
Offline Offline
WWW
Support Specialty: B3-Core, UrT/SmG/BFBC2 parsers, Plugin development
« Reply #1 on: February 09, 2010, 02:50:46 PM »

can you try ftpytail v1.4 from latest 1.2.2 beta ? http://github.com/courgette/big-brother-bot/blob/master/b3/plugins/ftpytail.py

v1.4 forces FTP binary mode which is required on some FTP servers to get the SIZE command to work.

Else, if you do think the connection lag is an issue and hit the timeout, then you can tweak the timeout value from the b3.xml config file as such :

create a plugin_ftpytail.xml file :
Code:
    <configuration plugin="ftpytail">
        <settings name="settings">
            <set name="timeout">60</set>
            <set name="maxGapBytes">1024</set>
        </settings>
    </configuration>

Then in b3.xml make the ftpytail plugin use that config file :
Code:
<plugin name="ftpytail" priority="6" config="@b3/conf/plugin_ftpytail.xml" />
« Last Edit: February 09, 2010, 02:57:19 PM by Courgette » Logged

Jr. Member
**
Posts: 40
Offline Offline
« Reply #2 on: February 20, 2010, 01:47:08 PM »

yeah, this one works fine. Cheesy
Thank You
Logged
Tags: remote ftp ftpytail 
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal