Browse Source

Removed custom exception candy

combat-2
MagicBot 8 months ago
parent
commit
f8180a7000
  1. 31
      src/engine/exception/MsgSendException.java
  2. 5
      src/engine/gameManager/GroupManager.java
  3. 5
      src/engine/gameManager/MovementManager.java
  4. 3
      src/engine/mobileAI/utilities/MovementUtilities.java
  5. 3
      src/engine/net/client/handlers/AbandonAssetMsgHandler.java
  6. 3
      src/engine/net/client/handlers/AbstractChatMsgHandler.java
  7. 5
      src/engine/net/client/handlers/AbstractClientMsgHandler.java
  8. 3
      src/engine/net/client/handlers/AcceptInviteToGuildHandler.java
  9. 3
      src/engine/net/client/handlers/AcceptSubInviteHandler.java
  10. 3
      src/engine/net/client/handlers/AcceptTradeRequestMsgHandler.java
  11. 3
      src/engine/net/client/handlers/ActivateNPCMsgHandler.java
  12. 3
      src/engine/net/client/handlers/AddGoldToTradeWindowMsgHandler.java
  13. 3
      src/engine/net/client/handlers/AddItemToTradeWindowMsgHandler.java
  14. 3
      src/engine/net/client/handlers/AllianceChangeMsgHandler.java
  15. 3
      src/engine/net/client/handlers/AllyEnemyListMsgHandler.java
  16. 3
      src/engine/net/client/handlers/AppointGroupLeaderHandler.java
  17. 3
      src/engine/net/client/handlers/ArcLoginNotifyMsgHandler.java
  18. 3
      src/engine/net/client/handlers/ArcMineChangeProductionMsgHandler.java
  19. 3
      src/engine/net/client/handlers/ArcMineWindowAvailableTimeHandler.java
  20. 3
      src/engine/net/client/handlers/ArcOwnedMinesListHandler.java
  21. 3
      src/engine/net/client/handlers/ArcSiegeSpireMsgHandler.java
  22. 3
      src/engine/net/client/handlers/ArcViewAssetTransactionsMsgHandler.java
  23. 3
      src/engine/net/client/handlers/AssetSupportMsgHandler.java
  24. 3
      src/engine/net/client/handlers/AttackCmdMsgHandler.java
  25. 3
      src/engine/net/client/handlers/BanishUnbanishHandler.java
  26. 3
      src/engine/net/client/handlers/BreakFealtyHandler.java
  27. 3
      src/engine/net/client/handlers/ChangeAltitudeHandler.java
  28. 3
      src/engine/net/client/handlers/ChangeGuildLeaderHandler.java
  29. 3
      src/engine/net/client/handlers/ChangeRankHandler.java
  30. 3
      src/engine/net/client/handlers/ChannelMuteMsgHandler.java
  31. 3
      src/engine/net/client/handlers/CityChoiceMsgHandler.java
  32. 3
      src/engine/net/client/handlers/CityDataHandler.java
  33. 3
      src/engine/net/client/handlers/ClaimAssetMsgHandler.java
  34. 3
      src/engine/net/client/handlers/ClaimGuildTreeMsgHandler.java
  35. 3
      src/engine/net/client/handlers/ClientAdminCommandMsgHandler.java
  36. 3
      src/engine/net/client/handlers/ClientLoginInfoMsgHandler.java
  37. 3
      src/engine/net/client/handlers/CloseTradeWindowMsgHandler.java
  38. 3
      src/engine/net/client/handlers/CommitNewCharacterMsgHandler.java
  39. 3
      src/engine/net/client/handlers/CommitToTradeMsgHandler.java
  40. 3
      src/engine/net/client/handlers/DeleteCharacterMsgHandler.java
  41. 3
      src/engine/net/client/handlers/DeleteItemMsgHandler.java
  42. 3
      src/engine/net/client/handlers/DestroyBuildingHandler.java
  43. 3
      src/engine/net/client/handlers/DisbandGroupHandler.java
  44. 3
      src/engine/net/client/handlers/DisbandGuildHandler.java
  45. 3
      src/engine/net/client/handlers/DismissGuildHandler.java
  46. 3
      src/engine/net/client/handlers/DoorTryOpenMsgHandler.java
  47. 4
      src/engine/net/client/handlers/FormationFollowHandler.java
  48. 3
      src/engine/net/client/handlers/FriendAcceptHandler.java
  49. 3
      src/engine/net/client/handlers/FriendDeclineHandler.java
  50. 3
      src/engine/net/client/handlers/FriendRequestHandler.java
  51. 3
      src/engine/net/client/handlers/FurnitureHandler.java
  52. 3
      src/engine/net/client/handlers/GameServerIPRequestMsgHandler.java
  53. 3
      src/engine/net/client/handlers/GoldFromVaultMsgHandler.java
  54. 3
      src/engine/net/client/handlers/GoldToVaultMsgHandler.java
  55. 3
      src/engine/net/client/handlers/GroupInviteHandler.java
  56. 3
      src/engine/net/client/handlers/GroupInviteResponseHandler.java
  57. 3
      src/engine/net/client/handlers/GroupUpdateHandler.java
  58. 3
      src/engine/net/client/handlers/GuildControlHandler.java
  59. 3
      src/engine/net/client/handlers/GuildCreationCloseHandler.java
  60. 3
      src/engine/net/client/handlers/GuildCreationFinalizeHandler.java
  61. 3
      src/engine/net/client/handlers/GuildCreationOptionsHandler.java
  62. 3
      src/engine/net/client/handlers/GuildInfoHandler.java
  63. 3
      src/engine/net/client/handlers/GuildListHandler.java
  64. 3
      src/engine/net/client/handlers/GuildTreeStatusMsgHandler.java
  65. 3
      src/engine/net/client/handlers/GuildUnknownHandler.java
  66. 3
      src/engine/net/client/handlers/HirelingServiceMsgHandler.java
  67. 3
      src/engine/net/client/handlers/IgnoreMsgHandler.java
  68. 3
      src/engine/net/client/handlers/InvalidTradeRequestMsgHandler.java
  69. 3
      src/engine/net/client/handlers/InviteToGuildHandler.java
  70. 3
      src/engine/net/client/handlers/InviteToSubHandler.java
  71. 3
      src/engine/net/client/handlers/ItemFromVaultMsgHandler.java
  72. 3
      src/engine/net/client/handlers/ItemProductionMsgHandler.java
  73. 3
      src/engine/net/client/handlers/ItemToVaultMsgHandler.java
  74. 3
      src/engine/net/client/handlers/KeepAliveServerClientHandler.java
  75. 3
      src/engine/net/client/handlers/LeaveGroupHandler.java
  76. 3
      src/engine/net/client/handlers/LeaveGuildHandler.java
  77. 3
      src/engine/net/client/handlers/LeaveWorldMsgHandler.java
  78. 3
      src/engine/net/client/handlers/LockUnlockDoorMsgHandler.java
  79. 3
      src/engine/net/client/handlers/LoginToGameServerMsgHandler.java
  80. 3
      src/engine/net/client/handlers/LootMsgHandler.java
  81. 3
      src/engine/net/client/handlers/LootWindowRequestMsgHandler.java
  82. 3
      src/engine/net/client/handlers/MOTDCommitHandler.java
  83. 3
      src/engine/net/client/handlers/MOTDEditHandler.java
  84. 3
      src/engine/net/client/handlers/ManageCityAssetMsgHandler.java
  85. 3
      src/engine/net/client/handlers/MerchantMsgHandler.java
  86. 3
      src/engine/net/client/handlers/MineWindowChangeHandler.java
  87. 3
      src/engine/net/client/handlers/MinionTrainingMsgHandler.java
  88. 3
      src/engine/net/client/handlers/ModifyStatMsgHandler.java
  89. 3
      src/engine/net/client/handlers/MoveToPointHandler.java
  90. 3
      src/engine/net/client/handlers/ObjectActionMsgHandler.java
  91. 3
      src/engine/net/client/handlers/OpenFriendsCondemnListMsgHandler.java
  92. 3
      src/engine/net/client/handlers/OrderNPCMsgHandler.java
  93. 3
      src/engine/net/client/handlers/PerformActionMsgHandler.java
  94. 3
      src/engine/net/client/handlers/PetAttackMsgHandler.java
  95. 3
      src/engine/net/client/handlers/PetCmdMsgHandler.java
  96. 3
      src/engine/net/client/handlers/PetitionReceivedMsgHandler.java
  97. 3
      src/engine/net/client/handlers/PlaceAssetMsgHandler.java
  98. 3
      src/engine/net/client/handlers/PromptRecallMsgHandler.java
  99. 3
      src/engine/net/client/handlers/RandomMsgHandler.java
  100. 3
      src/engine/net/client/handlers/RecommendNationMsgHandler.java
  101. Some files were not shown because too many files have changed in this diff Show More

