Obsolete RequestRecordInfo adjustments.

This commit is contained in:
MobiusDevelopment 2020-06-15 00:02:57 +00:00
parent 0a7f937020
commit cbd3a09ff4
33 changed files with 104 additions and 135 deletions

View File

@ -117,7 +117,7 @@ public enum IncomingPackets implements IIncomingPackets<GameClient>
REQUEST_PLEDGE_CREST(0x67, RequestPledgeCrest::new, ConnectionState.IN_GAME),
REQUEST_SEND_FRIEND_MSG(0x6B, RequestSendFriendMsg::new, ConnectionState.IN_GAME),
REQUEST_SHOW_MINI_MAP(0x6C, RequestShowMiniMap::new, ConnectionState.IN_GAME),
REQUEST_RECORD_INFO(0x6E, RequestRecordInfo::new, ConnectionState.IN_GAME),
REQUEST_RECORD_INFO(0x6E, null, ConnectionState.IN_GAME),
REQUEST_HENNA_EQUIP(0x6F, RequestHennaEquip::new, ConnectionState.IN_GAME),
REQUEST_HENNA_REMOVE_LIST(0x70, RequestHennaRemoveList::new, ConnectionState.IN_GAME),
REQUEST_HENNA_ITEM_REMOVE_INFO(0x71, RequestHennaItemRemoveInfo::new, ConnectionState.IN_GAME),

View File

@ -50,14 +50,12 @@ public class RequestRecordInfo implements IClientIncomingPacket
if (object.isCreature())
{
// Update the state of the Creature object client
// side by sending Server->Client packet
// MoveToPawn/CharMoveToLocation and AutoAttackStart to
// the PlayerInstance
final Creature obj = (Creature) object;
if (obj.getAI() != null)
// Update the state of the Creature object client side by sending Server->Client packet
// MoveToPawn/CharMoveToLocation and AutoAttackStart to the PlayerInstance
final Creature creature = (Creature) object;
if (creature.hasAI())
{
obj.getAI().describeStateToPlayer(player);
creature.getAI().describeStateToPlayer(player);
}
}
}

View File

@ -117,7 +117,7 @@ public enum IncomingPackets implements IIncomingPackets<GameClient>
REQUEST_PLEDGE_CREST(0x67, RequestPledgeCrest::new, ConnectionState.IN_GAME),
REQUEST_SEND_FRIEND_MSG(0x6B, RequestSendFriendMsg::new, ConnectionState.IN_GAME),
REQUEST_SHOW_MINI_MAP(0x6C, RequestShowMiniMap::new, ConnectionState.IN_GAME),
REQUEST_RECORD_INFO(0x6E, RequestRecordInfo::new, ConnectionState.IN_GAME),
REQUEST_RECORD_INFO(0x6E, null, ConnectionState.IN_GAME),
REQUEST_HENNA_EQUIP(0x6F, RequestHennaEquip::new, ConnectionState.IN_GAME),
REQUEST_HENNA_REMOVE_LIST(0x70, RequestHennaRemoveList::new, ConnectionState.IN_GAME),
REQUEST_HENNA_ITEM_REMOVE_INFO(0x71, RequestHennaItemRemoveInfo::new, ConnectionState.IN_GAME),

View File

@ -50,14 +50,12 @@ public class RequestRecordInfo implements IClientIncomingPacket
if (object.isCreature())
{
// Update the state of the Creature object client
// side by sending Server->Client packet
// MoveToPawn/CharMoveToLocation and AutoAttackStart to
// the PlayerInstance
final Creature obj = (Creature) object;
if (obj.getAI() != null)
// Update the state of the Creature object client side by sending Server->Client packet
// MoveToPawn/CharMoveToLocation and AutoAttackStart to the PlayerInstance
final Creature creature = (Creature) object;
if (creature.hasAI())
{
obj.getAI().describeStateToPlayer(player);
creature.getAI().describeStateToPlayer(player);
}
}
}

View File

