Old 09-18-2003, 10:54 AM   #1
Guardian
Senior Member
 
Join Date: May 2003
Posts: 131
Default ioTRiAL (SnypeTest)

with fresh setup of io 5.13 the script always replies with "quota hasnt been started yet" ...
tried to start it like the old one with "ioTRIAL.exe Quota_Start" but wont work, are there new triggers to get it working ? Ur new txt only tells about testing .. :\ and script just creates an empty ioTRiAL.dat ...

grtz
Guardian
Guardian is offline   Reply With Quote
Old 09-18-2003, 01:34 PM   #2
alturismo
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Nov 2001
Posts: 265
Default

lo,

i also have some slighter probs left with ioTRiAL

-- ioTRial.exe qnow

doesnt add the users to quota wich are already on site,
not iND,... or the EXEMPTED like SiteOP,...

dat file looks like
-
setup_quota_starts=09-18-2003
setup_quota_ends=10-01-2003
setup_quota_started=1
-
but no users added, must be all added manually..

-- site quota add <user>

no announce in IRC like ->- [QUOTA] + xxx has been added to quota.

also doesnt appear in the !passed like the trial users

sample

!passed
> (iNFO) There are 0 user(s) on quota and 1 user(s) on trial.
!passed user1
> (TRiAL) user1/TRiAL has 1 day(s) left, and uploaded 0mB. Needs 50.0mB to pass (50mB)....
!passed user2
> (QUOTA) mrt@iND has uploaded 0.0mB. Needs 100mB to pass (100mB/Month) and Theres 13 day(s) left....
!info quota total
> (QUOTA) There are 1 user(s) on Quota.

so actually on !passed user2 & !info quota total the quota user is there,
but not on !passed command

-- >- [TRIAL] + Congratulations user has passed trial.

this announce doesnt work here anymore with latest ioTRiAL,
working only with 5.0.14 or so


setup is

io5.13, ioA0.81, ioZS 1.06, newDir 2.2, dzsbot 0.0.85, ..

may any conclusions for that ?

cheers ahead
alturismo is offline   Reply With Quote
Old 09-18-2003, 03:42 PM   #3
Guardian
Senior Member
 
Join Date: May 2003
Posts: 131
Default

hm, just tried trial cause i dont need quota, but i have exactly the same problem/output as above :\
Guardian is offline   Reply With Quote
Old 09-18-2003, 06:07 PM   #4
SnypeTEST
Senior Member
ioFTPD Scripter
 
Join Date: Feb 2003
Posts: 458
Default

Altulrismo & Guardian
Quote:
-- ioTRial.exe qnow

doesnt add the users to quota wich are already on site,
not iND,... or the EXEMPTED like SiteOP,...

dat file looks like
-
setup_quota_starts=09-18-2003
setup_quota_ends=10-01-2003
setup_quota_started=1
-
but no users added, must be all added manually..
iotrial.exe test , should tell you if those users are exempt or not... if they arent then theres no reason why they wouldnt be added. I mean, even exempt users are added.

Mostlike your iotrial.conf is set wrong.
Code:
#ioFTPD DIR
ioFTPD=k:\ioFTPD\
UserTABLE=k:\ioFTPD\etc\passwd
GroupTABLE=k:\ioFTPD\etc\Group
UserFolder=k:\ioFTPD\Users\
change user/group table to the proper values....

Guardian

Quote:
start it like the old one with "ioTRIAL.exe Quota_Start" but wont work, are there new triggers to get it working ? Ur new txt only tells about testing .. :\ and script just creates an empty ioTRiAL.dat ...
Read the README.TXT and install iotrial correctly plz.
Code:
===========
2. INSTALL
===========
- extract iotrial.exe/conf to the same folder where ioFTPD.exe is located.... <-- REQUIRED!
- edit iotrial.conf , especially the WINDIR= 
- when done, do this "iotrial.exe test" and make sure everything looks good..
- add these to ioftpd.ini (copy and paste them!)

[Scheduler]
iotrial_checkup           = * * * * iotrial.exe checkup
iotrial_newday           = 0 0 * * iotrial.exe newday

[Events]
OnUploadComplete = iotrial.exe UD

[Pre]
dele = iotrial.exe PREDL

[Post]
dele = iotrial.exe POSDL

[Scripts]
TRIAL     = ioTRIAL.exe ST
QUOTA     = ioTRIAL.exe SQ

- to display iotrial stats line on ftp for users like below...
226-[PWD: /00Day/ ]-[Section: Default]-[Credits: 0.0M]-[Ratio: Unlimited]-[Speed: 149.9kb/s]
226-[QUOTA]-[User: wtf]-[UPLOADED: 0MB]-[MBLEFT: 2MB]-[DAYSLEFT: 4]

put this in your ..\text\ftp\stat.msg (edit the path duh!)

%[execute(F:\ioftpd\system\iotrial.exe)(STATS)]

- Load up ioTRIAL.tcl on your windrop :) after you edit it.. ofcourse


===========
3. FEATURES
===========

EXE PARAMETERS:
--------------
iotrial.exe qstart - set quota to start next month
iotrial.exe qnow   - start the quota now

