No Public Hubs script for Ptokax 3.3.21 ??
 

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

No Public Hubs script for Ptokax 3.3.21 ??

Started by meltnmold, 31 January, 2011, 14:36:06

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

meltnmold

I'm looking for a script to kick users who login to a private hub while also logging in to a Public (UnRegged) hub. I'm no longer running a hub since I moved and only can get dial-up for now but need the script for a friend who is still running 3.3.21 and 0.306 since she, and her users, don't want to get into hashing. I can't talk her into upgrading since everything is working now and she's afraid she won't be able to upgrade without crashing the hub. I can walk her through little things but in a week she's forgotten how to do it and we're over 900 miles apart so I need to keep things as simple as possible.

Is there such a script still floating around?

Thanks.....

Psycho_Chihuahua

PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

meltnmold

Thank you but unless I made an error, I had sent that to her and after taking several days to walk her through installing it, she said it did not work but one of her users, who also runs another hub (not Ptokax however) had a script which kicked a user who had logged into her hub, his hub and a public hub at the same time.

This is what I had found and sent to her:
-----------------------------------------------------------------

-- Anti Open Hub Bot
-- by NightLitch
-- minor bugfix by psycho_chihuahua
DisconnectMessage = "Please close the public Hubs."
function DataArrival( sUser , sData )
if strsub( sData , 1 , 7 ) == "$MyINFO" then
local _,_,openhubs = strfind( sData , ".+H%d+)" );
if ( openhubs ~= "0" ) then
SendToNick( sUser.sName , DisconnectMessage )
sUserisconnect()
end
end
end

---------------------------------------------------------------

meltnmold

Ahhhhhhhh I see a difference in Line 7..... from the one I sent and the one you just posted the link to..... I just copied it from where I found it but it appears either something got left out when the other person posted it or when I copied it...

There's one parentheses and a colon missing in the copy I had. Could that be the reason it didn't work for her?


local _,_,openhubs = strfind( sData , ".+H:(%d+)" );

Psycho_Chihuahua

Last one was --> This one. For such an old Ptokax version there is nothing else, 3.3.21 is long outdated and no longer supported.
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

meltnmold


SMF spam blocked by CleanTalk