Old 02-09-2004, 04:31 PM   #1
hot_pit
Member
ioFTPD Registered User
 
Join Date: Nov 2003
Posts: 78
Default tombola

Here a tombola script (a game for ioFTPD)

It add users (lose 200mb) and in a week it sorts and give one user credits (number of user * 200) .. others will loose ... (99% useless ... but someone asks for it )

ps: next version if this is popular , with ini setings

v1.01 = new comands and bug fixed ...

Usage :

site tombola join -> for join tombola
site tombola info -> for info of user

Add on ioFTPD.ini :

[FTP_Custom_Commands]

tombola = EXEC ..\scripts\tombola.exe tombola

[Scheduler]

tombolacheck = 0 0 * 0 EXEC ..\scripts\tombola.exe check

Add to ioftpd.env :

CREDIT=%.[credits(mega)(section)]
RATIO=%[ratio]

RESTART IOFTPD !!!! IF THIS VARS ARE NOT ON IOFTPD.ENV TOMBOLA WILL CRASH!!!!!

Thats All , fuscao
hot_pit is offline   Reply With Quote
Old 02-10-2004, 05:33 AM   #2
MaistroX
Senior Member
FlashFXP Registered User
ioFTPD Registered User
 
Join Date: Jul 2002
Posts: 221
Thumbs up

Nice work, a editable .ini file is allways welcome!
MaistroX is offline   Reply With Quote
Old 02-10-2004, 07:40 AM   #3
bounty
Senior Member
ioFTPD Scripter
 
Join Date: Aug 2002
Posts: 529
Default Re: tombola

Quote:
Originally posted by fuka


[Scheduler]

tombolacheck = 0 0 1 * EXEC ..\scripts\tombola.exe check

attention the schedulers info in ioftpd.ini are WRONG !!!!

= 0 0 1 * -> means once by month @1st day

i think you should use:

= 0 0 * 0 -> means once per week @day 0

refering to http://www.ioftpd.com/documentation/09-scheduler.php
bounty is offline   Reply With Quote
Old 02-10-2004, 07:41 AM   #4
bounty
Senior Member
ioFTPD Scripter
 
Join Date: Aug 2002
Posts: 529
Default

i think darkone or mouton really should fix that error in ioftpd.ini

have fun
bounty
bounty is offline   Reply With Quote
Old 02-10-2004, 09:16 AM   #5
hot_pit
Member
ioFTPD Registered User
 
Join Date: Nov 2003
Posts: 78
Default Re: Re: tombola

Quote:
Originally posted by bounty
attention the schedulers info in ioftpd.ini are WRONG !!!!

= 0 0 1 * -> means once by month @1st day

i think you should use:

= 0 0 * 0 -> means once per week @day 0

refering to http://www.ioftpd.com/documentation/09-scheduler.php
thanks bounty
hot_pit is offline   Reply With Quote
Old 02-10-2004, 09:33 AM   #6
typhon|wk
Member
 
Join Date: Nov 2003
Posts: 55
Default

site tombola join

tombola.exe crash
typhon|wk is offline   Reply With Quote
Old 02-10-2004, 10:01 AM   #7
hot_pit
Member
ioFTPD Registered User
 
Join Date: Nov 2003
Posts: 78
Default

Quote:
Originally posted by typhon|wk
site tombola join

tombola.exe crash
did you add the vars to ioftpd.env and restarted ??? cant get it to crash here ...
hot_pit is offline   Reply With Quote
Old 02-10-2004, 01:45 PM   #8
typhon|wk
Member
 
Join Date: Nov 2003
Posts: 55
Default

[19.41.40] site tombola join
[19.41.59] 550 Command failed.


sure added variables in .eng and restarted

always getting tombola.exe crash
typhon|wk is offline   Reply With Quote
Reply

Tags
add, join, site, tombola, user

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 09:14 AM.

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