Prevent auto disconnect
 

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

Prevent auto disconnect

Started by NemeziS, 13 October, 2004, 17:33:08

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

NemeziS

Hi, guys!
I have a little problem/ My PtokaX 0.330 build 15.25 [debug] automatically disconnects my users =((.
A lot of users told to me about autodisconnects. So I wanted to ask you if it is possible to prevent auto disconnects somehow?
I've checked everything. But it still disconnects. My hub disconnects users after some time been on hub.

Help me please! :(
--LUA forever! =)

NemeziS

Or maybe I can download a new version of PtokaX...
--LUA forever! =)

Herodes

QuoteOriginally posted by NemeziS
Or maybe I can download a new version of PtokaX...
or downgrade since there is nothing newer and widespread ....

I suggest trying TD4 again ... maybe it will solve that problem ..

??????Hawk??????

#3
hi m8  ..

just a few suggestions  ..

1.  delete any error logs you may have. ( look in the LOG  folder).

2.  if your running with User Statistics enabled,  close the hub and over write the Users.mdb   file with a clean one. ( this will delete all User info ).

3. Check its not your scripts disconnecting them.

4. if you have a very Busy computer using up your B/W then close some of it down to give the hub more.

Hope This helps   :))

bastya_elvtars

bcdc script by tezlo?

-- enable bcdc++ on testdrive 4 made by tezlo

function Main()
	frmHub:EnableFullData(1)
end

function DataArrival(user, data)
	if strsub(data, 1, 7) == "$UserIP" then
		local s, e, nick = strfind(data, "^%$UserIP (%S+)%|$" )
		if nick == user.sName then
			user:SendData( "$UserIP "..nick.." "..user.sIP)
		elseif user.bOperator then
			local tmp = GetItemByName(nick)
			if tmp then user:SendData( "$UserIP "..nick.." "..tmp.sIP) end
		end return 1
	end
end
Everything could have been anything else and it would have just as much meaning.

Herodes

Uhm bast ... thats for anbling $UserIP support on Ptokax ..
I dont see how that would help on the user-Disconnected thing ..

bastya_elvtars

if a hub does not support $UserIP by default, it disconnects users sending that, cause its considered as an unknown RAW command
Everything could have been anything else and it would have just as much meaning.

Herodes

QuoteOriginally posted by bastya_elvtars
if a hub does not support $UserIP by default, it disconnects users sending that, cause its considered as an unknown RAW command
pardon me .. I saw the light :)

SMF spam blocked by CleanTalk