Skip to content

Error in loginserverthread

Featured Replies

Hi ! im having this error, when it happens, the login goes offline... its weird because te gameserver and loginserver keeps going without errors. but you cannot connect again until i restart both.  i looked into the code and i didnt found nothing "rare" . Im using acis 399 . this error occurs randomly  and its very annoying because the server goes off.. any suggestions ?
 

problema.jpg

Provide the associated lines from GameClient, it's definitively not vanilla 399 (first line is a bracket, second error line is javadoc).

 

 

Edited by Tryskell

  • Author
40 minutes ago, Tryskell said:

Provide the associated lines from GameClient, it's definitively not vanilla 399 (first line is a bracket, second error line is javadoc).

 

 

 FIRST LINE (GAMECLIENT 686)   :
public void close(L2GameServerPacket gsp)
    {
        
        getConnection().close(gsp);
    }
SECOND LINE (GAMECLIENT 707) :
    public synchronized void closeNow()
    {
        // Prevent packets execution.
        _isDetached = true;
        
        
        
        close(ServerClose.STATIC_PACKET);
        
        // Cancel cleanup task, if running.
        if (_cleanupTask != null)
        {
            _cleanupTask.cancel(true);
            _cleanupTask = null;
        }
        
        // Instant cleaning.
        ThreadPool.schedule(new CleanupTask(), 0);
    }

THIRD LINE (LOGINSERVERTHREAD 335) ILL NOT POST THE FULL CODE ITS VERY LARGE..
                        case 0x04:
                            final KickPlayer kp = new KickPlayer(decrypt);
                            kickPlayer(kp.getAccount());
                            break;

FOURTH LINE (LOGINSERVERTHREAD 239)
    public void kickPlayer(String account)
    {
        final GameClient client = _clients.get(account);
        if (client != null)
            client.closeNow();
    }


I have an offline trade mod... i wonder if the problem is that ?

It is indeed the problem.

 

spacer.png

Edited by Tryskell

  • Author
On 12/16/2021 at 11:10 PM, Tryskell said:

It is indeed the problem.

 

spacer.png

wow.. thanks!!

  • Zake locked this topic
Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.