You are already connected to the HUB with another nick.
 

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

You are already connected to the HUB with another nick.

Started by electronic_Psycho, 16 March, 2006, 16:40:23

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

electronic_Psycho

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 ? :'(

electronic_Psycho

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

electronic_Psycho

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

6Marilyn6Manson6

This script blocked double login. If you don't want double ip blocke... you don't modify script but.. delete it :D

electronic_Psycho

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


6Marilyn6Manson6

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

electronic_Psycho

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!  ;)

6Marilyn6Manson6

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

electronic_Psycho

Thanks you 6Marilyn6Manson6 !!!:D

go to test it  ;D

SMF spam blocked by CleanTalk