Support for Essence client.

This commit is contained in:
MobiusDevelopment 2019-11-06 19:51:28 +00:00
parent 91936e2787
commit abe9b7faff
6 changed files with 49 additions and 8 deletions

View File

@ -102,7 +102,8 @@ MaximumOnlineUsers = 2000
# Delimiter is ;
# WARNING: <u><b><font color="red">Changing the protocol revision may result in incompatible communication and many errors in game!</font></b></u>
# Prelude of War: 228
AllowedProtocolRevisions = 228
# Prelude of War - Part 2: 235
AllowedProtocolRevisions = 228;235
# Displays server type next to the server name on character selection.
# Notes:

View File

@ -163,11 +163,13 @@ public class UserInfo extends AbstractMaskPacket<UserInfoType>
return false;
}
final boolean isProtocol235 = _player.getClient().getProtocolVersion() == 235;
OutgoingPackets.USER_INFO.writeId(packet);
packet.writeD(_player.getObjectId());
packet.writeD(_initSize);
packet.writeH(25); // 196
packet.writeH(isProtocol235 ? 27 : 25); // 196 - 25, 235 - 27
packet.writeB(_masks);
if (containsMask(UserInfoType.RELATION))
@ -437,6 +439,16 @@ public class UserInfo extends AbstractMaskPacket<UserInfoType>
packet.writeD(0x00); // 196
}
if (isProtocol235)
{
// 1
packet.writeH(6);
packet.writeC(0);
// 2
packet.writeH(6);
packet.writeC(0);
}
return true;
}

View File

@ -1,8 +1,12 @@
L2J-Mobius Prelude of War
L2J-Mobius Prelude of War (protocol 228)
Client Mirror 1: https://drive.google.com/uc?id=1rXtgV9l67b5lBeK_wmCKITE1DQ7EgEJ8&export=download
Client Mirror 2: https://drive.google.com/uc?id=1IugZjcpS5n9_EJPLCecB3H_tLmVlqo2L&export=download
System: https://mega.nz/#!98likSra!vP3uaDwJs8oiY5q60UzBSXAbgNELWX_dycWb98Mz96U
L2J-Mobius Prelude of War - Part 2 (protocol 235) [Login support only!]
Client: https://drive.google.com/uc?id=1MFxyk0upVRqW1HSnkgqvD3As2JAWEMGk&export=download
System: https://mega.nz/#!IsEhQI4K!DkdkNgUmu79by1Ogc0qcAE5P4kJAVqzKhlhDL3iZTwA
Geodata: http://www.mediafire.com/file/w6f0r5opnlopzbq/L2J_Mobius_6.0_Fafurion_Geodata.zip
JDK: https://www.mediafire.com/file/k25pt0umuf16uoh/openjdk-12.0.2_windows-x64_bin.zip
@ -104,6 +108,9 @@ Prelude of War: https://eu.4game.com/patchnotes/lineage2/176/
-Teleport list system
-Removed item grade penalty
Prelude of War - Part 2: https://eu.4game.com/patchnotes/lineage2/186/
-Just enter game support.
Events:
-Birth of Draco
-Character Birthday

View File

@ -102,7 +102,8 @@ MaximumOnlineUsers = 2000
# Delimiter is ;
# WARNING: <u><b><font color="red">Changing the protocol revision may result in incompatible communication and many errors in game!</font></b></u>
# The Kamael: 228
AllowedProtocolRevisions = 228
# Essence: 235
AllowedProtocolRevisions = 228;235
# Displays server type next to the server name on character selection.
# Notes:

View File

@ -161,11 +161,13 @@ public class UserInfo extends AbstractMaskPacket<UserInfoType>
return false;
}
final boolean isProtocol235 = _player.getClient().getProtocolVersion() == 235;
OutgoingPackets.USER_INFO.writeId(packet);
packet.writeD(_player.getObjectId());
packet.writeD(_initSize);
packet.writeH(25); // 196
packet.writeH(isProtocol235 ? 27 : 25); // 196 - 25, 235 - 27
packet.writeB(_masks);
if (containsMask(UserInfoType.RELATION))
@ -450,6 +452,16 @@ public class UserInfo extends AbstractMaskPacket<UserInfoType>
packet.writeD(0x00); // 196
}
if (isProtocol235)
{
// 1
packet.writeH(6);
packet.writeC(0);
// 2
packet.writeH(6);
packet.writeC(0);
}
return true;
}

View File

@ -1,11 +1,16 @@
L2J-Mobius The Kamael
L2J-Mobius The Kamael (protocol 228)
Client Mirror 1: https://drive.google.com/uc?id=1rXtgV9l67b5lBeK_wmCKITE1DQ7EgEJ8&export=download
Client Mirror 2: https://drive.google.com/uc?id=1IugZjcpS5n9_EJPLCecB3H_tLmVlqo2L&export=download
System: https://mega.nz/#!98likSra!vP3uaDwJs8oiY5q60UzBSXAbgNELWX_dycWb98Mz96U
L2J-Mobius Essence (protocol 235) [Login support only!]
Client: https://drive.google.com/uc?id=1MFxyk0upVRqW1HSnkgqvD3As2JAWEMGk&export=download
System: https://mega.nz/#!IsEhQI4K!DkdkNgUmu79by1Ogc0qcAE5P4kJAVqzKhlhDL3iZTwA
Geodata: http://www.mediafire.com/file/tas8fp9ee2r6mn9/L2J_Mobius_Classic_2.2_Antharas_Geodata.zip
JDK: https://www.mediafire.com/file/k25pt0umuf16uoh/openjdk-12.0.2_windows-x64_bin.zip
Saviors: https://eu.4game.com/lineage2classic/play/saviors/
-Classic packet compatibility
-Parsed item data from client
@ -98,6 +103,9 @@ Secret of Empire: https://eu.4game.com/patchnotes/lineage2classic/133/
The Kamael: https://eu.4game.com/patchnotes/lineage2classic/154/
-Kamael creation support
Essence: https://eu.4game.com/patchnotes/lineage2essence/188/
-Just enter game support.
Customs:
-Newbie Helper NPC location info
-Newbie Helper buff support until 40 level