PtokaX forum

Archive => Archived 5.1 boards => Conversion Requests => Topic started by: Semjon on 15 February, 2008, 18:30:37

Title: Anti "Zero" Script
Post by: Semjon on 15 February, 2008, 18:30:37
Hi Guys!  ;) Small question... In my hub users can seat without share! But I want script for new Ptokax, if user without share he cant download and search files... If probably answer please. Thank You Guys  :)
Title: Re: Anti "Zero" Script
Post by: Thor on 15 February, 2008, 19:38:33
Try to search for 'Download block' or 'download blocker', there must be results :) And you should also specify what version of PtokaX do you run.
Title: Re: Anti "Zero" Script
Post by: Semjon on 15 February, 2008, 20:15:17
Ptokax 0.4.0.0 RC10. I have found pair scripts...First script Auto-Block 1.0g LUA LUA 5.1 [Strict][API 2] created by Mutor, but this script block unregistered users only, and second good script AntiLeecherBlocker created by 6Marilyn6Manson6 http://board.ptokax.ath.cx/index.php?topic=5874.0, i convert on new API but script dont work... some mistake ([21:12] Critical mistake in script LeecherBlocker_1.22_by_6Marilyn6Manson6.lua ! Script stopped!)
Title: Re: Anti "Zero" Script
Post by: Semjon on 17 February, 2008, 00:06:14
Thank you Mutor! Good script! ;) But any way I need another script (script which block any users, or block search and downloads, with share less 100 Mb for example) ... I found this one script Antilicher 0.1 and convert to new api, he work, work good, but he show me some mistake all the time --> [00:55] Syntax Antilicher 0.1 new_api.lua:85: attempt to compare number with nil  :( . If somebody can check, check please... I will be very happy  :) ;)
Title: Re: Anti "Zero" Script
Post by: Semjon on 17 February, 2008, 11:20:51
Excellent Mutor!  :D Thank you!  ;)