Old 01-01-2004, 10:17 AM   #1
Blisters
Junior Member
 
Join Date: Jan 2004
Posts: 12
Default Credit Transfer System

Hello, here comes a little information about a script that I have been developing for a while. It's called CTS and was in the beginning a script to transfer credits between ioFTPD, glFTPD and Raiden ftpservers. Today it has grown a little larger and has the following commands (only glFTPD and ioFTPD support thou):

Public irc commands
!affils
list affils. If sitename is include show only that site. All affils are exempted from monthly quota ([user] is in affiliated group [group]....)

!bnc
bnc list. If sitename is included the sitebnc, shows if it's possible to logon to the site

!bw
sitering bandwidth usage (bandwidth show per site and a total)

!credits [login]
Show how much credits you have

!links
Show sites connected to system and theit status (linked, offline or dissabled)

!monthup [login]
Shows Month Up stats on all sites

!monthdn [login]
Shows Month Down stats on all sites

!passed [login]
Check monthly quota

!filter failed|passed|all
Shows all users that have failed|passed quota or if "!filter all" is used then show all users and what their status is

Public PRIVMSG commands
/msg xXx transfer [login] [pass] [from] [to] [amt]
Move credits from site [from] to [to]. User must validate himself as [login]. The creditstransfer is executed for the user [login].

/msg xXx addip [login] [pass] [IP]
Add ip to [login]. Again user validation is done by verifying username/password on local userlist

/msg xXx delip [login] [pass] [IP]
Delip

/msg xXx listip [login] [pass]
List your ips

Operator commands (theese commands require that +O is set on the user in the eggdrop
/msg xXx addftpuser [group] [login] [pass] [ip]
/msg xXx delftpuser [login]
/msg xXx addgroup [group]
/msg xXx delgroup [group]
!opfilter [passed|failed|exempt]

Requirements.

First and most important. The CTS script must be installed on a glFTPD site (2 reasons for it, first script is an addon to f|owmans sitebot and second uservalidation is done against an glFTPD userlist)
The glftpd sites should all use standart outputs on the commands and ioFTPD sites should have ioA installated (site give,take is used)

Almost every aspect of the script configuration is done by using .sset commands on DCC. Meaning that if you have installed the scripts and are up and running then u should not need to access the computer directly, everything can be done from telnet/dcc (including script updates).

Unfortunally the script isn't yet ready to be released in public since I need to remake the configuration so it will be easier, but Im looking for someone who would be interested in beeing a betatester for the script. I have used the script for 2-3 months now and it seems to work fine but need to have it tested an more computer before I release it to the public.

http://www.ioftpd.com/scripts/script.php?id=94

/Blisters aka blisteringbeens
Blisters is offline   Reply With Quote
Old 01-01-2004, 10:41 AM   #2
rAWfOX
Senior Member
 
Join Date: Aug 2003
Posts: 148
Default

looks realy cool... good work....
rAWfOX is offline   Reply With Quote
Old 01-02-2004, 06:51 AM   #3
djrob
Senior Member
FlashFXP Beta Tester
ioFTPD Registered User
 
Join Date: Jul 2003
Posts: 99
Default

Yup, I've tried it and it's working great. Nice work
djrob is offline   Reply With Quote
Old 01-02-2004, 07:57 AM   #4
peep
Senior Member
FlashFXP Scripter
ioFTPD Foundation User
 
Join Date: Sep 2003
Posts: 132
Default

Sounds interresting enough.. Wouldn't mind trying it out for you!
peep is offline   Reply With Quote
Old 01-07-2004, 06:40 AM   #5
djrob
Senior Member
FlashFXP Beta Tester
ioFTPD Registered User
 
Join Date: Jul 2003
Posts: 99
Default

Too bad not more people wanna give this a try
There's gotta be plenty of io/gl site-rings out there and this baby works really great
djrob is offline   Reply With Quote
Old 01-07-2004, 10:41 PM   #6
Blisters
Junior Member
 
Join Date: Jan 2004
Posts: 12
Default Preview release of CTS

This a preview of my code. It's in use on atleast 1 sitering and works. I have removed som code from this one so it wount delete all users if configured wrong.

If you wanna try this out be free to pm me on efnet (contact information included in readme file).

Please all included readmes and faq since they contain alot of information on how to use the scripts and sitebot. Do remeber that you shouldn't use this script on a eggdrop that is in use (with that i meen that install it on a fresh eggdrop with an another nick).

All existing users should have the same group on all sites or the output will look funny.

To get the credit transfer to work only the username needs to match on all sites, the user validation is done against the local passwd file found in /glftpd/etc/passwd (if you have an jailed enviroment you need to fix line 105 on sitebot-addon-cts.tcl)

Hope you like it.

PS. Rename file to sitebot-glftpd+cts.tar.gz to unpack it, forum doesn't allow tar.gz files

[edit]
The completed version will be fully skinnable and the configuration will be remade completly
[/edit]
/blisters
Blisters is offline   Reply With Quote
Old 01-08-2004, 01:48 AM   #7
rAWfOX
Senior Member
 
Join Date: Aug 2003
Posts: 148
Default

gr8 work... gonna try it out....
rAWfOX is offline   Reply With Quote
Old 01-22-2004, 04:48 PM   #8
djrob
Senior Member
FlashFXP Beta Tester
ioFTPD Registered User
 
Join Date: Jul 2003
Posts: 99
Default

This has been downloaded 41 time(s)...

Would be very interesting to hear some comments
djrob is offline   Reply With Quote
Old 03-05-2004, 09:08 AM   #9
Blisters
Junior Member
 
Join Date: Jan 2004
Posts: 12
Default ioFTPD (windows XP,2k3) release

The ioFTPD version is on final testing stage...

Problems that still need to be solved:

CTS and ioBANANA doesn't seem to like to be run on the same server. This since CTS is extremly aggressive on loggin on to the sites and that way hindering ioBANANA to function properly (any ideas why, seems like some commands doesn't work properly when both scripts are run in the same eggdrop). If you have 2 eggdrops running on the same server all seem to work fine.

