Browse Source

hotifx + gold cap increase

lakebane
FatBoy-DOTC 2 weeks ago
parent
commit
2d69e335e0
  1. 8
      src/engine/objects/PlayerCharacter.java
  2. 4
      src/engine/server/MBServerStatics.java

8
src/engine/objects/PlayerCharacter.java

@ -5144,9 +5144,12 @@ public class PlayerCharacter extends AbstractCharacter { @@ -5144,9 +5144,12 @@ public class PlayerCharacter extends AbstractCharacter {
@Override
public void update(Boolean newSystem) {
this.updateLocation();
this.updateMovementState();
if(!newSystem) {
this.updateLocation();
this.updateMovementState();
// this.updateLocation();
// this.updateMovementState();
return;
}
@ -5154,7 +5157,6 @@ public class PlayerCharacter extends AbstractCharacter { @@ -5154,7 +5157,6 @@ public class PlayerCharacter extends AbstractCharacter {
if (this.updateLock.writeLock().tryLock()) {
//if(!this.timestamps.containsKey("SetDirty")){
// this.timestamps.put("SetDirty", System.currentTimeMillis());
//}else if (this.timestamps.get("SetDirty") + 5000L < System.currentTimeMillis()){

4
src/engine/server/MBServerStatics.java

@ -33,11 +33,11 @@ public class MBServerStatics { @@ -33,11 +33,11 @@ public class MBServerStatics {
// hit box
// calcs
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
// opcodes to
// console
public static final int PLAYER_GOLD_LIMIT = 10000000;
public static final int PLAYER_GOLD_LIMIT = 50000000;
// buildings, npcs
/*
* Login cache flags

Loading…
Cancel
Save