FTP SITE COMMANDS:
-----------------

site trial
=========
add <user>
del <user>
give <user> <mb>

site quota
=========
add <user>
del <user>
give <user> <mb>

IRC WINDROP COMMANDS:
--------------------
!passed - shows total users in trial/quota
!info quota total - shows total users in quota
!info quota passed - shows passed users in quota
!info quota exempt - shows exempt users from quota
!info trial - shows total users in trial
!info trial all - shows all users in trial
SnypeTEST is offline   Reply With Quote
Old 09-18-2003, 11:00 PM   #5
Guardian
Senior Member
 
Join Date: May 2003
Posts: 131
Default

all parameters are set correctly ...
exe test shows all users (exempted are also shown correctly) but none getting added to the dat files ...

on irc i get this:

TEST (iNFO) There are 0 user(s) on quota and 0 user(s) on trial.

TEST (QUOTA) *****@SiTEOP isnt in quota for this month yet.

pretty wierd isnt it ...

the config file looks like this:

Quote:
#ioFTPD DIR
ioFTPD=c:\ioFTPD\
UserTABLE=c:\ioFTPD\etc\UserIdTable
GroupTABLE=c:\ioFTPD\etc\GroupIdTable
UserFolder=c:\ioFTPD\Users\

# DIRS TO EXCLUDE FROM DATA UPDATING WHEN UPLOAD IN COMPLETE
EXCLUDED_DIRS=/REQUESTS/|/SPEEDTESTS/|/GROUPS/|/GROUPS2/

# WINDOWS SETUP
WINDIR=c:\WINNT\
Guardian is offline   Reply With Quote
Old 09-18-2003, 11:39 PM   #6
Guardian
Senior Member
 
Join Date: May 2003
Posts: 131
Default

found the problem ... i have to add each user by hand to quota or trial via site command :\ ... i took over my old users from 4.94 to new version, maybe that caused the "trouble"
Guardian is offline   Reply With Quote
Old 09-19-2003, 01:44 AM   #7
alturismo
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Nov 2001
Posts: 265
Default

well, i gave another try with an fresh install of ioFTPD,
cause i also took my users from 494 to 5013 to check it out

1.
C:\Programme\ioFTPD\system>iotrial.exe test


######## ioTRIAL FTP TEST DONE #######

Connected to FTP !

anonymous@ioftpd FLAGS:3A [EXEMPTED GROUP: ioftpd]
darkone@lSpeed FLAGS:3HG
ioFTPD@ioftpd FLAGS:1MTH [EXEMPTED GROUP: ioftpd]
mrt@iND FLAGS:3
SiteBot@ioftpd FLAGS:1 [EXEMPTED GROUP: ioftpd]
tester@TRiAL FLAGS:3

2.
C:\Programme\ioFTPD\system>iotrial.exe qnow

C:\Programme\ioFTPD\system>

3.
setup_quota_starts=09-19-2003
setup_quota_ends=10-01-2003
setup_quota_started=1

-- ending up like before ..
alturismo is offline   Reply With Quote
Old 09-19-2003, 05:21 AM   #8
SnypeTEST
Senior Member
ioFTPD Scripter
 
Join Date: Feb 2003
Posts: 458
Default

fixed. 5.1.8
http://snype.us/iotrial/
SnypeTEST is offline   Reply With Quote
Old 09-19-2003, 08:52 AM   #9
alturismo
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Nov 2001
Posts: 265
Default

great, qnow working now

only left some small announces as posted above hehe

real nice work snype
alturismo is offline   Reply With Quote
Old 09-19-2003, 08:54 AM   #10
Guardian
Senior Member
 
Join Date: May 2003
Posts: 131
Default

just installed and tested ... it adds all users now but doesnt mark the users on !passed as "filled"

on !passed it says that 7 ppl are left on quota for this month but shows the ppl that have already passed that they are still missing 5g/m ?

!info quota passed puts out : (QUOTA) 0 User(s) passed quota.

:\
Guardian is offline   Reply With Quote
Old 09-19-2003, 09:17 AM   #11
SnypeTEST
Senior Member
ioFTPD Scripter
 
Join Date: Feb 2003
Posts: 458
Default

fixed. 5.1.9
http://snype.us/iotrial/
SnypeTEST is offline   Reply With Quote
Old 09-19-2003, 01:00 PM   #12
alturismo
Senior Member
FlashFXP Registered User
ioFTPD Foundation User
 
Join Date: Nov 2001
Posts: 265
Default

as the little bugs get away, i though may an suggestion
about IRC command for future releases

IRC WINDROP COMMANDS:
--------------------
!passed - shows total users in trial/quota
!info quota - shows total users in quota <-- let the total away like @info trial
!info quota all - shows all users in quota <-- would be nice
!info quota passed - shows passed users in quota
!info quota exempt - shows exempt users from quota
!info trial - shows total users in trial
!info trial all - shows all users in trial

just a little suggest , thx for the great script btw
alturismo is offline   Reply With Quote
Reply

Tags
script, triggers, txt, work, working

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 10:31 AM.

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