@ -31,9 +31,9 @@ public class SetForceRenameCityCmd extends AbstractDevCmd {
@@ -31,9 +31,9 @@ public class SetForceRenameCityCmd extends AbstractDevCmd {
@ -86,7 +86,7 @@ public enum LootManager {
@@ -86,7 +86,7 @@ public enum LootManager {
if(ib==null)
break;
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().zoneName+" has found the "+ib.getName()+". Are you tough enough to take it?");
@ -1196,7 +1196,7 @@ public class ClientMessagePump implements NetMsgHandler {
@@ -1196,7 +1196,7 @@ public class ClientMessagePump implements NetMsgHandler {
@ -1229,7 +1229,7 @@ public class ClientMessagePump implements NetMsgHandler {
@@ -1229,7 +1229,7 @@ public class ClientMessagePump implements NetMsgHandler {
@ -1280,7 +1280,7 @@ public class ClientMessagePump implements NetMsgHandler {
@@ -1280,7 +1280,7 @@ public class ClientMessagePump implements NetMsgHandler {
@ -151,7 +151,7 @@ public class AbandonAssetMsgHandler extends AbstractClientMsgHandler {
@@ -151,7 +151,7 @@ public class AbandonAssetMsgHandler extends AbstractClientMsgHandler {
@ -45,7 +45,7 @@ public class AssetSupportMsgHandler extends AbstractClientMsgHandler {
@@ -45,7 +45,7 @@ public class AssetSupportMsgHandler extends AbstractClientMsgHandler {
@ -65,7 +65,7 @@ public class ChannelMuteMsgHandler extends AbstractClientMsgHandler {
@@ -65,7 +65,7 @@ public class ChannelMuteMsgHandler extends AbstractClientMsgHandler {
@ -69,7 +69,7 @@ public class ClaimGuildTreeMsgHandler extends AbstractClientMsgHandler {
@@ -69,7 +69,7 @@ public class ClaimGuildTreeMsgHandler extends AbstractClientMsgHandler {
@ -75,12 +75,12 @@ public class ManageCityAssetMsgHandler extends AbstractClientMsgHandler {
@@ -75,12 +75,12 @@ public class ManageCityAssetMsgHandler extends AbstractClientMsgHandler {
ErrorPopupMsg.sendErrorMsg(player,"Unable to find city to command.");
@ -254,7 +254,7 @@ public class ManageCityAssetMsgHandler extends AbstractClientMsgHandler {
@@ -254,7 +254,7 @@ public class ManageCityAssetMsgHandler extends AbstractClientMsgHandler {
@ -334,7 +334,7 @@ public class ObjectActionMsgHandler extends AbstractClientMsgHandler {
@@ -334,7 +334,7 @@ public class ObjectActionMsgHandler extends AbstractClientMsgHandler {
@ -288,7 +288,7 @@ public class OrderNPCMsgHandler extends AbstractClientMsgHandler {
@@ -288,7 +288,7 @@ public class OrderNPCMsgHandler extends AbstractClientMsgHandler {
@ -137,7 +137,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
@@ -137,7 +137,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
@ -156,7 +156,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
@@ -156,7 +156,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
// Retrieve the building details we're placing
if(serverZone.isNPCCity()==true){
if(serverZone.isNPCCity==true){
PlaceAssetMsg.sendPlaceAssetError(origin,15,"");// Cannot place in a peace zone
returnfalse;
}
@ -185,7 +185,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
@@ -185,7 +185,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
// Players cannot place buildings in mob zones.
if((serverZone.isMacroZone()==true)
||(serverZone.getParent().isMacroZone()==true)){
||(serverZone.parent.isMacroZone()==true)){
PlaceAssetMsg.sendPlaceAssetError(origin,57,player.getName());// No building may be placed within this territory
returnfalse;
}
@ -201,8 +201,8 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
@@ -201,8 +201,8 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
PlaceAssetMsg.sendPlaceAssetError(origin,1,"Cannot place asset on dead tree until world heals");
returnfalse;
}
@ -261,14 +261,14 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
@@ -261,14 +261,14 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
// Must be a player city
if(serverZone.isPlayerCity()==false){
if(serverZone.isPlayerCity==false){
PlaceAssetMsg.sendPlaceAssetError(origin,41,player.getName());// Cannot place outside a guild zone
PlaceAssetMsg.sendPlaceAssetError(origin,52,"");//"no city to associate asset with"
@ -512,7 +512,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
@@ -512,7 +512,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
@ -571,7 +571,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
@@ -571,7 +571,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
PlaceAssetMsg.sendPlaceAssetError(origin,52,"");// Cannot place outisde a guild zone
returnfalse;
}
@ -749,8 +749,8 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
@@ -749,8 +749,8 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
@ -783,10 +783,10 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
@@ -783,10 +783,10 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
// Link the zone with the city and then add
// to the appropriate hash tables and cache
zoneObject.setPlayerCity(true);
zoneObject.isPlayerCity=true;
if(zoneObject.getParent()!=null)
zoneObject.getParent().addNode(zoneObject);//add as child to parent
if(zoneObject.parent!=null)
zoneObject.parent.addNode(zoneObject);//add as child to parent
@ -857,7 +857,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
@@ -857,7 +857,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
@ -931,7 +931,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
@@ -931,7 +931,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
// Cannot place shrine in abandoned city. Shrines must be owned
// by the tol owner not the person placing them.
@ -1001,7 +1001,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
@@ -1001,7 +1001,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
@ -1061,7 +1061,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
@@ -1061,7 +1061,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
// We need to be able to access how much gold a character is carrying
@ -1117,7 +1117,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
@@ -1117,7 +1117,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
@ -1229,7 +1229,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
@@ -1229,7 +1229,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
@ -1294,7 +1294,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
@@ -1294,7 +1294,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
@ -1369,7 +1369,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
@@ -1369,7 +1369,7 @@ public class PlaceAssetMsgHandler extends AbstractClientMsgHandler {
@ -44,11 +44,11 @@ public class RepairBuildingMsgHandler extends AbstractClientMsgHandler {
@@ -44,11 +44,11 @@ public class RepairBuildingMsgHandler extends AbstractClientMsgHandler {
@ -1507,16 +1507,16 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -1507,16 +1507,16 @@ public class PlayerCharacter extends AbstractCharacter {
@ -1547,12 +1547,12 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -1547,12 +1547,12 @@ public class PlayerCharacter extends AbstractCharacter {
@ -1579,12 +1579,12 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -1579,12 +1579,12 @@ public class PlayerCharacter extends AbstractCharacter {
leaveWater=1f;
if(zone.getSeaLevel()!=0){
if(zone.seaLevel!=0){
floatlocalAltitude=leaver.getLoc().y;
if(localAltitude+leaveWater<zone.getSeaLevel())
if(localAltitude+leaveWater<zone.seaLevel)
returnfalse;
}else{
if(leaver.getLoc().y+leaveWater<0)
@ -1703,7 +1703,7 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -1703,7 +1703,7 @@ public class PlayerCharacter extends AbstractCharacter {
@ -1797,7 +1797,7 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -1797,7 +1797,7 @@ public class PlayerCharacter extends AbstractCharacter {
//enable this to give players deathshroud if mobs kill player.
@ -1843,7 +1843,7 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -1843,7 +1843,7 @@ public class PlayerCharacter extends AbstractCharacter {
@ -1898,7 +1898,7 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -1898,7 +1898,7 @@ public class PlayerCharacter extends AbstractCharacter {
@ -4739,10 +4739,10 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -4739,10 +4739,10 @@ public class PlayerCharacter extends AbstractCharacter {
@ -4764,9 +4764,9 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -4764,9 +4764,9 @@ public class PlayerCharacter extends AbstractCharacter {
@ -55,7 +55,7 @@ public class SummonPowerAction extends AbstractPowerAction {
@@ -55,7 +55,7 @@ public class SummonPowerAction extends AbstractPowerAction {
@ -166,7 +166,7 @@ public class HourlyJobThread implements Runnable {
@@ -166,7 +166,7 @@ public class HourlyJobThread implements Runnable {
mineBuilding.rebuildMine();
WorldGrid.updateObject(mineBuilding);
ChatSystemMsgchatMsg=newChatSystemMsg(null,mine.lastClaimer.getName()+" has claimed the mine in "+mine.getParentZone().getParent().getName()+" for "+mine.getOwningGuild().getName()+". The mine is no longer active.");
ChatSystemMsgchatMsg=newChatSystemMsg(null,mine.lastClaimer.getName()+" has claimed the mine in "+mine.getParentZone().parent.zoneName+" for "+mine.getOwningGuild().getName()+". The mine is no longer active.");