Go Back   FlashFXP Forums > > > >

Caladan's scripts project-zs, sitewho

Reply
 
Thread Tools Rate Thread Display Modes
Old 11-16-2004, 09:29 AM   #1
esmandil
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Oct 2004
Posts: 107
Default A few bugfixes to Project-ZS

Hello,

I have released what I have fixed in Project-ZS. Have fun
Let me know if there are any more problems.

Changelog:

0.0.7.3.c (16.11.2004 by esmandil)
+ Added option to create *.bad files on wrong upload instead of simply deleting the file).
* Fixed imdb data retrieval.
* Improved removal of complete bar.
* Fixed path recognition (in case of upload to different directory than the current one).

added to config.h:
#define bad_file_name ".bad" // use "" to disable
esmandil is offline   Reply With Quote
Old 11-16-2004, 11:28 AM   #2
jeza
Senior Member
ioFTPD Scripter
 
jeza's Avatar
 
Join Date: May 2003
Posts: 530
Default

#define use_build_in_imdb_functions FALSE
->>
Code:
Error E2268 .\Source\main.cpp 705: Call to undefined function 'get_url' in function main(int,char * *)
Error E2268 .\Source\main.cpp 706: Call to undefined function 'GetIMDBID' in function main(int,char * *)
Error E2268 .\Source\main.cpp 707: Call to undefined function 'parse_source' in function main(int,char * *)
Error E2268 .\Source\main.cpp 708: Call to undefined function 'printout' in function main(int,char * *)
#define debug_mode FALSE
->>
Code:
Error E2268 .\Source\main.cpp 733: Call to undefined function 'debug_log_noTime' in function main(int,char * *)
Error E2268 .\Source\main.cpp 734: Call to undefined function 'debug_log_noTime' in function main(int,char * *)
compile only when this 2 options are true
else
this errors
jeza is offline   Reply With Quote
Old 11-16-2004, 02:08 PM   #3
esmandil
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Oct 2004
Posts: 107
Default

Hmm... then, don't set those options to false

Seriously, I will fix it if I ever make next release.
esmandil is offline   Reply With Quote
Old 12-14-2004, 01:35 PM   #4
dudu
Junior Member
ioFTPD Registered User
 
Join Date: Jul 2003
Posts: 17
Default

I just want to congratulate u esmandil

Im a huge fan of caladan's scripts, and im using project-zs 4 a long time now. :banana:

Latest version ( ProjectZS.0.0.7.3 ) was giving me some problems, ie. it was crashing when some *.nfo's were uploaded, probably imdb data problem.

So i decide to test this new fix u made, and p00f, imdb working great with those *.nfo's i said before.

So, im happy, i'll be testing yer new fix 4 now and i'll let u know if i find some prob...

Thats all folks

Thanks 4 yer fix esmandil, keep the good job

Last but not least, i would like to send my best wishes to Caladan and his pzs, dedicated to his daughter.. I hope u come back m8 ioFTPD community is missing u =]
dudu is offline   Reply With Quote
Old 12-14-2004, 05:33 PM   #5
caladan
Senior Member
ioFTPD Scripter
 
Join Date: Jan 2003
Posts: 179
Default

yeah i come back
caladan is offline   Reply With Quote
Old 12-15-2004, 01:43 PM   #6
lucaz
Member
ioFTPD Foundation User
 
Join Date: Sep 2003
Posts: 77
Default

i use bloodshed dev-C++

Compiler: Default compiler
Building Makefile: "D:\test\Makefile.win"
Executing make...
make.exe -f "D:\test\Makefile.win" all
g++.exe -c Source/main.cpp -o Source/main.o -I"C:/Dev-Cpp/include/c++/3.3.1" -I"C:/Dev-Cpp/include/c++/3.3.1/mingw32" -I"C:/Dev-Cpp/include/c++/3.3.1/backward" -I"C:/Dev-Cpp/lib/gcc-lib/mingw32/3.3.1/include" -I"C:/Dev-Cpp/include" -w