@ -117,7 +117,7 @@ public enum IncomingPackets implements IIncomingPackets<GameClient>
REQUEST_PLEDGE_CREST(0x67, RequestPledgeCrest::new, ConnectionState.IN_GAME),
REQUEST_SEND_FRIEND_MSG(0x6B, RequestSendFriendMsg::new, ConnectionState.IN_GAME),
REQUEST_SHOW_MINI_MAP(0x6C, RequestShowMiniMap::new, ConnectionState.IN_GAME),
REQUEST_RECORD_INFO(0x6E, RequestRecordInfo::new, ConnectionState.IN_GAME),
REQUEST_RECORD_INFO(0x6E, null, ConnectionState.IN_GAME),
REQUEST_HENNA_EQUIP(0x6F, RequestHennaEquip::new, ConnectionState.IN_GAME),
REQUEST_HENNA_REMOVE_LIST(0x70, RequestHennaRemoveList::new, ConnectionState.IN_GAME),
REQUEST_HENNA_ITEM_REMOVE_INFO(0x71, RequestHennaItemRemoveInfo::new, ConnectionState.IN_GAME),

View File

@ -50,14 +50,12 @@ public class RequestRecordInfo implements IClientIncomingPacket
if (object.isCreature())
{
// Update the state of the Creature object client
// side by sending Server->Client packet
// MoveToPawn/CharMoveToLocation and AutoAttackStart to
// the PlayerInstance
final Creature obj = (Creature) object;
if (obj.getAI() != null)
// Update the state of the Creature object client side by sending Server->Client packet
// MoveToPawn/CharMoveToLocation and AutoAttackStart to the PlayerInstance
final Creature creature = (Creature) object;
if (creature.hasAI())
{
obj.getAI().describeStateToPlayer(player);
creature.getAI().describeStateToPlayer(player);
}
}
}

View File

@ -117,7 +117,7 @@ public enum IncomingPackets implements IIncomingPackets<GameClient>
REQUEST_PLEDGE_CREST(0x67, RequestPledgeCrest::new, ConnectionState.IN_GAME),
REQUEST_SEND_FRIEND_MSG(0x6B, RequestSendFriendMsg::new, ConnectionState.IN_GAME),
REQUEST_SHOW_MINI_MAP(0x6C, RequestShowMiniMap::new, ConnectionState.IN_GAME),
REQUEST_RECORD_INFO(0x6E, RequestRecordInfo::new, ConnectionState.IN_GAME),
REQUEST_RECORD_INFO(0x6E, null, ConnectionState.IN_GAME),
REQUEST_HENNA_EQUIP(0x6F, RequestHennaEquip::new, ConnectionState.IN_GAME),
REQUEST_HENNA_REMOVE_LIST(0x70, RequestHennaRemoveList::new, ConnectionState.IN_GAME),
REQUEST_HENNA_ITEM_REMOVE_INFO(0x71, RequestHennaItemRemoveInfo::new, ConnectionState.IN_GAME),

View File

@ -50,14 +50,12 @@ public class RequestRecordInfo implements IClientIncomingPacket
if (object.isCreature())
{
// Update the state of the Creature object client
// side by sending Server->Client packet
// MoveToPawn/CharMoveToLocation and AutoAttackStart to
// the PlayerInstance
final Creature obj = (Creature) object;
if (obj.getAI() != null)
// Update the state of the Creature object client side by sending Server->Client packet
// MoveToPawn/CharMoveToLocation and AutoAttackStart to the PlayerInstance
final Creature creature = (Creature) object;
if (creature.hasAI())
{
obj.getAI().describeStateToPlayer(player);
creature.getAI().describeStateToPlayer(player);
}
}
}

View File

@ -117,7 +117,7 @@ public enum IncomingPackets implements IIncomingPackets<GameClient>
REQUEST_PLEDGE_CREST(0x67, RequestPledgeCrest::new, ConnectionState.IN_GAME),
REQUEST_SEND_FRIEND_MSG(0x6B, RequestSendFriendMsg::new, ConnectionState.IN_GAME),
REQUEST_SHOW_MINI_MAP(0x6C, RequestShowMiniMap::new, ConnectionState.IN_GAME),
REQUEST_RECORD_INFO(0x6E, RequestRecordInfo::new, ConnectionState.IN_GAME),
REQUEST_RECORD_INFO(0x6E, null, ConnectionState.IN_GAME),
REQUEST_HENNA_EQUIP(0x6F, RequestHennaEquip::new, ConnectionState.IN_GAME),
REQUEST_HENNA_REMOVE_LIST(0x70, RequestHennaRemoveList::new, ConnectionState.IN_GAME),
REQUEST_HENNA_ITEM_REMOVE_INFO(0x71, RequestHennaItemRemoveInfo::new, ConnectionState.IN_GAME),

