PtokaX forum

Lua 5.3/5.2/5.1 Scripts (for PtokaX 0.4.0.0 and newer) => Finished Scripts => Topic started by: jiten on 23 December, 2007, 11:59:26

Title: Lucifer 6.6.6 [build 2.2] - LUA 5.1x [Strict][API 2]
Post by: jiten on 23 December, 2007, 11:59:26
--[[

Lucifer 6.6.6 [build 2.2] - LUA 5.1x [Strict][API 2] by jiten
?????????????????????????????????????????????????????????????
Thanks to Dessamator, GeceBekcisi and T?M??r?V?ll?R for your contribution to this script

RECENT CHANGELOG:
?????????????????
- Fixed: Ancient timer bug - reported by Josecar (10/16/2007)
- Changed: Script converted to API 2 (10/16/2007)

]]--
Title: Re: Lucifer 6.6.6 [build 2.2] - LUA 5.1x [Strict][API 2]
Post by: Hemarr on 15 January, 2008, 22:57:36
awesome script just one thing it also get legal talk like these


Control: <[BG]ZloboMiR> (195.234.85.220) said in Main Chat: magnetic - Triggered by: net
Control: <Warrior> (84.32.229.189) said to <tomasito> this: Gal zynaj lietuviskus Hubus? - Triggered by: hub
Control: <Mig29> (78.60.21.189) said to <{NYC}Trivia> this: i want ti join your hub - Triggered by: hub
Control: <ruby> (77.49.125.84) said to <HX_LV> this: can u give me one slot please? I only need 200mb to complete this file...thanks - Triggered by: com


it warns users asking to join hub it picks up words like 
<Mig29> (78.60.21.189) said to <{NYC}Trivia> this: i want ti join your hub - Triggered by: hub

also the word complete has the word com in it

ruby> (77.49.125.84) said to <HX_LV> this: can u give me one slot please? I only need 200mb to complete this file...thanks - Triggered by: com


should not pick up words on a regular conversation

should it not be

.com
.net

and so on?

is there a modified version?
Title: Re: Lucifer 6.6.6 [build 2.2] - LUA 5.1x [Strict][API 2]
Post by: Gnuff? on 16 January, 2008, 06:35:39
Quote from: Hemarr on 15 January, 2008, 22:57:36

should it not be

.com
.net

and so on?


Well, there are only 4 words under control, you could delete the words you don?t want, and add some new as you please.

Your rightclick commands makes that easy
Title: Re: Lucifer 6.6.6 [build 2.2] - LUA 5.1x [Strict][API 2]
Post by: imb on 17 January, 2008, 16:40:53
Hemarr You're expecting a computer to have the intelligence of a human here :) You need to adjust the key words to something more specific. For example remove the .com and add www. for websites and no-ip.com or dyndns.org instead for hubs.
Title: Re: Lucifer 6.6.6 [build 2.2] - LUA 5.1x [Strict][API 2]
Post by: ?[-?Genius?-]? on 05 February, 2008, 06:20:15
Hi

Its possible remove rightclick option?
Title: Re: Lucifer 6.6.6 [build 2.2] - LUA 5.1x [Strict][API 2]
Post by: speedX on 05 February, 2008, 07:14:51
Quote from: ?[-?Genius?-]? on 05 February, 2008, 06:20:15
Hi

Its possible remove rightclick option?

Just delete the whole UserConnected function at line 187
Title: Re: Lucifer 6.6.6 [build 2.2] - LUA 5.1x [Strict][API 2]
Post by: -B-G- on 31 March, 2008, 14:09:43
Hy all,i've a little problem with lucifer
Lucifer 6.6.6 - Script Error: 03/31/08 12:58:56 - Lucifer6.6.6-build2.2[A2].lua:373: attempt to index field '?' (a nil value)
Do you know what's the problem?
Title: Re: Lucifer 6.6.6 [build 2.2] - LUA 5.1x [Strict][API 2]
Post by: jiten on 02 April, 2008, 17:56:31
Quote from: -B-G- on 31 March, 2008, 14:09:43
Hy all,i've a little problem with lucifer
Lucifer 6.6.6 - Script Error: 03/31/08 12:58:56 - Lucifer6.6.6-build2.2[A2].lua:373: attempt to index field '?' (a nil value)
Do you know what's the problem?

Can you paste me that line?

My guess is that the file where the trigs are stored is corrupted.
Title: Re: Lucifer 6.6.6 [build 2.2] - LUA 5.1x [Strict][API 2]
Post by: -B-G- on 03 April, 2008, 12:14:34
Thx jiten.I've solved the problem reinstalling lucifer.
The problem was in italian translation of right click command or in the file of trigs that i've changed.
In this moment is all ok with the original script.
Title: Re: Lucifer 6.6.6 [build 2.2] - LUA 5.1x [Strict][API 2]
Post by: BrotherBear on 09 August, 2008, 16:29:30
Hi Jiten!

I get this when I try Show Trigger Safe or anything else:

