![]() |
jTQ
jTQ is trial/quota script
Code:
- normal quota/trial for users |
hmm
Microsoft Windows XP [version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\ioFTPD\system>jscripts.exe CHECK ERROR: InitializeSharedMemory - FAILED |
and..
[22:07:54] [xxx] [22:07] can't read "jTQ(time_trigers)": no such element in array [22:07:54] [xxx] while executing [22:07:54] [xxx] "foreach prc $jTQ(time_trigers) { [22:07:54] [xxx] set n [split $prc "-"] [22:07:54] [xxx] [lindex $n 1] min hour day month year [22:07:54] [xxx] }" [22:07:54] [xxx] (procedure "jTQ:BiND" line 12) [22:07:54] [xxx] invoked from within [22:07:54] [xxx] "jTQ:BiND" [22:07:54] [xxx] (file "scripts/jTQ/jTQ.tcl" line 1631) [22:07:54] [xxx] invoked from within [22:07:54] [xxx] "source scripts/jTQ/jTQ.tcl" [22:07:54] [xxx] (file "eggdrop.conf" line 310) [22:07:54] [xxx] [22:07] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR) DCC session closed on rehash |
C:\ioFTPD\system>jscripts.exe CHECK
i have same problem ..failed |
blup :)
iNFO jTQ With jScripts.exe will work only if u have : - ioFTPD installed in c:\ioFTPD - WindowName = ioFTPD::MessageWindow --------------------------------------------------------------- INSTALATiON ... |
i have all option from your instalation nfo...but still failed :(
|
yup..
here too.. i have set that.. :/ could it be because io is running as a service ? |
it should work if u have this message window
i tested with firedaemon and it worked make sure u have interact with desktop checked -> can't read "jTQ(time_trigers)": no such element in array typo in jTQ.conf - find set jTQ(time_triggers) and change to set jTQ(time_trigers) if still doesnt work i sugest to use some other script for trial/quota ;) |
hehe..
No thanks.. i wanna try this one.. :> and after i interact it works. :) But [23:06:43] [xxx] [23:06] ..jTQ...: LOCALE UPDATE [23:06:43] [xxx] [23:06] ..jTQ...: C:/ioFTPD/system/jScripts.exe BCUSTATS 0 FAiLED (ERROR: InitializeSharedMemory - FAILED [23:06:43] [xxx] child process exited abnormally) [23:06:43] [xxx] [23:06] ..jTQ...: TRiAL CHECK [23:06:43] [xxx] [23:06] ..jTQ...: QUOTA CHECK [23:06:43] [xxx] [23:06] ..jTQ...: 528h To The End Of Month [23:06:43] [xxx] [23:06] ..jTQ...: PASSED 'CREATE' [23:06:43] [xxx] [23:06] Tcl error in file 'eggdrop.conf': [23:06:43] [xxx] [23:06] syntax error in expression "1500-": premature end of expression [23:06:43] [xxx] while executing [23:06:43] [xxx] "expr $jTQ(quota_[lindex $n 0])-$jTQ(number_amount)" [23:06:43] [xxx] (procedure "jTQ:PASSED" line 356) [23:06:43] [xxx] invoked from within [23:06:43] [xxx] "jTQ:PASSED nick uhost hand $jTQ(default_admin_chan) [lindex $line 0]" [23:06:43] [xxx] (procedure "jTQ:QUOTACHECK" line 72) [23:06:43] [xxx] invoked from within [23:06:43] [xxx] "[lindex $n 1] min hour day month year" [23:06:43] [xxx] (procedure "jTQ:BiND" line 14) [23:06:43] [xxx] invoked from within [23:06:43] [xxx] "jTQ:BiND" [23:06:43] [xxx] (file "scripts/jTQ/jTQ.tcl" line 1631) [23:06:43] [xxx] [23:06:43] [xxx] [23:06] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR) DCC session closed after i changed time trigers |
yes
because ERROR: InitializeSharedMemory - FAILED that means message window "ioFTPD::MessageWindow" was not found |
[Threads]
Process_Priority = NORMAL # Suggested process base priority (Idle/Normal/High/Realtime) Io_Threads = 2 # Number of io threads Worker_Threads = 5 # Number of worker threads Encryption_Threads = 2 # Number of encryption threads WindowName = ioFTPD::MessageWindow but after i did interact the cmd worked.. jscripts.exe CHECK just bot ****ing.. |
if jscripts.exe works its ok now
just to be sure u can run jscripts.exe bcustats 0 to see if u get some feedback for jTQ : i didnt test the script with blowfish disabled :( so thats why there was this error with jTQ(time_trigers) so when u switch to blowfish u must change back to jTQ(time_triggers) and when u rehash your bot bot will auto update stats (.jTQ...: LOCALE UPDATE) u will get output in chan for !trials and !quotas and perhaps something else so i suggest to use blowfish or wait until i post a fix |
hmm..
nice script though. Got everything working yesterday. But now this morning i get [08:34:09] [@xxx] !passed user [08:34:09] [@xxx] -xxx/QUOTA- > user has 20 Day(s) To Pass 1500/1500MB (75MB/DAY) MNUP (#4) [08:34:09] [@xxx] ..jTQ...: C:/ioFTPD/system/jScripts.exe CHANGECREDITS user -1000 FAiLED (couldn't duplicate input handle: bad file number) [20:18] Tcl error [jTQ:PASSED]: invoked "break" outside of a loop and besides, isnt it only supposed to take credits on failed and not on every check ? and on !rehash 08:32:07] [@xxx] !rehash [08:32:07] [@xxx] ..jTQ...: C:/ioFTPD/system/jScripts.exe BCUSTATS 0 FAiLED (couldn't duplicate input handle: bad file number) strange though. CAuse if i do cmd.. jscripts.exe bcustats 0 works fine and all other cmds working fine too.. And any way to make it work without interact with desktop ? otherwise sitebot window wont dissapear.. :/ And last error. on !quotas i get [13:28:15] [@xxx] -xxx/PASSED- > user (31340MB) and !passed says [13:28:11] [@xxx] -xxx/QUOTA- > user upped 29840MB/1500MB > MNUP (#1) with 20 Day(s) left which is true ? other than that. nice work. :> |
HMM..
seems i found the error. Run your eggdrop in -nt mode, and first 2 errors dissapear. But the !passed and !quotas still says different amount. 500mb last problem. how do i hide window when running -nt mode. using firedaemon ? |
31340-1500=29840
on quotas u see total amount user upped on passed u can choose betwen total , missing, how_many_over try it like this: xxx/QUOTA- > user upped 29840MB over the 1500MB quota > MNUP (#1) with 20 Day(s) left yes allways use -nt i use firedaemon interact with desktop checked and runs on hiden mode -> "credits" on end of month in config says how many MB to take from user on fail it should be kB not MB |
All times are GMT -5. The time now is 04:29 AM. |
Powered by vBulletin® Version 3.8.11 Alpha 3
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Parts of this site powered by vBulletin Mods & Addons from DragonByte Technologies Ltd. (Details)