View File

@ -50,14 +50,12 @@ public class RequestRecordInfo implements IClientIncomingPacket
if (object.isCreature())
{
// Update the state of the Creature object client
// side by sending Server->Client packet
// MoveToPawn/CharMoveToLocation and AutoAttackStart to
// the PlayerInstance
final Creature obj = (Creature) object;
if (obj.getAI() != null)
// Update the state of the Creature object client side by sending Server->Client packet
// MoveToPawn/CharMoveToLocation and AutoAttackStart to the PlayerInstance
final Creature creature = (Creature) object;
if (creature.hasAI())
{
obj.getAI().describeStateToPlayer(player);
creature.getAI().describeStateToPlayer(player);
}
}
}

View File

@ -117,7 +117,7 @@ public enum IncomingPackets implements IIncomingPackets<GameClient>
REQUEST_PLEDGE_CREST(0x67, RequestPledgeCrest::new, ConnectionState.IN_GAME),
REQUEST_SEND_FRIEND_MSG(0x6B, RequestSendFriendMsg::new, ConnectionState.IN_GAME),
REQUEST_SHOW_MINI_MAP(0x6C, RequestShowMiniMap::new, ConnectionState.IN_GAME),
REQUEST_RECORD_INFO(0x6E, RequestRecordInfo::new, ConnectionState.IN_GAME),
REQUEST_RECORD_INFO(0x6E, null, ConnectionState.IN_GAME),
REQUEST_HENNA_EQUIP(0x6F, RequestHennaEquip::new, ConnectionState.IN_GAME),
REQUEST_HENNA_REMOVE_LIST(0x70, RequestHennaRemoveList::new, ConnectionState.IN_GAME),
REQUEST_HENNA_ITEM_REMOVE_INFO(0x71, RequestHennaItemRemoveInfo::new, ConnectionState.IN_GAME),

View File

@ -50,14 +50,12 @@ public class RequestRecordInfo implements IClientIncomingPacket
if (object.isCreature())
{
// Update the state of the Creature object client
// side by sending Server->Client packet
// MoveToPawn/CharMoveToLocation and AutoAttackStart to
// the PlayerInstance
final Creature obj = (Creature) object;
if (obj.getAI() != null)
// Update the state of the Creature object client side by sending Server->Client packet
// MoveToPawn/CharMoveToLocation and AutoAttackStart to the PlayerInstance
final Creature creature = (Creature) object;
if (creature.hasAI())
{
obj.getAI().describeStateToPlayer(player);
creature.getAI().describeStateToPlayer(player);
}
}
}

View File

@ -117,7 +117,7 @@ public enum IncomingPackets implements IIncomingPackets<GameClient>
REQUEST_PLEDGE_CREST(0x67, RequestPledgeCrest::new, ConnectionState.IN_GAME),
REQUEST_SEND_FRIEND_MSG(0x6B, RequestSendFriendMsg::new, ConnectionState.IN_GAME),
REQUEST_SHOW_MINI_MAP(0x6C, RequestShowMiniMap::new, ConnectionState.IN_GAME),
REQUEST_RECORD_INFO(0x6E, RequestRecordInfo::new, ConnectionState.IN_GAME),
REQUEST_RECORD_INFO(0x6E, null, ConnectionState.IN_GAME),
REQUEST_HENNA_EQUIP(0x6F, RequestHennaEquip::new, ConnectionState.IN_GAME),
REQUEST_HENNA_REMOVE_LIST(0x70, RequestHennaRemoveList::new, ConnectionState.IN_GAME),
REQUEST_HENNA_ITEM_REMOVE_INFO(0x71, RequestHennaItemRemoveInfo::new, ConnectionState.IN_GAME),

View File

