PtokaX forum

Archive => Archived 5.1 boards => Finished Scripts => Topic started by: jiten on 14 March, 2006, 19:51:22

Title: Lucifer 6.6.6
Post by: jiten on 14 March, 2006, 19:51:22
--[[

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)

]]--
Title: Re: Lucifer 6.6.6
Post by: 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
Title: Re: Lucifer 6.6.6
Post by: bastya_elvtars on 15 March, 2006, 01:26:46
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.
Title: Re: Lucifer 6.6.6
Post by: BrotherBear on 15 March, 2006, 08:01:22
Ok, is Ptokax 0.3.4.0 compatible with LUA 5.1 then?
Title: Re: Lucifer 6.6.6
Post by: 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...)
Title: Re: Lucifer 6.6.6
Post by: 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 ;)
Title: Re: Lucifer 6.6.6
Post by: 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 ;)
Title: Re: Lucifer 6.6.6
Post by: 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 :)
Title: Re: Lucifer 6.6.6
Post by: Psycho_Chihuahua on 15 March, 2006, 15:09:04
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  ::)
Title: Re: Lucifer 6.6.6
Post by: BrotherBear on 15 March, 2006, 16:12:35
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 :)
Title: Re: Lucifer 6.6.6
Post by: Toobster?? on 15 March, 2006, 18:36:49
GOOD WORK JITEN  :)

Im off to test it now  ;)
Title: Re: Lucifer 6.6.6
Post by: 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
Title: Re: Lucifer 6.6.6
Post by: jiten on 16 March, 2006, 11:44:32
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
Title: Re: Lucifer 6.6.6
Post by: jiten on 16 March, 2006, 17:11:35
First post has been updated with Toobster??'s report bugfix.

Cheers
Title: Re: Lucifer 6.6.6
Post by: 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 ?
Title: Re: Lucifer 6.6.6
Post by: jiten on 16 March, 2006, 19:30:51
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.
Title: Re: Lucifer 6.6.6
Post by: electronic_Psycho on 16 March, 2006, 20:45:31
 :-[ tnx Jiten..

from wher i can get px 0.3.4.0a  ?? someon can help please ? ::)
Title: Re: Lucifer 6.6.6
Post by: Toobster?? on 16 March, 2006, 23:05:16
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
Title: Re: Lucifer 6.6.6
Post by: 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.
Title: Re: Lucifer 6.6.6
Post by: 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
Title: Re: Lucifer 6.6.6
Post by: Psycho_Chihuahua on 23 March, 2006, 13:09:44
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 ;)
Title: Lucifer 6.6.6 - build 2.121 - LUA 5.1
Post by: jiten on 24 March, 2006, 12:01:10
First post updated with some changes.
Title: Lucifer 6.6.6 - build 2.122 - LUA 5.1
Post by: jiten on 27 March, 2006, 19:11:47
First post updated with a small fix.
Title: Re: Lucifer 6.6.6
Post by: 6Marilyn6Manson6 on 27 March, 2006, 19:55:53
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
Title: Re: Lucifer 6.6.6
Post by: 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.
Title: Re: Lucifer 6.6.6
Post by: Psycho_Chihuahua on 27 March, 2006, 21:14:19
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 ;)
Title: Re: Lucifer 6.6.6
Post by: jiten on 28 March, 2006, 13:05:08
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
Title: Lucifer 6.6.6 - build 2.13 - LUA 5.1
Post by: jiten on 10 July, 2006, 20:04:59
First post has been updated with some changes to the main code.

Best regards
Title: Lucifer 6.6.6 - build 2.131 - LUA 5.1
Post by: jiten on 16 July, 2006, 13:01:39
First post has been updated with a small change.
Title: Re: Lucifer 6.6.6
Post by: BrotherBear on 18 July, 2006, 19:42:58
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
Title: Re: Lucifer 6.6.6
Post by: 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.