Response time between the linux version differ quite alot (It seems like irc queues aren't handled quite the same way on windrop and eggdrop)

New functions:

BNC support (winssl_wrap and "alternative ip logon" tested and workin).
Redesigned modular approach.
Extended loggin and debuging support.
Most code is shared between ioFTPD and glftpd versions. The ioFTPD version doesn't need any extra modules (if not using tls witch would require winssl_wrap). The glftpd version requires passchk that comes with sitebot by F|owman

Things to do before 2 is released:

Recode the userman module (better permission handling + more validation on user variables)

[EDIT] CTS for ioFPTD doesn't need any glftpd/linux sites its totally independent[/EDIT]
/Blisters
Blisters is offline   Reply With Quote
Old 03-05-2004, 10:49 AM   #10
rAWfOX
Senior Member
 
Join Date: Aug 2003
Posts: 148
Default

nice going!!!
rAWfOX is offline   Reply With Quote
Old 03-05-2004, 11:06 AM   #11
peep
Senior Member
FlashFXP Scripter
ioFTPD Foundation User
 
Join Date: Sep 2003
Posts: 132
Default

Great! Can't wait :-)
peep is offline   Reply With Quote
Old 03-06-2004, 11:55 AM   #12
ChipMunk666
Senior Member
ioFTPD Foundation User
 
Join Date: Jun 2003
Posts: 220
Default

Same here mate that was the too i was waiting for :banana:
I think there are enough ppl that could need it.
And the second bot isnt that of a problem does it?
ChipMunk666 is offline   Reply With Quote
Old 03-10-2004, 09:03 AM   #13
peep
Senior Member
FlashFXP Scripter
ioFTPD Foundation User
 
Join Date: Sep 2003
Posts: 132
Default

Just to make sure, this will work with user modules as ioShareDB, right?
peep is offline   Reply With Quote
Old 03-10-2004, 09:27 AM   #14
Blisters
Junior Member
 
Join Date: Jan 2004
Posts: 12
Default

Quote:
Originally posted by peep
Just to make sure, this will work with user modules as ioShareDB, right?
Well haven't tried out ioSharedDB, should work if command responses arent altered... My script isn't suitable if you have an ioFTPD (or glftpd) only sitering... For that purpose there are other better scripts around. My script is for those rings with mixed enviroment.

It's not real sharedDB since I the script never has direct access to the userfiles (it only has the access provided from an siteop account using ftp).
Blisters is offline   Reply With Quote
Old 03-19-2004, 01:30 PM   #15
Blisters
Junior Member
 
Join Date: Jan 2004
Posts: 12
Default CTS 1.9 (0.9 ioFTPD)

Here you have it a working example.

http://www.ioftpd.com/scripts/script.php?id=94
Blisters is offline   Reply With Quote
Reply

Tags
/msg, commands, script, xxx, [login]

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 05:43 AM.

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