Go Back   FlashFXP Forums > > > >

Caladan's scripts project-zs, sitewho

Reply
 
Thread Tools Rate Thread Display Modes
Old 04-18-2005, 03:19 PM   #1
cyrilic
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
esmandil
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Oct 2004
Posts: 107
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
cyrilic
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
esmandil
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Oct 2004
Posts: 107
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

Tags
complete, n++, newest, racei-total.files

Thread Tools
Display Modes 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

Forum Jump

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


All times are GMT -5. The time now is 12:43 PM.

Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)