Go Back   FlashFXP Forums > > > >

bounty's scripts BQUOTA, NEWDIR, BTRIAL, OCSCRIPT, VERSION SCRIPT, IMDB.TCL

Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 5.00 average. Display Modes
Old 03-10-2004, 12:19 PM   #46
_rage_ thegod
Member
 
Join Date: Jan 2004
Posts: 40
Default

great script, but sometimes it hangs (hangs after "Connected to XXX -> IP=XXX.XXX.XXX.XXX PORT=XXX") with the following msg in systemerror.log

Code:
--------------------------- ErrorInfo ----------------------------
couldn't open "../scripts/ocscript/server.status": no such file or directory
    while executing
"open $ocscript(PATH)/server.status r"
    (procedure "ocscript_serverstatus" line 3)
    invoked from within
"ocscript_serverstatus"
    (file "..\scripts\ocscript\OnPreUser.itcl" line 60)
------------------------------------------------------------------
this is even tho the "server.status" file existed.
_rage_ thegod is offline   Reply With Quote
Old 03-10-2004, 02:10 PM   #47
bounty
Senior Member
ioFTPD Scripter
 
Join Date: Aug 2002
Posts: 529
Default

Quote:
Originally posted by _rage_ thegod
great script, but sometimes it hangs (hangs after "Connected to XXX -> IP=XXX.XXX.XXX.XXX PORT=XXX") with the following msg in systemerror.log

Code:
--------------------------- ErrorInfo ----------------------------
couldn't open "../scripts/ocscript/server.status": no such file or directory
    while executing
"open $ocscript(PATH)/server.status r"
    (procedure "ocscript_serverstatus" line 3)
    invoked from within
"ocscript_serverstatus"
    (file "..\scripts\ocscript\OnPreUser.itcl" line 60)
------------------------------------------------------------------
this is even tho the "server.status" file existed.
hmmm it's strange ... i have no idea why you have this problem if the file already exist
bounty is offline   Reply With Quote
Old 03-11-2004, 04:22 PM   #48
_rage_ thegod
Member
 
Join Date: Jan 2004
Posts: 40
Default

its also happening with
Code:
"ocscript_userstatus"
    (file "..\scripts\ocscript\OnPreUser.itcl" line 62)
btw.

even tho the user.status file exists as a 0byte file.

you should make the script so that if it doesnt find or cant open those files, it returns 0 and lets the user login instead of having him hang on "Connected to ...................".

think this is possible?
_rage_ thegod is offline   Reply With Quote
Old 04-15-2004, 02:34 PM   #49
MalcolmX
Registered User
 
Join Date: Mar 2004
Posts: 59
Default

Using ocscript, very nice little piece of work

Just wanted to know how i can create the BYPASS flag mentioned in the install text. I need to keep a few users online even if i close the site down.
MalcolmX is offline   Reply With Quote
Old 04-15-2004, 03:23 PM   #50
odd
Senior Member
ioFTPD Registered User
 
Join Date: Sep 2003
Posts: 273
Default

Quote:
Originally posted by MalcolmX
Using ocscript, very nice little piece of work

Just wanted to know how i can create the BYPASS flag mentioned in the install text. I need to keep a few users online even if i close the site down.
In your init file u can set flags which are allowed to login while CLOSE is activated. I think default is flag 1M. Just edit your init file and add a your flag you want to use and give all users u want to be able to login this Flag. Simple as that.
odd is offline   Reply With Quote
Old 04-15-2004, 03:46 PM   #51
MalcolmX
Registered User
 
Join Date: Mar 2004
Posts: 59
Default

Quote:
Originally posted by odd
In your init file u can set flags which are allowed to login while CLOSE is activated. I think default is flag 1M. Just edit your init file and add a your flag you want to use and give all users u want to be able to login this Flag. Simple as that.
Yes, thats correct, i´ve got those flags. Then i´ll just add the suitable flag and give it to the users i want to keep when closing the site down. Thanks for your help
MalcolmX is offline   Reply With Quote
Old 04-18-2004, 10:00 PM   #52
dreadlrd
Junior Member
FlashFXP Registered User
ioFTPD Registered User
 
Join Date: Oct 2003
Posts: 8
Default

Hi..

Might have found a bug in this OCscript (awesome script btw)... when you set the site to close and login with a !nick after a couple attempts you can get in. Anyone else experienced this?
dreadlrd is offline   Reply With Quote
Old 06-21-2004, 07:49 AM   #53
test123
Junior Member
 
