@ -219,7 +219,7 @@ public class ClientMessagePump implements NetMsgHandler {
@@ -219,7 +219,7 @@ public class ClientMessagePump implements NetMsgHandler {
@ -274,7 +274,7 @@ public class ClientMessagePump implements NetMsgHandler {
@@ -274,7 +274,7 @@ public class ClientMessagePump implements NetMsgHandler {
@ -738,7 +738,7 @@ public class ClientMessagePump implements NetMsgHandler {
@@ -738,7 +738,7 @@ public class ClientMessagePump implements NetMsgHandler {
// this is done to prevent the temporary goldItem item
// (from the mob) from appearing in player's inventory.
// It also updates the goldItem quantity display
@ -769,7 +769,7 @@ public class ClientMessagePump implements NetMsgHandler {
@@ -769,7 +769,7 @@ public class ClientMessagePump implements NetMsgHandler {
//TODO send group loot message if player is grouped and visible
Stringtext=player.getFirstName()+" has looted "+name+'.';
ChatManager.chatGroupInfoCanSee(player,text);
@ -787,7 +787,7 @@ public class ClientMessagePump implements NetMsgHandler {
@@ -787,7 +787,7 @@ public class ClientMessagePump implements NetMsgHandler {
// this is done to prevent the temporary goldItem item
// (from the mob) from appearing in player's inventory.
// It also updates the goldItem quantity display
@ -826,7 +826,7 @@ public class ClientMessagePump implements NetMsgHandler {
@@ -826,7 +826,7 @@ public class ClientMessagePump implements NetMsgHandler {
//TODO send group loot message if player is grouped and visible
@ -48,9 +48,9 @@ public class ActivateNPCMsgHandler extends AbstractClientMsgHandler {
@@ -48,9 +48,9 @@ public class ActivateNPCMsgHandler extends AbstractClientMsgHandler {
@ -46,7 +45,7 @@ public class GuildCreationFinalizeHandler extends AbstractClientMsgHandler {
@@ -46,7 +45,7 @@ public class GuildCreationFinalizeHandler extends AbstractClientMsgHandler {
Enum.GuildCharterTypecharterType;
GuildnewGuild;
GuildplayerGuild;
ItemBaseitemBase;
Itemcharter;
Dispatchdispatch;
@ -69,16 +68,14 @@ public class GuildCreationFinalizeHandler extends AbstractClientMsgHandler {
@@ -69,16 +68,14 @@ public class GuildCreationFinalizeHandler extends AbstractClientMsgHandler {
returntrue;
}
itemBase=charter.getItemBase();
// Item must be a valid charterType (type 10 in db)
@ -126,7 +126,7 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler {
@@ -126,7 +126,7 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler {
@ -266,7 +266,7 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler {
@@ -266,7 +266,7 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler {
@ -281,13 +281,13 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler {
@@ -281,13 +281,13 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler {
break;
}
switch(targetItem.getItemBase().getType()){
caseCONTRACT:
caseGUILDCHARTER:
switch(targetItem.template.item_type){
caseEMPLOYMENTCONTRACT:
caseCHARTER:
caseDEED:
caseREALMCHARTER:
caseSCROLL:
caseTEARS:
casePOTION:
itemValue=0;
continue;
}
@ -402,7 +402,7 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler {
@@ -402,7 +402,7 @@ public class ItemProductionMsgHandler extends AbstractClientMsgHandler {
@ -315,18 +315,13 @@ public class ObjectActionMsgHandler extends AbstractClientMsgHandler {
@@ -315,18 +315,13 @@ public class ObjectActionMsgHandler extends AbstractClientMsgHandler {
//Call add building screen here, ib.getUseID() get's building ID
//if inside player city, center loc on tol. otherwise center on player.
@ -352,10 +347,10 @@ public class ObjectActionMsgHandler extends AbstractClientMsgHandler {
@@ -352,10 +347,10 @@ public class ObjectActionMsgHandler extends AbstractClientMsgHandler {
//itemMan.consume(item); //temporary fix for dupe.. TODO Make Item Unusable after This message is sent.
break;
case25://furniture
caseFURNITUREDEED://furniture
//Call add furniture screen here. ib.getUseID() get's furniture ID
@ -381,7 +376,7 @@ public class ObjectActionMsgHandler extends AbstractClientMsgHandler {
@@ -381,7 +376,7 @@ public class ObjectActionMsgHandler extends AbstractClientMsgHandler {
}
break;
case35:
caseREALMCHARTER:
intcharterType=0;
switch(uuid){
case910020:
@ -398,7 +393,7 @@ public class ObjectActionMsgHandler extends AbstractClientMsgHandler {
@@ -398,7 +393,7 @@ public class ObjectActionMsgHandler extends AbstractClientMsgHandler {
@ -422,7 +417,7 @@ public class ObjectActionMsgHandler extends AbstractClientMsgHandler {
@@ -422,7 +417,7 @@ public class ObjectActionMsgHandler extends AbstractClientMsgHandler {
}
break;
//ANNIVERSERY GIFT
case31:
caseTREASURE:
// *** Disabled for now: Needs bootyset created
//if (ib.getUUID() == 971012) {
@ -440,13 +435,13 @@ public class ObjectActionMsgHandler extends AbstractClientMsgHandler {
@@ -440,13 +435,13 @@ public class ObjectActionMsgHandler extends AbstractClientMsgHandler {
@ -2840,11 +2840,11 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -2840,11 +2840,11 @@ public class PlayerCharacter extends AbstractCharacter {
@ -3865,7 +3865,7 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -3865,7 +3865,7 @@ public class PlayerCharacter extends AbstractCharacter {
@ -3884,7 +3884,7 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -3884,7 +3884,7 @@ public class PlayerCharacter extends AbstractCharacter {
this.rangeHandOne=10*(1+(this.statStrBase/600));// Set
// to
// no
@ -4026,7 +4026,7 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -4026,7 +4026,7 @@ public class PlayerCharacter extends AbstractCharacter {
@ -4171,10 +4171,12 @@ public class PlayerCharacter extends AbstractCharacter {
@@ -4171,10 +4171,12 @@ public class PlayerCharacter extends AbstractCharacter {
@ -156,7 +156,7 @@ public class StealPowerAction extends AbstractPowerAction {
@@ -156,7 +156,7 @@ public class StealPowerAction extends AbstractPowerAction {