Title: Re: Lucifer 6.6.6
Post by: BrotherBear on 19 July, 2006, 08:43:28
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 :)
Title: Re: Lucifer 6.6.6
Post by: BrotherBear on 19 July, 2006, 17:06:56
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 :)
Title: Re: Lucifer 6.6.6
Post by: 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.
Title: Re: Lucifer 6.6.6
Post by: TiMeTrAVelleR on 19 July, 2006, 21:59:29
works just fine here  no probs at all
Title: Re: Lucifer 6.6.6
Post by: BrotherBear on 21 July, 2006, 09:46:30
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?
Title: Re: Lucifer 6.6.6
Post by: 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?

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.
Title: Re: Lucifer 6.6.6
Post by: Alexinno on 21 July, 2006, 13:16:26
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  ???
Title: Re: Lucifer 6.6.6
Post by: 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!?
Title: Re: Lucifer 6.6.6
Post by: 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

sorry for this question , but why does this bother you ?
you don't have the space on your hdd drive for it ? :P
Title: Re: Lucifer 6.6.6
Post by: jiten on 21 July, 2006, 16:39:44
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:


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].
Title: Re: Lucifer 6.6.6
Post by: BrotherBear on 21 July, 2006, 17:00:14
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 :(
Title: Re: Lucifer 6.6.6
Post by: BrotherBear on 21 July, 2006, 17:00:46
WooW :)
Title: Re: Lucifer 6.6.6
Post by: BrotherBear on 21 July, 2006, 17:06:56
Oki, My bad, it did not Read from the script after tha Table was created, sorry :(
Title: Re: Lucifer 6.6.6
Post by: jiten on 21 July, 2006, 17:22:48
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.
Title: Re: Lucifer 6.6.6
Post by: BrotherBear on 21 July, 2006, 17:41:48
You Are the Man, Thanks jiten :)
Title: Re: Lucifer 6.6.6
Post by: TopCat on 21 July, 2006, 21:28:23
Hi  jiten,

Thx for the script  :P

It works great and easy with the mousemenu. Very nice script  ;D
Title: Re: Lucifer 6.6.6
Post by: [HE]Newbie on 29 July, 2006, 01:47:52
Well done Jiten, This script finished my hub. Great keep up that good work ( you all)
Title: Lucifer 6.6.6 - build 2.132 - LUA 5.1
Post by: jiten on 28 August, 2006, 20:45:08
First post has been updated with some changes in the code.
Title: Re: helpp
Post by: Apocalypse on 13 September, 2006, 08:29:02
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?
Title: Re: Lucifer 6.6.6 - build 2.132 - LUA 5.1
Post by: Apocalypse on 13 September, 2006, 08:31:21
Quote from: jiten on 28 August, 2006, 20:45:08
First post has been updated with some changes in the code.
hi
Title: Lucifer 6.6.6 - build 2.133 - LUA 5.1
Post by: jiten on 16 October, 2006, 20:49:38
First post has been updated with some fixes to the code.
Title: Re: Lucifer 6.6.6
Post by: 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 ;)
Can you look at that ? So that they block pm to ??

Title: Re: Lucifer 6.6.6
Post by: Alexinno on 14 December, 2006, 16:26:45
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
Title: I can't understand this in Lucifer 6.6.6.
Post by: Josecar on 01 January, 2007, 21:09:33
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



Title: Re: Lucifer 6.6.6
Post by: bastya_elvtars on 01 January, 2007, 23:23:41
Shouldn't it be if (tSettings.tabAdvert.iClock -os.clock() > 60) ?
Title: Re: Lucifer 6.6.6
Post by: Josecar on 02 January, 2007, 01:12:18
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.
Title: Re: Lucifer 6.6.6
Post by: bastya_elvtars on 02 January, 2007, 01:15:43
Yep, it should be tabAdvert.iClock-os.clock(), sorry.

Bloody hangover. ;-)
Title: Re: Lucifer 6.6.6
Post by: -SkA- on 05 May, 2007, 15:40:00
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.