- 0
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..
Question
L2shaken
CharacterSelected.java
@Override protected void runImpl() { GameClient client = getClient(); +if (Config.SECOND_AUTH_ENABLED && !client.getSecondaryAuth().isAuthed()) +{ + client.getSecondaryAuth().openDialog(); + return; +} if(client.getActiveChar() != null) return;public void openDialog() { if(passwordExist()) _activeClient.sendPacket(new Ex2ndPasswordCheck(Ex2ndPasswordCheck.PASSWORD_PROMPT)); else _activeClient.sendPacket(new Ex2ndPasswordCheck(Ex2ndPasswordCheck.PASSWORD_NEW)); }package net.sf.l2j.gameserver.network.serverpackets; /** * Format (ch)dd * d: window type * d: ban user (1) */ public class Ex2ndPasswordCheck extends L2GameServerPacket { public static final int PASSWORD_NEW = 0x00; public static final int PASSWORD_PROMPT = 0x01; public static final int PASSWORD_OK = 0x02; int _windowType; public Ex2ndPasswordCheck(int windowType) { _windowType = windowType; } @Override protected void writeImpl() { writeEx(0xE5); writeD(_windowType); writeD(0x00); } }I think the "openDialog" method is to open the html in the character selection screen, but in the interlude this is not happening, can anyone help?
Edited by L2shaken4 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now