Temp files blocker / preteen blocker V2.6 0.3.5.1.lua5.0 (5.0 updated)
 

Temp files blocker / preteen blocker V2.6 0.3.5.1.lua5.0 (5.0 updated)

Started by -RICK-, 23 April, 2006, 01:51:54

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

-RICK-

-- version V 2.4

-- Fake file blocker V 1.02
-- -RICK- 20-04-2006
-- Lua 5.0
-- Used blockpart from UniBlock 1.0 LUA 5 By Mutor
-- And? Advanced BadFile Active Search // Stripped from Thor 6 By: NightLitch 2005-03-04
-- User blocked is blocked for searching and downloading (user stays in hub but cant do shit until he gets Unblocked)
-- Created for users with .DCTMP and? .Dat files ect
-- User will receive a message that his search and downloadfunction is disabled. Only an OP can reset this function ore user has to reconnect
-- Fake users wil be stored in a table and can be removed by an OP using a RC command
-- U can use a raw command sent from your client ( !block <Username> ) But the inbuild check will do the trick i gues
-- Raw command example for your client? ? ? ?$<%[mynick]> !block %[nick] |
-- Added V 1.03
-- Added autosearch with badfiletable (autosearch wil add users to blocklist)
-- NOTE Udp and TCP port cant be the same port (in ptokax) Use 2 different ports
-- Added V 1.04
-- When User blocked by bot and share is corrected the block wil be disabled after a few minutes (not on raw command or by RC Block)
-- Debugged V 1.05
-- Repeating Unblock after share fix
-- Added V 1.06
-- Show messages on / off
-- Debugged V 1.07
-- Made a extra check on fake files (Sometimes check failed)
-- Added v1.08
-- search respond message? (thx to mutor)
-- Kick after XX checks
-- Added v1.09
-- Block badsearch (preteen ect)
-- Debugged minor error in RC unblock
-- Added v2.0
-- (on request)
-- Check search preteen? on/off
-- Kick for searching Preteen? on/off
-- Added v2.1
-- Show logs
-- Kick after XX preteen searches
-- Added v2.2
-- Kick/ tempban /ban? for Preteen and TemFiles
-- Added v2.2a
-- RC menu name (on request)
-- Added v2.2b
-- alligened sign in message (on request)
-- Added 2.3
-- added a advanced helpfile send with warn (user can navigate within it)
-- Added 2.4
--Changed some minor bugs
--Added settings command
--Added Helptext.txt
--Added help command (for users)

-- thx fox for helping me with my typo addiction :)





The script wil search for temp files when found the users search function will be blocked and it wil be shown is searchresults
The script wil recheck user if check is 3 times oke the block will be removed
After XX checks the user will be kicked (the user get some time to remove it)
It wil also check what users are searching for (r@ygold ect) and block
the search the user sees the block in search window and gets a pm

settings can be done in Fakesettings.cfg

Note UDP and TCP port from ptokax has to be different ports

*** User [psv][NL]Sushi has been blocked for? sharing of incomplete downloads. Mijn muziek\Richard Thompson, John Cale & Shawn Colvin - Heartbreak Hotel..dctmp 5.1 MB

*** User [nl]kniekous share is clean al block functions are cleared

*** User POSOFLU[NL] has been kicked because : Sharing Unfinished files and is checked 50 Times

*** testuservoortemp IP: 87.74.101.117 Is searching For childporn

*** testuservoortemp kicked because: Searching 3 Time(s) for Preteen porn..

updated it for 0.3.5.1.lua5.0
--Added Fake.exe settings generator
(i uploaded it agian forgot to remove 1 SendToAll) :)

-- debugged missed a return 1


Have fun with it? -RICK-

bluebear

Quote-- NOTE Udp and TCP port cant be the same port (in ptokax) Use 2 different ports

hmm.. Why not?

You can have ptokax run at TCP port 411,
and the TCP and UDP for the script at port 410 if u wish to do so hehe
Sincerely,
bluebear
--
http://www.thewildplace.dk/ is is closed - Use the following mirrors instead
http://bluebear.psycho-chihuahua.net
http://pxextension.piratez.dk/
[Lua extensions - Chat stats - YnHub PMSpy - DC Source code - and more]

PPK

$SR is returned to UDP for active search requests ::) For passive search request is used TCP and $SR returned to hub  8)
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

GanjaMan

Greets,

I get this error: ........\scripts\fakefileblocker.lua: bad header in precompiled chunk

who can help?

thnx,
GanjaMan

Psycho_Chihuahua

are you trying to use it with a Lua 5.1 Hub?
normally that error is because of trying to use a Lua 5.02 Hub with the compiled Lua 5.1 script  ;)

but this is just a guess because i'm using Ptokax f0 which is Lua 5.02
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000


GanjaMan

oops stupid me  ;)
I didnt see, just thought it was 5.1 because it was posted in this 5.1 part of the forum :)

thnx

bastya_elvtars

Everything could have been anything else and it would have just as much meaning.

-RICK-


QuikThinker

Can u include an option where u can edit the right-click menu name so it can be independant from the bot name.

-RICK-


QuikThinker

2 things.

1)
-- RC menu name
---------------------------
["RC"] = "[?] Bad File Checker",


But the right-clicker is still usin the botname instead of the aforementioned name.

2)
[21:39:30] <?MESSIAH?> Type !shelp to see the available script commands for your profile.
[21:39:30] <?MESSIAH?> 64 rightclick commands sent to you by FreshStuff.
[21:39:30] ?MESSIAH?
		*** This hub is protected for temp files  Fake file Blocker V 2.2 By -RICK- 


Is it possible to align the hub protection message so it's on the correct line and so it displays the bot correctly i.e. <?MESSIAH?> instead of ?MESSIAH? ?

Nice script tho, keep workin on it  ;)

Markitos

Hi -Rick-, could you make your script open source???

-RICK-

#13
in the attachment u find the uncompiled lua  have fun with it

Markitos


QuikThinker

Any update on my things yet man, I can't wait 2 implement the script!

DEEP-GOA

hiho -RICK-
great script!
request: u can add a "silent" function?

-- where send messages
-------------------------------------
Sendto = 0          -- 2 = silent  1 = opchat  0 = to HubBotName

thx & zakaboom

http://deep-goa.no-ip.org
Put any term or title on me you want. What I am is what I do. I make things.

-RICK-

messeges on off is already inbuild

-- Show the blockmessages
-----------------------------------------
ShowMessages = 1? ? -- 1 = on? 0 = off

and the rc name ect i will change it now

Download 2.3
alligned loginmessage
and RC name
added a advanced helpfile send with warn

eyklidis

Hi Rick? :)

Nice update but i still havent find the right way to block passive users .. I have 2 ports open for ptokax 411 TCP and 412 UDP is this correct ?? ::)
I tried to use a client using the adl search and it blocks all users with no problem! but the autocheck function is not functioning good then :P So i dont know what do i have to do in the script to work for both active and passive mode.

Is it also maybe possible to add a command like !checkfiles %[line:on/off]? or similar function?
And last question if possible the above maybe also possible to set serten hours to check with a timer ? :P

Thanks a lot

[HE]Newbie

Can't wait till -RICK- converts this to Lua5.1
There will be 1 day, that i learn

nlgezel.hopto.org:411

-RICK-

rewrote it for latest lua 5.0 version
added fake.exe settingsgenerator

when i have some spare time i wil concert it to lua 5.1

;D

cowboydaddy

i did test it what a nice script and so complete with the generator nice one again rick

SMF spam blocked by CleanTalk