deflood - Page 6
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

deflood

Started by plop, 05 July, 2004, 05:52:44

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Psycho_Chihuahua

QuoteOriginally posted by BoJlk
-- filter levels. use 1 for everything but OP's, nil for the table with level numbers.

Changing it to "nil" Means Everyone is checked except OP/VIP/Master?

i'm sorry i'm dumb, Just gotto ask this...

-- filter levels. use 1 for everything but OP's, nil for the table with level numbers.
iMode = nil
tMode = { [-1] = 1, [1] = 1, [2] = 1, [3] = 1 }

that is what was meant.....just fill in the Profiles you want to be checked
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

BoJlk

Okey, thanks for the patience   :]

plop

QuoteOriginally posted by imby
Syntax error: attempt to perform arithmetic on a nil value
stack traceback:
   1:  function `DataArrival' at line 420 [file `...rograms - Games\Ptokax\scripts\deflood4.5.1.lua']

Syntax error: attempt to perform arithmetic on a nil value
stack traceback:
   1:  function `DataArrival' at line 420 [file `...rograms - Games\Ptokax\scripts\deflood4.5.1.lua']

with 0330 15.25. i hope this helps. i dunno what caused it unfortunately.
no problem i know.
some1 forgot that a ip contains 4 numbers with 3 dots.
1.2.3.4
he only came as far as 1.2.3, or maby even less.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

BoJlk

i Got a Suggetion for plop

Can you *add Commands to Configure the Script's Features?

plop

QuoteOriginally posted by BoJlk
i Got a Suggetion for plop

Can you *add Commands to Configure the Script's Features?
i'm not a fan of these things, i consider it a securety risk, specialy on a script like deflood.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

imby

QuoteOriginally posted by plop
QuoteOriginally posted by imby
Syntax error: attempt to perform arithmetic on a nil value
stack traceback:
   1:  function `DataArrival' at line 420 [file `...rograms - Games\Ptokax\scripts\deflood4.5.1.lua']

Syntax error: attempt to perform arithmetic on a nil value
stack traceback:
   1:  function `DataArrival' at line 420 [file `...rograms - Games\Ptokax\scripts\deflood4.5.1.lua']

with 0330 15.25. i hope this helps. i dunno what caused it unfortunately.
no problem i know.
some1 forgot that a ip contains 4 numbers with 3 dots.
1.2.3.4
he only came as far as 1.2.3, or maby even less.

plop

Ah right, can that be fixed?

and maybe a command or option in the script to show certain warnings and hide others. ie show users warned/kicked for main chat spam, hide those with a wrong IP in their connect to me for example. i'd like that, probably no one else would.

Gollum

I running version 4.5.1 and i think its a great script.

But are it possible to send to ban message somewhere else? I dont want it in OpChat or main. It looks so ugly.

Thanks!!
The world is coming to an end. Please log off.

[G-T-E]Gate?

Sure there is a way;

Go to following line in the script

-- name of the opchat so the output of this script shows up there instead of it's own window.
-- comment this for own window (aka place -- before it like this text has).
opchat = "-OPChat-"  -- fill in the name here if you use a scripted opchat.
--opchat = frmHub:GetOpChatName()     -- uncomment this and make the above a comment if you use the ptokax build-in opchat.


NOW there go to

opchat = [COLOR=red]"-OPChat-"[/COLOR]   -- fill in the name here if you use a scripted opchat.

AND Replace "-OPChat-"  with    "the name of ur Main Hub Bot "
 All messeges will be sent to it and ?keep OpChat clean.

Regards G8

BoJlk

First...plop
Quotei consider it a securety risk, specialy on a script like deflood
Even if you make it only to Master/OP...it will?

Second to...[G-T-E]Gate?
QuoteAND Replace "-OPChat-" with "the name of ur Main Hub Bot "
All messeges will be sent to it and ?keep OpChat clean.
But let's say sending it to the RoboCop Bot
will it send it to me?

blackwings

QuoteOriginally posted by BoJlk
Second to...[G-T-E]Gate?
QuoteAND Replace "-OPChat-" with "the name of ur Main Hub Bot "
All messeges will be sent to it and ?keep OpChat clean.
But let's say sending it to the RoboCop Bot
will it send it to me?

I have done the thing Gate said (I have done it since deflood 3.0) and it will send the message to all Ops


hornblower

Syntax error: attempt to perform arithmetic on a nil value
stack traceback:
1: function `DataArrival' at line 423

I am suddenly getting the above sytax error. Im using deflood 4.5.1 and RC 9.0b with Ptokax 0.3.3.0 build 15.25 (debug)

Is it something I can dio anything about/worry about?

Thanks for any advice.

Typhoon

please post the ENTIRE syntax report you get in PtokaX , so plop or Optimus or others can see which script that's making the bug..

Typhoon?



hornblower

As requested

Syntax error: attempt to perform arithmetic on a nil value
stack traceback:
   1:  function `DataArrival' at line 423 [file `...esktop\ptoka x\ptoka x\scripts\deflood4.5.1.lua']

