gag Hub Security?
 

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

gag Hub Security?

Started by Odin, 30 January, 2004, 01:04:04

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Odin

Is it possible to shut up
On every !kick a message from the BOT is displayed in main chat, but the same message is repeated by

Example:

00:04] User [NO]Baahh was kicked. (Reason: you got a upload on 128, that means max 2 upload slots open not 4, remeber min. 5kb/s pr. slot )
[00:04] <-Bure-> [TGA-OP]igooor is kicking [NO]Baahh for: you got a upload on 128, that means max 2 upload slots open not 4, remeber min. 5kb/s pr. slot

now, <-Bure-> is ok, he is logged in as BOT, but this dude, I really would like him to stay silent!
Norges DC hub nummer 1!
dchub://odin.vikingshub.com:1337  

VidFamne

You can use ' return 1'
to tell the hub that the command is already done.

plop

QuoteOriginally posted by VidFamne
You can use ' return 1'
to tell the hub that the command is already done.
that return 1 is in the script.
just it keeps speaking as it's send out by ptokax itself after the kick.
     if CommandsTable[cmd] then
         call(CommandsTable[cmd], {user,data})
         return 1
 		end
odin is running my beta's of a.i..
just you guy's have 2 much questions that i don't have time 2 find a cure for this problem. lol

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 <----<<

VidFamne

Oh, sorry I didnt know that.
But it would be very interesting to look at your script.
Is it public? :))

plop

QuoteOriginally posted by VidFamne
Oh, sorry I didnt know that.
But it would be very interesting to look at your script.
Is it public? :))
nope sorry, i asked the users from our hub's if i could release the source but they asked me not 2, and there are a bunch of hiden jokes in it. lol
it's more fun if you find them by accident. lol
but take a look @ crazy bot if that piece of code grabed your interest, that works in the same style as a.i..
without crazy bot i never could have made a.i. working this fast.

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 <----<<

Odin

Problem here I belive is that send the message before the bot, so the "return 1" won't do it. Am I wrong?
Norges DC hub nummer 1!
dchub://odin.vikingshub.com:1337  

plop

QuoteOriginally posted by Odin
Problem here I belive is that send the message before the bot, so the "return 1" won't do it. Am I wrong?
your basicly right, check the next flow chart 2 see whats happening.
data comes into ptokax
ptokax check what it is and decides what 2 do with it (send 2 bot or keep for himself)
bot gets the data in this case
bot finds the kick processes it by sending a command 2 ptokax --- ptokax responds by sending a msg from hub securety
|
|
bot speaks and does a return 1 to stop data going out.
user is gone.
as you can see it splits up, so the return 1 only works on the part from the bot stopping the command being shown in chat.

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 <----<<

SMF spam blocked by CleanTalk