--[[
Lucifer 6.6.6 - build 2.133
????????????????????????
LUA 5.1 version by jiten
Thanks to Dessamator, GeceBekcisi and T?M??r?V?ll?R for your contribution to this script
RECENT CHANGELOG:
?????????????????
- Changed: Some cleaning up;
- Rewritten: Chat and ToArrival;
- Changed: Lucifer's sites sub-table;
- Added: Customize tBlockedProfiles checked for Site trigs - requested by TT;
- Changed: bUnsafe function to bFound;
- Modified: DoDisc function to support 3x actions - requested by TT;
- Added: User Action Log Cleaner (7/6/2006);
- Fixed: Syntax Error on PM message - reported by TT (7/8/2006);
- Changed: RightClick-related stuff (7/10/2006).
- Fixed: Messages sent in PM to bots reported as in Main - reported by Toobster (7/16/2006)
- Fixed: Action taken when advertising to immune profiles - reported by Blondie?;
- Changed: Triggers stored in an external file - requested by BrotherBear (8/28/2006)
- Fixed: Blocking PMs to immune profiles - reported by Blondie? and osse
- Added: Leviathan profiles support (10/15/2006)
]]--
Hi jiten!
Thanks for this great Script :)
I was trying it today and got this error:
[00:53] Syntax D:\Kax3.4-RoboCop\scripts\Lucifer.lua:311: unexpected symbol near `...'
Hope you could help me with this?
Regards,
BrotherBear
This is LUA 5.1 version. If you can run this script, then you cannot run Robo and vice versa, cause RoboCop is LUA 5.0.2, and they aren't fully compatible.
Ok, is Ptokax 0.3.4.0 compatible with LUA 5.1 then?
Quote from: BrotherBear on 15 March, 2006, 08:01:22
Ok, is Ptokax 0.3.4.0 compatible with LUA 5.1 then?
only the versions after 0.3.4.0a[dbg] (look at the Beta-Testing thread. Note:it doesn't have the OnTimer function... maybe that will be a probl in some scripts...)
Quote from: BrotherBear on 15 March, 2006, 00:57:30
Hi jiten!
Thanks for this great Script :)
I was trying it today and got this error:
[00:53] Syntax D:\Kax3.4-RoboCop\scripts\Lucifer.lua:311: unexpected symbol near `...'
Hope you could help me with this?
Regards,
BrotherBear
Sure, I'll release the 5.0.2 version of this script so that they won't differ ;)
Quote from: Herodes on 15 March, 2006, 08:41:49
Quote from: BrotherBear on 15 March, 2006, 08:01:22
Ok, is Ptokax 0.3.4.0 compatible with LUA 5.1 then?
only the versions after 0.3.4.0a[dbg] (look at the Beta-Testing thread. Note:it doesn't have the OnTimer function... maybe that will be a probl in some scripts...)
AFAIK its the Version 0.3.4.0c thats using LUA 5.1 - 0.3.4.0b still has 5.02 ;)
Quote from: Psycho_Chihuahua on 15 March, 2006, 12:31:58
Quote from: Herodes on 15 March, 2006, 08:41:49
Quote from: BrotherBear on 15 March, 2006, 08:01:22
Ok, is Ptokax 0.3.4.0 compatible with LUA 5.1 then?
only the versions after 0.3.4.0a[dbg] (look at the Beta-Testing thread. Note:it doesn't have the OnTimer function... maybe that will be a probl in some scripts...)
AFAIK its the Version 0.3.4.0c thats using LUA 5.1 - 0.3.4.0b still has 5.02 ;)
PtokaX 0.3.4.0b using LUA 5.1.. last version of PtokaX in LUA 5.02 is 0.3.4.0a :)
Quote from: 6Marilyn6Manson6 on 15 March, 2006, 13:50:39
Quote from: Psycho_Chihuahua on 15 March, 2006, 12:31:58
Quote from: Herodes on 15 March, 2006, 08:41:49
Quote from: BrotherBear on 15 March, 2006, 08:01:22
Ok, is Ptokax 0.3.4.0 compatible with LUA 5.1 then?
only the versions after 0.3.4.0a[dbg] (look at the Beta-Testing thread. Note:it doesn't have the OnTimer function... maybe that will be a probl in some scripts...)
AFAIK its the Version 0.3.4.0c thats using LUA 5.1 - 0.3.4.0b still has 5.02 ;)
PtokaX 0.3.4.0b using LUA 5.1.. last version of PtokaX in LUA 5.02 is 0.3.4.0a :)
oh, my mistake.....you're right i'm still running the a ::)
Quote from: jiten on 15 March, 2006, 12:25:29
Quote from: BrotherBear on 15 March, 2006, 00:57:30
Hi jiten!
Thanks for this great Script :)
I was trying it today and got this error:
[00:53] Syntax D:\Kax3.4-RoboCop\scripts\Lucifer.lua:311: unexpected symbol near `...'
Hope you could help me with this?
Regards,
BrotherBear
Sure, I'll release the 5.0.2 version of this script so that they won't differ ;)
Thanks Jiten :)
GOOD WORK JITEN :)
Im off to test it now ;)
Iv broke it already? :P
[18:04] Syntax ...ip.info\scripts\Lucifer 6.6.6 - build 2.1 (beta).lua:339: attempt to concatenate field 'sIP' (a nil value)
Or rather an advertiser bot did.
It triggered many warnings to ops before i got error
Quote from: Toobster?? on 15 March, 2006, 19:08:17
Iv broke it already? :P
[18:04] Syntax ...ip.info\scripts\Lucifer 6.6.6 - build 2.1 (beta).lua:339: attempt to concatenate field 'sIP' (a nil value)
Or rather an advertiser bot did.
It triggered many warnings to ops before i got error
Thanks for your report.
I'll update the code later today with the bugfix.
Best regards
First post has been updated with Toobster??'s report bugfix.
Cheers
Hello.. i test it in my hub i get eror**
".lua:315: unexpected symbol near `...' "
how to fix please ?
Quote from: electronic_Psycho on 16 March, 2006, 17:36:46
Hello.. i test it in my hub i get eror**
".lua:315: unexpected symbol near `...' "
how to fix please ?
That's because this is a LUA 5.1 script.
Check the previous posts in this thread for details.
:-[ tnx Jiten..
from wher i can get px 0.3.4.0a ?? someon can help please ? ::)
If you want Ptokax to support this script 0.3.40a wont work, you need 0.3.4.0b or c
Type Ptokax 0.3.4.0a in search box above.
Or search the beta testing thread in /news section
aint work?
We tested this with Cenobyte (a.k.a. CyberBoB).
he is vip in my hub and he cant send hes hubs address to others than op even hes address is in safelist.
Quote from: Northwind on 22 March, 2006, 20:39:40
aint work?
We tested this with Cenobyte (a.k.a. CyberBoB).
he is vip in my hub and he cant send hes hubs address to others than op even hes address is in safelist.
True and thanks for the report. I'll update the code later today as the board doesn't accept it (message too long).
Cheers
Quote from: jiten on 23 March, 2006, 12:09:48
Quote from: Northwind on 22 March, 2006, 20:39:40
aint work?
We tested this with Cenobyte (a.k.a. CyberBoB).
he is vip in my hub and he cant send hes hubs address to others than op even hes address is in safelist.
True and thanks for the report. I'll update the code later today as the board doesn't accept it (message too long).
Cheers
you can always upload it to the scriptdb ;)
First post updated with some changes.
First post updated with a small fix.
Download Error
File Not Found
Back
Scripts and software provided in this site are AS-IS, meaning absolutely no warranty.
All trademarks are ? their respective owners, all other content is ? e107 powered website.
e107 is ? e107.org 2002/2003 and is released under the GNU GPL license.
Back to top
Render time: 0.0615 second(s); 0.0076 of that for queries. DB queries: 17.
I can't dowload it :P
Quote from: 6Marilyn6Manson6 on 27 March, 2006, 19:55:53
I can't dowload it :P
If I'm not wrong, Resources' site is going through some changes.
Maybe bastya can give us more information about that.
Quote from: jiten on 27 March, 2006, 20:10:38
Quote from: 6Marilyn6Manson6 on 27 March, 2006, 19:55:53
I can't dowload it :P
If I'm not wrong, Resources' site is going through some changes.
Maybe bastya can give us more information about that.
Jiten could you re-upload the script here please --> New Upload Place for Lua 5.1 Scripts (http://ptxscriptdb.psycho-chihuahua.net/e107_plugins/docrep_menu/docrep.php?0.fileup.0.3.0.1)
Bastya and i setup a new Upload System so that Users with "Scripter Status" can upload without approval through Admins ;)
Quote from: Psycho_Chihuahua on 27 March, 2006, 21:14:19
Jiten could you re-upload the script here please --> New Upload Place for Lua 5.1 Scripts (http://ptxscriptdb.psycho-chihuahua.net/e107_plugins/docrep_menu/docrep.php?0.fileup.0.3.0.1)
Bastya and i setup a new Upload System so that Users with "Scripter Status" can upload without approval through Admins ;)
Nice to hear that :)
First post updated with a new link.
Cheers
First post has been updated with some changes to the main code.
Best regards
First post has been updated with a small change.
Huston we got a problem!!! :)
The Command Whisper is Dangerous for those who have a private hub!
The user can use this to PR their own hub whitout Lucifer notice it!
Can you fix it my Friend Jiten ?
Cheers
Quote from: BrotherBear on 18 July, 2006, 19:42:58
The Command Whisper is Dangerous for those who have a private hub!
The user can use this to PR their own hub whitout Lucifer notice it!
Can you fix it my Friend Jiten ?
Well, you just need to move Lucifer to the top of the scripts' list.
In this case, place it on top of Whisper's.
Quote from: jiten on 18 July, 2006, 20:05:20
Quote from: BrotherBear on 18 July, 2006, 19:42:58
The Command Whisper is Dangerous for those who have a private hub!
The user can use this to PR their own hub whitout Lucifer notice it!
Can you fix it my Friend Jiten ?
Well, you just need to move Lucifer to the top of the scripts' list.
In this case, place it on top of Whisper's.
It worked great, phuew, thanks jiten :)
How to use Lucifer!
If I sett .org as a Control it takes morgon and .net takes Network, Nettan etc.
How should i specify it?
If there is anyone who has a good Lucifer list and would share it I would be happy :)
Thanks in Advance :)
Quote from: BrotherBear on 19 July, 2006, 17:06:56
If I sett .org as a Control it takes morgon and .net takes Network, Nettan etc.
How should i specify it?
You've set it up correctly.
However, these changes aren't working.
That's probably because the script has already created the file 'tLucifer.tbl' where the all trigs are stored and red from.
Therefore, you must add/remove them directly into/from it.
works just fine here no probs at all
Quote from: jiten on 19 July, 2006, 20:09:12
Quote from: BrotherBear on 19 July, 2006, 17:06:56
If I sett .org as a Control it takes morgon and .net takes Network, Nettan etc.
How should i specify it?
You've set it up correctly.
However, these changes aren't working.
That's probably because the script has already created the file 'tLucifer.tbl' where the all trigs are stored and red from.
Therefore, you must add/remove them directly into/from it.
Hehe, I think I should have been more specific here :)
I Don't want Control to take Morgon or Network or anything else I have put in Safe trigs.
Or am I thinking wrong here?
The triggers that is in the Script file (Lucifer6.6.6-build2.131.lua) does not
show up when I run !showtrig adver only the one I created trhough the
rightclick.
Why is it separeted, would it not be better to have only the tLucifer.tbl?
For example. could I delete every trigger that are in the Script and only run
it through the tLucifer.tbl?
Perhaps you could give me a tip how it is ment to work :)
Thanks in advance.
Quote from: BrotherBear on 21 July, 2006, 11:42:01
The triggers that is in the Script file (Lucifer6.6.6-build2.131.lua) does not
show up when I run !showtrig adver only the one I created trhough the
rightclick.
Why is it separeted, would it not be better to have only the tLucifer.tbl?
The script create this tLucifer.tbl file because that's where the triggers are saved
QuoteFor example. could I delete every trigger that are in the Script and only run
it through the tLucifer.tbl?
Perhaps you could give me a tip how it is ment to work :)
Thanks in advance.
I don't know what's your problem here ???
Alexinno if you look in the script file begining on row 152 ( -- Advertise Trigs )
there are many triggs already, why use the tLucifer.tbl?
Or why are those triggs not in the tLucifer.tbl ONLY?
What I can se there is triggs in two places or am I thinking wrong!?
-- File where the trigs are stored
fTrigs = "tLucifer.tbl",
--- Error log file location
fLog = "Lucifer.log",
like i said before that's where the triggs are saved, if you want more information , you should ask jiten
sorry for this question , but why does this bother you ?
you don't have the space on your hdd drive for it ? :P
Quote from: BrotherBear on 21 July, 2006, 09:46:30
I Don't want Control to take Morgon or Network or anything else I have put in Safe trigs.
Or am I thinking wrong here?
This should clear things up:
- tLucifer["adver"] - contains triggers for which Lucifer takes a profile-specific action;
- tLucifer["safe"] - are the exceptions for the above;
- tLucifer["control"] - contains trigs that are reported to tFeedProfiles without any action being taken;
- tLucifer["site"] - triggers for which tSiteProfiles are checked.
Note that, 'control' triggers aren't related to 'safe' ones.
Quote from: BrotherBear on 21 July, 2006, 14:02:12
Alexinno if you look in the script file begining on row 152 ( -- Advertise Trigs )
there are many triggs already, why use the tLucifer.tbl?
Or why are those triggs not in the tLucifer.tbl ONLY?
What I can se there is triggs in two places or am I thinking wrong!?
As Alexxino stated, Lucifer's triggers are stored and red from 'tLucifer' table.
When you run Lucifer for the first time, it uses the default triggers stored in the script [starting on your row 152].
However, when you add/remove a custom trigger, the changed table must be stored in an external file that is 'tLucifer.tbl' file, which is used from that moment on [unless you delete it]. At this point, the triggers stored in the script are of no use.
Then, there'll be 'triggers in two places' but, only one is used [the file].
Quote from: Alexinno on 21 July, 2006, 15:20:36
-- File where the trigs are stored
fTrigs = "tLucifer.tbl",
--- Error log file location
fLog = "Lucifer.log",
like i said before that's where the triggs are saved, if you want more information , you should ask jiten
I know that the triggs are saved there.
The script creates the tLucifer.tbl ONLY if I have added ?triggs not else and the table fills with all of the triggs
that is in the Script.
And I am asking everyone (incl. jiten) ? ;)
Quote
sorry for this question , but why does this bother you ?
you don't have the space on your hdd drive fot it ? :P
It has nothing to do about space :)
It confuses me a bit, why the Script has the triggers, the triggers could have been in a
table file from the begining ( I Think ) and not in the script.
Because it is easier if you only have one place to look for your triggs :)
Example:
If I delete a trig that is in the Script and Table, it only disapear in the Table and is still
active as a trigg in the Script.
I know that have difficulties to make my self understandable sometimes, sorry for that :(
WooW :)
Oki, My bad, it did not Read from the script after tha Table was created, sorry :(
Quote from: BrotherBear on 21 July, 2006, 17:06:56
Oki, My bad, it did not Read from the script after tha Table was created, sorry :(
You shouldn't be sorry, as this must've have happened with other users too :P
By the way, you're right. It's easier and less confusing if there's only one place where the triggers are stored.
In the next update, I'll add the triggers' file [tLucifer.tbl] in the package.
You Are the Man, Thanks jiten :)
Hi jiten,
Thx for the script :P
It works great and easy with the mousemenu. Very nice script ;D
Well done Jiten, This script finished my hub. Great keep up that good work ( you all)
First post has been updated with some changes in the code.
hi,Jiten, i need help,please! when i start the script into the hub, the reg users can't send pm, only masters can do it! what is wrong?
Quote from: jiten on 28 August, 2006, 20:45:08
First post has been updated with some changes in the code.
hi
First post has been updated with some fixes to the code.
i have try some thing's with a unreged user.
he send me a pm with a link they in the blovked list stayed but it lucifer blocked in pm. ;(
in main he say it and he has got a ban so in main works it well ;)
Can you look at that ? So that they block pm to ??
Quote from: Sjeminov on 14 December, 2006, 14:20:37
i have try some thing's with a unreged user.
he send me a pm with a link they in the blovked list stayed but it lucifer blocked in pm. ;(
in main he say it and he has got a ban so in main works it well ;)
Cahey bn you look at that ? So that they block pm to ??
are you saying , that he send you a link in PM , and that link is listed in your bad advertising , lucifer doesn't kicked/banned him?
if yes, that is because
Users conversating with ops don't get kicked
I am confused about the timer of Lucifer 6.6.6
OnTimer = function()
-- tabAdvert cleaner
for i, v in pairs(tSettings.tabAdvert) do
if (tSettings.tabAdvert.iClock > os.clock() + 60) then tSettings.tabAdvert = nil end
end
As I see it, tSettings.tabAdvertiClock has stored an os.clock() value previous than now.
So, when will be that value > GREATER than actual os.clock() value more 60 ?
May be the table is changed in another part that I had not found?
I've looked for Multiline Antiadvertise script of OpiumVolage, and this is the same there.
Surely I am misunderstandig something, can't be wrong in all places. So, what I'm missing?
Please excuse me if I am asking a foolness.
Thanks in advance.
Jose Carlos
Shouldn't it be if (tSettings.tabAdvert.iClock -os.clock() > 60) ?
There your are substracting a bigger number, -os.clock() now is bigger than it was before - the result will bes negative.
As I see it, this should be
if (os.clock() > tabAdvert.iClock + 60) then tabAdvert = nil end
if actual secs are bigger in more than 60 secs than stored secs.
If there is no other thing that we can't see, lucifer 6.6.6 has never cleaned that table, nor did Multinline Antiadvertise in lua4.
Yep, it should be tabAdvert.iClock-os.clock(), sorry.
Bloody hangover. ;-)
Hmm I think there is a bug in PM scanner.
If a user talk in PM with a user that contains in nick a forbidden word (example [ITA]rewww ---> www not allowed) than script trigger it and kick user ;D
[11:55:33] <????? ????> Control: <ready> (82.57.28.xxx) said in Main Chat: [RO][ar]slowwww - Triggered by: www.
He was just talking in PM with that user.