31
src/engine/exception/MsgSendException.java

@ -1,31 +0,0 @@ @@ -1,31 +0,0 @@
// • ▌ ▄ ·. ▄▄▄· ▄▄ • ▪ ▄▄· ▄▄▄▄· ▄▄▄· ▐▄▄▄ ▄▄▄ .
// ·██ ▐███▪▐█ ▀█ ▐█ ▀ ▪██ ▐█ ▌▪▐█ ▀█▪▐█ ▀█ •█▌ ▐█▐▌·
// ▐█ ▌▐▌▐█·▄█▀▀█ ▄█ ▀█▄▐█·██ ▄▄▐█▀▀█▄▄█▀▀█ ▐█▐ ▐▌▐▀▀▀
// ██ ██▌▐█▌▐█ ▪▐▌▐█▄▪▐█▐█▌▐███▌██▄▪▐█▐█ ▪▐▌██▐ █▌▐█▄▄▌
// ▀▀ █▪▀▀▀ ▀ ▀ ·▀▀▀▀ ▀▀▀·▀▀▀ ·▀▀▀▀ ▀ ▀ ▀▀ █▪ ▀▀▀
// Magicbane Emulator Project © 2013 - 2022
// www.magicbane.com
package engine.exception;
public class MsgSendException extends MBServerException {
private static final long serialVersionUID = 6927044139998382254L;
public MsgSendException() {
super();
}
public MsgSendException(String arg0, Throwable arg1) {
super(arg0, arg1);
}
public MsgSendException(String arg0) {
super(arg0);
}
public MsgSendException(Throwable arg0) {
super(arg0);
}
}

5
src/engine/gameManager/GroupManager.java