@ -50,14 +50,12 @@ public class RequestRecordInfo implements IClientIncomingPacket
if (object.isCreature())
{
// Update the state of the Creature object client
// side by sending Server->Client packet
// MoveToPawn/CharMoveToLocation and AutoAttackStart to
// the PlayerInstance
final Creature obj = (Creature) object;
if (obj.getAI() != null)
// Update the state of the Creature object client side by sending Server->Client packet
// MoveToPawn/CharMoveToLocation and AutoAttackStart to the PlayerInstance
final Creature creature = (Creature) object;
if (creature.hasAI())
{
obj.getAI().describeStateToPlayer(player);
creature.getAI().describeStateToPlayer(player);
}
}
}

View File

@ -117,7 +117,7 @@ public enum IncomingPackets implements IIncomingPackets<GameClient>
REQUEST_PLEDGE_CREST(0x67, RequestPledgeCrest::new, ConnectionState.IN_GAME),
REQUEST_SEND_FRIEND_MSG(0x6B, RequestSendFriendMsg::new, ConnectionState.IN_GAME),
REQUEST_SHOW_MINI_MAP(0x6C, RequestShowMiniMap::new, ConnectionState.IN_GAME),
REQUEST_RECORD_INFO(0x6E, RequestRecordInfo::new, ConnectionState.IN_GAME),
REQUEST_RECORD_INFO(0x6E, null, ConnectionState.IN_GAME),
REQUEST_HENNA_EQUIP(0x6F, RequestHennaEquip::new, ConnectionState.IN_GAME),
REQUEST_HENNA_REMOVE_LIST(0x70, RequestHennaRemoveList::new, ConnectionState.IN_GAME),
REQUEST_HENNA_ITEM_REMOVE_INFO(0x71, RequestHennaItemRemoveInfo::new, ConnectionState.IN_GAME),

View File

@ -50,14 +50,12 @@ public class RequestRecordInfo implements IClientIncomingPacket
if (object.isCreature())
{
// Update the state of the Creature object client
// side by sending Server->Client packet
// MoveToPawn/CharMoveToLocation and AutoAttackStart to
// the PlayerInstance
final Creature obj = (Creature) object;
if (obj.getAI() != null)
// Update the state of the Creature object client side by sending Server->Client packet
// MoveToPawn/CharMoveToLocation and AutoAttackStart to the PlayerInstance
final Creature creature = (Creature) object;
if (creature.hasAI())
{
obj.getAI().describeStateToPlayer(player);
creature.getAI().describeStateToPlayer(player);
}
}
}

View File

@ -154,7 +154,10 @@ public class RequestRecordInfo extends GameClientPacket
{
// Update the state of the Creature object client side by sending Server->Client packet MoveToPawn/CharMoveToLocation and AutoAttackStart to the PlayerInstance
final Creature obj = (Creature) object;
obj.getAI().describeStateToPlayer(player);
if (obj.hasAI())
{
obj.getAI().describeStateToPlayer(player);
}
}
}
}

View File

@ -52,14 +52,12 @@ public class RequestRecordInfo implements IClientIncomingPacket
if (object.isCreature())
{
// Update the state of the Creature object client
// side by sending Server->Client packet
// MoveToPawn/CharMoveToLocation and AutoAttackStart to
// the PlayerInstance
final Creature obj = (Creature) object;
if (obj.getAI() != null)
// Update the state of the Creature object client side by sending Server->Client packet
// MoveToPawn/CharMoveToLocation and AutoAttackStart to the PlayerInstance
final Creature creature = (Creature) object;
if (creature.hasAI())
{
obj.getAI().describeStateToPlayer(player);
creature.getAI().describeStateToPlayer(player);
}
}
}

View File

@ -52,14 +52,12 @@ public class RequestRecordInfo implements IClientIncomingPacket
if (object.isCreature())
{
// Update the state of the Creature object client
// side by sending Server->Client packet
// MoveToPawn/CharMoveToLocation and AutoAttackStart to
// the PlayerInstance
final Creature obj = (Creature) object;
if (obj.getAI() != null)
// Update the state of the Creature object client side by sending Server->Client packet
// MoveToPawn/CharMoveToLocation and AutoAttackStart to the PlayerInstance
final Creature creature = (Creature) object;
if (creature.hasAI())
{
obj.getAI().describeStateToPlayer(player);
creature.getAI().describeStateToPlayer(player);
}
}
}

View File