Syntax error: attempt to perform arithmetic on a nil value
stack traceback:
   1:  function `DataArrival' at line 423 [file `...esktop\ptoka x\ptoka x\scripts\deflood4.5.1.lua']

Syntax error: attempt to perform arithmetic on a nil value
stack traceback:
   1:  function `DataArrival' at line 423 [file `...esktop\ptoka x\ptoka x\scripts\deflood4.5.1.lua']

Syntax error: attempt to perform arithmetic on a nil value
stack traceback:
   1:  function `DataArrival' at line 423 [file `...esktop\ptoka x\ptoka x\scripts\deflood4.5.1.lua']

belea

Hi there

im using the version 4.5.1.. and today after my internet was down..  when ppl started to come.. after 100 or 150..  the deflood  putted like a limite or something and i had a full list with bans :)

Thx

plop

----------------------------------------------------------------------
-- V4.5.2
-----
-- fixed error on incorrect IP's (forgotten numbers).
----------------------------------------------------------------------
this fixes the "attempt to perform arithmetic on a nil value".

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

BoJlk

If it Fixes the:
Syntax Error: table index is nil
Syntax Error: table index is nil
Syntax Error: table index is nil
Syntax Error: table index is nil
Syntax Error: table index is nil
...

Then it's not...
Well atleast on my hub [ProtaX v0.3.2.6 TD4]

belea

#141
nice

 Another suggestion ..  i can set the bot to send only to masters or only to me,  those messeages.. ?

And a little !help command to see all the commands ? and maybe to disable the  $ConnectToMe thing ?

Thx

blackwings

#142
QuoteOriginally posted by belea
And a little !help command to see all the commands ? and maybe to disable the  $ConnectToMe thing ?

Thx
There is no commands in deflood. Plop says that commands makes the script less secure.
To remove the $ConnectToMe(in 4.5.2), remove lines 418 to 454, save the changes and then restart the script, done:)

QuoteOriginally posted by belea
Another suggestion ..  i can set the bot to send only to masters or only to me,  those messeages.. ?
To make deflood to report to you, do this then =
-- Add this after Bot="deflood"
tReport="Your nick"

-- Use this format in deflood messages, then it will send you the message ()
SendPmToNick(tReport,Bot, "The message that deflood sends") 

-- Save the change and then restart the script, done :)


BoJlk

#143
As plop Said...
Quotei'm not a fan of these things, i consider it a securety risk, specialy on a script like deflood.

plop


*** [edit]...

Which of the number represent the profile...
[size=1]-- filter levels. use 1 for everything but OP's, nil for the table with level numbers.
iMode = nil
tMode = { [-1] = 1, [1] = 1, [2] = 1, [3] = 1 }[/size]

Cobalt

Hello,

I've got problem. I'm using on my hub deflooder 4.5.1 and there is a plenty of people kicked from hub for using a search flooder. Deflooder kicks OPs and VIPs too. iMaxSrch is set to number 6. Can you tell me what is the optimum number in this settings? And if I can somewhere change settings of deflooder to exclude OPs and VIPs from deflooder's effects.

Thanks

Cobalt

belea

Hi there


where i should put ? :

 SendPmToNick(tReport,Bot, "The message that deflood sends")

blackwings

#146
QuoteOriginally posted by belea
Hi there


where i should put ? :

 SendPmToNick(tReport,Bot, "The message that deflood sends")
Change this code (line 625-635 in 4.5.2)=
function StoreLog(nick, msg)
   appendto(fFile)
   if opchat then
      SendPmToOps(opchat, msg.."|")
   else
      SendPmToOps(Bot, msg.."|")
   end
   write(msg.."\n")
   writeto()
   msg = nil
end
To this code (in this one, I have made the changes for you)=
function StoreLog(nick, msg)
   appendto(fFile)
   if opchat then
      SendPmToNick(tReport,opchat, msg.."|")
   else
      SendPmToNick(tReport,Bot, msg.."|")
   end
   write(msg.."\n")
   writeto()
   msg = nil
end


blackwings

#147
QuoteOriginally posted by BoJlk
Which of the number represent the profile...
[size=1]-- filter levels. use 1 for everything but OP's, nil for the table with level numbers.
iMode = nil
tMode = { [-1] = 1, [1] = 1, [2] = 1, [3] = 1 }[/size]
Those that are inside of the [].

0 = Master
1 = Operator
2 = VIP
3 = REG
-1 = Normal/non-regged user
4 = Moderator (If you use RoboCop 8.0+)
5 = NetFounder (If you use RoboCop 8.0+)


BoJlk

blackwings where i put the MyNick?

here?
[size=1]-- name of the opchat so the output of this script shows up there instead of it's own window.
-- comment this for own window (aka place -- before it like this text has).
opchat = [color=red]"OPChat"[/color]  -- fill in the name here if you use a scripted opchat.
--opchat = frmHub:GetOpChatName()     -- uncomment this and make the above a comment if you use the ptokax build-in opchat.[/size]

belea

#149
now its seems to work :D  thx  blackwings

SMF spam blocked by CleanTalk