@ -8,7 +8,6 @@ @@ -8,7 +8,6 @@
package engine.gameManager;
import engine.exception.MsgSendException;
import engine.mbEnums;
import engine.net.Dispatch;
import engine.net.client.ClientConnection;
@ -45,12 +44,12 @@ public enum GroupManager { @@ -45,12 +44,12 @@ public enum GroupManager {
}
public static void LeaveGroup(ClientConnection origin) throws MsgSendException {
public static void LeaveGroup(ClientConnection origin) {
PlayerCharacter source = SessionManager.getPlayerCharacter(origin);
LeaveGroup(source);
}
public static void LeaveGroup(PlayerCharacter source) throws MsgSendException {
public static void LeaveGroup(PlayerCharacter source) {
if (source == null)
return;

5
src/engine/gameManager/MovementManager.java

@ -9,7 +9,6 @@ @@ -9,7 +9,6 @@
package engine.gameManager;
import engine.InterestManagement.InterestManager;
import engine.exception.MsgSendException;
import engine.math.Bounds;
import engine.math.Vector3f;
import engine.math.Vector3fImmutable;
@ -60,7 +59,7 @@ public enum MovementManager { @@ -60,7 +59,7 @@ public enum MovementManager {
* target upon each move, unless something has set the firstHitCombatTarget
* Also used to determine the size of a monster's hitbox
*/
public static void movement(MoveToPointMsg msg, AbstractCharacter toMove) throws MsgSendException {
public static void movement(MoveToPointMsg msg, AbstractCharacter toMove) {
// check for stun/root
if (!toMove.isAlive())
@ -348,7 +347,7 @@ public enum MovementManager { @@ -348,7 +347,7 @@ public enum MovementManager {
// Handle formation movement in group
public static void moveGroup(PlayerCharacter pc, ClientConnection origin, MoveToPointMsg msg) throws MsgSendException {
public static void moveGroup(PlayerCharacter pc, ClientConnection origin, MoveToPointMsg msg) {
// get forward vector
Vector3f faceDir = new Vector3f(pc.getFaceDir().x, 0, pc.getFaceDir().z).normalize();
// get perpendicular vector

3
src/engine/mobileAI/utilities/MovementUtilities.java

@ -9,7 +9,6 @@ @@ -9,7 +9,6 @@
package engine.mobileAI.utilities;
import engine.exception.MsgSendException;
import engine.gameManager.MovementManager;
import engine.math.Vector3fImmutable;
import engine.mbEnums;
@ -253,7 +252,7 @@ public class MovementUtilities { @@ -253,7 +252,7 @@ public class MovementUtilities {
try {
MovementManager.movement(msg, agent);
} catch (MsgSendException e) {
} catch (Exception e) {
// TODO Figure out how we want to handle the msg send exception
e.printStackTrace();
}

3
src/engine/net/client/handlers/AbandonAssetMsgHandler.java

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.*;
import engine.mbEnums;
import engine.mbEnums.BuildingGroup;
@ -48,7 +47,7 @@ public class AbandonAssetMsgHandler extends AbstractClientMsgHandler { @@ -48,7 +47,7 @@ public class AbandonAssetMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
// Member variable declaration
PlayerCharacter player;

3
src/engine/net/client/handlers/AbstractChatMsgHandler.java

@ -8,7 +8,6 @@ @@ -8,7 +8,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.ChatManager;
import engine.net.Protocol;
import engine.net.client.ClientConnection;
@ -26,7 +25,7 @@ public class AbstractChatMsgHandler extends AbstractClientMsgHandler { @@ -26,7 +25,7 @@ public class AbstractChatMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
PlayerCharacter playerCharacter = origin.getPlayerCharacter();

5
src/engine/net/client/handlers/AbstractClientMsgHandler.java

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.net.client.ClientConnection;
import engine.net.client.msg.ClientNetMsg;
@ -20,7 +19,7 @@ public abstract class AbstractClientMsgHandler { @@ -20,7 +19,7 @@ public abstract class AbstractClientMsgHandler {
try {
executionSucceded = _handleNetMsg(msg, (ClientConnection) msg.getOrigin());
} catch (MsgSendException e) {
} catch (Exception e) {
e.printStackTrace();
executionSucceded = false;
}
@ -28,5 +27,5 @@ public abstract class AbstractClientMsgHandler { @@ -28,5 +27,5 @@ public abstract class AbstractClientMsgHandler {
return executionSucceded;
}
protected abstract boolean _handleNetMsg(ClientNetMsg msg, ClientConnection origin) throws MsgSendException;
protected abstract boolean _handleNetMsg(ClientNetMsg msg, ClientConnection origin);
}

3
src/engine/net/client/handlers/AcceptInviteToGuildHandler.java

@ -9,7 +9,6 @@ @@ -9,7 +9,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.*;
import engine.mbEnums;
import engine.mbEnums.GameObjectType;
@ -32,7 +31,7 @@ public class AcceptInviteToGuildHandler extends AbstractClientMsgHandler { @@ -32,7 +31,7 @@ public class AcceptInviteToGuildHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
PlayerCharacter player;
AcceptInviteToGuildMsg msg;

3
src/engine/net/client/handlers/AcceptSubInviteHandler.java

@ -9,7 +9,6 @@ @@ -9,7 +9,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.ChatManager;
import engine.gameManager.DbManager;
import engine.gameManager.DispatchManager;
@ -35,7 +34,7 @@ public class AcceptSubInviteHandler extends AbstractClientMsgHandler { @@ -35,7 +34,7 @@ public class AcceptSubInviteHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
AcceptSubInviteMsg msg = (AcceptSubInviteMsg) baseMsg;
PlayerCharacter sourcePlayer;

3
src/engine/net/client/handlers/AcceptTradeRequestMsgHandler.java

@ -8,7 +8,6 @@ @@ -8,7 +8,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.DispatchManager;
import engine.mbEnums;
import engine.net.Dispatch;
@ -32,7 +31,7 @@ public class AcceptTradeRequestMsgHandler extends AbstractClientMsgHandler { @@ -32,7 +31,7 @@ public class AcceptTradeRequestMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
// Member variable declaration

3
src/engine/net/client/handlers/ActivateNPCMsgHandler.java

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.*;
import engine.mbEnums;
import engine.mbEnums.ItemType;
@ -26,7 +25,7 @@ public class ActivateNPCMsgHandler extends AbstractClientMsgHandler { @@ -26,7 +25,7 @@ public class ActivateNPCMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
ActivateNPCMessage msg;
PlayerCharacter player;

3
src/engine/net/client/handlers/AddGoldToTradeWindowMsgHandler.java

@ -8,7 +8,6 @@ @@ -8,7 +8,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.DispatchManager;
import engine.mbEnums;
import engine.net.Dispatch;
@ -31,7 +30,7 @@ public class AddGoldToTradeWindowMsgHandler extends AbstractClientMsgHandler { @@ -31,7 +30,7 @@ public class AddGoldToTradeWindowMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
PlayerCharacter source = origin.getPlayerCharacter();

3
src/engine/net/client/handlers/AddItemToTradeWindowMsgHandler.java

@ -8,7 +8,6 @@ @@ -8,7 +8,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.DispatchManager;
import engine.mbEnums;
import engine.net.Dispatch;
@ -29,7 +28,7 @@ public class AddItemToTradeWindowMsgHandler extends AbstractClientMsgHandler { @@ -29,7 +28,7 @@ public class AddItemToTradeWindowMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
// Member variable declaration

3
src/engine/net/client/handlers/AllianceChangeMsgHandler.java

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.DispatchManager;
import engine.gameManager.SessionManager;
import engine.mbEnums;
@ -97,7 +96,7 @@ public class AllianceChangeMsgHandler extends AbstractClientMsgHandler { @@ -97,7 +96,7 @@ public class AllianceChangeMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
// Member variable declaration

3
src/engine/net/client/handlers/AllyEnemyListMsgHandler.java

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.DispatchManager;
import engine.gameManager.SessionManager;
import engine.mbEnums;
@ -46,7 +45,7 @@ public class AllyEnemyListMsgHandler extends AbstractClientMsgHandler { @@ -46,7 +45,7 @@ public class AllyEnemyListMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
// Member variable declaration

3
src/engine/net/client/handlers/AppointGroupLeaderHandler.java

@ -9,7 +9,6 @@ @@ -9,7 +9,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.ChatManager;
import engine.gameManager.DispatchManager;
import engine.gameManager.GroupManager;
@ -30,7 +29,7 @@ public class AppointGroupLeaderHandler extends AbstractClientMsgHandler { @@ -30,7 +29,7 @@ public class AppointGroupLeaderHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
AppointGroupLeaderMsg msg = (AppointGroupLeaderMsg) baseMsg;
PlayerCharacter source = SessionManager.getPlayerCharacter(origin);

3
src/engine/net/client/handlers/ArcLoginNotifyMsgHandler.java

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.*;
import engine.job.JobScheduler;
import engine.mbEnums;
@ -25,7 +24,7 @@ public class ArcLoginNotifyMsgHandler extends AbstractClientMsgHandler { @@ -25,7 +24,7 @@ public class ArcLoginNotifyMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
PlayerCharacter player = SessionManager.getPlayerCharacter(origin);

3
src/engine/net/client/handlers/ArcMineChangeProductionMsgHandler.java

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.DispatchManager;
import engine.mbEnums;
import engine.mbEnums.DispatchChannel;
@ -25,7 +24,7 @@ public class ArcMineChangeProductionMsgHandler extends AbstractClientMsgHandler @@ -25,7 +24,7 @@ public class ArcMineChangeProductionMsgHandler extends AbstractClientMsgHandler
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
PlayerCharacter playerCharacter = origin.getPlayerCharacter();
ArcMineChangeProductionMsg changeProductionMsg = (ArcMineChangeProductionMsg) baseMsg;

3
src/engine/net/client/handlers/ArcMineWindowAvailableTimeHandler.java

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.BuildingManager;
import engine.gameManager.DispatchManager;
import engine.mbEnums;
@ -27,7 +26,7 @@ public class ArcMineWindowAvailableTimeHandler extends AbstractClientMsgHandler @@ -27,7 +26,7 @@ public class ArcMineWindowAvailableTimeHandler extends AbstractClientMsgHandler
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
ArcMineWindowAvailableTimeMsg msg = (ArcMineWindowAvailableTimeMsg) baseMsg;
PlayerCharacter playerCharacter = origin.getPlayerCharacter();

3
src/engine/net/client/handlers/ArcOwnedMinesListHandler.java

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.DispatchManager;
import engine.mbEnums.DispatchChannel;
import engine.net.Dispatch;
@ -24,7 +23,7 @@ public class ArcOwnedMinesListHandler extends AbstractClientMsgHandler { @@ -24,7 +23,7 @@ public class ArcOwnedMinesListHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
PlayerCharacter playerCharacter = origin.getPlayerCharacter();
ArcOwnedMinesListMsg msg = (ArcOwnedMinesListMsg) baseMsg;

3
src/engine/net/client/handlers/ArcSiegeSpireMsgHandler.java

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.DbManager;
import engine.gameManager.SessionManager;
import engine.mbEnums.GameObjectType;
@ -26,7 +25,7 @@ public class ArcSiegeSpireMsgHandler extends AbstractClientMsgHandler { @@ -26,7 +25,7 @@ public class ArcSiegeSpireMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
PlayerCharacter player;
Building spire;

3
src/engine/net/client/handlers/ArcViewAssetTransactionsMsgHandler.java

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.BuildingManager;
import engine.gameManager.DispatchManager;
import engine.gameManager.SessionManager;
@ -27,7 +26,7 @@ public class ArcViewAssetTransactionsMsgHandler extends AbstractClientMsgHandler @@ -27,7 +26,7 @@ public class ArcViewAssetTransactionsMsgHandler extends AbstractClientMsgHandler
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
PlayerCharacter player;
ArcViewAssetTransactionsMsg msg;

3
src/engine/net/client/handlers/AssetSupportMsgHandler.java

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.BuildingManager;
import engine.gameManager.DispatchManager;
import engine.gameManager.NPCManager;
@ -123,7 +122,7 @@ public class AssetSupportMsgHandler extends AbstractClientMsgHandler { @@ -123,7 +122,7 @@ public class AssetSupportMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
// Member variable declaration

3
src/engine/net/client/handlers/AttackCmdMsgHandler.java

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.BuildingManager;
import engine.gameManager.CombatManager;
import engine.mbEnums;
@ -26,7 +25,7 @@ public class AttackCmdMsgHandler extends AbstractClientMsgHandler { @@ -26,7 +25,7 @@ public class AttackCmdMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
PlayerCharacter playerCharacter = origin.getPlayerCharacter();

3
src/engine/net/client/handlers/BanishUnbanishHandler.java

@ -9,7 +9,6 @@ @@ -9,7 +9,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.ChatManager;
import engine.gameManager.DbManager;
import engine.gameManager.DispatchManager;
@ -35,7 +34,7 @@ public class BanishUnbanishHandler extends AbstractClientMsgHandler { @@ -35,7 +34,7 @@ public class BanishUnbanishHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
BanishUnbanishMsg msg = (BanishUnbanishMsg) baseMsg;
Dispatch dispatch;

3
src/engine/net/client/handlers/BreakFealtyHandler.java

@ -9,7 +9,6 @@ @@ -9,7 +9,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.*;
import engine.mbEnums;
import engine.mbEnums.GameObjectType;
@ -32,7 +31,7 @@ public class BreakFealtyHandler extends AbstractClientMsgHandler { @@ -32,7 +31,7 @@ public class BreakFealtyHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
BreakFealtyMsg bfm;
PlayerCharacter player;

3
src/engine/net/client/handlers/ChangeAltitudeHandler.java

@ -9,7 +9,6 @@ @@ -9,7 +9,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.DispatchManager;
import engine.mbEnums.DispatchChannel;
import engine.net.client.ClientConnection;
@ -30,7 +29,7 @@ public class ChangeAltitudeHandler extends AbstractClientMsgHandler { @@ -30,7 +29,7 @@ public class ChangeAltitudeHandler extends AbstractClientMsgHandler {
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg,
ClientConnection origin) throws MsgSendException {
ClientConnection origin) {
ChangeAltitudeMsg msg = (ChangeAltitudeMsg) baseMsg;

3
src/engine/net/client/handlers/ChangeGuildLeaderHandler.java

@ -9,7 +9,6 @@ @@ -9,7 +9,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.ChatManager;
import engine.gameManager.DbManager;
import engine.gameManager.DispatchManager;
@ -33,7 +32,7 @@ public class ChangeGuildLeaderHandler extends AbstractClientMsgHandler { @@ -33,7 +32,7 @@ public class ChangeGuildLeaderHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
ChangeGuildLeaderMsg msg;
PlayerCharacter sourcePlayer;

3
src/engine/net/client/handlers/ChangeRankHandler.java

@ -9,7 +9,6 @@ @@ -9,7 +9,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.ChatManager;
import engine.gameManager.DbManager;
import engine.gameManager.DispatchManager;
@ -32,7 +31,7 @@ public class ChangeRankHandler extends AbstractClientMsgHandler { @@ -32,7 +31,7 @@ public class ChangeRankHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
ChangeRankMsg msg;
PlayerCharacter sourcePlayer;

3
src/engine/net/client/handlers/ChannelMuteMsgHandler.java

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.ChatManager;
import engine.gameManager.DbManager;
import engine.gameManager.GuildManager;
@ -41,7 +40,7 @@ public class ChannelMuteMsgHandler extends AbstractClientMsgHandler { @@ -41,7 +40,7 @@ public class ChannelMuteMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
return true;
}

3
src/engine/net/client/handlers/CityChoiceMsgHandler.java

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.DispatchManager;
import engine.gameManager.GuildManager;
import engine.mbEnums;
@ -27,7 +26,7 @@ public class CityChoiceMsgHandler extends AbstractClientMsgHandler { @@ -27,7 +26,7 @@ public class CityChoiceMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
PlayerCharacter player = origin.getPlayerCharacter();
Dispatch dispatch;

3
src/engine/net/client/handlers/CityDataHandler.java

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.DispatchManager;
import engine.gameManager.SessionManager;
import engine.gameManager.ZoneManager;
@ -29,7 +28,7 @@ public class CityDataHandler extends AbstractClientMsgHandler { @@ -29,7 +28,7 @@ public class CityDataHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
boolean updateCities = false;
Session playerSession;

3
src/engine/net/client/handlers/ClaimAssetMsgHandler.java

@ -11,7 +11,6 @@ package engine.net.client.handlers; @@ -11,7 +11,6 @@ package engine.net.client.handlers;
import engine.db.archive.CityRecord;
import engine.db.archive.DataWarehouse;
import engine.exception.MsgSendException;
import engine.gameManager.BuildingManager;
import engine.mbEnums;
import engine.mbEnums.BuildingGroup;
@ -44,7 +43,7 @@ public class ClaimAssetMsgHandler extends AbstractClientMsgHandler { @@ -44,7 +43,7 @@ public class ClaimAssetMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
// Member variable declaration
this.claimLock.writeLock().lock();

3
src/engine/net/client/handlers/ClaimGuildTreeMsgHandler.java

@ -9,7 +9,6 @@ @@ -9,7 +9,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.BuildingManager;
import engine.gameManager.ChatManager;
import engine.gameManager.DispatchManager;
@ -44,7 +43,7 @@ public class ClaimGuildTreeMsgHandler extends AbstractClientMsgHandler { @@ -44,7 +43,7 @@ public class ClaimGuildTreeMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
// Member variable declaration
this.claimLock.writeLock().lock();

3
src/engine/net/client/handlers/ClientAdminCommandMsgHandler.java

@ -8,7 +8,6 @@ @@ -8,7 +8,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.DevCmdManager;
import engine.gameManager.SessionManager;
import engine.mbEnums;
@ -58,7 +57,7 @@ public class ClientAdminCommandMsgHandler extends AbstractClientMsgHandler { @@ -58,7 +57,7 @@ public class ClientAdminCommandMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
PlayerCharacter player = origin.getPlayerCharacter();

3
src/engine/net/client/handlers/ClientLoginInfoMsgHandler.java

@ -8,7 +8,6 @@ @@ -8,7 +8,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.ConfigManager;
import engine.gameManager.DbManager;
import engine.gameManager.SessionManager;
@ -30,7 +29,7 @@ public class ClientLoginInfoMsgHandler extends AbstractClientMsgHandler { @@ -30,7 +29,7 @@ public class ClientLoginInfoMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
PlayerCharacter playerCharacter = origin.getPlayerCharacter();

3
src/engine/net/client/handlers/CloseTradeWindowMsgHandler.java

@ -8,7 +8,6 @@ @@ -8,7 +8,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.DispatchManager;
import engine.mbEnums;
import engine.net.Dispatch;
@ -25,7 +24,7 @@ public class CloseTradeWindowMsgHandler extends AbstractClientMsgHandler { @@ -25,7 +24,7 @@ public class CloseTradeWindowMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
PlayerCharacter source = origin.getPlayerCharacter();

3
src/engine/net/client/handlers/CommitNewCharacterMsgHandler.java

@ -8,7 +8,6 @@ @@ -8,7 +8,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.SessionManager;
import engine.net.client.ClientConnection;
import engine.net.client.msg.ClientNetMsg;
@ -25,7 +24,7 @@ public class CommitNewCharacterMsgHandler extends AbstractClientMsgHandler { @@ -25,7 +24,7 @@ public class CommitNewCharacterMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
if (origin.getAccount() == null)
return true;

3
src/engine/net/client/handlers/CommitToTradeMsgHandler.java

@ -8,7 +8,6 @@ @@ -8,7 +8,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.net.client.ClientConnection;
import engine.net.client.msg.ClientNetMsg;
import engine.net.client.msg.CloseTradeWindowMsg;
@ -25,7 +24,7 @@ public class CommitToTradeMsgHandler extends AbstractClientMsgHandler { @@ -25,7 +24,7 @@ public class CommitToTradeMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
PlayerCharacter source = origin.getPlayerCharacter();

3
src/engine/net/client/handlers/DeleteCharacterMsgHandler.java

@ -8,7 +8,6 @@ @@ -8,7 +8,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.SessionManager;
import engine.net.client.ClientConnection;
import engine.net.client.msg.ClientNetMsg;
@ -27,7 +26,7 @@ public class DeleteCharacterMsgHandler extends AbstractClientMsgHandler { @@ -27,7 +26,7 @@ public class DeleteCharacterMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
// Member variable declaration

3
src/engine/net/client/handlers/DeleteItemMsgHandler.java

@ -8,7 +8,6 @@ @@ -8,7 +8,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.DispatchManager;
import engine.mbEnums.DispatchChannel;
import engine.net.Dispatch;
@ -26,7 +25,7 @@ public class DeleteItemMsgHandler extends AbstractClientMsgHandler { @@ -26,7 +25,7 @@ public class DeleteItemMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
PlayerCharacter player = origin.getPlayerCharacter();

3
src/engine/net/client/handlers/DestroyBuildingHandler.java

@ -1,7 +1,6 @@ @@ -1,7 +1,6 @@
package engine.net.client.handlers;
import engine.InterestManagement.WorldGrid;
import engine.exception.MsgSendException;
import engine.gameManager.BuildingManager;
import engine.mbEnums;
import engine.mbEnums.BuildingGroup;
@ -24,7 +23,7 @@ public class DestroyBuildingHandler extends AbstractClientMsgHandler { @@ -24,7 +23,7 @@ public class DestroyBuildingHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
PlayerCharacter pc = origin.getPlayerCharacter();

3
src/engine/net/client/handlers/DisbandGroupHandler.java

@ -9,7 +9,6 @@ @@ -9,7 +9,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.GroupManager;
import engine.gameManager.SessionManager;
import engine.net.client.ClientConnection;
@ -25,7 +24,7 @@ public class DisbandGroupHandler extends AbstractClientMsgHandler { @@ -25,7 +24,7 @@ public class DisbandGroupHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
PlayerCharacter source = SessionManager.getPlayerCharacter(origin);
if (source == null) {

3
src/engine/net/client/handlers/DisbandGuildHandler.java

@ -12,7 +12,6 @@ package engine.net.client.handlers; @@ -12,7 +12,6 @@ package engine.net.client.handlers;
import engine.InterestManagement.WorldGrid;
import engine.db.archive.DataWarehouse;
import engine.db.archive.GuildRecord;
import engine.exception.MsgSendException;
import engine.gameManager.ChatManager;
import engine.gameManager.DbManager;
import engine.gameManager.DispatchManager;
@ -36,7 +35,7 @@ public class DisbandGuildHandler extends AbstractClientMsgHandler { @@ -36,7 +35,7 @@ public class DisbandGuildHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
PlayerCharacter player;
Guild guild;

3
src/engine/net/client/handlers/DismissGuildHandler.java

@ -9,7 +9,6 @@ @@ -9,7 +9,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.*;
import engine.mbEnums;
import engine.mbEnums.GameObjectType;
@ -32,7 +31,7 @@ public class DismissGuildHandler extends AbstractClientMsgHandler { @@ -32,7 +31,7 @@ public class DismissGuildHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
DismissGuildMsg dismissMsg;
PlayerCharacter player;

3
src/engine/net/client/handlers/DoorTryOpenMsgHandler.java

@ -1,7 +1,6 @@ @@ -1,7 +1,6 @@
package engine.net.client.handlers;
import engine.InterestManagement.WorldGrid;
import engine.exception.MsgSendException;
import engine.gameManager.BuildingManager;
import engine.gameManager.DispatchManager;
import engine.mbEnums;
@ -32,7 +31,7 @@ public class DoorTryOpenMsgHandler extends AbstractClientMsgHandler { @@ -32,7 +31,7 @@ public class DoorTryOpenMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
// Member variable declaration

4
src/engine/net/client/handlers/FormationFollowHandler.java

@ -9,7 +9,6 @@ @@ -9,7 +9,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.ChatManager;
import engine.gameManager.GroupManager;
import engine.gameManager.SessionManager;
@ -27,8 +26,7 @@ public class FormationFollowHandler extends AbstractClientMsgHandler { @@ -27,8 +26,7 @@ public class FormationFollowHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin)
throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
FormationFollowMsg msg = (FormationFollowMsg) baseMsg;
PlayerCharacter source = SessionManager.getPlayerCharacter(origin);

3
src/engine/net/client/handlers/FriendAcceptHandler.java

@ -9,7 +9,6 @@ @@ -9,7 +9,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.ChatManager;
import engine.gameManager.DispatchManager;
import engine.gameManager.SessionManager;
@ -57,7 +56,7 @@ public class FriendAcceptHandler extends AbstractClientMsgHandler { @@ -57,7 +56,7 @@ public class FriendAcceptHandler extends AbstractClientMsgHandler {
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg,
ClientConnection origin) throws MsgSendException {
ClientConnection origin) {
PlayerCharacter player = origin.getPlayerCharacter();

3
src/engine/net/client/handlers/FriendDeclineHandler.java

@ -9,7 +9,6 @@ @@ -9,7 +9,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.DispatchManager;
import engine.gameManager.SessionManager;
import engine.mbEnums.DispatchChannel;
@ -42,7 +41,7 @@ public class FriendDeclineHandler extends AbstractClientMsgHandler { @@ -42,7 +41,7 @@ public class FriendDeclineHandler extends AbstractClientMsgHandler {
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg,
ClientConnection origin) throws MsgSendException {
ClientConnection origin) {
PlayerCharacter player = origin.getPlayerCharacter();

3
src/engine/net/client/handlers/FriendRequestHandler.java

@ -9,7 +9,6 @@ @@ -9,7 +9,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.ChatManager;
import engine.gameManager.DispatchManager;
import engine.gameManager.SessionManager;
@ -47,7 +46,7 @@ public class FriendRequestHandler extends AbstractClientMsgHandler { @@ -47,7 +46,7 @@ public class FriendRequestHandler extends AbstractClientMsgHandler {
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg,
ClientConnection origin) throws MsgSendException {
ClientConnection origin) {
PlayerCharacter player = origin.getPlayerCharacter();

3
src/engine/net/client/handlers/FurnitureHandler.java

@ -9,7 +9,6 @@ @@ -9,7 +9,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.DispatchManager;
import engine.mbEnums.DispatchChannel;
import engine.net.Dispatch;
@ -26,7 +25,7 @@ public class FurnitureHandler extends AbstractClientMsgHandler { @@ -26,7 +25,7 @@ public class FurnitureHandler extends AbstractClientMsgHandler {
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg,
ClientConnection origin) throws MsgSendException {
ClientConnection origin) {
FurnitureMsg msg = (FurnitureMsg) baseMsg;

3
src/engine/net/client/handlers/GameServerIPRequestMsgHandler.java

@ -8,7 +8,6 @@ @@ -8,7 +8,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.SessionManager;
import engine.net.client.ClientConnection;
import engine.net.client.msg.ClientNetMsg;
@ -30,7 +29,7 @@ public class GameServerIPRequestMsgHandler extends AbstractClientMsgHandler { @@ -30,7 +29,7 @@ public class GameServerIPRequestMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
Session session = SessionManager.getSession(origin);

3
src/engine/net/client/handlers/GoldFromVaultMsgHandler.java

@ -8,7 +8,6 @@ @@ -8,7 +8,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.net.client.ClientConnection;
import engine.net.client.msg.ClientNetMsg;
import engine.net.client.msg.GoldFromVaultMsg;
@ -22,7 +21,7 @@ public class GoldFromVaultMsgHandler extends AbstractClientMsgHandler { @@ -22,7 +21,7 @@ public class GoldFromVaultMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
PlayerCharacter player = origin.getPlayerCharacter();

3
src/engine/net/client/handlers/GoldToVaultMsgHandler.java

@ -8,7 +8,6 @@ @@ -8,7 +8,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.net.client.ClientConnection;
import engine.net.client.msg.ClientNetMsg;
import engine.net.client.msg.GoldToVaultMsg;
@ -22,7 +21,7 @@ public class GoldToVaultMsgHandler extends AbstractClientMsgHandler { @@ -22,7 +21,7 @@ public class GoldToVaultMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
PlayerCharacter player = origin.getPlayerCharacter();

3
src/engine/net/client/handlers/GroupInviteHandler.java

@ -9,7 +9,6 @@ @@ -9,7 +9,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.ConfigManager;
import engine.gameManager.DispatchManager;
import engine.gameManager.GroupManager;
@ -60,7 +59,7 @@ public class GroupInviteHandler extends AbstractClientMsgHandler { @@ -60,7 +59,7 @@ public class GroupInviteHandler extends AbstractClientMsgHandler {
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg,
ClientConnection origin) throws MsgSendException {
ClientConnection origin) {
GroupInviteMsg msg = (GroupInviteMsg) baseMsg;
PlayerCharacter source = SessionManager.getPlayerCharacter(origin);

3
src/engine/net/client/handlers/GroupInviteResponseHandler.java

@ -9,7 +9,6 @@ @@ -9,7 +9,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.ChatManager;
import engine.gameManager.DispatchManager;
import engine.gameManager.GroupManager;
@ -34,7 +33,7 @@ public class GroupInviteResponseHandler extends AbstractClientMsgHandler { @@ -34,7 +33,7 @@ public class GroupInviteResponseHandler extends AbstractClientMsgHandler {
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg,
ClientConnection origin) throws MsgSendException {
ClientConnection origin) {
GroupInviteResponseMsg msg = (GroupInviteResponseMsg) baseMsg;

3
src/engine/net/client/handlers/GroupUpdateHandler.java

@ -9,7 +9,6 @@ @@ -9,7 +9,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.net.client.ClientConnection;
import engine.net.client.msg.ClientNetMsg;
@ -21,7 +20,7 @@ public class GroupUpdateHandler extends AbstractClientMsgHandler { @@ -21,7 +20,7 @@ public class GroupUpdateHandler extends AbstractClientMsgHandler {
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg,
ClientConnection origin) throws MsgSendException {
ClientConnection origin) {
//GroupUpdateMsg msg = (GroupUpdateMsg) baseMsg;
// not sure what to do with these as we spend our time sending them

3
src/engine/net/client/handlers/GuildControlHandler.java

@ -9,7 +9,6 @@ @@ -9,7 +9,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.DispatchManager;
import engine.gameManager.SessionManager;
import engine.mbEnums;
@ -31,7 +30,7 @@ public class GuildControlHandler extends AbstractClientMsgHandler { @@ -31,7 +30,7 @@ public class GuildControlHandler extends AbstractClientMsgHandler {
// TODO Don't think this protocolMsg (0x3235E5EA) is actually player history. so
// take further look at it.
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
GuildControlMsg msg = (GuildControlMsg) baseMsg;
Dispatch dispatch;

3
src/engine/net/client/handlers/GuildCreationCloseHandler.java

@ -9,7 +9,6 @@ @@ -9,7 +9,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.net.client.ClientConnection;
import engine.net.client.msg.ClientNetMsg;
@ -20,7 +19,7 @@ public class GuildCreationCloseHandler extends AbstractClientMsgHandler { @@ -20,7 +19,7 @@ public class GuildCreationCloseHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
// GuildCreationCloseMsg msg = (GuildCreationCloseMsg) baseMsg;
// origin.sendMsg(msg);
return true;

3
src/engine/net/client/handlers/GuildCreationFinalizeHandler.java

@ -9,7 +9,6 @@ @@ -9,7 +9,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.*;
import engine.mbEnums;
import engine.mbEnums.DispatchChannel;
@ -34,7 +33,7 @@ public class GuildCreationFinalizeHandler extends AbstractClientMsgHandler { @@ -34,7 +33,7 @@ public class GuildCreationFinalizeHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
PlayerCharacter player;
GuildCreationFinalizeMsg msg;

3
src/engine/net/client/handlers/GuildCreationOptionsHandler.java

@ -9,7 +9,6 @@ @@ -9,7 +9,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.DispatchManager;
import engine.mbEnums;
import engine.net.Dispatch;
@ -25,7 +24,7 @@ public class GuildCreationOptionsHandler extends AbstractClientMsgHandler { @@ -25,7 +24,7 @@ public class GuildCreationOptionsHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
GuildCreationOptionsMsg msg = (GuildCreationOptionsMsg) baseMsg;
PlayerCharacter sourcePlayer = origin.getPlayerCharacter();
Dispatch dispatch;

3
src/engine/net/client/handlers/GuildInfoHandler.java

@ -9,7 +9,6 @@ @@ -9,7 +9,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.DispatchManager;
import engine.gameManager.SessionManager;
import engine.mbEnums;
@ -27,7 +26,7 @@ public class GuildInfoHandler extends AbstractClientMsgHandler { @@ -27,7 +26,7 @@ public class GuildInfoHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
GuildInfoMsg msg = (GuildInfoMsg) baseMsg;
Dispatch dispatch;

3
src/engine/net/client/handlers/GuildListHandler.java

@ -9,7 +9,6 @@ @@ -9,7 +9,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.net.client.ClientConnection;
import engine.net.client.msg.ClientNetMsg;
@ -20,7 +19,7 @@ public class GuildListHandler extends AbstractClientMsgHandler { @@ -20,7 +19,7 @@ public class GuildListHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
// GuildListMsg msg = (GuildListMsg) baseMsg;
// GuildListMsg msg = new GuildListMsg(origin);

3
src/engine/net/client/handlers/GuildTreeStatusMsgHandler.java

@ -8,7 +8,6 @@ @@ -8,7 +8,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.BuildingManager;
import engine.gameManager.DispatchManager;
import engine.gameManager.SessionManager;
@ -27,7 +26,7 @@ public class GuildTreeStatusMsgHandler extends AbstractClientMsgHandler { @@ -27,7 +26,7 @@ public class GuildTreeStatusMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
GuildTreeStatusMsg msg = (GuildTreeStatusMsg) baseMsg;

3
src/engine/net/client/handlers/GuildUnknownHandler.java

@ -9,7 +9,6 @@ @@ -9,7 +9,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.net.client.ClientConnection;
import engine.net.client.msg.ClientNetMsg;
@ -20,7 +19,7 @@ public class GuildUnknownHandler extends AbstractClientMsgHandler { @@ -20,7 +19,7 @@ public class GuildUnknownHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
// GuildUnknownMsg msg = (GuildUnknownMsg) baseMsg;
return true;
}

3
src/engine/net/client/handlers/HirelingServiceMsgHandler.java

@ -10,7 +10,6 @@ @@ -10,7 +10,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.BuildingManager;
import engine.gameManager.DispatchManager;
import engine.gameManager.SessionManager;
@ -31,7 +30,7 @@ public class HirelingServiceMsgHandler extends AbstractClientMsgHandler { @@ -31,7 +30,7 @@ public class HirelingServiceMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
PlayerCharacter player;
HirelingServiceMsg msg;

3
src/engine/net/client/handlers/IgnoreMsgHandler.java

@ -8,7 +8,6 @@ @@ -8,7 +8,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.ChatManager;
import engine.gameManager.DbManager;
import engine.net.client.ClientConnection;
@ -24,7 +23,7 @@ public class IgnoreMsgHandler extends AbstractClientMsgHandler { @@ -24,7 +23,7 @@ public class IgnoreMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
PlayerCharacter playerCharacter = origin.getPlayerCharacter();

3
src/engine/net/client/handlers/InvalidTradeRequestMsgHandler.java

@ -8,7 +8,6 @@ @@ -8,7 +8,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.DispatchManager;
import engine.mbEnums;
import engine.net.Dispatch;
@ -24,7 +23,7 @@ public class InvalidTradeRequestMsgHandler extends AbstractClientMsgHandler { @@ -24,7 +23,7 @@ public class InvalidTradeRequestMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
PlayerCharacter playerCharacter = origin.getPlayerCharacter();

3
src/engine/net/client/handlers/InviteToGuildHandler.java

@ -10,7 +10,6 @@ @@ -10,7 +10,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.*;
import engine.mbEnums;
import engine.mbEnums.GameObjectType;
@ -30,7 +29,7 @@ public class InviteToGuildHandler extends AbstractClientMsgHandler { @@ -30,7 +29,7 @@ public class InviteToGuildHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
InviteToGuildMsg msg;
PlayerCharacter sourcePlayer;
PlayerCharacter targetPlayer;

3
src/engine/net/client/handlers/InviteToSubHandler.java

@ -9,7 +9,6 @@ @@ -9,7 +9,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.*;
import engine.mbEnums;
import engine.mbEnums.GameObjectType;
@ -33,7 +32,7 @@ public class InviteToSubHandler extends AbstractClientMsgHandler { @@ -33,7 +32,7 @@ public class InviteToSubHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
PlayerCharacter source;
PlayerCharacter target;

3
src/engine/net/client/handlers/ItemFromVaultMsgHandler.java

@ -8,7 +8,6 @@ @@ -8,7 +8,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.ChatManager;
import engine.gameManager.DispatchManager;
import engine.mbEnums;
@ -42,7 +41,7 @@ public class ItemFromVaultMsgHandler extends AbstractClientMsgHandler { @@ -42,7 +41,7 @@ public class ItemFromVaultMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
PlayerCharacter player = origin.getPlayerCharacter();

3
src/engine/net/client/handlers/ItemProductionMsgHandler.java

@ -9,7 +9,6 @@ @@ -9,7 +9,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.*;
import engine.loot.WorkOrder;
import engine.mbEnums;
@ -37,7 +36,7 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler { @@ -37,7 +36,7 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
// Member variable declaration

3
src/engine/net/client/handlers/ItemToVaultMsgHandler.java

@ -8,7 +8,6 @@ @@ -8,7 +8,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.ChatManager;
import engine.gameManager.DispatchManager;
import engine.mbEnums;
@ -42,7 +41,7 @@ public class ItemToVaultMsgHandler extends AbstractClientMsgHandler { @@ -42,7 +41,7 @@ public class ItemToVaultMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
ItemToVaultMsg msg = (ItemToVaultMsg) baseMsg;
PlayerCharacter player = origin.getPlayerCharacter();

3
src/engine/net/client/handlers/KeepAliveServerClientHandler.java

@ -8,7 +8,6 @@ @@ -8,7 +8,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.DispatchManager;
import engine.mbEnums.DispatchChannel;
import engine.net.Dispatch;
@ -24,7 +23,7 @@ public class KeepAliveServerClientHandler extends AbstractClientMsgHandler { @@ -24,7 +23,7 @@ public class KeepAliveServerClientHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
PlayerCharacter playerCharacter = origin.getPlayerCharacter();

3
src/engine/net/client/handlers/LeaveGroupHandler.java

@ -9,7 +9,6 @@ @@ -9,7 +9,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.GroupManager;
import engine.net.client.ClientConnection;
import engine.net.client.msg.ClientNetMsg;
@ -22,7 +21,7 @@ public class LeaveGroupHandler extends AbstractClientMsgHandler { @@ -22,7 +21,7 @@ public class LeaveGroupHandler extends AbstractClientMsgHandler {
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg,
ClientConnection origin) throws MsgSendException {
ClientConnection origin) {
GroupManager.LeaveGroup(origin);
return true;
}

3
src/engine/net/client/handlers/LeaveGuildHandler.java

@ -9,7 +9,6 @@ @@ -9,7 +9,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.*;
import engine.mbEnums;
import engine.mbEnums.GuildHistoryType;
@ -29,7 +28,7 @@ public class LeaveGuildHandler extends AbstractClientMsgHandler { @@ -29,7 +28,7 @@ public class LeaveGuildHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
LeaveGuildMsg msg = (LeaveGuildMsg) baseMsg;
Dispatch dispatch;

3
src/engine/net/client/handlers/LeaveWorldMsgHandler.java

@ -8,7 +8,6 @@ @@ -8,7 +8,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.net.client.ClientConnection;
import engine.net.client.msg.ClientNetMsg;
@ -19,7 +18,7 @@ public class LeaveWorldMsgHandler extends AbstractClientMsgHandler { @@ -19,7 +18,7 @@ public class LeaveWorldMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
origin.disconnect();

3
src/engine/net/client/handlers/LockUnlockDoorMsgHandler.java

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.BuildingManager;
import engine.gameManager.DispatchManager;
import engine.gameManager.SessionManager;
@ -29,7 +28,7 @@ public class LockUnlockDoorMsgHandler extends AbstractClientMsgHandler { @@ -29,7 +28,7 @@ public class LockUnlockDoorMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
// Member variable declarations

3
src/engine/net/client/handlers/LoginToGameServerMsgHandler.java

@ -1,7 +1,6 @@ @@ -1,7 +1,6 @@
package engine.net.client.handlers;
import engine.InterestManagement.WorldGrid;
import engine.exception.MsgSendException;
import engine.gameManager.DbManager;
import engine.gameManager.SessionManager;
import engine.mbEnums;
@ -30,7 +29,7 @@ public class LoginToGameServerMsgHandler extends AbstractClientMsgHandler { @@ -30,7 +29,7 @@ public class LoginToGameServerMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
LoginToGameServerMsg msg = (LoginToGameServerMsg) baseMsg;

3
src/engine/net/client/handlers/LootMsgHandler.java

@ -8,7 +8,6 @@ @@ -8,7 +8,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.ChatManager;
import engine.gameManager.DispatchManager;
import engine.gameManager.GroupManager;
@ -30,7 +29,7 @@ public class LootMsgHandler extends AbstractClientMsgHandler { @@ -30,7 +29,7 @@ public class LootMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
PlayerCharacter player = origin.getPlayerCharacter();

3
src/engine/net/client/handlers/LootWindowRequestMsgHandler.java

@ -9,7 +9,6 @@ @@ -9,7 +9,6 @@
package engine.net.client.handlers;
import engine.InterestManagement.WorldGrid;
import engine.exception.MsgSendException;
import engine.gameManager.DispatchManager;
import engine.mbEnums;
import engine.mbEnums.DispatchChannel;
@ -32,7 +31,7 @@ public class LootWindowRequestMsgHandler extends AbstractClientMsgHandler { @@ -32,7 +31,7 @@ public class LootWindowRequestMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
PlayerCharacter player = origin.getPlayerCharacter();

3
src/engine/net/client/handlers/MOTDCommitHandler.java

@ -9,7 +9,6 @@ @@ -9,7 +9,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.ChatManager;
import engine.gameManager.DispatchManager;
import engine.gameManager.SessionManager;
@ -29,7 +28,7 @@ public class MOTDCommitHandler extends AbstractClientMsgHandler { @@ -29,7 +28,7 @@ public class MOTDCommitHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
MOTDCommitMsg msg = (MOTDCommitMsg) baseMsg;
Dispatch dispatch;

3
src/engine/net/client/handlers/MOTDEditHandler.java

@ -9,7 +9,6 @@ @@ -9,7 +9,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.DispatchManager;
import engine.gameManager.SessionManager;
import engine.mbEnums;
@ -30,7 +29,7 @@ public class MOTDEditHandler extends AbstractClientMsgHandler { @@ -30,7 +29,7 @@ public class MOTDEditHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
MOTDMsg msg = (MOTDMsg) baseMsg;
Dispatch dispatch;

3
src/engine/net/client/handlers/ManageCityAssetMsgHandler.java

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.BuildingManager;
import engine.gameManager.DispatchManager;
import engine.gameManager.SessionManager;
@ -54,7 +53,7 @@ public class ManageCityAssetMsgHandler extends AbstractClientMsgHandler { @@ -54,7 +53,7 @@ public class ManageCityAssetMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
ManageCityAssetsMsg msg;
PlayerCharacter player;

3
src/engine/net/client/handlers/MerchantMsgHandler.java

@ -1,7 +1,6 @@ @@ -1,7 +1,6 @@
package engine.net.client.handlers;
import engine.InterestManagement.RealmMap;
import engine.exception.MsgSendException;
import engine.gameManager.*;
import engine.job.JobScheduler;
import engine.jobs.TeleportJob;
@ -361,7 +360,7 @@ public class MerchantMsgHandler extends AbstractClientMsgHandler { @@ -361,7 +360,7 @@ public class MerchantMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
// Member variable declaration

3
src/engine/net/client/handlers/MineWindowChangeHandler.java

@ -8,7 +8,6 @@ @@ -8,7 +8,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.BuildingManager;
import engine.gameManager.ChatManager;
import engine.gameManager.DbManager;
@ -39,7 +38,7 @@ public class MineWindowChangeHandler extends AbstractClientMsgHandler { @@ -39,7 +38,7 @@ public class MineWindowChangeHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
PlayerCharacter playerCharacter = SessionManager.getPlayerCharacter(origin);
ArcMineWindowChangeMsg mineWindowChangeMsg = (ArcMineWindowChangeMsg) baseMsg;

3
src/engine/net/client/handlers/MinionTrainingMsgHandler.java

@ -1,7 +1,6 @@ @@ -1,7 +1,6 @@
package engine.net.client.handlers;
import engine.InterestManagement.WorldGrid;
import engine.exception.MsgSendException;
import engine.gameManager.*;
import engine.mbEnums;
import engine.mbEnums.DispatchChannel;
@ -24,7 +23,7 @@ public class MinionTrainingMsgHandler extends AbstractClientMsgHandler { @@ -24,7 +23,7 @@ public class MinionTrainingMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
MinionTrainingMessage minionMsg = (MinionTrainingMessage) baseMsg;

3
src/engine/net/client/handlers/ModifyStatMsgHandler.java

@ -8,7 +8,6 @@ @@ -8,7 +8,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.net.client.ClientConnection;
import engine.net.client.msg.ClientNetMsg;
import engine.net.client.msg.ModifyStatMsg;
@ -22,7 +21,7 @@ public class ModifyStatMsgHandler extends AbstractClientMsgHandler { @@ -22,7 +21,7 @@ public class ModifyStatMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
PlayerCharacter playerCharacter = origin.getPlayerCharacter();

3
src/engine/net/client/handlers/MoveToPointHandler.java

@ -9,7 +9,6 @@ @@ -9,7 +9,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.MovementManager;
import engine.net.client.ClientConnection;
import engine.net.client.msg.ClientNetMsg;
@ -24,7 +23,7 @@ public class MoveToPointHandler extends AbstractClientMsgHandler { @@ -24,7 +23,7 @@ public class MoveToPointHandler extends AbstractClientMsgHandler {
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg,
ClientConnection origin) throws MsgSendException {
ClientConnection origin) {
MoveToPointMsg msg = (MoveToPointMsg) baseMsg;
PlayerCharacter pc = origin.getPlayerCharacter();
if (pc == null)

3
src/engine/net/client/handlers/ObjectActionMsgHandler.java

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.*;
import engine.math.Bounds;
import engine.math.Vector3fImmutable;
@ -31,7 +30,7 @@ public class ObjectActionMsgHandler extends AbstractClientMsgHandler { @@ -31,7 +30,7 @@ public class ObjectActionMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
// Member variable declaration
ObjectActionMsg msg;

3
src/engine/net/client/handlers/OpenFriendsCondemnListMsgHandler.java

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.BuildingManager;
import engine.gameManager.DbManager;
import engine.gameManager.DispatchManager;
@ -31,7 +30,7 @@ public class OpenFriendsCondemnListMsgHandler extends AbstractClientMsgHandler { @@ -31,7 +30,7 @@ public class OpenFriendsCondemnListMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
PlayerCharacter player = SessionManager.getPlayerCharacter(origin);
Building sourceBuilding;

3
src/engine/net/client/handlers/OrderNPCMsgHandler.java

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.BuildingManager;
import engine.gameManager.DbManager;
import engine.gameManager.DispatchManager;
@ -355,7 +354,7 @@ public class OrderNPCMsgHandler extends AbstractClientMsgHandler { @@ -355,7 +354,7 @@ public class OrderNPCMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
// Member variable declarations

3
src/engine/net/client/handlers/PerformActionMsgHandler.java

@ -8,7 +8,6 @@ @@ -8,7 +8,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.PowersManager;
import engine.net.client.ClientConnection;
import engine.net.client.msg.ClientNetMsg;
@ -21,7 +20,7 @@ public class PerformActionMsgHandler extends AbstractClientMsgHandler { @@ -21,7 +20,7 @@ public class PerformActionMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
PerformActionMsg msg = (PerformActionMsg) baseMsg;
PowersManager.usePower(msg, origin, false); // Wtf ?

3
src/engine/net/client/handlers/PetAttackMsgHandler.java

@ -8,7 +8,6 @@ @@ -8,7 +8,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.BuildingManager;
import engine.mbEnums;
import engine.net.client.ClientConnection;
@ -24,7 +23,7 @@ public class PetAttackMsgHandler extends AbstractClientMsgHandler { @@ -24,7 +23,7 @@ public class PetAttackMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
PlayerCharacter playerCharacter = origin.getPlayerCharacter();

3
src/engine/net/client/handlers/PetCmdMsgHandler.java

@ -9,7 +9,6 @@ @@ -9,7 +9,6 @@
package engine.net.client.handlers;
import engine.InterestManagement.WorldGrid;
import engine.exception.MsgSendException;
import engine.gameManager.DispatchManager;
import engine.net.client.ClientConnection;
import engine.net.client.msg.ClientNetMsg;
@ -25,7 +24,7 @@ public class PetCmdMsgHandler extends AbstractClientMsgHandler { @@ -25,7 +24,7 @@ public class PetCmdMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
PlayerCharacter playerCharacter = origin.getPlayerCharacter();

3
src/engine/net/client/handlers/PetitionReceivedMsgHandler.java

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.DbManager;
import engine.gameManager.DispatchManager;
import engine.mbEnums;
@ -22,7 +21,7 @@ public class PetitionReceivedMsgHandler extends AbstractClientMsgHandler { @@ -22,7 +21,7 @@ public class PetitionReceivedMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg msg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg msg, ClientConnection origin) {
if (msg == null)
return true;

3
src/engine/net/client/handlers/PlaceAssetMsgHandler.java

@ -5,7 +5,6 @@ import engine.InterestManagement.RealmMap; @@ -5,7 +5,6 @@ import engine.InterestManagement.RealmMap;
import engine.InterestManagement.WorldGrid;
import engine.db.archive.CityRecord;
import engine.db.archive.DataWarehouse;
import engine.exception.MsgSendException;
import engine.gameManager.*;
import engine.math.Bounds;
import engine.math.Vector3fImmutable;
@ -299,7 +298,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler { @@ -299,7 +298,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
// Member variable declaration

3
src/engine/net/client/handlers/PromptRecallMsgHandler.java

@ -8,7 +8,6 @@ @@ -8,7 +8,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.SessionManager;
import engine.math.Vector3fImmutable;
import engine.net.client.ClientConnection;
@ -27,7 +26,7 @@ public class PromptRecallMsgHandler extends AbstractClientMsgHandler { @@ -27,7 +26,7 @@ public class PromptRecallMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
// Member variable assignment

3
src/engine/net/client/handlers/RandomMsgHandler.java

@ -8,7 +8,6 @@ @@ -8,7 +8,6 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.DispatchManager;
import engine.mbEnums.DispatchChannel;
import engine.net.client.ClientConnection;
@ -26,7 +25,7 @@ public class RandomMsgHandler extends AbstractClientMsgHandler { @@ -26,7 +25,7 @@ public class RandomMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
// Member variable declaration

3
src/engine/net/client/handlers/RecommendNationMsgHandler.java

@ -1,6 +1,5 @@ @@ -1,6 +1,5 @@
package engine.net.client.handlers;
import engine.exception.MsgSendException;
import engine.gameManager.ChatManager;
import engine.gameManager.SessionManager;
import engine.mbEnums.AllianceType;
@ -55,7 +54,7 @@ public class RecommendNationMsgHandler extends AbstractClientMsgHandler { @@ -55,7 +54,7 @@ public class RecommendNationMsgHandler extends AbstractClientMsgHandler {
}
@Override
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) throws MsgSendException {
protected boolean _handleNetMsg(ClientNetMsg baseMsg, ClientConnection origin) {
// Member variable declaration

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save