The following warnings occurred:
Warning [2] Use of undefined constant SAPI_NAME - assumed 'SAPI_NAME' (this will throw an Error in a future version of PHP) - Line: 3388 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3388 errorHandler->error
/showthread.php 116 build_archive_link
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/inc/functions.php 3324 build_forum_breadcrumb
/showthread.php 195 build_forum_breadcrumb
Warning [2] Use of undefined constant IN_ARCHIVE - assumed 'IN_ARCHIVE' (this will throw an Error in a future version of PHP) - Line: 3331 - File: inc/functions.php PHP 7.4.33-nmm6 (Linux)
File Line Function
/inc/functions.php 3331 errorHandler->error
/showthread.php 195 build_forum_breadcrumb






Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Bad Login 1: Account in use. (to DEVs also)
Author Message
Wap
Journeyman
*

Posts: 138
Likes Given: 6
Likes Received: 7 in 6 posts
Joined: Mar 2012
Reputation: 3

UORPG.net

Post: #1
Bad Login 1: Account in use. (to DEVs also)
I want to make auto-disconnect, if someone enter correct password, but character is already in game.
Why?
Sometimes player lost internet connection and can't re-login, until character is disconnected, as inactive socket (~2 min).
But I don't know, how to do it, because:
- f_onaccount_login not fire on bad login;
- packet cathing not working with login packets.

I had created an issue: http://tracker.sphere.torfo.org/bugs/view.php?id=1899 2 years ago, but with Severity=feature...
03-06-2013 12:43 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
darksun84
Sir Spamalot
****

Posts: 1,687
Likes Given: 245
Likes Received: 162 in 151 posts
Joined: Mar 2012
Reputation: 35



Post: #2
RE: Bad Login 1: Account in use. (to DEVs also)
in the sphere.ini there is :


// Disconnect inactive socket in x min
DeadSocketTime=5
03-06-2013 12:56 AM
Find all posts by this user Like Post Quote this message in a reply
Wap
Journeyman
*

Posts: 138
Likes Given: 6
Likes Received: 7 in 6 posts
Joined: Mar 2012
Reputation: 3

UORPG.net

Post: #3
RE: Bad Login 1: Account in use. (to DEVs also)
(03-06-2013 12:56 AM)darksun84 Wrote:  in the sphere.ini there is :


// Disconnect inactive socket in x min
DeadSocketTime=5
And? Smile It is at least 2 minutes(because with DeadSocketTime=1 there are many wrong disconnects). For 2 minutes char could be killed 5 times. Smile
(This post was last modified: 03-06-2013 01:34 AM by Wap.)
03-06-2013 01:31 AM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Ultima One
Journeyman
*

Posts: 238
Likes Given: 7
Likes Received: 10 in 6 posts
Joined: Jan 2013
Reputation: 6

Ultima One

Post: #4
RE: Bad Login 1: Account in use. (to DEVs also)
I have this issue a lot, and setting dead socket time to even '0' or '1' they can end up locked out until they are logged in from another IP and logged out properly.

It's like sphere just thinks they are on, even if no packets are sent for over 30mins Sad

ULTIMA ONE
The modern, sphere powered Ultima Online server
03-06-2013 11:50 PM
Visit this user's website Find all posts by this user Like Post Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)