hotifx + gold cap increase

This commit is contained in:
2025-03-15 16:29:02 -05:00
parent afeb4f59bd
commit 2d69e335e0
2 changed files with 7 additions and 5 deletions
+5 -3
View File
@@ -5144,9 +5144,12 @@ public class PlayerCharacter extends AbstractCharacter {
@Override @Override
public void update(Boolean newSystem) { public void update(Boolean newSystem) {
this.updateLocation();
this.updateMovementState();
if(!newSystem) { if(!newSystem) {
this.updateLocation(); // this.updateLocation();
this.updateMovementState(); // this.updateMovementState();
return; return;
} }
@@ -5154,7 +5157,6 @@ public class PlayerCharacter extends AbstractCharacter {
if (this.updateLock.writeLock().tryLock()) { if (this.updateLock.writeLock().tryLock()) {
//if(!this.timestamps.containsKey("SetDirty")){ //if(!this.timestamps.containsKey("SetDirty")){
// this.timestamps.put("SetDirty", System.currentTimeMillis()); // this.timestamps.put("SetDirty", System.currentTimeMillis());
//}else if (this.timestamps.get("SetDirty") + 5000L < System.currentTimeMillis()){ //}else if (this.timestamps.get("SetDirty") + 5000L < System.currentTimeMillis()){
+2 -2
View File
@@ -33,11 +33,11 @@ public class MBServerStatics {
// hit box // hit box
// calcs // calcs
public static final boolean PRINT_INCOMING_OPCODES = false; // print public static final boolean PRINT_INCOMING_OPCODES = false; // print
public static final int BANK_GOLD_LIMIT = 25000000; public static final int BANK_GOLD_LIMIT = 100000000;
// incoming // incoming
// opcodes to // opcodes to
// console // console
public static final int PLAYER_GOLD_LIMIT = 10000000; public static final int PLAYER_GOLD_LIMIT = 50000000;
// buildings, npcs // buildings, npcs
/* /*
* Login cache flags * Login cache flags