Jump to content
  • 0

Stuck at login and stuck at START


Question

Posted

Hi I was on with a GM char of my team and he left . Then w/o any reason he wasn't able to login the server because I had set the login server GM only but he could log other times I gave him the 127 access. Anyways then I restarted the server and he coult enter the login but when he pressed START he couldnt see his char in game he didnt go in game somehow "meanwhile on game server console it said the message that "x" has logged with master access just to be carefull ;) " etc so what's the problem anyone knows ? ???

5 answers to this question

Recommended Posts

  • 0
Posted

This is the fix thanks for know a shit about Java Req for Lock I did it myself.

 

 

 

67 67                //playLogFile(getConnection()); // try to play log file

68 68

69

70                // we should always be abble to acquire the lock

71                // but if we cant lock then nothing should be done (ie repeated packet)

72                if (this.getClient().getActiveCharLock().tryLock())

73                {

74                        try

69                try

70                {

71                        // we should always be abble to acquire the lock

72                        // but if we cant lock then nothing should be done (ie repeated packet)

73                        if (this.getClient().getActiveCharLock().tryLock())

75 74                        {

76                                // should always be null

77                                // but if not then this is repeated packet and nothing should be done here

78                                if (this.getClient().getActiveChar() == null)

75                                try

79 76                                {

80                                        // The L2PcInstance must be created here, so that it can be attached to the L2GameClient

81                                        if (Config.DEBUG)

82                                        {

83                                                _log.fine("selected slot:" + _charSlot);

84                                        }

85                                        

86                                        //load up character from disk

87                                        L2PcInstance cha = getClient().loadCharFromDisk(_charSlot);

88                                        if (cha == null)

89                                        {

90                                                _log.severe("Character could not be loaded (slot:"+_charSlot+")");

91                                                sendPacket(ActionFailed.STATIC_PACKET);

92                                                return;

93                                        }

94                                        if (cha.getAccessLevel().getLevel() < 0)

95                                        {

96                                                cha.deleteMe();

97                                                return;

98                                        }

99                                        

100                                        cha.setClient(this.getClient());

101                                        getClient().setActiveChar(cha);

102                    

103                    sendPacket(new SSQInfo());

104                    

105                                        this.getClient().setState(GameClientState.IN_GAME);

106                                        CharSelected cs = new CharSelected(cha, getClient().getSessionId().playOkID1);

107                                        sendPacket(cs);

77                                        // should always be null

78                                        // but if not then this is repeated packet and nothing should be done here

79                                        if (this.getClient().getActiveChar() == null)

80                                        {

81                                                // The L2PcInstance must be created here, so that it can be attached to the L2GameClient

82                                                if (Config.DEBUG)

83                                                {

84                                                        _log.fine("selected slot:" + _charSlot);

85                                                }

86                                                

87                                                //load up character from disk

88                                                L2PcInstance cha = getClient().loadCharFromDisk(_charSlot);

89                                                if (cha == null)

90                                                {

91                                                        _log.severe("Character could not be loaded (slot:"+_charSlot+")");

92                                                        sendPacket(ActionFailed.STATIC_PACKET);

93                                                        return;

94                                                }

95                                                if (cha.getAccessLevel().getLevel() < 0)

96                                                {

97                                                        cha.deleteMe();

98                                                        return;

99                                                }

100                                                

101                                                cha.setClient(this.getClient());

102                                                getClient().setActiveChar(cha);

103                            

104                            sendPacket(new SSQInfo());

105                            

106                                                this.getClient().setState(GameClientState.IN_GAME);

107                                                CharSelected cs = new CharSelected(cha, getClient().getSessionId().playOkID1);

108                                                sendPacket(cs);

109                                        }

110                                }

111                                finally

112                                {

113                                        this.getClient().getActiveCharLock().unlock();

108 114                                }

109 115                        }

110                        finally

111                        {

112                                this.getClient().getActiveCharLock().unlock();

113                        }

116                }

117                catch (Exception e)

118                {

119                        e.printStackTrace();

114 120                }

115 121        }

Guest
This topic is now closed to further replies.


  • Posts

    • Tired of frantically switching between windows trying to find that specific Warlock who should be casting saves? Forgot which server you left your Warsmith on? This mod solves these problems! What it does: Turns the boring window title into an information panel: Server Name - Character Name [Class] Real-life examples: - ServerName - HardcoreFarm [Spoilerr] (who's been spoiling for 3 months already) - ServerName - ClericHelper [Buffer] (eternal buffer on standby) - ServerName - MainChar [Gladiator] (main character who's always AFK) Why you need this: For multiboxers - to avoid confusing where the DD is and where the healer is For the forgetful - if your memory is like a goldfish For streamers - viewers immediately see who's on screen For adults - when playing at work and need to quickly hide the window DLL only - no Interface files needed Installation (more complicated than making tea): 1. Download the DLL 2. Drop it into the System folder 3. Launch the client 4. Be amazed how you lived without this before! Purchase Conditions: Price: 100$ Payment Method: USDT. How to Buy: Contact me on Telegram: @kiselevwv for a quick response. I will answer all your questions and provide additional information if needed. I guarantee functionality at the moment of sale and prompt assistance with setup after purchase.
    • I agree, l2damage crap to compare to l2java which was the father of pvp servers and till this days people playing there for good time.
    • 📝 Registration — Account Registration Creating a new player account. Usually includes: login password password confirmation email Result: a new record is created in the accounts table (loginserver). 🔑 Change Password — Password Change The player changes the password knowing the current one. Required: current password new password new password confirmation Result: the password field is updated in the accounts table. ♻️ Password Recovery — Password Reset If the player forgot the password. Implementation only via email: the player enters their login, email the system sends an email with a link or code the player opens the link / enters the code sets a new password Result: the password is updated in the accounts table.   All fields are validated (required, format, length, uniqueness, security checks).   Price: 80$   and i can rewrite script for PTS server.   Contacts:   Telegram Discord
    • So dont plat that waste time&money server.   GM promises pie in the sky, but does nothing. It's all about money, money, money. And wipe.   SCAM server!
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..