Slot Max & Wind Walk fix + reviewed scripted portals
Fixed slotMax function caching up dirtied player data. Fixed many portals not supposed to warp players to "random spawnpoints". Fixed Wind Walk not being cancellable by attacking.
This commit is contained in:
@@ -110,6 +110,7 @@ public enum MapleBuffStat {
|
||||
// needs Soul Stone
|
||||
//end incorrect buffstats
|
||||
|
||||
//WIND_WALK(0x400000000L, true),
|
||||
ARAN_COMBO(0x1000000000L, true),
|
||||
COMBO_DRAIN(0x2000000000L, true),
|
||||
COMBO_BARRIER(0x4000000000L, true),
|
||||
|
||||
@@ -6563,6 +6563,8 @@ public class MapleCharacter extends AbstractAnimatedMapleMapObject {
|
||||
} catch (SQLException se) {
|
||||
FilePrinter.printError(FilePrinter.SAVE_CHAR, se, "Error trying to rollback " + name);
|
||||
}
|
||||
} catch (Exception e) {
|
||||
FilePrinter.printError(FilePrinter.SAVE_CHAR, e, "Error saving " + name + " Level: " + level + " Job: " + job.getId());
|
||||
} finally {
|
||||
try {
|
||||
con.setAutoCommit(true);
|
||||
|
||||
@@ -60,7 +60,6 @@ public class MaplePet extends Item {
|
||||
|
||||
public static MaplePet loadFromDb(int itemid, short position, int petid) {
|
||||
try {
|
||||
System.out.println("fetching " + petid);
|
||||
MaplePet ret = new MaplePet(itemid, position, petid);
|
||||
Connection con = DatabaseConnection.getConnection();
|
||||
PreparedStatement ps = con.prepareStatement("SELECT name, level, closeness, fullness, summoned FROM pets WHERE petid = ?"); // Get pet details..
|
||||
|
||||
Reference in New Issue
Block a user