Join Date: Oct 2003
Posts: 29
Default

yes, its true! i have postet since 2-3month about this bug!
this bug is in ionED too! I think thats is the style/art of programming of ioftpd??? because both scripts (OCScript&ionED) have this bug..

edit:

possibly i have found a new bug with the !login, when you login with !username and you are admin/siteop and you "SITE SHUTDOWN" ioftpd than come a Memory Error, without the ! come not error...test it pls
test123 is offline   Reply With Quote
Old 06-21-2004, 10:50 AM   #54
neoxed
Too much time...
FlashFXP Beta Tester
ioFTPD Scripter
 
Join Date: May 2003
Posts: 1,326
Default

Quote:
Originally posted by test123
"SITE SHUTDOWN" ioftpd than come a Memory Error, without the ! come not error...test it pls
This is a known bug for ioFTPD, since the shutdown procedures are not finished yet. When darkones finishes his new module initialization routines, this will be fixed.

Since Beta-5.7 ioFTPD has an exception handler, so you shouldn't see those application error popups. What version of ioFTPD are you using?
neoxed is offline   Reply With Quote
Old 06-21-2004, 11:05 AM   #55
test123
Junior Member
 
Join Date: Oct 2003
Posts: 29
Default

i have test with the newest version..
test123 is offline   Reply With Quote
Old 07-29-2004, 10:08 AM   #56
XTC
Junior Member
 
Join Date: Jun 2004
Posts: 23
Default

hiho i have problems too...

07-29-2004 17:06:31 "..\scripts\ocscript\OnSiteClose.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
can't read "ocscript(PATH)": no such variable
while executing
"open $ocscript(PATH)/server.status w"
(procedure "ocscript_onsiteclose" line 5)
invoked from within
"ocscript_onsiteclose"
(file "..\scripts\ocscript\OnSiteClose.itcl" line 35)
------------------------------------------------------------------
07-29-2004 17:06:36 "..\scripts\ocscript\OnSiteOpen.itcl" terminated abnormally
--------------------------- ErrorInfo ----------------------------
can't read "ocscript(PATH)": no such variable
while executing
"open $ocscript(PATH)/server.status w"
(procedure "ocscript_onsiteopen" line 4)
invoked from within
"ocscript_onsiteopen"
(file "..\scripts\ocscript\OnSiteOpen.itcl" line 16)
------------------------------------------------------------------

greetz
XTC is offline   Reply With Quote
Old 07-31-2004, 11:43 AM   #57
Zer0Racer
Senior Member
ioFTPD Scripter
 
Join Date: Oct 2002
Posts: 703
Default

"can't read "ocscript(PATH)": no such variable"

A clue.. where is ocscript(PATH) defined?

Read the install txt?

!!! WARNING !!! !!! WARNING !!! !!! WARNING !!!
COPY init.itcl included in OCSCRIPT to ../scripts dir
if you already have ../scripts/init.itcl installed
you should open ../scripts/init.itcl (with an editor)
copy/past infos from init.itcl included in OCSCRIPT inside the other (at bottom)
you should setup ocscript part in init.itcl and SAVE
!!! WARNING !!! !!! WARNING !!! !!! WARNING !!!


In short.. your init.itcl in ioFTPD/scripts is either missing of not configured properly.

And oh.. after changing/installing init.itcl you need to restart ioFTPD. It's read on startup.
Zer0Racer is offline   Reply With Quote
Old 08-08-2004, 06:23 AM   #58
zpr
Senior Member
ioFTPD Foundation User
 
Join Date: Feb 2003
Posts: 170
Default

yup, i confirm !login bug when site is closed. just tried and !user (flag 3, ratio) logged without problems

zpr is offline   Reply With Quote
Old 08-08-2004, 11:30 AM   #59
bounty
Senior Member
ioFTPD Scripter
 
Join Date: Aug 2002
Posts: 529
Default

OCscript v3.2 is out

i finally fixed that ugly bug with "!" at login

sorry for the delay m8s i'm very busy atm

have fun
bounty
bounty is offline   Reply With Quote
Old 11-28-2004, 06:43 AM   #60
bounty
Senior Member
ioFTPD Scripter
 
Join Date: Aug 2002
Posts: 529
Default New OCscript v3.3

OCscript v3.3 is out

have fun
bounty
bounty is offline   Reply With Quote
Reply

Tags
bounty, fun, ocscript, site, usefull

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
GuildFTPd command set (import) Jesper Custom Commands 4 07-29-2011 12:41 AM


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

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