*** Syntax Error: !showtrig <safe/adver/control/site>

I am Running Ptokax 0.4.1.0 and Only The Lucifer Script.


Ahhh, found the problem, the file tLucifer.tbl must be in Ptokax Root folder or you change it in the script :)
Title: Re: Lucifer 6.6.6 [build 2.2] - LUA 5.1x [Strict][API 2]
Post by: Dreams on 28 February, 2010, 13:25:10
Is there a way to make it not trigger on other bots?

I have -Pm2Crew- and -Tips- bot, and when writing to this bot the lucifer script triggers the warning, pm sent into the 2 bots is sent to opschat , and this script shouldnt be trigger'd when conversation with op? so is there a way to make this not trigger those 2 bots?
Title: Re: Lucifer 6.6.6 [build 2.2] - LUA 5.1x [Strict][API 2]
Post by: For_Ever_MeXxX on 17 September, 2010, 08:15:55
I get this Error: 17.09.2010 09:05:34 - C:\PtokaX\scripts\Lucifer.lua:374: attempt to index field '?' (a nil value)


-- Site/safe checker
bFound = function(Lines, tTable)
   local Lines = Lines:lower()
   for value, i in pairs(tLucifer[tTable][1]) do  <~~ That is the Line 374.
       if Lines:find(value:lower(), 1, true) then
           return value
       end
   end
   return false
end


The Error started at the Time I used Mutor's Reg Request.
I use PtokaX 4.1.1



SOLVED!
Title: Re: Lucifer 6.6.6 [build 2.2] - LUA 5.1x [Strict][API 2]
Post by: onkel on 21 December, 2010, 12:37:54
[12:40] Syntax ...hubbbb\scripts\Lucifer6.6.6-build2.2[A2].lua:375: attempt to index field '?' (a nil value)


i get this error, why?

im using only this script atm .
Title: Re: Lucifer 6.6.6 [build 2.2] - LUA 5.1x [Strict][API 2]
Post by: Aptem on 21 December, 2010, 18:52:39
scripts\Lucifer6.6.6-build2.2[A2].lua:374: attempt to index field '?' (a nil value)
???
Title: Re: Lucifer 6.6.6 [build 2.2] - LUA 5.1x [Strict][API 2]
Post by: Psycho_Chihuahua on 21 December, 2010, 20:01:56
Quote from: onkel on 21 December, 2010, 12:37:54
[12:40] Syntax ...hubbbb\scripts\Lucifer6.6.6-build2.2[A2].lua:375: attempt to index field '?' (a nil value)
i get this error, why?
im using only this script atm .
Quote from: Aptem on 21 December, 2010, 18:52:39
scripts\Lucifer6.6.6-build2.2[A2].lua:374: attempt to index field '?' (a nil value)
???

if you guys took time to read a bit higher you would of found this...

Quote from: -B-G- on 31 March, 2008, 14:09:43
Hy all,i've a little problem with lucifer
Lucifer 6.6.6 - Script Error: 03/31/08 12:58:56 - Lucifer6.6.6-build2.2[A2].lua:373: attempt to index field '?' (a nil value)
Do you know what's the problem?
Quote from: -B-G- on 03 April, 2008, 12:14:34
Thx jiten.I've solved the problem reinstalling lucifer.
The problem was in italian translation of right click command or in the file of trigs that i've changed.
In this moment is all ok with the original script.

most likely to be the same reason of error as you guys might be having
Title: Re: Lucifer 6.6.6 [build 2.2] - LUA 5.1x [Strict][API 2]
Post by: Aptem on 22 December, 2010, 19:23:39
thanks, figured out a good script.
::)
Title: Re: Lucifer 6.6.6 [build 2.2] - LUA 5.1x [Strict][API 2]
Post by: swedal on 17 January, 2011, 14:05:02
hello i need a help with this scripts. how can i change this so only Owners can use this ? in right click i got the commands on all profile. please help me..

