|
|
@ -340,6 +340,11 @@ public class ClientMessagePump implements NetMsgHandler { |
|
|
|
if (player == null) |
|
|
|
if (player == null) |
|
|
|
return; |
|
|
|
return; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(msg.getNumItems() < 1) { |
|
|
|
|
|
|
|
ChatManager.chatSystemInfo(player, "You Have Attempted To Dupe. Please Don't"); |
|
|
|
|
|
|
|
return;//catch gold dupe for negative numbers
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (!NPCVaultBankRangeCheck(player, origin, "bank")) |
|
|
|
if (!NPCVaultBankRangeCheck(player, origin, "bank")) |
|
|
|
return; |
|
|
|
return; |
|
|
|
|
|
|
|
|
|
|
@ -397,6 +402,11 @@ public class ClientMessagePump implements NetMsgHandler { |
|
|
|
if (player == null) |
|
|
|
if (player == null) |
|
|
|
return; |
|
|
|
return; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(msg.getNumItems() < 1) { |
|
|
|
|
|
|
|
ChatManager.chatSystemInfo(player, "You Have Attempted To Dupe. Please Don't"); |
|
|
|
|
|
|
|
return;//catch gold dupe for negative numbers
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (!NPCVaultBankRangeCheck(player, origin, "bank")) |
|
|
|
if (!NPCVaultBankRangeCheck(player, origin, "bank")) |
|
|
|
return; |
|
|
|
return; |
|
|
|
|
|
|
|
|
|
|
@ -515,6 +525,11 @@ public class ClientMessagePump implements NetMsgHandler { |
|
|
|
if (player == null) |
|
|
|
if (player == null) |
|
|
|
return; |
|
|
|
return; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(msg.getAmount() < 1) { |
|
|
|
|
|
|
|
ChatManager.chatSystemInfo(player, "You Have Attempted To Dupe. Please Don't"); |
|
|
|
|
|
|
|
return;//catch gold dupe for negative numbers
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Account account = player.getAccount(); |
|
|
|
Account account = player.getAccount(); |
|
|
|
|
|
|
|
|
|
|
|
if (account == null) |
|
|
|
if (account == null) |
|
|
@ -531,6 +546,11 @@ public class ClientMessagePump implements NetMsgHandler { |
|
|
|
if (player == null) |
|
|
|
if (player == null) |
|
|
|
return; |
|
|
|
return; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(msg.getAmount() < 1) { |
|
|
|
|
|
|
|
ChatManager.chatSystemInfo(player, "You Have Attempted To Dupe. Please Don't"); |
|
|
|
|
|
|
|
return;//catch gold dupe for negative numbers
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
Account account = player.getAccount(); |
|
|
|
Account account = player.getAccount(); |
|
|
|
|
|
|
|
|
|
|
|
if (account == null) |
|
|
|
if (account == null) |
|
|
@ -1871,6 +1891,9 @@ public class ClientMessagePump implements NetMsgHandler { |
|
|
|
s = SessionManager.getSession(origin); |
|
|
|
s = SessionManager.getSession(origin); |
|
|
|
|
|
|
|
|
|
|
|
protocolMsg = msg.getProtocolMsg(); |
|
|
|
protocolMsg = msg.getProtocolMsg(); |
|
|
|
|
|
|
|
PlayerCharacter player = ((ClientConnection) msg.getOrigin()).getPlayerCharacter(); |
|
|
|
|
|
|
|
if(player != null) |
|
|
|
|
|
|
|
player.lastAction = System.currentTimeMillis(); |
|
|
|
|
|
|
|
|
|
|
|
switch (protocolMsg) { |
|
|
|
switch (protocolMsg) { |
|
|
|
case SETSELECTEDOBECT: |
|
|
|
case SETSELECTEDOBECT: |
|
|
|