Go Back   FlashFXP Forums > ioFTPD Forum > ioFTPD > Scripting > Caladan's scripts

Caladan's scripts project-zs, sitewho

Reply
 
Thread Tools Rate Thread
Old 04-18-2005, 03:19 PM   #1
Junior Member
 
Join Date: Apr 2005
Posts: 2
Default progress bar help please !

k so i got some code off of this board trying to get this working and i have a prob. It all works, but when i complete a release, the dir has 10 or so incomplete bars left behind and i have to delete them. the dir has a complete bar as well. i am using the newest version of project-zs and newest verison of ioFTPD

convert.h
Quote:
void buffer_progress_bar(struct VARS *raceI)
{
int n;

if(raceI->total.files_missing == 0 && raceI->total.files ==0)
{
for(n=0; n < 14; n++)
raceI->misc.progress_bar[n] = progressmeter_filled_char;
}
else
{
raceI->misc.progress_bar[14] = 0;
for ( n = 0 ; n < (raceI->total.files - raceI->total.files_missing) * 14 / raceI->total.files ; n++) raceI->misc.progress_bar[n] = '#';
for ( ; n < 14 ; n++) raceI->misc.progress_bar[n] = '_';
}
}
config.h
Quote:
#define progressmeter "[%V] - %3.0p%% Complete - [PLS]"
#define del_progressmeter "\\[..............] - ...% Complete - \\[PLS]"
help please thanks !
cyrilic is offline   Reply With Quote
Old 04-20-2005, 02:40 PM   #2
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Oct 2004
Posts: 113
Default

Which compiler did you use? I have seen similar problems when compiled with MinGW.

Try using Borland or Microsoft... both can be downloaded for free, even if it is a little tricky to find them
esmandil is offline   Reply With Quote
Old 04-22-2005, 11:17 AM   #3
Junior Member
 
Join Date: Apr 2005
Posts: 2
Default

yeah i used borland compiler ..
cyrilic is offline   Reply With Quote
Old 04-24-2005, 09:09 AM   #4
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Oct 2004
Posts: 113
Default

Then it is strange... Try running in debug mode and take a look at .ioFTPD.debug file -- are there any signs of problems there? Any error messages?
esmandil is offline   Reply With Quote
Reply
Create a free account to browse our forums without ads



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
two servers wont FXP lostlamb General Discussions 1 03-22-2005 09:01 PM
how to change F8 to something else? Gary King General Discussions 1 11-10-2004 06:03 PM


All times are GMT -5. The time now is 02:42 PM.