@ -117,7 +117,7 @@ public enum IncomingPackets implements IIncomingPackets<GameClient>
REQUEST_PLEDGE_CREST(0x67, RequestPledgeCrest::new, ConnectionState.IN_GAME),
REQUEST_SEND_FRIEND_MSG(0x6B, RequestSendFriendMsg::new, ConnectionState.IN_GAME),
REQUEST_SHOW_MINI_MAP(0x6C, RequestShowMiniMap::new, ConnectionState.IN_GAME),
REQUEST_RECORD_INFO(0x6E, RequestRecordInfo::new, ConnectionState.IN_GAME),
REQUEST_RECORD_INFO(0x6E, null, ConnectionState.IN_GAME),
REQUEST_HENNA_EQUIP(0x6F, RequestHennaEquip::new, ConnectionState.IN_GAME),
REQUEST_HENNA_REMOVE_LIST(0x70, RequestHennaRemoveList::new, ConnectionState.IN_GAME),
REQUEST_HENNA_ITEM_REMOVE_INFO(0x71, RequestHennaItemRemoveInfo::new, ConnectionState.IN_GAME),

View File

@ -50,14 +50,12 @@ public class RequestRecordInfo implements IClientIncomingPacket
if (object.isCreature())
{
// Update the state of the Creature object client
// side by sending Server->Client packet
// MoveToPawn/CharMoveToLocation and AutoAttackStart to
// the PlayerInstance
final Creature obj = (Creature) object;
if (obj.getAI() != null)
// Update the state of the Creature object client side by sending Server->Client packet
// MoveToPawn/CharMoveToLocation and AutoAttackStart to the PlayerInstance
final Creature creature = (Creature) object;
if (creature.hasAI())
{
obj.getAI().describeStateToPlayer(player);
creature.getAI().describeStateToPlayer(player);
}
}
}

View File

@ -117,7 +117,7 @@ public enum IncomingPackets implements IIncomingPackets<GameClient>
REQUEST_PLEDGE_CREST(0x67, RequestPledgeCrest::new, ConnectionState.IN_GAME),
REQUEST_SEND_FRIEND_MSG(0x6B, RequestSendFriendMsg::new, ConnectionState.IN_GAME),
REQUEST_SHOW_MINI_MAP(0x6C, RequestShowMiniMap::new, ConnectionState.IN_GAME),
REQUEST_RECORD_INFO(0x6E, RequestRecordInfo::new, ConnectionState.IN_GAME),
REQUEST_RECORD_INFO(0x6E, null, ConnectionState.IN_GAME),
REQUEST_HENNA_EQUIP(0x6F, RequestHennaEquip::new, ConnectionState.IN_GAME),
REQUEST_HENNA_REMOVE_LIST(0x70, RequestHennaRemoveList::new, ConnectionState.IN_GAME),
REQUEST_HENNA_ITEM_REMOVE_INFO(0x71, RequestHennaItemRemoveInfo::new, ConnectionState.IN_GAME),

View File

@ -50,14 +50,12 @@ public class RequestRecordInfo implements IClientIncomingPacket
if (object.isCreature())
{
// Update the state of the Creature object client
// side by sending Server->Client packet
// MoveToPawn/CharMoveToLocation and AutoAttackStart to
// the PlayerInstance
final Creature obj = (Creature) object;
if (obj.getAI() != null)
// Update the state of the Creature object client side by sending Server->Client packet
// MoveToPawn/CharMoveToLocation and AutoAttackStart to the PlayerInstance
final Creature creature = (Creature) object;
if (creature.hasAI())
{
obj.getAI().describeStateToPlayer(player);
creature.getAI().describeStateToPlayer(player);
}
}
}

View File

@ -117,7 +117,7 @@ public enum IncomingPackets implements IIncomingPackets<GameClient>
REQUEST_PLEDGE_CREST(0x67, RequestPledgeCrest::new, ConnectionState.IN_GAME),
REQUEST_SEND_FRIEND_MSG(0x6B, RequestSendFriendMsg::new, ConnectionState.IN_GAME),
REQUEST_SHOW_MINI_MAP(0x6C, RequestShowMiniMap::new, ConnectionState.IN_GAME),
REQUEST_RECORD_INFO(0x6E, RequestRecordInfo::new, ConnectionState.IN_GAME),
REQUEST_RECORD_INFO(0x6E, null, ConnectionState.IN_GAME),
REQUEST_HENNA_EQUIP(0x6F, RequestHennaEquip::new, ConnectionState.IN_GAME),
REQUEST_HENNA_REMOVE_LIST(0x70, RequestHennaRemoveList::new, ConnectionState.IN_GAME),
REQUEST_HENNA_ITEM_REMOVE_INFO(0x71, RequestHennaItemRemoveInfo::new, ConnectionState.IN_GAME),

