@ -143,13 +143,6 @@ public class dbSkillBaseHandler extends dbHandlerBase {
@@ -143,13 +143,6 @@ public class dbSkillBaseHandler extends dbHandlerBase {
@ -42,7 +42,7 @@ public class SetPromotionClassCmd extends AbstractDevCmd {
@@ -42,7 +42,7 @@ public class SetPromotionClassCmd extends AbstractDevCmd {
//lastly, check mobs inventory for godly or disc runes to send a server announcement
for(Itemit:mob.getInventory()){
@ -89,7 +85,7 @@ public enum LootManager {
@@ -89,7 +85,7 @@ public enum LootManager {
ItemBaseib=it.getItemBase();
if(ib==null)
break;
if(ib.getName().toLowerCase().contains("of the gods")){
if(ib.isDiscRune()||ib.getName().toLowerCase().contains("of the gods")){
ChatSystemMsgchatMsg=newChatSystemMsg(null,mob.getName()+" in "+mob.getParentZone().getName()+" has found the "+ib.getName()+". Are you tough enough to take it?");
ChatSystemMsgchatMsg=newChatSystemMsg(null,mob.getName()+" in "+mob.getParentZone().getName()+" has found the "+specialDrop.getName()+". Are you tough enough to take it?");
ChatSystemMsgchatMsg=newChatSystemMsg(null,mob.getName()+" in "+mob.getParentZone().getName()+" has found the "+ItemBase.getItemBase(bse.itemBase).getName()+". Are you tough enough to take it?");
@ -71,10 +67,6 @@ public class ActivateBaneJob extends AbstractScheduleJob {
@@ -71,10 +67,6 @@ public class ActivateBaneJob extends AbstractScheduleJob {
@ -123,7 +122,6 @@ public class ClientMessagePump implements NetMsgHandler {
@@ -123,7 +122,6 @@ public class ClientMessagePump implements NetMsgHandler {
if(pc.isSit()){
pc.setCombat(false);
pc.cancelOnSit();
pc.stopMovement(pc.loc);
}
UpdateStateMsgrwss=newUpdateStateMsg();
@ -224,11 +222,6 @@ public class ClientMessagePump implements NetMsgHandler {
@@ -224,11 +222,6 @@ public class ClientMessagePump implements NetMsgHandler {
@ -561,32 +554,18 @@ public class ClientMessagePump implements NetMsgHandler {
@@ -561,32 +554,18 @@ public class ClientMessagePump implements NetMsgHandler {
@ -1379,171 +1358,219 @@ public class ClientMessagePump implements NetMsgHandler {
@@ -1379,171 +1358,219 @@ public class ClientMessagePump implements NetMsgHandler {
@ -1552,44 +1579,16 @@ public class ClientMessagePump implements NetMsgHandler {
@@ -1552,44 +1579,16 @@ public class ClientMessagePump implements NetMsgHandler {
@ -1632,8 +1631,8 @@ public class ClientMessagePump implements NetMsgHandler {
@@ -1632,8 +1631,8 @@ public class ClientMessagePump implements NetMsgHandler {
if(toRepair==null)
return;
//if (toRepair.getItemBase().isGlass())
// return;
if(toRepair.getItemBase().isGlass())
return;
//make sure item is in player's inventory or equipment
@ -1655,12 +1654,6 @@ public class ClientMessagePump implements NetMsgHandler {
@@ -1655,12 +1654,6 @@ public class ClientMessagePump implements NetMsgHandler {
@ -1895,22 +1888,9 @@ public class ClientMessagePump implements NetMsgHandler {
@@ -1895,22 +1888,9 @@ public class ClientMessagePump implements NetMsgHandler {
@ -57,21 +57,6 @@ public class ActivateNPCMsgHandler extends AbstractClientMsgHandler {
@@ -57,21 +57,6 @@ public class ActivateNPCMsgHandler extends AbstractClientMsgHandler {
@ -93,20 +78,13 @@ public class ActivateNPCMsgHandler extends AbstractClientMsgHandler {
@@ -93,20 +78,13 @@ public class ActivateNPCMsgHandler extends AbstractClientMsgHandler {
Logger.error(player.getName()+"has attempted to place Hireling : "+contractItem.getName()+"without a valid contract!");
@ -126,33 +104,10 @@ public class ActivateNPCMsgHandler extends AbstractClientMsgHandler {
@@ -126,33 +104,10 @@ public class ActivateNPCMsgHandler extends AbstractClientMsgHandler {
returnfalse;
// Check if contract can be slotted in this building
@ -53,7 +53,7 @@ public class ArcLoginNotifyMsgHandler extends AbstractClientMsgHandler {
@@ -53,7 +53,7 @@ public class ArcLoginNotifyMsgHandler extends AbstractClientMsgHandler {
GroupManager.RefreshOthersGroupList(player);
}
player.enteredWorld=true;
player.setEnteredWorld(true);
// Set player active
player.resetRegenUpdateTime();
player.setActive(true);
@ -66,9 +66,6 @@ public class ArcLoginNotifyMsgHandler extends AbstractClientMsgHandler {
@@ -66,9 +66,6 @@ public class ArcLoginNotifyMsgHandler extends AbstractClientMsgHandler {
@ -115,20 +116,6 @@ public class BanishUnbanishHandler extends AbstractClientMsgHandler {
@@ -115,20 +116,6 @@ public class BanishUnbanishHandler extends AbstractClientMsgHandler {
@ -61,6 +61,15 @@ public class CityDataHandler extends AbstractClientMsgHandler {
@@ -61,6 +61,15 @@ public class CityDataHandler extends AbstractClientMsgHandler {
@ -62,7 +62,7 @@ public class DestroyBuildingHandler extends AbstractClientMsgHandler {
@@ -62,7 +62,7 @@ public class DestroyBuildingHandler extends AbstractClientMsgHandler {
@ -71,12 +71,9 @@ public class DestroyBuildingHandler extends AbstractClientMsgHandler {
@@ -71,12 +71,9 @@ public class DestroyBuildingHandler extends AbstractClientMsgHandler {
@ -104,12 +103,6 @@ public class GroupInviteHandler extends AbstractClientMsgHandler {
@@ -104,12 +103,6 @@ public class GroupInviteHandler extends AbstractClientMsgHandler {
@ -97,25 +95,6 @@ public class InviteToSubHandler extends AbstractClientMsgHandler {
@@ -97,25 +95,6 @@ public class InviteToSubHandler extends AbstractClientMsgHandler {
@ -60,21 +61,6 @@ public class LeaveGuildHandler extends AbstractClientMsgHandler {
@@ -60,21 +61,6 @@ public class LeaveGuildHandler extends AbstractClientMsgHandler {
@ -63,6 +62,7 @@ public class ManageCityAssetMsgHandler extends AbstractClientMsgHandler {
@@ -63,6 +62,7 @@ public class ManageCityAssetMsgHandler extends AbstractClientMsgHandler {
Buildingbuilding;
msg=(ManageCityAssetsMsg)baseMsg;
player=SessionManager.getPlayerCharacter(origin);
if(player==null)
@ -72,21 +72,34 @@ public class ManageCityAssetMsgHandler extends AbstractClientMsgHandler {
@@ -72,21 +72,34 @@ public class ManageCityAssetMsgHandler extends AbstractClientMsgHandler {
@ -98,126 +111,181 @@ public class ManageCityAssetMsgHandler extends AbstractClientMsgHandler {
@@ -98,126 +111,181 @@ public class ManageCityAssetMsgHandler extends AbstractClientMsgHandler {
// Tests to turn on upgrade button if a building is not
@ -226,7 +294,7 @@ public class ManageCityAssetMsgHandler extends AbstractClientMsgHandler {
@@ -226,7 +294,7 @@ public class ManageCityAssetMsgHandler extends AbstractClientMsgHandler {
// Owner is obviously allowed to upgrade his own buildings
@ -147,7 +147,7 @@ public class MerchantMsgHandler extends AbstractClientMsgHandler {
@@ -147,7 +147,7 @@ public class MerchantMsgHandler extends AbstractClientMsgHandler {
@ -173,10 +173,10 @@ public class MerchantMsgHandler extends AbstractClientMsgHandler {
@@ -173,10 +173,10 @@ public class MerchantMsgHandler extends AbstractClientMsgHandler {
@ -191,10 +191,12 @@ public class MerchantMsgHandler extends AbstractClientMsgHandler {
@@ -191,10 +191,12 @@ public class MerchantMsgHandler extends AbstractClientMsgHandler {
@ -41,6 +42,7 @@ public class MinionTrainingMsgHandler extends AbstractClientMsgHandler {
@@ -41,6 +42,7 @@ public class MinionTrainingMsgHandler extends AbstractClientMsgHandler {
@ -61,10 +63,10 @@ public class MinionTrainingMsgHandler extends AbstractClientMsgHandler {
@@ -61,10 +63,10 @@ public class MinionTrainingMsgHandler extends AbstractClientMsgHandler {
@ -72,18 +74,14 @@ public class MinionTrainingMsgHandler extends AbstractClientMsgHandler {
@@ -72,18 +74,14 @@ public class MinionTrainingMsgHandler extends AbstractClientMsgHandler {
// we Found the move to remove, lets break the for loop so it doesnt look for more.
@ -117,7 +115,7 @@ public class MinionTrainingMsgHandler extends AbstractClientMsgHandler {
@@ -117,7 +115,7 @@ public class MinionTrainingMsgHandler extends AbstractClientMsgHandler {
if(npc.getContractID()==842)
maxSlots=1;
if(npc.siegeMinionMap.size()==maxSlots)
if(npc.getSiegeMinionMap().size()==maxSlots)
returntrue;
intmobBase;
@ -148,10 +146,42 @@ public class MinionTrainingMsgHandler extends AbstractClientMsgHandler {
@@ -148,10 +146,42 @@ public class MinionTrainingMsgHandler extends AbstractClientMsgHandler {
@ -198,14 +228,11 @@ public class MinionTrainingMsgHandler extends AbstractClientMsgHandler {
@@ -198,14 +228,11 @@ public class MinionTrainingMsgHandler extends AbstractClientMsgHandler {
@ -271,12 +298,12 @@ public class MinionTrainingMsgHandler extends AbstractClientMsgHandler {
@@ -271,12 +298,12 @@ public class MinionTrainingMsgHandler extends AbstractClientMsgHandler {
@ -195,9 +195,7 @@ public class ObjectActionMsgHandler extends AbstractClientMsgHandler {
@@ -195,9 +195,7 @@ public class ObjectActionMsgHandler extends AbstractClientMsgHandler {
@ -441,10 +439,8 @@ public class ObjectActionMsgHandler extends AbstractClientMsgHandler {
@@ -441,10 +439,8 @@ public class ObjectActionMsgHandler extends AbstractClientMsgHandler {
// }
// break;
//}
inti=0;
if(i!=0){
LootManager.peddleFate(player,item);
}
LootManager.peddleFate(player,item);
break;
case30://water bucket
@ -542,11 +538,7 @@ public class ObjectActionMsgHandler extends AbstractClientMsgHandler {
@@ -542,11 +538,7 @@ public class ObjectActionMsgHandler extends AbstractClientMsgHandler {
@ -44,13 +44,6 @@ public class OpenFriendsCondemnListMsgHandler extends AbstractClientMsgHandler {
@@ -44,13 +44,6 @@ public class OpenFriendsCondemnListMsgHandler extends AbstractClientMsgHandler {
@ -212,6 +212,10 @@ public class OrderNPCMsgHandler extends AbstractClientMsgHandler {
@@ -212,6 +212,10 @@ public class OrderNPCMsgHandler extends AbstractClientMsgHandler {
@ -219,6 +223,10 @@ public class OrderNPCMsgHandler extends AbstractClientMsgHandler {
@@ -219,6 +223,10 @@ public class OrderNPCMsgHandler extends AbstractClientMsgHandler {
@ -533,7 +541,7 @@ public class OrderNPCMsgHandler extends AbstractClientMsgHandler {
@@ -533,7 +541,7 @@ public class OrderNPCMsgHandler extends AbstractClientMsgHandler {
@ -412,9 +412,6 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
@@ -412,9 +412,6 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
@ -803,7 +800,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
@@ -803,7 +800,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
@ -970,7 +967,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
@@ -970,7 +967,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
@ -1213,7 +1210,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
@@ -1213,7 +1210,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
@ -1274,10 +1271,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
@@ -1274,10 +1271,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
@ -57,7 +57,7 @@ public class RequestEnterWorldHandler extends AbstractClientMsgHandler {
@@ -57,7 +57,7 @@ public class RequestEnterWorldHandler extends AbstractClientMsgHandler {
@ -132,15 +131,14 @@ public class TaxCityMsgHandler extends AbstractClientMsgHandler {
@@ -132,15 +131,14 @@ public class TaxCityMsgHandler extends AbstractClientMsgHandler {
TaxCityMsgmsg;
player=origin.getPlayerCharacter();
ChatManager.chatSystemInfo(player,"Taxing has been disabled");
@ -66,8 +66,6 @@ public class UpgradeAssetMsgHandler extends AbstractClientMsgHandler {
@@ -66,8 +66,6 @@ public class UpgradeAssetMsgHandler extends AbstractClientMsgHandler {
Logger.error("Attempt to upgrade null building by "+player.getName());
@ -532,10 +531,7 @@ public class ManageCityAssetsMsg extends ClientNetMsg {
@@ -532,10 +531,7 @@ public class ManageCityAssetsMsg extends ClientNetMsg {
@ -176,7 +175,7 @@ public class CommitNewCharacterMsg extends ClientNetMsg {
@@ -176,7 +175,7 @@ public class CommitNewCharacterMsg extends ClientNetMsg {
PlaceAssetMsg.sendPlaceAssetError(player.getClientConnection(),1,"A Serious error has occurred. Please post details for to ensure transaction integrity");
Logger.info("Failed to Convert World coordinates to local zone coordinates");
@ -489,6 +489,7 @@ public class CharacterSkill extends AbstractGameObject {
@@ -489,6 +489,7 @@ public class CharacterSkill extends AbstractGameObject {
@ -537,10 +538,6 @@ public class CharacterSkill extends AbstractGameObject {
@@ -537,10 +538,6 @@ public class CharacterSkill extends AbstractGameObject {
@ -560,15 +557,6 @@ public class CharacterSkill extends AbstractGameObject {
@@ -560,15 +557,6 @@ public class CharacterSkill extends AbstractGameObject {
if(skills==null)
return;
//if (pc.getRace().getName().equals("Saetor")) {
// SkillReq parry = new SkillReq(95961104, (short) 1);
// SkillReq staff = new SkillReq(71438003, (short) 15);
// SkillReq staffMastery = new SkillReq(-61022283, (short) 1);