Hello :-[
someon can help me please i have Strange Problem with my hub.. [sorry on the bad english]
my users get this "You are already connected to the HUB with another nick"
but them dont connectd to the hub.. the come in & the hub disconnect them..
i use with PX 0.3.4.0 [debug]
& RCv10.021
someon can help Please ? :'(
hello & Thanks Mutor!! :)
no i dont enblad the tag. the problem was 1 script of my.
"bloker2ip" dunno what append to that script.
allot tnx Mutor :)
hello again ,. ;D
someon can help me please with that Script ? i sure that is the problem.. :(
-----------------------------------------------------------------
--Requested by [NL]trucker
--Made by nErBoS
Bot = ".???iN-System???."
dip = {}
function Main()
frmHub:RegBot(Bot)
end
function NewUserConnected(user, data)
if (dip[user.sIP] == nil) then
dip[user.sIP] = 1
elseif (dip[user.sIP] == 1) then
user:SendPM(Bot, "You are already connected to the HUB with another nick.")
ip2 = 1
user:Disconnect()
end
end
function UserDisconnected(user, data)
if (ip2 == 1) then
dip[user.sIP] = 1
ip2 = 0
else
dip[user.sIP] = nil
ip2 = 0
end
end
-----------------------------------------------------
This script blocked double login. If you don't want double ip blocke... you don't modify script but.. delete it :D
thanks 6Marilyn6Manson6..
& Hello.. ;)
i want that script i dont want 2 login from the same ip
but the Problem is even if the user is 1 time try to connect to the hub
this say to him "You are already connected to the HUB with another nick"
dunno why... :'(
someon see any problem with the script ?! please .. . . ::)
look how my main chat look like ..
------------------------------
[21:32:33] <.???iN-System???.> ??::?::??Super?V-i-P? oni Has entered ..?::?::??
[21:33:01] <.???iN-System???.> ??::?::??Super?V-i-P? EMp Has entered ..?::?::??
[21:33:04] <.???iN-System???.> ??::?::??Super?V-i-P? grusha Has entered ..?::?::??
[21:33:35] <.???iN-System???.> ??::?::??Super?V-i-P? EMp Has entered ..?::?::??
[21:34:57] <.???iN-System???.> ??::?::??Super?V-i-P? oni Has entered ..?::?::??
[21:35:26] <.???iN-System???.> ??::?::??Super?V-i-P? grusha Has entered ..?::?::??
[21:35:34] <.???iN-System???.> ??::?::??Super?V-i-P? LaboTT@ Has entered ..?::?::??
[21:36:19] <.???iN-System???.> ??::?::??Super?V-i-P? RedEagle Has entered ..?::?::??
[21:36:43] <.???iN-System???.> ??::?::??Vip? Dr.Trance Has entered ..?::?::??
[21:36:53] <.???iN-System???.> ??::?::??Super?V-i-P? EMp Has entered ..?::?::??
[21:37:10] <.???iN-System???.> ??::?::??Super?V-i-P? EMp Has entered ..?::?::??
[21:37:13] <.???iN-System???.> ??::?::??Super?V-i-P? oni Has entered ..?::?::??
[21:37:55] <.???iN-System???.> ??::?::??Super?V-i-P? grusha Has entered ..?::?::??
[21:39:33] <.???iN-System???.> ??::?::??Super?V-i-P? oni Has entered ..?::?::??
[21:40:29] <.???iN-System???.> ??::?::??Super?V-i-P? grusha Has entered ..?::?::??
[21:41:47] <.???iN-System???.> ??::?::??Super?V-i-P? oni Has entered ..?::?::??
[21:43:08] <.???iN-System???.> ??::?::??Super?V-i-P? grusha Has entered ..?::?::??
[21:44:29] <.???iN-System???.> ??::?::??Super?V-i-P? oni Has entered ..?::?::??
[21:46:08] <.???iN-System???.> ??::?::??Super?V-i-P? grusha Has entered ..?::?::??
[21:47:00] <.???iN-System???.> ??::?::??Super?V-i-P? oni Has entered ..?::?::??
[21:47:09] <.???iN-System???.> ??::?::??Super?V-i-P? LaboTT@ Has entered ..?::?::??
[21:48:39] <.???iN-System???.> ??::?::??Super?V-i-P? grusha Has entered ..?::?::??
[21:49:23] <.???iN-System???.> ??::?::??Super?V-i-P? oni Has entered ..?::?::??
[21:49:35] <.???iN-System???.> ??::?::??Super?V-i-P? LaboTT@ Has entered ..?::?::??
[21:50:40] <.???iN-System???.> ??::?::??Super?V-i-P? oni Has entered ..?::?::??
[21:51:12] <.???iN-System???.> ??::?::??Super?V-i-P? grusha Has entered ..?::?::??
[21:52:04] <.???iN-System???.> ??::?::??Super?V-i-P? LaboTT@ Has entered ..?::?::??
[22:15:33] <.???iN-System???.> ??::?::??Vip? m@RTin Has entered ..?::?::??
-----------------------------------------
someon can help please . . . . ?
i'am using with px 0.3.4.0 [debug]
& RCv10.021 ..
Quote from: electronic_Psycho on 16 March, 2006, 21:18:57
thanks 6Marilyn6Manson6..
& Hello..? ;)
i want that script i dont? want 2 login from the same ip
but the Problem is even if the user is 1 time try to connect to the hub
this say to him "You are already connected to the HUB with another nick"
dunno why...? :'(
someon see any problem with the script ?! please .. . . ::)
look how my main chat look like ..
------------------------------
[21:32:33] <.???iN-System???.>? ? ? ? ? ???::?::??Super?V-i-P?? oni Has entered ..?::?::??
[21:33:01] <.???iN-System???.>? ? ? ? ? ???::?::??Super?V-i-P?? EMp Has entered ..?::?::??
[21:33:04] <.???iN-System???.>? ? ? ? ? ???::?::??Super?V-i-P?? grusha Has entered ..?::?::??
[21:33:35] <.???iN-System???.>? ? ? ? ? ???::?::??Super?V-i-P?? EMp Has entered ..?::?::??
[21:34:57] <.???iN-System???.>? ? ? ? ? ???::?::??Super?V-i-P?? oni Has entered ..?::?::??
[21:35:26] <.???iN-System???.>? ? ? ? ? ???::?::??Super?V-i-P?? grusha Has entered ..?::?::??
[21:35:34] <.???iN-System???.>? ? ? ? ? ???::?::??Super?V-i-P?? LaboTT@ Has entered ..?::?::??
[21:36:19] <.???iN-System???.>? ? ? ? ? ???::?::??Super?V-i-P?? RedEagle Has entered ..?::?::??
[21:36:43] <.???iN-System???.>? ? ? ? ? ???::?::??Vip? Dr.Trance Has entered ..?::?::??
[21:36:53] <.???iN-System???.>? ? ? ? ? ???::?::??Super?V-i-P?? EMp Has entered ..?::?::??
[21:37:10] <.???iN-System???.>? ? ? ? ? ???::?::??Super?V-i-P?? EMp Has entered ..?::?::??
[21:37:13] <.???iN-System???.>? ? ? ? ? ???::?::??Super?V-i-P?? oni Has entered ..?::?::??
[21:37:55] <.???iN-System???.>? ? ? ? ? ???::?::??Super?V-i-P?? grusha Has entered ..?::?::??
[21:39:33] <.???iN-System???.>? ? ? ? ? ???::?::??Super?V-i-P?? oni Has entered ..?::?::??
[21:40:29] <.???iN-System???.>? ? ? ? ? ???::?::??Super?V-i-P?? grusha Has entered ..?::?::??
[21:41:47] <.???iN-System???.>? ? ? ? ? ???::?::??Super?V-i-P?? oni Has entered ..?::?::??
[21:43:08] <.???iN-System???.>? ? ? ? ? ???::?::??Super?V-i-P?? grusha Has entered ..?::?::??
[21:44:29] <.???iN-System???.>? ? ? ? ? ???::?::??Super?V-i-P?? oni Has entered ..?::?::??
[21:46:08] <.???iN-System???.>? ? ? ? ? ???::?::??Super?V-i-P?? grusha Has entered ..?::?::??
[21:47:00] <.???iN-System???.>? ? ? ? ? ???::?::??Super?V-i-P?? oni Has entered ..?::?::??
[21:47:09] <.???iN-System???.>? ? ? ? ? ???::?::??Super?V-i-P?? LaboTT@ Has entered ..?::?::??
[21:48:39] <.???iN-System???.>? ? ? ? ? ???::?::??Super?V-i-P?? grusha Has entered ..?::?::??
[21:49:23] <.???iN-System???.>? ? ? ? ? ???::?::??Super?V-i-P?? oni Has entered ..?::?::??
[21:49:35] <.???iN-System???.>? ? ? ? ? ???::?::??Super?V-i-P?? LaboTT@ Has entered ..?::?::??
[21:50:40] <.???iN-System???.>? ? ? ? ? ???::?::??Super?V-i-P?? oni Has entered ..?::?::??
[21:51:12] <.???iN-System???.>? ? ? ? ? ???::?::??Super?V-i-P?? grusha Has entered ..?::?::??
[21:52:04] <.???iN-System???.>? ? ? ? ? ???::?::??Super?V-i-P?? LaboTT@ Has entered ..?::?::??
[22:15:33] <.???iN-System???.>? ? ? ? ? ???::?::??Vip? m@RTin Has entered ..?::?::??
-----------------------------------------
someon can help please? . . . .? ?
i'am using with px 0.3.4.0 [debug]
& RCv10.021 ..
I don't understand your request really.. explain your problem, your solution and your request :P
tnx again 6Marilyn6Manson6 .. ;)
my problem its that the users that try to connect to my hub get this msg
> "You are already connected to the HUB with another nick"
& them not!
& i want that Sccript. i dont want 2 login from the same ip.
my problem is that i think that the script is not good.
so i ask if any budy can look what the problem with that script please,,
i hope now you understend me :) [sorry on the bad english]
& thanks you! ;)
Quote from: electronic_Psycho on 16 March, 2006, 21:40:30
tnx again 6Marilyn6Manson6 ..? ;)
my problem its that the users that try to connect to my hub get this msg
> "You are already connected to the HUB with another nick"
& them not!
& i want that Sccript. i dont want 2 login from the same ip.
my problem is that i think that the script is not good.
so i ask if any budy can look what the problem with that script please,,
i hope now you understend me? :)? [sorry on the bad english]
& thanks you!? ;)
Delete this your script:
--Requested by [NL]trucker
--Made by nErBoS
Bot = ".???iN-System???."
dip = {}
function Main()
frmHub:RegBot(Bot)
end
function NewUserConnected(user, data)
if (dip[user.sIP] == nil) then
dip[user.sIP] = 1
elseif (dip[user.sIP] == 1) then
user:SendPM(Bot, "You are already connected to the HUB with another nick.")
ip2 = 1
user:Disconnect()
end
end
function UserDisconnected(user, data)
if (ip2 == 1) then
dip[user.sIP] = 1
ip2 = 0
else
dip[user.sIP] = nil
ip2 = 0
end
end
and you can use this script:
-- ==================================================
--// DupesOFF (Double Login Killer) by GeceBekcisi
--// 30-09-2005, The final and bugless version
--// Thanks to Dessamator, bastya_elvtars and PPK
-- ==================================================
sBot = "DupesOFF" -- Bot's Name
-----------------------------------------------------
function MyINFOArrival(curUser)
if not curUser.bOperator and not curUser.bConnected then
for _,LoggedUser in frmHub:GetOnlineNonOperators() do
if curUser.sIP == LoggedUser.sIP and curUser.iShareSize == LoggedUser.iShareSize then
curUser:SendData(sBot, "Double login is not allowed in this hub")
curUser:Disconnect()
end
end
end
end
-- ==================================================
I'm not sure if Im understand you :P
Thanks you 6Marilyn6Manson6 !!!! :D
go to test it ;D