Source/main.cpp: In function `int main(int, char**)':
Source/main.cpp:963: error: invalid conversion from `const void*' to `void*'
Source/main.cpp:1003: error: invalid conversion from `const void*' to `void*'
Source/main.cpp:1004: error: invalid conversion from `const void*' to `void*'

make.exe: *** [Source/main.o] Error 1

Execution terminated


can someone help plz?
lucaz is offline   Reply With Quote
Old 12-15-2004, 01:58 PM   #7
lucaz
Member
ioFTPD Foundation User
 
Join Date: Sep 2003
Posts: 77
Default

nvm i already found that out, but when i change the config.h file and compile, the project-zs.exe is still the same as before i changed the config.h file ? ????


//include the config
#include "../config/config.h" //config file for Project-ZS
lucaz is offline   Reply With Quote
Old 02-03-2005, 04:08 PM   #8
esmandil
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Oct 2004
Posts: 107
Default

Well, I think it is time for next version of the bugfixes

Changelog:

* Reported release size should work for DVDR and larger now.
* Fixed another bug in imdb data retrieval.
+ Added option to not announce sfv upload for short releases.
* Fixed compile errors for noDEBUG and noIMDB modes.
+ Now removes *.bad files after successful upload of respective file.

Supported compilers:
free Borland compiler 5.5.1
free Microsoft compiler: Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 13.10.3077 for 80x86

I don't have Dev-C++ and postdel doesn't seem to work when compiled with MinGW... so use one of the above compilers or don't whine
esmandil is offline   Reply With Quote
Old 02-04-2005, 01:59 AM   #9
iam
Senior Member
 
Join Date: Mar 2004
Posts: 289
Default

Nice I will test
Can you fix http://www.ioftpd.com/board/showthre...&threadid=4451 ?
iam is offline   Reply With Quote
Old 02-04-2005, 05:05 AM   #10
esmandil
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Oct 2004
Posts: 107
Default

I may take a look - I personally don't use sorting (BTW, is it even working reliably? I think I had some problems with it long ago) so I have never seen this problem. I don't know how easy will it be to fix.
esmandil is offline   Reply With Quote
Old 02-06-2005, 06:59 AM   #11
Luke
Member
 
Join Date: Oct 2003
Posts: 50
Unhappy Borland - still doesn work

#define debug_mode false
#define benchmark_mode false

compile log;

Error: Unresolved external 'debug_log(char *, ...)' referenced from Z:\IOFTPD\SC
RIPTS\PROJECTZS\RELEASE\MAIN.OBJ
Luke is offline   Reply With Quote
Old 02-06-2005, 11:53 AM   #12
esmandil
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Oct 2004
Posts: 107
Default

Quote:
* Fixed compile errors for noDEBUG and noIMDB modes.
So, apparently, I didn't

Use #define debug_mode true

Maybe next time... or, if you are desperate, put:

PHP Code:
#if ( debug_mode == TRUE )
  
int debug_log(char *fmt, ...);
#else
# define debug_log
# define debug_log_noTime
#endif 
instead of
PHP Code:
int debug_log(char *fmt, ...); 
in imdb.h
esmandil is offline   Reply With Quote
Old 02-06-2005, 12:30 PM   #13
Luke
Member
 
Join Date: Oct 2003
Posts: 50
Default Borland Compiler

Works now, with your instruction. Thanks for all the fix !:banana:
Luke is offline   Reply With Quote
Old 03-02-2005, 04:59 PM   #14
prozak
Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Apr 2004
Posts: 30
Default pzs mp3genre bugs

nice to see some1 take up caladans work .

Ive been having random bugs quite regularly where the genre will show as *unknown* while the tagging is done properly. Any idea if your fix adresses that problem? Or does anyone else know a fix?
prozak is offline   Reply With Quote
Old 03-03-2005, 08:53 AM   #15
esmandil
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Oct 2004
Posts: 107
Default

I have added it to my TO DO list, but... I don't do much with mp3s and I don't know much about them, so chances of me fixing anything there are actually pretty slim.
esmandil is offline   Reply With Quote
Reply

Tags
added, fixed, project-zs, retrieval, upload

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


All times are GMT -5. The time now is 03:10 PM.

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