Go Back   FlashFXP Forums > > > >

StarDog's scripts ioZS, newday

Reply
 
Thread Tools Rating: Thread Rating: 7 votes, 5.00 average. Display Modes
Old 09-23-2003, 03:06 PM   #136
Unique
Senior Member
 
Join Date: Jan 2003
Posts: 231
Default

Quote:
Originally posted by StarDog
$pwd is the ioFTPD environment variable PWD= with the rightmost "/" removed.
Read my bug post and youll see why.
Noone ever replyd on any of it so i guess noone cares :/
Unique is offline   Reply With Quote
Old 09-23-2003, 04:06 PM   #137
Stardog
Senior Member
FlashFXP Registered User
ioFTPD Scripter
 
Join Date: Oct 2001
Posts: 236
Default

Quote:
Originally posted by Unique
Read my bug post and youll see why.
Noone ever replyd on any of it so i guess noone cares :/
Your path may have exceeded the 260 character limit.

From MSDN library:

Maximum Path Length
In the Windows API, the maximum length for a path is MAX_PATH, which is defined as 260 characters.

In NeoXed's example, it doesn't look like his path exceeds that, but then again, I don't know how deep his directory structure goes.
Stardog is offline   Reply With Quote
Old 09-23-2003, 09:28 PM   #138
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

Edit: nm, i think i found my problem...
neoxed is offline   Reply With Quote
Old 09-24-2003, 11:29 AM   #139
Unique
Senior Member
 
Join Date: Jan 2003
Posts: 231
Default

Quote:
Originally posted by StarDog
Your path may have exceeded the 260 character limit.

From MSDN library:

Maximum Path Length
In the Windows API, the maximum length for a path is MAX_PATH, which is defined as 260 characters.
Oh stupid limitation!
But io manages to make the dirs just fine..
260 seems very much to me :S
Lets see:
9-24-2003 18:26:42 NEWDIR: "Unique" "SiteOp" "/Request/Armin_Van_Buuren-Live_on_Galaxy_FM_(Exclusive_Mix)-SAT-07-06-2003-TWCLIVE" "d:\topftp\Request\Armin_Van_Buuren-Live_on_Galaxy_FM_(Exclusive_Mix)-SAT-07-06-2003-TWCLIVE"
09-24-2003 18:26:42 SFV: "/Request" "Got SFV for Armin_Van_Buuren-Live_on_Galaxy_FM_(Exclusive_Mix)-SAT-07-06-2003-TWCLIVE. Expecting \0021\002F."

This is too long already, quickly count arount 74 chars.
This works:
9-24-2003 18:27:22 NEWDIR: "Unique" "SiteOp" "/Request/Armin_Van_Buuren-Live_on_Galaxy_-TWCLIVE" "d:\topftp\Request\Armin_Van_Buuren-Live_on_Galaxy_-TWCLIVE"
09-24-2003 18:27:22 SFV: "/Request/Armin_Van_Buuren-Live_on_Galaxy_-TWCLIVE" "Got SFV for .....

seeya
/edit: using 1.06 still, havent upfgraded to v5 ioftpd yet..
Unique is offline   Reply With Quote
Old 09-24-2003, 12:54 PM   #140
Stardog
Senior Member
FlashFXP Registered User
ioFTPD Scripter
 
Join Date: Oct 2001
Posts: 236
Default

That last post has me stumped....I'm not sure what your trying to say...from those examples, everything looks fine...
Stardog is offline   Reply With Quote
Old 09-24-2003, 02:48 PM   #141
Unique
Senior Member
 
Join Date: Jan 2003
Posts: 231
Default

Find the 10 differences:
09-24-2003 18:26:42 SFV: "/Request" "Got SFV for Armin_Van_Buuren-Live_on_Galaxy_FM_(Exclusive_Mix)-SAT-07-06-2003-TWCLIVE. Expecting \0021\002F."

09-24-2003 18:27:22 SFV: "/Request/Armin_Van_Buuren-Live_on_Galaxy_-TWCLIVE" "Got SFV for .....
Unique is offline   Reply With Quote
Old 09-24-2003, 03:35 PM   #142
Stardog
Senior Member
FlashFXP Registered User
ioFTPD Scripter
 
Join Date: Oct 2001
Posts: 236
Default

Ahh, crap...I found the problem. I didn't actually have it set to MAX_PATH as the limit, I was using a 80 char buffer instead...Easily fixed for next release...(which I'll put up shortly)...
Stardog is offline   Reply With Quote
Old 09-24-2003, 04:10 PM   #143
Unique
Senior Member
 
Join Date: Jan 2003
Posts: 231
Default

Hehe thanks mate
That will fix my lame announce problems
And now some average race speed cookie would be cool (race size/race time, not the average speed of all files)
Spank me if im too blind to see it if it was already there
Unique is offline   Reply With Quote
Old 09-24-2003, 04:15 PM   #144
Stardog
Senior Member
FlashFXP Registered User
ioFTPD Scripter
 
Join Date: Oct 2001
Posts: 236
Default

I'll see about that cookie...Right now I'm tracking down the postdel with mp3s problem...

And oh BTW DoBBeR, I added the ONNFOUPLOADED= option for the next release
Stardog is offline   Reply With Quote
Old 09-25-2003, 01:10 AM   #145
-=DoBBeR=-
Senior Member
ioFTPD Registered User
 
Join Date: Oct 2002
Posts: 298
Default

-=DoBBeR=- is offline   Reply With Quote
Old 09-25-2003, 06:51 PM   #146
BrAv3HeArT
Junior Member
 
Join Date: Jul 2003
Posts: 11
Default

I've a problem, i'm not able to set up correctly ionewday. With timeoffset=+5 and NewDay = 0 0 * * ..\scripts\ioZS\ioNewDay.exe
(dafault values) the dir are created at 2.00a.m. I'm in zone +1h GMT, the fuse of rome...if someone can help me answer me tnx

There is also a way to try those values without change the clock time? tnx again
BrAv3HeArT is offline   Reply With Quote
Old 09-25-2003, 09:39 PM   #147
zpr
Senior Member
ioFTPD Foundation User
 
Join Date: Feb 2003
Posts: 170
Default

try to set newday = 0 22 * * (ioftpd.ini)

and TIMEOFFSET=+2 (iozs.ini)

works here
zpr is offline   Reply With Quote
Old 09-26-2003, 12:31 PM   #148
BrAv3HeArT
Junior Member
 
Join Date: Jul 2003
Posts: 11
Default

Tnx m8 i'll try it and tell u the results
BrAv3HeArT is offline   Reply With Quote
Old 09-29-2003, 01:10 PM   #149
Stardog
Senior Member
FlashFXP Registered User
ioFTPD Scripter
 
Join Date: Oct 2001
Posts: 236
Default 1.08 released

I just posted 1.08. See the first post in this thread for the changes, or go to www.iozs.com for the update and details.

BTW: This version should work like a champ with multiple racers/ release.
Stardog is offline   Reply With Quote
Old 09-30-2003, 06:10 AM   #150
Bratell
Member
FlashFXP Registered User
 
Join Date: Feb 2003
Posts: 64
Talking Re: 1.08 released

Quote:
Originally posted by StarDog
I just posted 1.08....
Great stuff.. as always
Bratell is offline   Reply With Quote
Reply

Tags
cookie, file, fixed, iozs, logging

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 08:56 AM.

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