View File

@ -50,14 +50,12 @@ public class RequestRecordInfo implements IClientIncomingPacket
if (object.isCreature())
{
// Update the state of the Creature object client
// side by sending Server->Client packet
// MoveToPawn/CharMoveToLocation and AutoAttackStart to
// the PlayerInstance
final Creature obj = (Creature) object;
if (obj.getAI() != null)
// Update the state of the Creature object client side by sending Server->Client packet
// MoveToPawn/CharMoveToLocation and AutoAttackStart to the PlayerInstance
final Creature creature = (Creature) object;
if (creature.hasAI())
{
obj.getAI().describeStateToPlayer(player);
creature.getAI().describeStateToPlayer(player);
}
}
}

View File

@ -117,7 +117,7 @@ public enum IncomingPackets implements IIncomingPackets<GameClient>
REQUEST_PLEDGE_CREST(0x67, RequestPledgeCrest::new, ConnectionState.IN_GAME),
REQUEST_SEND_FRIEND_MSG(0x6B, RequestSendFriendMsg::new, ConnectionState.IN_GAME),
REQUEST_SHOW_MINI_MAP(0x6C, RequestShowMiniMap::new, ConnectionState.IN_GAME),
REQUEST_RECORD_INFO(0x6E, RequestRecordInfo::new, ConnectionState.IN_GAME),
REQUEST_RECORD_INFO(0x6E, null, ConnectionState.IN_GAME),
REQUEST_HENNA_EQUIP(0x6F, RequestHennaEquip::new, ConnectionState.IN_GAME),
REQUEST_HENNA_REMOVE_LIST(0x70, RequestHennaRemoveList::new, ConnectionState.IN_GAME),
REQUEST_HENNA_ITEM_REMOVE_INFO(0x71, RequestHennaItemRemoveInfo::new, ConnectionState.IN_GAME),

View File

@ -50,14 +50,12 @@ public class RequestRecordInfo implements IClientIncomingPacket
if (object.isCreature())
{
// Update the state of the Creature object client
// side by sending Server->Client packet
// MoveToPawn/CharMoveToLocation and AutoAttackStart to
// the PlayerInstance
final Creature obj = (Creature) object;
if (obj.getAI() != null)
// Update the state of the Creature object client side by sending Server->Client packet
// MoveToPawn/CharMoveToLocation and AutoAttackStart to the PlayerInstance
final Creature creature = (Creature) object;
if (creature.hasAI())
{
obj.getAI().describeStateToPlayer(player);
creature.getAI().describeStateToPlayer(player);
}
}
}

View File

@ -117,7 +117,7 @@ public enum IncomingPackets implements IIncomingPackets<GameClient>
REQUEST_PLEDGE_CREST(0x67, RequestPledgeCrest::new, ConnectionState.IN_GAME),
REQUEST_SEND_FRIEND_MSG(0x6B, RequestSendFriendMsg::new, ConnectionState.IN_GAME),
REQUEST_SHOW_MINI_MAP(0x6C, RequestShowMiniMap::new, ConnectionState.IN_GAME),
REQUEST_RECORD_INFO(0x6E, RequestRecordInfo::new, ConnectionState.IN_GAME),
REQUEST_RECORD_INFO(0x6E, null, ConnectionState.IN_GAME),
REQUEST_HENNA_EQUIP(0x6F, RequestHennaEquip::new, ConnectionState.IN_GAME),
REQUEST_HENNA_REMOVE_LIST(0x70, RequestHennaRemoveList::new, ConnectionState.IN_GAME),
REQUEST_HENNA_ITEM_REMOVE_INFO(0x71, RequestHennaItemRemoveInfo::new, ConnectionState.IN_GAME),

View File

