PtokaX forum

PtokaX => Support => Topic started by: ??']['??l? on 28 July, 2006, 16:24:56

Title: hub software no longer supports $UserIP (v1)??
Post by: ??']['??l? on 28 July, 2006, 16:24:56
[18:01:14] <...:::RuthlessRicK?:::...> 


   [ ATTENTION! ]
   Since our hub software no longer supports $UserIP (v1) you will be disconnected immediately.
   In your client, please disable sendng $UserIP for users or use regular DC++ to enter this hub


- [18:01:14] *** Disconnected

Why this comes for some user who are connecting to my hub??

Can somebody help me??

Thanks... :)
Title: Re: hub software no longer supports $UserIP (v1)??
Post by: Pothead on 28 July, 2006, 17:13:50
Tell them not to send UserIP on connect to the hub. :)
Title: Re: hub software no longer supports $UserIP (v1)??
Post by: Rincewind on 28 July, 2006, 17:26:06
$UserIP (v1) is no longer supported by PtokaX. The user is normally disconnected without any reason given. That message is from a script (one of mine?) which tells the user why they cannot access the hub and what to do about it.

If they were not getting that message then they would be unable to enter the hub anyway but would not know why.
Title: Re: hub software no longer supports $UserIP (v1)??
Post by: the-master on 28 July, 2006, 17:37:00
I use following lua and removed the section from the script that disconnects the user :)
works fine :)

--[[
Bypass $UserIP

By Mutor        06/26/06

Code bit to allows connection of clients sending $UserIP

$UserIP is no longer supported in PtokaX
This ignores the $UserIP request
]]

UnknownArrival = function(user,data)
if string.find(data,"$UserIP") then
return 1
end
end
Title: Re: hub software no longer supports $UserIP (v1)??
Post by: ??']['??l? on 28 July, 2006, 19:50:47
Thanks Y`all... :) :) :)