Go Back   FlashFXP Forums > > > >

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

Reply
 
Thread Tools Rate Thread Display Modes
Old 09-06-2004, 12:44 PM   #1
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
Old 09-06-2004, 12:48 PM   #2
IceCube_2
Junior Member
 
Join Date: May 2004
Posts: 13
Default Re: Btrial shows no users

Quote:
Originally posted by MonsterDK1212

init.itcl in root of eggdrop/scripts folder
Ummmm.... What is that file doing there ? It's supposed to be in the scripts folder in ur ioFTPD dir.
IceCube_2 is offline   Reply With Quote
Old 09-06-2004, 12:53 PM   #3
MonsterDK1212
Guest
 
Posts: n/a
Default my error

ffs... my error... it IS in the io scripts folder... appologies, ok changed in original post
  Reply With Quote
Old 09-06-2004, 12:54 PM   #4
IceCube_2
Junior Member
 
Join Date: May 2004
Posts: 13
Default

Did you use SITE GADDUSER or site gadduser ?
IceCube_2 is offline   Reply With Quote
Old 09-06-2004, 01:18 PM   #5
MonsterDK1212
Guest
 
Posts: n/a
Default sorted

that was it! lower case works .... thanks /|
  Reply With Quote
Old 11-24-2004, 09:12 PM   #6
Kazi
Junior Member
 
Join Date: Nov 2004
Posts: 11
Default

you can also edit PreSite and PostSite in the scripts/btrial dir to look for GADDUSER as opposed to gadduser, that way it'll work with most of the flashfxp command sets, that or you could edit the command sets, but i changed the files themseleves and it works great!
Kazi is offline   Reply With Quote
Reply

Tags
btrial, set, shows, trial, users

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
how to change F8 to something else? Gary King General Discussion 1 11-10-2004 07:03 PM


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

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