View Single Post
Old 09-06-2004, 12:44 PM  
MonsterDK1212
Guest
 
Posts: n/a
Default Btrial shows no users

Btrial shows no users when added via gadduser. !trial in chan shows this...

[BTrial 2.5] - [Rules: 7 Days]
[BTrial 2.5] - [UserList: Empty]

There are users in the "trial" group added via gadduser!

I am using...
ioFTPD-beta5-8-5r
dZSbot 1.15
ioA 1.19
ioZS 2.03
Btrial[1].2.5

No error is reported in the eggy or telnet related to this.

I added the tcl to the eggy configed as below (BTrial.tcl)

# LOCATIONS
# set here the root of ioftpd dir
set btlocation(IOFTPD) "C:/ioFTPD"
# set here the path of btrial dir
set btlocation(BRTIAL) "C:/ioFTPD/scripts/btrial"

# SITENAME
set btrial(SITENAME) "XXXX"

# SECTIONS
set btrial(SECTIONS) "0EFAULT:3072"

# set here if you want the OUTPUT in (1 line = 1) or in (multilines = 0)
set btrial(OUTPUT) 0

## dZSbot SETUP
# Do you use dZSbot ?? (NO = 0 , YES = 1)
set btrial(DZSBOT) 1

# ANNOUNCES
# !!! btannounce(RULES) NEED TO BE WRITED BY HAND FOR YOUR NEEDS IT'S AN INFORMATION LINE ONLY !!!
set btannounce(HEADER) "-%sitename- \[BTrial %btver\] -"
set btannounce(RULES) "\[Rules: %bold7 Days%bold\]"
set btannounce(TIMER) "\[Time Remaining: %bold%timer%bold\]"
set btannounce(CORE) "\[Section: %bold%section%bold - Status: %bold%upped%bold/%trialMB - %status\]"
set btannounce(ULIST) "\[UserList: %bold%ulist%bold\]"
set btannounce(DEFAULT) "\[%bold%user%bold isn't on trial\]"

# BLOWFISH ENCRYTION KEY & HEADER TAG
# (btblfs(KEY) "" = no encryption)
set btblfs(KEY) "test"
set btblfs(HEADER) "mcps"

------------------------------------------------------
init.itcl in root of ioFTPD/scripts folder

lines from init.itcl....
################################################## ###############################
##### GLOBAL BTRIAL 2.5 INI #####
# setup here the path of btrial
set btrial(PATH) "../scripts/btrial"

# name of your trial group (case sensitive)
set btrial(GROUP) "trial"

# name of the default group if user passed succesfully his trial (case sensitive)
set btrial(PASSED) "iND"

# duration of trial (in days)
set btrial(DAYS) 7

# stats section you want use (you can set multiple stats sections between 0-9)
# syntax : set btrial(SECTION) "<sectionID#>:<sectionNAME>:<QUOTA MB> <sectionID#>:<sectionNAME>:<QUOTA MB>"
# exemple: set btrial(SECTION) "0EFAULT:4096 1:MP3:2048 2:0DAY:2048"
set btrial(SECTIONS) "0EFAULT:3072"
-----------------------------------------------------------
TrialIdTable file shows Empty!!

thanks in advance for your help
  Reply With Quote