// Swedal
Title: Re: Lucifer 6.6.6 [build 2.2] - LUA 5.1x [Strict][API 2]
Post by: TiMeTrAVelleR on 17 January, 2011, 14:48:10
tLevels = {
         
Title: Re: Lucifer 6.6.6 [build 2.2] - LUA 5.1x [Strict][API 2]
Post by: swedal on 17 January, 2011, 20:46:13
tnx.. this is work very fine now. only Owner can use the commands..

tnx. :D
Title: Re: Lucifer 6.6.6 [build 2.2] - LUA 5.1x [Strict][API 2]
Post by: swedal on 19 January, 2011, 12:42:35
I has one qestion more. how can i setup in the scripts so Lucifer check the adversting for all user. no for masters and Owners. ??  now the scripts only check Reg users. no Vip  and higher.

// Swedal
Title: Re: Lucifer 6.6.6 [build 2.2] - LUA 5.1x [Strict][API 2]
Post by: For_Ever_MeXxX on 19 January, 2011, 17:38:48

--[[
Description: Profiles who can't send/receive "bad" messages and specific Action
Actions: [ 0 = Inform Ops (uncensored) / 1 = Silent (censored) / 2 = Warn / 3 = Disconnect / 4 = Kick / 5 = TimeBan / 6 = Ban ]
]]--
tBlockedProfiles = {

-- Example: [3] = 5, (Reg users are TimeBanned)

[-1] = 2, -- Unreg Users
[2] = 2, -- VIPs
[3] = 2, -- Regs
},
Title: Re: Lucifer 6.6.6 [build 2.2] - LUA 5.1x [Strict][API 2]
Post by: Aptem on 18 November, 2012, 18:12:55
QuoteThis is a Powerful AntiAdvertising Script
        Powered by Demone.Astaroth and OpiumVolage
        History: Base='multiline antiadvertise' by OpiumVolage (your tables simplify the work I did until that moment).
        Here its features:

        1)Script can block this types of advertisement: A) <user> example.no-ip.com
                      B) <user> e x a m p l e . n o - i p . c o m
                      C)<user>example.
                         <user>no-
                         <user>ip.
                         <user>com
                      D)<user>e
                         x
                         a
                         m
                         p
                         l
                         e
                         .
                         n
                         o
                         -
                         i
                         p
                         .
                         c
                         o
                         m
Hello, what code is responsible for this action, you can give me the code?
Title: Re: Lucifer 6.6.6 [build 2.2] - LUA 5.1x [Strict][API 2]
Post by: Aptem on 05 December, 2012, 18:17:39
Quote from: Aptem on 18 November, 2012, 18:12:55
Hello, what code is responsible for this action, you can give me the code?
HELP LPS!!!! :-[
Title: Re: Lucifer 6.6.6 [build 2.2] - LUA 5.1x [Strict][API 2]
Post by: the-master on 06 December, 2012, 18:09:10
Download the script and you got it.. to easy?
Title: Re: Lucifer 6.6.6 [build 2.2] - LUA 5.1x [Strict][API 2]
Post by: Aptem on 07 December, 2012, 12:30:07
Quote from: the-master on 06 December, 2012, 18:09:10
Download the script and you got it.. to easy?
No, I do not need the entire script, I need a code which is responsible for the identification of this kind of spam
Title: Re: Lucifer 6.6.6 [build 2.2] - LUA 5.1x [Strict][API 2]
Post by: the-master on 07 December, 2012, 15:13:33
The code IS the script you n00b ???
Title: Re: Lucifer 6.6.6 [build 2.2] - LUA 5.1x [Strict][API 2]
Post by: Aptem on 07 December, 2012, 20:09:38
Quote from: the-master on 07 December, 2012, 15:13:33
The code IS the script you n00b ???
no, probably you n00b, I function is responsible for catching this type of advertising is needed, not the entire script, namely catches kind of advertising
QuoteC)<user>example.
                         <user>no-
                         <user>ip.
                         <user>com
Title: Re: Lucifer 6.6.6 [build 2.2] - LUA 5.1x [Strict][API 2]
Post by: the-master on 08 December, 2012, 09:45:53
You only want to catch the input?
Title: Re: Lucifer 6.6.6 [build 2.2] - LUA 5.1x [Strict][API 2]
Post by: Aptem on 08 December, 2012, 14:28:07
QuoteD)<user>e
                         x
                         a
                         m
                         p
                         l
                         e
                         .
                         n
                         o
                         -
                         i
                         p
                         .
                         c
                         o
                         m
this type of advertising can be intercepted e%s+x%s+a%s+m%s+p%s+l%s+e%s+.%s+n%s+o%s+-%s+i%s+p%s+.%s+o%s+r%s+g

QuoteC)<user>example.
                         <user>no-
                         <user>ip.
                         <user>com
but this type of advertising, I do not know how to lock, and therefore ask the function of the script
Title: Re: Lucifer 6.6.6 [build 2.2] - LUA 5.1x [Strict][API 2]
Post by: Hades on 25 May, 2014, 00:43:19
Lucifer 6.6.6 - Script Error: 05/24/14 22:44:27 - ...iles\PtokaX_64\scripts\Lucifer6.6.6-build2.2[A2].lua:374: attempt to index field '?' (a nil value)
stack traceback:
   ...iles\PtokaX_64\scripts\Lucifer6.6.6-build2.2[A2].lua:374: in function 'bFound'
   ...iles\PtokaX_64\scripts\Lucifer6.6.6-build2.2[A2].lua:340: in function 'PubCheck'
   ...iles\PtokaX_64\scripts\Lucifer6.6.6-build2.2[A2].lua:213: in function <...iles\PtokaX_64\scripts\Lucifer6.6.6-build2.2[A2].lua:207>

Where does that table file go? I have it in scripts folder is that why?
Title: Re: Lucifer 6.6.6 [build 2.2] - LUA 5.1x [Strict][API 2]
Post by: the-master on 25 May, 2014, 10:33:46
Did You read the posts inhere? You're asking the same again...