@ -50,14 +50,12 @@ public class RequestRecordInfo implements IClientIncomingPacket
if (object.isCreature())
{
// Update the state of the Creature object client
// side by sending Server->Client packet
// MoveToPawn/CharMoveToLocation and AutoAttackStart to
// the PlayerInstance
final Creature obj = (Creature) object;
if (obj.getAI() != null)
// Update the state of the Creature object client side by sending Server->Client packet
// MoveToPawn/CharMoveToLocation and AutoAttackStart to the PlayerInstance
final Creature creature = (Creature) object;
if (creature.hasAI())
{
obj.getAI().describeStateToPlayer(player);
creature.getAI().describeStateToPlayer(player);
}
}
}

View File

@ -117,7 +117,7 @@ public enum IncomingPackets implements IIncomingPackets<GameClient>
REQUEST_PLEDGE_CREST(0x67, RequestPledgeCrest::new, ConnectionState.IN_GAME),
REQUEST_SEND_FRIEND_MSG(0x6B, RequestSendFriendMsg::new, ConnectionState.IN_GAME),
REQUEST_SHOW_MINI_MAP(0x6C, RequestShowMiniMap::new, ConnectionState.IN_GAME),
REQUEST_RECORD_INFO(0x6E, RequestRecordInfo::new, ConnectionState.IN_GAME),
REQUEST_RECORD_INFO(0x6E, null, ConnectionState.IN_GAME),
REQUEST_HENNA_EQUIP(0x6F, RequestHennaEquip::new, ConnectionState.IN_GAME),
REQUEST_HENNA_REMOVE_LIST(0x70, RequestHennaRemoveList::new, ConnectionState.IN_GAME),
REQUEST_HENNA_ITEM_REMOVE_INFO(0x71, RequestHennaItemRemoveInfo::new, ConnectionState.IN_GAME),

View File

@ -50,14 +50,12 @@ public class RequestRecordInfo implements IClientIncomingPacket
if (object.isCreature())
{
// Update the state of the Creature object client
// side by sending Server->Client packet
// MoveToPawn/CharMoveToLocation and AutoAttackStart to
// the PlayerInstance
final Creature obj = (Creature) object;
if (obj.getAI() != null)
// Update the state of the Creature object client side by sending Server->Client packet
// MoveToPawn/CharMoveToLocation and AutoAttackStart to the PlayerInstance
final Creature creature = (Creature) object;
if (creature.hasAI())
{
obj.getAI().describeStateToPlayer(player);
creature.getAI().describeStateToPlayer(player);
}
}
}

View File

@ -117,7 +117,7 @@ public enum IncomingPackets implements IIncomingPackets<GameClient>
REQUEST_PLEDGE_CREST(0x67, RequestPledgeCrest::new, ConnectionState.IN_GAME),
REQUEST_SEND_FRIEND_MSG(0x6B, RequestSendFriendMsg::new, ConnectionState.IN_GAME),
REQUEST_SHOW_MINI_MAP(0x6C, RequestShowMiniMap::new, ConnectionState.IN_GAME),
REQUEST_RECORD_INFO(0x6E, RequestRecordInfo::new, ConnectionState.IN_GAME),
REQUEST_RECORD_INFO(0x6E, null, ConnectionState.IN_GAME),
REQUEST_HENNA_EQUIP(0x6F, RequestHennaEquip::new, ConnectionState.IN_GAME),
REQUEST_HENNA_REMOVE_LIST(0x70, RequestHennaRemoveList::new, ConnectionState.IN_GAME),
REQUEST_HENNA_ITEM_REMOVE_INFO(0x71, RequestHennaItemRemoveInfo::new, ConnectionState.IN_GAME),

View File

@ -50,14 +50,12 @@ public class RequestRecordInfo implements IClientIncomingPacket
if (object.isCreature())
{
// Update the state of the Creature object client
// side by sending Server->Client packet
// MoveToPawn/CharMoveToLocation and AutoAttackStart to
// the PlayerInstance
final Creature obj = (Creature) object;
if (obj.getAI() != null)
// Update the state of the Creature object client side by sending Server->Client packet
// MoveToPawn/CharMoveToLocation and AutoAttackStart to the PlayerInstance
final Creature creature = (Creature) object;
if (creature.hasAI())
{
obj.getAI().describeStateToPlayer(player);
creature.getAI().describeStateToPlayer(player);
}
}
}