Item logger improvements.
This commit is contained in:
@@ -1052,7 +1052,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Notify to scripts.
|
// Notify to scripts.
|
||||||
@@ -1099,7 +1099,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1111,7 +1111,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1127,7 +1127,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1139,7 +1139,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1152,7 +1152,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_elementals == null)
|
if (_elementals == null)
|
||||||
@@ -1173,7 +1173,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1304,7 +1304,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1328,7 +1328,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1634,7 +1634,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1678,7 +1678,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1726,7 +1726,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e);
|
LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e);
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
@@ -2142,7 +2142,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
else if (id != 0)
|
else if (id != 0)
|
||||||
{
|
{
|
||||||
LOGGER.info("applyEnchantStats: Couldn't find option: " + id);
|
LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1057,7 +1057,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Notify to scripts.
|
// Notify to scripts.
|
||||||
@@ -1104,7 +1104,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1116,7 +1116,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1132,7 +1132,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1144,7 +1144,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1157,7 +1157,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_elementals == null)
|
if (_elementals == null)
|
||||||
@@ -1178,7 +1178,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1309,7 +1309,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1333,7 +1333,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1642,7 +1642,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1689,7 +1689,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1737,7 +1737,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e);
|
LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e);
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
@@ -2235,7 +2235,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't remove special ability for item: " + this, e);
|
LOGGER.log(Level.WARNING, "Item could not remove special ability for " + this, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2298,7 +2298,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't restore special abilities for item: " + this, e);
|
LOGGER.log(Level.WARNING, "Item could not restore special abilities for " + this, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2310,7 +2310,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e);
|
LOGGER.log(Level.WARNING, "Item could not update item special abilities", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2355,7 +2355,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e);
|
LOGGER.log(Level.WARNING, "Item could not update item special abilities", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2399,7 +2399,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
else if (id != 0)
|
else if (id != 0)
|
||||||
{
|
{
|
||||||
LOGGER.info("applyEnchantStats: Couldn't find option: " + id);
|
LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1057,7 +1057,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Notify to scripts.
|
// Notify to scripts.
|
||||||
@@ -1104,7 +1104,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1116,7 +1116,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1132,7 +1132,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1144,7 +1144,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1157,7 +1157,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_elementals == null)
|
if (_elementals == null)
|
||||||
@@ -1178,7 +1178,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1309,7 +1309,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1333,7 +1333,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1642,7 +1642,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1689,7 +1689,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1737,7 +1737,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e);
|
LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e);
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
@@ -2235,7 +2235,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't remove special ability for item: " + this, e);
|
LOGGER.log(Level.WARNING, "Item could not remove special ability for " + this, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2298,7 +2298,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't restore special abilities for item: " + this, e);
|
LOGGER.log(Level.WARNING, "Item could not restore special abilities for " + this, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2310,7 +2310,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e);
|
LOGGER.log(Level.WARNING, "Item could not update item special abilities", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2355,7 +2355,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e);
|
LOGGER.log(Level.WARNING, "Item could not update item special abilities", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2399,7 +2399,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
else if (id != 0)
|
else if (id != 0)
|
||||||
{
|
{
|
||||||
LOGGER.info("applyEnchantStats: Couldn't find option: " + id);
|
LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1057,7 +1057,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Notify to scripts.
|
// Notify to scripts.
|
||||||
@@ -1104,7 +1104,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1116,7 +1116,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1132,7 +1132,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1144,7 +1144,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1157,7 +1157,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_elementals == null)
|
if (_elementals == null)
|
||||||
@@ -1178,7 +1178,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1309,7 +1309,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1333,7 +1333,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1642,7 +1642,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1689,7 +1689,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1737,7 +1737,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e);
|
LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e);
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
@@ -2269,7 +2269,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't remove special ability for item: " + this, e);
|
LOGGER.log(Level.WARNING, "Item could not remove special ability for " + this, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2332,7 +2332,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't restore special abilities for item: " + this, e);
|
LOGGER.log(Level.WARNING, "Item could not restore special abilities for " + this, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2344,7 +2344,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e);
|
LOGGER.log(Level.WARNING, "Item could not update item special abilities", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2389,7 +2389,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e);
|
LOGGER.log(Level.WARNING, "Item could not update item special abilities", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2433,7 +2433,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
else if (id != 0)
|
else if (id != 0)
|
||||||
{
|
{
|
||||||
LOGGER.info("applyEnchantStats: Couldn't find option: " + id);
|
LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1118,7 +1118,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Notify to scripts.
|
// Notify to scripts.
|
||||||
@@ -1165,7 +1165,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1177,7 +1177,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1193,7 +1193,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1205,7 +1205,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1218,7 +1218,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_elementals == null)
|
if (_elementals == null)
|
||||||
@@ -1239,7 +1239,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1376,7 +1376,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1400,7 +1400,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1709,7 +1709,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1756,7 +1756,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1804,7 +1804,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e);
|
LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e);
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
@@ -2342,7 +2342,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't remove special ability for item: " + this, e);
|
LOGGER.log(Level.WARNING, "Item could not remove special ability for " + this, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2405,7 +2405,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't restore special abilities for item: " + this, e);
|
LOGGER.log(Level.WARNING, "Item could not restore special abilities for " + this, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2417,7 +2417,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e);
|
LOGGER.log(Level.WARNING, "Item could not update item special abilities", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2462,7 +2462,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e);
|
LOGGER.log(Level.WARNING, "Item could not update item special abilities", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2506,7 +2506,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
else if (id != 0)
|
else if (id != 0)
|
||||||
{
|
{
|
||||||
LOGGER.info("applyEnchantStats: Couldn't find option: " + id);
|
LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1118,7 +1118,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Notify to scripts.
|
// Notify to scripts.
|
||||||
@@ -1165,7 +1165,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1177,7 +1177,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1193,7 +1193,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1205,7 +1205,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1218,7 +1218,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_elementals == null)
|
if (_elementals == null)
|
||||||
@@ -1239,7 +1239,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1376,7 +1376,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1400,7 +1400,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1709,7 +1709,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1756,7 +1756,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1804,7 +1804,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e);
|
LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e);
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
@@ -2342,7 +2342,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't remove special ability for item: " + this, e);
|
LOGGER.log(Level.WARNING, "Item could not remove special ability for " + this, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2405,7 +2405,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't restore special abilities for item: " + this, e);
|
LOGGER.log(Level.WARNING, "Item could not restore special abilities for " + this, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2417,7 +2417,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e);
|
LOGGER.log(Level.WARNING, "Item could not update item special abilities", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2462,7 +2462,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e);
|
LOGGER.log(Level.WARNING, "Item could not update item special abilities", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2506,7 +2506,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
else if (id != 0)
|
else if (id != 0)
|
||||||
{
|
{
|
||||||
LOGGER.info("applyEnchantStats: Couldn't find option: " + id);
|
LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1118,7 +1118,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Notify to scripts.
|
// Notify to scripts.
|
||||||
@@ -1165,7 +1165,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1177,7 +1177,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1193,7 +1193,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1205,7 +1205,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1218,7 +1218,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_elementals == null)
|
if (_elementals == null)
|
||||||
@@ -1239,7 +1239,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1376,7 +1376,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1400,7 +1400,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1709,7 +1709,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1756,7 +1756,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1804,7 +1804,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e);
|
LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e);
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
@@ -2342,7 +2342,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't remove special ability for item: " + this, e);
|
LOGGER.log(Level.WARNING, "Item could not remove special ability for " + this, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2405,7 +2405,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't restore special abilities for item: " + this, e);
|
LOGGER.log(Level.WARNING, "Item could not restore special abilities for " + this, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2417,7 +2417,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e);
|
LOGGER.log(Level.WARNING, "Item could not update item special abilities", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2462,7 +2462,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e);
|
LOGGER.log(Level.WARNING, "Item could not update item special abilities", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2506,7 +2506,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
else if (id != 0)
|
else if (id != 0)
|
||||||
{
|
{
|
||||||
LOGGER.info("applyEnchantStats: Couldn't find option: " + id);
|
LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1118,7 +1118,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Notify to scripts.
|
// Notify to scripts.
|
||||||
@@ -1165,7 +1165,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1177,7 +1177,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1193,7 +1193,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1205,7 +1205,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1218,7 +1218,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_elementals == null)
|
if (_elementals == null)
|
||||||
@@ -1239,7 +1239,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1376,7 +1376,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1400,7 +1400,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1709,7 +1709,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1756,7 +1756,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1804,7 +1804,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e);
|
LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e);
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
@@ -2342,7 +2342,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't remove special ability for item: " + this, e);
|
LOGGER.log(Level.WARNING, "Item could not remove special ability for " + this, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2405,7 +2405,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't restore special abilities for item: " + this, e);
|
LOGGER.log(Level.WARNING, "Item could not restore special abilities for " + this, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2417,7 +2417,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e);
|
LOGGER.log(Level.WARNING, "Item could not update item special abilities", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2462,7 +2462,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e);
|
LOGGER.log(Level.WARNING, "Item could not update item special abilities", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2506,7 +2506,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
else if (id != 0)
|
else if (id != 0)
|
||||||
{
|
{
|
||||||
LOGGER.info("applyEnchantStats: Couldn't find option: " + id);
|
LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1118,7 +1118,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Notify to scripts.
|
// Notify to scripts.
|
||||||
@@ -1165,7 +1165,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1177,7 +1177,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1193,7 +1193,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1205,7 +1205,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1218,7 +1218,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_elementals == null)
|
if (_elementals == null)
|
||||||
@@ -1239,7 +1239,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1376,7 +1376,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1400,7 +1400,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1709,7 +1709,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1756,7 +1756,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1804,7 +1804,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e);
|
LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e);
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
@@ -2342,7 +2342,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't remove special ability for item: " + this, e);
|
LOGGER.log(Level.WARNING, "Item could not remove special ability for " + this, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2405,7 +2405,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't restore special abilities for item: " + this, e);
|
LOGGER.log(Level.WARNING, "Item could not restore special abilities for " + this, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2417,7 +2417,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e);
|
LOGGER.log(Level.WARNING, "Item could not update item special abilities", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2462,7 +2462,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e);
|
LOGGER.log(Level.WARNING, "Item could not update item special abilities", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2506,7 +2506,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
else if (id != 0)
|
else if (id != 0)
|
||||||
{
|
{
|
||||||
LOGGER.info("applyEnchantStats: Couldn't find option: " + id);
|
LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1118,7 +1118,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Notify to scripts.
|
// Notify to scripts.
|
||||||
@@ -1165,7 +1165,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1177,7 +1177,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1193,7 +1193,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1205,7 +1205,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1218,7 +1218,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_elementals == null)
|
if (_elementals == null)
|
||||||
@@ -1239,7 +1239,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1376,7 +1376,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1400,7 +1400,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1709,7 +1709,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1756,7 +1756,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1804,7 +1804,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e);
|
LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e);
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
@@ -2342,7 +2342,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't remove special ability for item: " + this, e);
|
LOGGER.log(Level.WARNING, "Item could not remove special ability for " + this, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2405,7 +2405,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't restore special abilities for item: " + this, e);
|
LOGGER.log(Level.WARNING, "Item could not restore special abilities for " + this, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2417,7 +2417,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e);
|
LOGGER.log(Level.WARNING, "Item could not update item special abilities", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2462,7 +2462,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e);
|
LOGGER.log(Level.WARNING, "Item could not update item special abilities", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2506,7 +2506,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
else if (id != 0)
|
else if (id != 0)
|
||||||
{
|
{
|
||||||
LOGGER.info("applyEnchantStats: Couldn't find option: " + id);
|
LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1118,7 +1118,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Notify to scripts.
|
// Notify to scripts.
|
||||||
@@ -1165,7 +1165,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1177,7 +1177,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1193,7 +1193,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1205,7 +1205,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1218,7 +1218,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_elementals == null)
|
if (_elementals == null)
|
||||||
@@ -1239,7 +1239,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1376,7 +1376,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1400,7 +1400,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1709,7 +1709,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1756,7 +1756,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1804,7 +1804,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e);
|
LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e);
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
@@ -2342,7 +2342,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't remove special ability for item: " + this, e);
|
LOGGER.log(Level.WARNING, "Item could not remove special ability for " + this, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2405,7 +2405,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't restore special abilities for item: " + this, e);
|
LOGGER.log(Level.WARNING, "Item could not restore special abilities for " + this, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2417,7 +2417,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e);
|
LOGGER.log(Level.WARNING, "Item could not update item special abilities", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2462,7 +2462,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e);
|
LOGGER.log(Level.WARNING, "Item could not update item special abilities", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2506,7 +2506,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
else if (id != 0)
|
else if (id != 0)
|
||||||
{
|
{
|
||||||
LOGGER.info("applyEnchantStats: Couldn't find option: " + id);
|
LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1118,7 +1118,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Notify to scripts.
|
// Notify to scripts.
|
||||||
@@ -1165,7 +1165,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1177,7 +1177,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1193,7 +1193,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1205,7 +1205,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1218,7 +1218,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_elementals == null)
|
if (_elementals == null)
|
||||||
@@ -1239,7 +1239,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1376,7 +1376,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1400,7 +1400,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1709,7 +1709,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1756,7 +1756,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1804,7 +1804,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e);
|
LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e);
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
@@ -2342,7 +2342,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't remove special ability for item: " + this, e);
|
LOGGER.log(Level.WARNING, "Item could not remove special ability for " + this, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2405,7 +2405,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't restore special abilities for item: " + this, e);
|
LOGGER.log(Level.WARNING, "Item could not restore special abilities for " + this, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2417,7 +2417,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e);
|
LOGGER.log(Level.WARNING, "Item could not update item special abilities", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2462,7 +2462,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e);
|
LOGGER.log(Level.WARNING, "Item could not update item special abilities", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2506,7 +2506,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
else if (id != 0)
|
else if (id != 0)
|
||||||
{
|
{
|
||||||
LOGGER.info("applyEnchantStats: Couldn't find option: " + id);
|
LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1907,7 +1907,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
else if (id != 0)
|
else if (id != 0)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.INFO, "applyEnchantStats: Couldn't find option: " + id);
|
LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -2161,7 +2161,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
else if (id != 0)
|
else if (id != 0)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.INFO, "applyEnchantStats: Couldn't find option: " + id);
|
LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -2161,7 +2161,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
else if (id != 0)
|
else if (id != 0)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.INFO, "applyEnchantStats: Couldn't find option: " + id);
|
LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1052,7 +1052,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Notify to scripts.
|
// Notify to scripts.
|
||||||
@@ -1099,7 +1099,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1111,7 +1111,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1127,7 +1127,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1139,7 +1139,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1152,7 +1152,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_elementals == null)
|
if (_elementals == null)
|
||||||
@@ -1173,7 +1173,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1304,7 +1304,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1328,7 +1328,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1635,7 +1635,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1680,7 +1680,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1728,7 +1728,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e);
|
LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e);
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
@@ -2144,7 +2144,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
else if (id != 0)
|
else if (id != 0)
|
||||||
{
|
{
|
||||||
LOGGER.info("applyEnchantStats: Couldn't find option: " + id);
|
LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1052,7 +1052,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Notify to scripts.
|
// Notify to scripts.
|
||||||
@@ -1099,7 +1099,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1111,7 +1111,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1127,7 +1127,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1139,7 +1139,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1152,7 +1152,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_elementals == null)
|
if (_elementals == null)
|
||||||
@@ -1173,7 +1173,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1304,7 +1304,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1328,7 +1328,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1635,7 +1635,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1680,7 +1680,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1728,7 +1728,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e);
|
LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e);
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
@@ -2144,7 +2144,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
else if (id != 0)
|
else if (id != 0)
|
||||||
{
|
{
|
||||||
LOGGER.info("applyEnchantStats: Couldn't find option: " + id);
|
LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1057,7 +1057,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Notify to scripts.
|
// Notify to scripts.
|
||||||
@@ -1104,7 +1104,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1116,7 +1116,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1132,7 +1132,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1144,7 +1144,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1157,7 +1157,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_elementals == null)
|
if (_elementals == null)
|
||||||
@@ -1178,7 +1178,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1309,7 +1309,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1333,7 +1333,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1642,7 +1642,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1689,7 +1689,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1737,7 +1737,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e);
|
LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e);
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
@@ -2269,7 +2269,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't remove special ability for item: " + this, e);
|
LOGGER.log(Level.WARNING, "Item could not remove special ability for " + this, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2332,7 +2332,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't restore special abilities for item: " + this, e);
|
LOGGER.log(Level.WARNING, "Item could not restore special abilities for " + this, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2344,7 +2344,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e);
|
LOGGER.log(Level.WARNING, "Item could not update item special abilities", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2389,7 +2389,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e);
|
LOGGER.log(Level.WARNING, "Item could not update item special abilities", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2433,7 +2433,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
else if (id != 0)
|
else if (id != 0)
|
||||||
{
|
{
|
||||||
LOGGER.info("applyEnchantStats: Couldn't find option: " + id);
|
LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1057,7 +1057,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Notify to scripts.
|
// Notify to scripts.
|
||||||
@@ -1104,7 +1104,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1116,7 +1116,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1132,7 +1132,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1144,7 +1144,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1157,7 +1157,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_elementals == null)
|
if (_elementals == null)
|
||||||
@@ -1178,7 +1178,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1309,7 +1309,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1333,7 +1333,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1642,7 +1642,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1689,7 +1689,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1737,7 +1737,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e);
|
LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e);
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
@@ -2269,7 +2269,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't remove special ability for item: " + this, e);
|
LOGGER.log(Level.WARNING, "Item could not remove special ability for " + this, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2332,7 +2332,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't restore special abilities for item: " + this, e);
|
LOGGER.log(Level.WARNING, "Item could not restore special abilities for " + this, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2344,7 +2344,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e);
|
LOGGER.log(Level.WARNING, "Item could not update item special abilities", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2389,7 +2389,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e);
|
LOGGER.log(Level.WARNING, "Item could not update item special abilities", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2433,7 +2433,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
else if (id != 0)
|
else if (id != 0)
|
||||||
{
|
{
|
||||||
LOGGER.info("applyEnchantStats: Couldn't find option: " + id);
|
LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1109,7 +1109,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Notify to scripts.
|
// Notify to scripts.
|
||||||
@@ -1156,7 +1156,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1168,7 +1168,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1184,7 +1184,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1196,7 +1196,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1209,7 +1209,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_elementals == null)
|
if (_elementals == null)
|
||||||
@@ -1230,7 +1230,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1361,7 +1361,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1385,7 +1385,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1694,7 +1694,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1741,7 +1741,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1789,7 +1789,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e);
|
LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e);
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
@@ -2321,7 +2321,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't remove special ability for item: " + this, e);
|
LOGGER.log(Level.WARNING, "Item could not remove special ability for " + this, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2384,7 +2384,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't restore special abilities for item: " + this, e);
|
LOGGER.log(Level.WARNING, "Item could not restore special abilities for " + this, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2396,7 +2396,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e);
|
LOGGER.log(Level.WARNING, "Item could not update item special abilities", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2441,7 +2441,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e);
|
LOGGER.log(Level.WARNING, "Item could not update item special abilities", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2485,7 +2485,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
else if (id != 0)
|
else if (id != 0)
|
||||||
{
|
{
|
||||||
LOGGER.info("applyEnchantStats: Couldn't find option: " + id);
|
LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1109,7 +1109,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Notify to scripts.
|
// Notify to scripts.
|
||||||
@@ -1156,7 +1156,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1168,7 +1168,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1184,7 +1184,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1196,7 +1196,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1209,7 +1209,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_elementals == null)
|
if (_elementals == null)
|
||||||
@@ -1230,7 +1230,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1361,7 +1361,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1385,7 +1385,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1694,7 +1694,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1741,7 +1741,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1789,7 +1789,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e);
|
LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e);
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
@@ -2321,7 +2321,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't remove special ability for item: " + this, e);
|
LOGGER.log(Level.WARNING, "Item could not remove special ability for " + this, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2384,7 +2384,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't restore special abilities for item: " + this, e);
|
LOGGER.log(Level.WARNING, "Item could not restore special abilities for " + this, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2396,7 +2396,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e);
|
LOGGER.log(Level.WARNING, "Item could not update item special abilities", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2441,7 +2441,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e);
|
LOGGER.log(Level.WARNING, "Item could not update item special abilities", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2485,7 +2485,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
else if (id != 0)
|
else if (id != 0)
|
||||||
{
|
{
|
||||||
LOGGER.info("applyEnchantStats: Couldn't find option: " + id);
|
LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1109,7 +1109,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Notify to scripts.
|
// Notify to scripts.
|
||||||
@@ -1156,7 +1156,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1168,7 +1168,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1184,7 +1184,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1196,7 +1196,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1209,7 +1209,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_elementals == null)
|
if (_elementals == null)
|
||||||
@@ -1230,7 +1230,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1361,7 +1361,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1385,7 +1385,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1694,7 +1694,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1741,7 +1741,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1789,7 +1789,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e);
|
LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e);
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
@@ -2321,7 +2321,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't remove special ability for item: " + this, e);
|
LOGGER.log(Level.WARNING, "Item could not remove special ability for " + this, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2384,7 +2384,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't restore special abilities for item: " + this, e);
|
LOGGER.log(Level.WARNING, "Item could not restore special abilities for " + this, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2396,7 +2396,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e);
|
LOGGER.log(Level.WARNING, "Item could not update item special abilities", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2441,7 +2441,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e);
|
LOGGER.log(Level.WARNING, "Item could not update item special abilities", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2485,7 +2485,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
else if (id != 0)
|
else if (id != 0)
|
||||||
{
|
{
|
||||||
LOGGER.info("applyEnchantStats: Couldn't find option: " + id);
|
LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1109,7 +1109,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Notify to scripts.
|
// Notify to scripts.
|
||||||
@@ -1156,7 +1156,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1168,7 +1168,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1184,7 +1184,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1196,7 +1196,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1209,7 +1209,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_elementals == null)
|
if (_elementals == null)
|
||||||
@@ -1230,7 +1230,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1361,7 +1361,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1385,7 +1385,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1694,7 +1694,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1741,7 +1741,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1789,7 +1789,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e);
|
LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e);
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
@@ -2321,7 +2321,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't remove special ability for item: " + this, e);
|
LOGGER.log(Level.WARNING, "Item could not remove special ability for " + this, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2384,7 +2384,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't restore special abilities for item: " + this, e);
|
LOGGER.log(Level.WARNING, "Item could not restore special abilities for " + this, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2396,7 +2396,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e);
|
LOGGER.log(Level.WARNING, "Item could not update item special abilities", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2441,7 +2441,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e);
|
LOGGER.log(Level.WARNING, "Item could not update item special abilities", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2485,7 +2485,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
else if (id != 0)
|
else if (id != 0)
|
||||||
{
|
{
|
||||||
LOGGER.info("applyEnchantStats: Couldn't find option: " + id);
|
LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1109,7 +1109,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Notify to scripts.
|
// Notify to scripts.
|
||||||
@@ -1156,7 +1156,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1168,7 +1168,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1184,7 +1184,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1196,7 +1196,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1209,7 +1209,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_elementals == null)
|
if (_elementals == null)
|
||||||
@@ -1230,7 +1230,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1361,7 +1361,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1385,7 +1385,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1694,7 +1694,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1741,7 +1741,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1789,7 +1789,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e);
|
LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e);
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
@@ -2321,7 +2321,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't remove special ability for item: " + this, e);
|
LOGGER.log(Level.WARNING, "Item could not remove special ability for " + this, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2384,7 +2384,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't restore special abilities for item: " + this, e);
|
LOGGER.log(Level.WARNING, "Item could not restore special abilities for " + this, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2396,7 +2396,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e);
|
LOGGER.log(Level.WARNING, "Item could not update item special abilities", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2441,7 +2441,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e);
|
LOGGER.log(Level.WARNING, "Item could not update item special abilities", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2485,7 +2485,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
else if (id != 0)
|
else if (id != 0)
|
||||||
{
|
{
|
||||||
LOGGER.info("applyEnchantStats: Couldn't find option: " + id);
|
LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1050,7 +1050,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Notify to scripts.
|
// Notify to scripts.
|
||||||
@@ -1097,7 +1097,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1109,7 +1109,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1125,7 +1125,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1137,7 +1137,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1150,7 +1150,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_elementals == null)
|
if (_elementals == null)
|
||||||
@@ -1171,7 +1171,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1302,7 +1302,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1326,7 +1326,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1633,7 +1633,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1678,7 +1678,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1720,7 +1720,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e);
|
LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e);
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
@@ -2136,7 +2136,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
else if (id != 0)
|
else if (id != 0)
|
||||||
{
|
{
|
||||||
LOGGER.info("applyEnchantStats: Couldn't find option: " + id);
|
LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1112,7 +1112,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Notify to scripts.
|
// Notify to scripts.
|
||||||
@@ -1159,7 +1159,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1171,7 +1171,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1187,7 +1187,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1199,7 +1199,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1212,7 +1212,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_elementals == null)
|
if (_elementals == null)
|
||||||
@@ -1233,7 +1233,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1364,7 +1364,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1388,7 +1388,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1697,7 +1697,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1744,7 +1744,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1792,7 +1792,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e);
|
LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e);
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
@@ -2324,7 +2324,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't remove special ability for item: " + this, e);
|
LOGGER.log(Level.WARNING, "Item could not remove special ability for " + this, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2387,7 +2387,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't restore special abilities for item: " + this, e);
|
LOGGER.log(Level.WARNING, "Item could not restore special abilities for " + this, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2399,7 +2399,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e);
|
LOGGER.log(Level.WARNING, "Item could not update item special abilities", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2444,7 +2444,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e);
|
LOGGER.log(Level.WARNING, "Item could not update item special abilities", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2488,7 +2488,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
else if (id != 0)
|
else if (id != 0)
|
||||||
{
|
{
|
||||||
LOGGER.info("applyEnchantStats: Couldn't find option: " + id);
|
LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1112,7 +1112,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Notify to scripts.
|
// Notify to scripts.
|
||||||
@@ -1159,7 +1159,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1171,7 +1171,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1187,7 +1187,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1199,7 +1199,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1212,7 +1212,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_elementals == null)
|
if (_elementals == null)
|
||||||
@@ -1233,7 +1233,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1364,7 +1364,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1388,7 +1388,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1697,7 +1697,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1744,7 +1744,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1792,7 +1792,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e);
|
LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e);
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
@@ -2324,7 +2324,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't remove special ability for item: " + this, e);
|
LOGGER.log(Level.WARNING, "Item could not remove special ability for " + this, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2387,7 +2387,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't restore special abilities for item: " + this, e);
|
LOGGER.log(Level.WARNING, "Item could not restore special abilities for " + this, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2399,7 +2399,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e);
|
LOGGER.log(Level.WARNING, "Item could not update item special abilities", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2444,7 +2444,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e);
|
LOGGER.log(Level.WARNING, "Item could not update item special abilities", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2488,7 +2488,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
else if (id != 0)
|
else if (id != 0)
|
||||||
{
|
{
|
||||||
LOGGER.info("applyEnchantStats: Couldn't find option: " + id);
|
LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1113,7 +1113,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Notify to scripts.
|
// Notify to scripts.
|
||||||
@@ -1160,7 +1160,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1172,7 +1172,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1188,7 +1188,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1200,7 +1200,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1213,7 +1213,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_elementals == null)
|
if (_elementals == null)
|
||||||
@@ -1234,7 +1234,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1365,7 +1365,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1389,7 +1389,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1698,7 +1698,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1745,7 +1745,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1793,7 +1793,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e);
|
LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e);
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
@@ -2334,7 +2334,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't remove special ability for item: " + this, e);
|
LOGGER.log(Level.WARNING, "Item could not remove special ability for " + this, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2397,7 +2397,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't restore special abilities for item: " + this, e);
|
LOGGER.log(Level.WARNING, "Item could not restore special abilities for " + this, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2409,7 +2409,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e);
|
LOGGER.log(Level.WARNING, "Item could not update item special abilities", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2454,7 +2454,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e);
|
LOGGER.log(Level.WARNING, "Item could not update item special abilities", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2498,7 +2498,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
else if (id != 0)
|
else if (id != 0)
|
||||||
{
|
{
|
||||||
LOGGER.info("applyEnchantStats: Couldn't find option: " + id);
|
LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -1113,7 +1113,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove augmentation for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove augmentation for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Notify to scripts.
|
// Notify to scripts.
|
||||||
@@ -1160,7 +1160,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not restore augmentation and elemental data for item " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not restore augmentation and elemental data for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1172,7 +1172,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB:", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB:", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1188,7 +1188,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update atributes for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update atributes for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1200,7 +1200,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1213,7 +1213,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_elementals == null)
|
if (_elementals == null)
|
||||||
@@ -1234,7 +1234,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (SQLException e)
|
catch (SQLException e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update elementals for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not update elementals for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1365,7 +1365,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1389,7 +1389,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not remove all elemental enchant for item: " + toString() + " from DB: ", e);
|
LOGGER.log(Level.SEVERE, "Item could not remove all elemental enchant for " + this + " from DB: ", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1698,7 +1698,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not update item " + this + " in DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not update " + this + " in DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1745,7 +1745,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not insert item " + this + " into DB: Reason: " + e.getMessage(), e);
|
LOGGER.log(Level.SEVERE, "Item could not insert " + this + " into DB: Reason: " + e.getMessage(), e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1793,7 +1793,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.SEVERE, "Could not delete item " + this + " in DB ", e);
|
LOGGER.log(Level.SEVERE, "Item could not delete " + this + " in DB ", e);
|
||||||
}
|
}
|
||||||
finally
|
finally
|
||||||
{
|
{
|
||||||
@@ -2334,7 +2334,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't remove special ability for item: " + this, e);
|
LOGGER.log(Level.WARNING, "Item could not remove special ability for " + this, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2397,7 +2397,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't restore special abilities for item: " + this, e);
|
LOGGER.log(Level.WARNING, "Item could not restore special abilities for " + this, e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2409,7 +2409,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e);
|
LOGGER.log(Level.WARNING, "Item could not update item special abilities", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2454,7 +2454,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
{
|
{
|
||||||
LOGGER.log(Level.WARNING, "Couldn't update item special abilities", e);
|
LOGGER.log(Level.WARNING, "Item could not update item special abilities", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2498,7 +2498,7 @@ public class Item extends WorldObject
|
|||||||
}
|
}
|
||||||
else if (id != 0)
|
else if (id != 0)
|
||||||
{
|
{
|
||||||
LOGGER.info("applyEnchantStats: Couldn't find option: " + id);
|
LOGGER.info("Item applyEnchantStats could not find option " + id + " " + this + " " + player);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user