Author Topic: Prevent user with pinger nick to stay in hub  (Read 2409 times)

0 Members and 1 Guest are viewing this topic.

Offline Pieter

  • Newbie
  • *
  • Posts: 9
  • Karma: +2/-0
Prevent user with pinger nick to stay in hub
« on: 22 February, 2009, 16:53:33 »
Hi all, some people have found a new way to annoy hubowners.
They login on the hub with the nick of one of the hublist pingers.
When they are in the hublist can't.
Nickban them is no option because you willl also ban the pinger.
Ip ban is not an option because they return soon with another ip.
So i suppose it could be done with a list of nicks that will be disconnected when they stay in the hub for more then a few seconds.

Hope someone can help.

Thanx Pieter.

PtokaX forum

Prevent user with pinger nick to stay in hub
« on: 22 February, 2009, 16:53:33 »

Offline CrazyGuy

  • Viking
  • ****
  • Posts: 506
  • Karma: +83/-20
    • ?????=-_The NightHawk_-=?????
Re: Prevent user with pinger nick to stay in hub
« Reply #1 on: 22 February, 2009, 23:24:04 »
Having seen this with a "dchublist" example in PtokaX Admins, it was suggested by Daywalker to check other variables that do not change such as sharesize, tag and email. Set your script to kick on a match on those.

Offline ATAG

  • Scripter
  • Double Ace
  • ******
  • Posts: 111
  • Karma: +14/-0
  • secret things
    • Metin2 Hungarian Forum
Re: Prevent user with pinger nick to stay in hub
« Reply #2 on: 24 February, 2009, 14:12:01 »
You can set the pinger nick/password on some hublists (for example: dchublist, openhublist) and reg them on your hub.

Offline [NL]Daddy-Bear?

  • Scripter
  • Double Ace
  • ******
  • Posts: 102
  • Karma: +70/-7
  • ?????? Its me Daddy-Bear? ?????
Re: Prevent user with pinger nick to stay in hub
« Reply #3 on: 26 February, 2009, 16:04:29 »
Hello it?s me again


Maybe that this helps, an LUA to tease him.

Link   http://forum.ptokax.org/index.php?topic=8279.0


Respectfully,

[NL]Daddy-Bear?
???????????? Lets enjoy our Hobby ??????????

dchub://Daddys-Friends-Association.no-ip.org:4106

take a peek you are welcome :D

Offline sphinx_spb

  • Member
  • ***
  • Posts: 47
  • Karma: +10/-3
Re: Prevent user with pinger nick to stay in hub
« Reply #4 on: 04 April, 2009, 08:43:07 »
This prevent fake pinger even to log in
Code: [Select]
local ifpinger=false
local Bot=SetMan.GetString(21)
local Pinger={["nick1"]=1,["nick2"]=1,} -- pingers' nicks here

BotINFOArrival = function(sUser,sData)
local _,_,desc = sData:sub(1,-2):find("$BotINFO (.+)")
if desc then
if Pinger[sUser.sNick] then
ifpinger=true
end
end
end

UserConnected = function (sUser)
if Pinger[sUser.sNick] then
if ifpinger then
ifpinger=false
else
Core.SendToUser(sUser,"<"..Bot.."> This nick is reserved!")
Core.Disconnect(sUser)
return true
end
end
end

Offline CrazyGuy

  • Viking
  • ****
  • Posts: 506
  • Karma: +83/-20
    • ?????=-_The NightHawk_-=?????
Re: Prevent user with pinger nick to stay in hub
« Reply #5 on: 06 April, 2009, 16:45:59 »
Actually his script doesn't stop fake pingers from login in, but only regular users from using pinger nicks  :P

PtokaX forum

Re: Prevent user with pinger nick to stay in hub
« Reply #5 on: 06 April, 2009, 16:45:59 »